| 1 | /* |
| 2 | * cairoaffineblend.c |
| 3 | * Copyright 2012 Janne Liljeblad |
| 4 | * |
| 5 | * This file is a Frei0r plugin. |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 2 of the License, or |
| 10 | * (at your option) any later version. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | * GNU General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this program; if not, write to the Free Software |
| 19 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 20 | */ |
| 21 | |
| 22 | #include <stdlib.h> |
| 23 | #include <assert.h> |
| 24 | #include <cairo.h> |
| 25 | #include <stdio.h> |
| 26 | #include <string.h> |
| 27 | #include <math.h> |
| 28 | |
| 29 | #include "frei0r.h"cxx . . $ `<file>/include/frei0r.h`/ |
| 30 | #include "frei0r/cairo.h"cxx . . $ `<file>/include/frei0r/cairo.h`/ |
| 31 | |
| 32 | double PIcxx . . $ PI.=3.14159265358979; |
| 33 | |
| 34 | typedef struct cairo_affineblend_instancecxx . . $ cairo_affineblend_instance# |
| 35 | { |
| 36 | unsigned int widthcxx . . $ cairo_affineblend_instance#width.; |
| 37 | unsigned int heightcxx . . $ cairo_affineblend_instance#height.; |
| 38 | double xcxx . . $ cairo_affineblend_instance#x.; |
| 39 | double ycxx . . $ cairo_affineblend_instance#y.; |
| 40 | double x_scalecxx . . $ cairo_affineblend_instance#x_scale.; |
| 41 | double y_scalecxx . . $ cairo_affineblend_instance#y_scale.; |
| 42 | double rotationcxx . . $ cairo_affineblend_instance#rotation.; |
| 43 | double mixcxx . . $ cairo_affineblend_instance#mix.; |
| 44 | char *blend_modecxx . . $ cairo_affineblend_instance#blend_mode.; |
| 45 | double anchor_xcxx . . $ cairo_affineblend_instance#anchor_x.; |
| 46 | double anchor_ycxx . . $ cairo_affineblend_instance#anchor_y.; |
| 47 | } cairo_affineblend_instance_tcxx . . $ cairo_affineblend_instance_t#; |
| 48 | |
| 49 | int f0r_initcxx . . $ f0r_init(b126dc7c1de90089).() |
| 50 | { |
| 51 | return 1; |
| 52 | } |
| 53 | |
| 54 | void f0r_deinitcxx . . $ f0r_deinit(49f6e7a06ebc5aa8).() |
| 55 | { |
| 56 | |
| 57 | } |
| 58 | |
| 59 | void f0r_get_plugin_infocxx . . $ f0r_get_plugin_info(35d753456c0ea59c).(f0r_plugin_info_tcxx . . $ f0r_plugin_info_t#* info) |
| 60 | { |
| 61 | info->namecxx . . $ f0r_plugin_info#name. = "cairoaffineblend"; |
| 62 | info->authorcxx . . $ f0r_plugin_info#author. = "Janne Liljeblad"; |
| 63 | info->plugin_typecxx . . $ f0r_plugin_info#plugin_type. = F0R_PLUGIN_TYPE_MIXER2cxx . . $ `include/frei0r.h:251:9`!; |
| 64 | info->color_modelcxx . . $ f0r_plugin_info#color_model. = F0R_COLOR_MODEL_RGBA8888cxx . . $ `include/frei0r.h:308:9`!; |
| 65 | info->frei0r_versioncxx . . $ f0r_plugin_info#frei0r_version. = FREI0R_MAJOR_VERSIONcxx . . $ `include/frei0r.h:217:9`!; |
| 66 | info->major_versioncxx . . $ f0r_plugin_info#major_version. = 0; |
| 67 | info->minor_versioncxx . . $ f0r_plugin_info#minor_version. = 10; |
| 68 | info->num_paramscxx . . $ f0r_plugin_info#num_params. = 9; |
| 69 | info->explanationcxx . . $ f0r_plugin_info#explanation. = "Composites second input on first input applying user-defined transformation, opacity and blend mode"; |
| 70 | } |
| 71 | |
| 72 | void f0r_get_param_infocxx . . $ f0r_get_param_info(a9f9aa7954cc4a37).(f0r_param_info_tcxx . . $ f0r_param_info_t#* info, int param_index) |
| 73 | { |
| 74 | switch(param_index) { |
| 75 | case 0: |
| 76 | info->namecxx . . $ f0r_param_info#name. = "x"; |
| 77 | info->typecxx . . $ f0r_param_info#type. = F0R_PARAM_DOUBLEcxx . . $ `include/frei0r.h:383:9`!; |
| 78 | info->explanationcxx . . $ f0r_param_info#explanation. = "X position of second input, value interpreted as range -2*width - 3*width"; |
| 79 | break; |
| 80 | case 1: |
| 81 | info->namecxx . . $ f0r_param_info#name. = "y"; |
| 82 | info->typecxx . . $ f0r_param_info#type. = F0R_PARAM_DOUBLEcxx . . $ `include/frei0r.h:383:9`!; |
| 83 | info->explanationcxx . . $ f0r_param_info#explanation. = "Y position of second input, value interpreted as range -2*height - 3*height"; |
| 84 | break; |
| 85 | case 2: |
| 86 | info->namecxx . . $ f0r_param_info#name. = "x scale"; |
| 87 | info->typecxx . . $ f0r_param_info#type. = F0R_PARAM_DOUBLEcxx . . $ `include/frei0r.h:383:9`!; |
| 88 | info->explanationcxx . . $ f0r_param_info#explanation. = "X scale of second input, value interpreted as range 0 - 5"; |
| 89 | break; |
| 90 | case 3: |
| 91 | info->namecxx . . $ f0r_param_info#name. = "y scale"; |
| 92 | info->typecxx . . $ f0r_param_info#type. = F0R_PARAM_DOUBLEcxx . . $ `include/frei0r.h:383:9`!; |
| 93 | info->explanationcxx . . $ f0r_param_info#explanation. = "Y scale of second input, value interpreted as range 0 - 5"; |
| 94 | break; |
| 95 | case 4: |
| 96 | info->namecxx . . $ f0r_param_info#name. = "rotation"; |
| 97 | info->typecxx . . $ f0r_param_info#type. = F0R_PARAM_DOUBLEcxx . . $ `include/frei0r.h:383:9`!; |
| 98 | info->explanationcxx . . $ f0r_param_info#explanation. = "Rotation of second input, value interpreted as range 0 - 360"; |
| 99 | break; |
| 100 | case 5: |
| 101 | info->namecxx . . $ f0r_param_info#name. = "opacity"; |
| 102 | info->typecxx . . $ f0r_param_info#type. = F0R_PARAM_DOUBLEcxx . . $ `include/frei0r.h:383:9`!; |
| 103 | info->explanationcxx . . $ f0r_param_info#explanation. = "Opacity of second input"; |
| 104 | break; |
| 105 | case 6: |
| 106 | info->namecxx . . $ f0r_param_info#name. = "blend mode"; |
| 107 | info->typecxx . . $ f0r_param_info#type. = F0R_PARAM_STRINGcxx . . $ `include/frei0r.h:400:9`!; |
| 108 | info->explanationcxx . . $ f0r_param_info#explanation. = "Blend mode used to compose image. Accepted values: 'normal', 'add', 'saturate', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'colordodge', 'colorburn', 'hardlight', 'softlight', 'difference', 'exclusion', 'hslhue', 'hslsaturation', 'hslcolor', 'hslluminosity'"; |
| 109 | break; |
| 110 | case 7: |
| 111 | info->namecxx . . $ f0r_param_info#name. = "anchor x"; |
| 112 | info->typecxx . . $ f0r_param_info#type. = F0R_PARAM_DOUBLEcxx . . $ `include/frei0r.h:383:9`!; |
| 113 | info->explanationcxx . . $ f0r_param_info#explanation. = "X position of rotation center within the second input"; |
| 114 | break; |
| 115 | case 8: |
| 116 | info->namecxx . . $ f0r_param_info#name. = "anchor y"; |
| 117 | info->typecxx . . $ f0r_param_info#type. = F0R_PARAM_DOUBLEcxx . . $ `include/frei0r.h:383:9`!; |
| 118 | info->explanationcxx . . $ f0r_param_info#explanation. ="Y position of rotation center within the second input"; |
| 119 | break; |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | f0r_instance_tcxx . . $ f0r_instance_t# f0r_constructcxx . . $ f0r_construct(da3f471cd007a696).(unsigned int width, unsigned int height) |
| 124 | { |
| 125 | cairo_affineblend_instance_tcxx . . $ cairo_affineblend_instance_t#* inst = (cairo_affineblend_instance_tcxx . . $ cairo_affineblend_instance_t#*)calloccxx . . $ calloc(63a7bf2941bfcd7a).(1, sizeof(*inst)); |
| 126 | inst->widthcxx . . $ cairo_affineblend_instance#width. = width; |
| 127 | inst->heightcxx . . $ cairo_affineblend_instance#height. = height; |
| 128 | |
| 129 | inst->xcxx . . $ cairo_affineblend_instance#x. = 0.4; |
| 130 | inst->ycxx . . $ cairo_affineblend_instance#y. = 0.4; |
| 131 | inst->x_scalecxx . . $ cairo_affineblend_instance#x_scale. = 0.2; |
| 132 | inst->y_scalecxx . . $ cairo_affineblend_instance#y_scale. = 0.2; |
| 133 | inst->rotationcxx . . $ cairo_affineblend_instance#rotation. = 0.0; |
| 134 | inst->mixcxx . . $ cairo_affineblend_instance#mix. = 1.0; |
| 135 | |
| 136 | const char* blend_val = NORMALcxx . . $ `include/frei0r/cairo.h:36:9`!; |
| 137 | { |
| 138 | size_t blen = strlencxx . . $ strlen(751346f8406fd082).(blend_val) + 1; |
| 139 | inst->blend_modecxx . . $ cairo_affineblend_instance#blend_mode. = (char*) malloccxx . . $ malloc(bfcfa4d6b7f7ef64).(blen); |
| 140 | memcpycxx . . $ memcpy(cc817cb175f282d).(inst->blend_modecxx . . $ cairo_affineblend_instance#blend_mode., blend_val, blen); |
| 141 | } |
| 142 | |
| 143 | return (f0r_instance_tcxx . . $ f0r_instance_t#)inst; |
| 144 | } |
| 145 | |
| 146 | void f0r_destructcxx . . $ f0r_destruct(5d22bdacc48458e8).(f0r_instance_tcxx . . $ f0r_instance_t# instance) |
| 147 | { |
| 148 | cairo_affineblend_instance_tcxx . . $ cairo_affineblend_instance_t#* inst = (cairo_affineblend_instance_tcxx . . $ cairo_affineblend_instance_t#*)instance; |
| 149 | freecxx . . $ free(5d22bdacc48458e8).(inst->blend_modecxx . . $ cairo_affineblend_instance#blend_mode.); |
| 150 | freecxx . . $ free(5d22bdacc48458e8).(instance); |
| 151 | } |
| 152 | |
| 153 | void f0r_set_param_valuecxx . . $ f0r_set_param_value(5be095a8278d2bf5).(f0r_instance_tcxx . . $ f0r_instance_t# instance, f0r_param_tcxx . . $ f0r_param_t# param, int param_index) |
| 154 | { |
| 155 | assertcxx . . $ `<external>/4398592474888995393/assert.h:77:11`!(instance); |
| 156 | cairo_affineblend_instance_tcxx . . $ cairo_affineblend_instance_t#* inst = (cairo_affineblend_instance_tcxx . . $ cairo_affineblend_instance_t#*) instance; |
| 157 | char* sval; |
| 158 | switch(param_index) { |
| 159 | case 0: |
| 160 | inst->xcxx . . $ cairo_affineblend_instance#x. = *((double*)param); |
| 161 | break; |
| 162 | case 1: |
| 163 | inst->ycxx . . $ cairo_affineblend_instance#y. = *((double*)param); |
| 164 | break; |
| 165 | case 2: |
| 166 | inst->x_scalecxx . . $ cairo_affineblend_instance#x_scale. = *((double*)param); |
| 167 | break; |
| 168 | case 3: |
| 169 | inst->y_scalecxx . . $ cairo_affineblend_instance#y_scale. = *((double*)param); |
| 170 | break; |
| 171 | case 4: |
| 172 | inst->rotationcxx . . $ cairo_affineblend_instance#rotation. = *((double*)param); |
| 173 | break; |
| 174 | case 5: |
| 175 | inst->mixcxx . . $ cairo_affineblend_instance#mix. = *((double*)param); |
| 176 | break; |
| 177 | case 6: |
| 178 | sval = (*(char**)param); |
| 179 | { |
| 180 | size_t slen = strlencxx . . $ strlen(751346f8406fd082).(sval) + 1; |
| 181 | char *new_mode = (char*)realloccxx . . $ realloc(417ab160f6baadc6).(inst->blend_modecxx . . $ cairo_affineblend_instance#blend_mode., slen); |
| 182 | if (new_mode) { |
| 183 | inst->blend_modecxx . . $ cairo_affineblend_instance#blend_mode. = new_mode; |
| 184 | memcpycxx . . $ memcpy(cc817cb175f282d).(inst->blend_modecxx . . $ cairo_affineblend_instance#blend_mode., sval, slen); |
| 185 | } |
| 186 | } |
| 187 | break; |
| 188 | case 7: |
| 189 | inst->anchor_xcxx . . $ cairo_affineblend_instance#anchor_x. = *((double*)param); |
| 190 | break; |
| 191 | case 8: |
| 192 | inst->anchor_ycxx . . $ cairo_affineblend_instance#anchor_y. = *((double*)param); |
| 193 | break; |
| 194 | } |
| 195 | } |
| 196 | |
| 197 | void f0r_get_param_valuecxx . . $ f0r_get_param_value(5be095a8278d2bf5).(f0r_instance_tcxx . . $ f0r_instance_t# instance, f0r_param_tcxx . . $ f0r_param_t# param, int param_index) |
| 198 | { |
| 199 | assertcxx . . $ `<external>/4398592474888995393/assert.h:77:11`!(instance); |
| 200 | cairo_affineblend_instance_tcxx . . $ cairo_affineblend_instance_t#* inst = (cairo_affineblend_instance_tcxx . . $ cairo_affineblend_instance_t#*)instance; |
| 201 | |
| 202 | switch(param_index) { |
| 203 | case 0: |
| 204 | *((double*)param) = inst->xcxx . . $ cairo_affineblend_instance#x.; |
| 205 | break; |
| 206 | case 1: |
| 207 | *((double*)param) = inst->ycxx . . $ cairo_affineblend_instance#y.; |
| 208 | break; |
| 209 | case 2: |
| 210 | *((double*)param) = inst->x_scalecxx . . $ cairo_affineblend_instance#x_scale.; |
| 211 | break; |
| 212 | case 3: |
| 213 | *((double*)param) = inst->y_scalecxx . . $ cairo_affineblend_instance#y_scale.; |
| 214 | break; |
| 215 | case 4: |
| 216 | *((double*)param) = inst->rotationcxx . . $ cairo_affineblend_instance#rotation.; |
| 217 | break; |
| 218 | case 5: |
| 219 | *((double*)param) = inst->mixcxx . . $ cairo_affineblend_instance#mix.; |
| 220 | break; |
| 221 | case 6: |
| 222 | *((f0r_param_stringcxx . . $ f0r_param_string# *)param) = inst->blend_modecxx . . $ cairo_affineblend_instance#blend_mode.; |
| 223 | break; |
| 224 | case 7: |
| 225 | *((double*)param) = inst->anchor_xcxx . . $ cairo_affineblend_instance#anchor_x.; |
| 226 | break; |
| 227 | case 8: |
| 228 | *((double*)param) = inst->anchor_ycxx . . $ cairo_affineblend_instance#anchor_y.; |
| 229 | break; |
| 230 | } |
| 231 | } |
| 232 | |
| 233 | void draw_compositecxx . . $ draw_composite(cb0c7be3e7c19928).(cairo_affineblend_instance_tcxx . . $ cairo_affineblend_instance_t#* inst, unsigned char* out, unsigned char* dst, unsigned char* src, double time) |
| 234 | { |
| 235 | int w = inst->widthcxx . . $ cairo_affineblend_instance#width.; |
| 236 | int h = inst->heightcxx . . $ cairo_affineblend_instance#height.; |
| 237 | int stride = cairo_format_stride_for_widthcxx . . $ cairo_format_stride_for_width(8ae00fa98af1f034). (CAIRO_FORMAT_ARGB32cxx . . $ CAIRO_FORMAT_ARGB32., w); |
| 238 | |
| 239 | cairo_surface_tcxx . . $ cairo_surface_t#* out_image = cairo_image_surface_create_for_datacxx . . $ cairo_image_surface_create_for_data(ced8dd1547170d92). (out, |
| 240 | CAIRO_FORMAT_ARGB32cxx . . $ CAIRO_FORMAT_ARGB32., |
| 241 | w, |
| 242 | h, |
| 243 | stride); |
| 244 | cairo_tcxx . . $ cairo_t#* cr = cairo_createcxx . . $ cairo_create(b6f0039b687ec546). (out_image); |
| 245 | |
| 246 | cairo_surface_tcxx . . $ cairo_surface_t#* dst_image = cairo_image_surface_create_for_datacxx . . $ cairo_image_surface_create_for_data(ced8dd1547170d92). (dst, |
| 247 | CAIRO_FORMAT_ARGB32cxx . . $ CAIRO_FORMAT_ARGB32., |
| 248 | w, |
| 249 | h, |
| 250 | stride); |
| 251 | cairo_surface_tcxx . . $ cairo_surface_t#* src_image = cairo_image_surface_create_for_datacxx . . $ cairo_image_surface_create_for_data(ced8dd1547170d92). ((unsigned char*)src, |
| 252 | CAIRO_FORMAT_ARGB32cxx . . $ CAIRO_FORMAT_ARGB32., |
| 253 | w, |
| 254 | h, |
| 255 | stride); |
| 256 | |
| 257 | // Draw bg on surface |
| 258 | cairo_set_source_surfacecxx . . $ cairo_set_source_surface(7ccd196fd31e8c73). (cr, dst_image, 0, 0); |
| 259 | cairo_paintcxx . . $ cairo_paint(21788b7825b29bf). (cr); |
| 260 | |
| 261 | double x_scale = frei0r_cairo_get_scalecxx . . $ frei0r_cairo_get_scale(447c67c6676f75c3). (inst->x_scalecxx . . $ cairo_affineblend_instance#x_scale.); |
| 262 | double y_scale = frei0r_cairo_get_scalecxx . . $ frei0r_cairo_get_scale(447c67c6676f75c3). (inst->y_scalecxx . . $ cairo_affineblend_instance#y_scale.); |
| 263 | |
| 264 | //--- Get scaled and rotated anchor offsets. |
| 265 | double anchorX = -(x_scale * inst->anchor_xcxx . . $ cairo_affineblend_instance#anchor_x. * inst->widthcxx . . $ cairo_affineblend_instance#width.); |
| 266 | double anchorY = -(y_scale * inst->anchor_ycxx . . $ cairo_affineblend_instance#anchor_y. * inst->heightcxx . . $ cairo_affineblend_instance#height.); |
| 267 | |
| 268 | double angleRad = inst->rotationcxx . . $ cairo_affineblend_instance#rotation. * 360.0 * PIcxx . . $ PI./180.0; |
| 269 | double sinVal = sin (angleRad); |
| 270 | double cosVal = cos (angleRad); |
| 271 | |
| 272 | double anchor_rot_x = anchorX * cosVal - anchorY * sinVal; |
| 273 | double anchor_rot_y = anchorX * sinVal + anchorY * cosVal; |
| 274 | |
| 275 | // Get interpreted x and y translation |
| 276 | double x_trans = frei0r_cairo_get_pixel_positioncxx . . $ frei0r_cairo_get_pixel_position(f7856f627868a823). (inst->xcxx . . $ cairo_affineblend_instance#x., inst->widthcxx . . $ cairo_affineblend_instance#width.); |
| 277 | double y_trans = frei0r_cairo_get_pixel_positioncxx . . $ frei0r_cairo_get_pixel_position(f7856f627868a823). (inst->ycxx . . $ cairo_affineblend_instance#y., inst->heightcxx . . $ cairo_affineblend_instance#height.); |
| 278 | |
| 279 | //--- Get total translation to image tot left with scaling and rotation. |
| 280 | double x_trans_tot = x_trans + anchor_rot_x; |
| 281 | double y_trans_tot = y_trans + anchor_rot_y; |
| 282 | |
| 283 | cairo_translatecxx . . $ cairo_translate(e818af540ecaa23a). (cr, x_trans_tot, y_trans_tot); |
| 284 | cairo_rotatecxx . . $ cairo_rotate(74853563bcf87c34). (cr, inst->rotationcxx . . $ cairo_affineblend_instance#rotation. * 360.0 * PIcxx . . $ PI./180.0); |
| 285 | cairo_scalecxx . . $ cairo_scale(e818af540ecaa23a). (cr, x_scale, y_scale); |
| 286 | frei0r_cairo_set_operatorcxx . . $ frei0r_cairo_set_operator(53f89654c13f6bd9).(cr, inst->blend_modecxx . . $ cairo_affineblend_instance#blend_mode.); |
| 287 | |
| 288 | // Set source and draw with current mix |
| 289 | cairo_set_source_surfacecxx . . $ cairo_set_source_surface(7ccd196fd31e8c73). (cr, src_image, 0, 0); |
| 290 | cairo_paint_with_alphacxx . . $ cairo_paint_with_alpha(74853563bcf87c34). (cr, inst->mixcxx . . $ cairo_affineblend_instance#mix.); |
| 291 | |
| 292 | cairo_surface_destroycxx . . $ cairo_surface_destroy(2fa2b40fabeeffa2). (out_image); |
| 293 | cairo_surface_destroycxx . . $ cairo_surface_destroy(2fa2b40fabeeffa2). (src_image); |
| 294 | cairo_surface_destroycxx . . $ cairo_surface_destroy(2fa2b40fabeeffa2). (dst_image); |
| 295 | cairo_destroycxx . . $ cairo_destroy(21788b7825b29bf). (cr); |
| 296 | } |
| 297 | |
| 298 | void f0r_updatecxx . . $ f0r_update(96cd7b27f2fca8a7).(f0r_instance_tcxx . . $ f0r_instance_t# instance, double time, |
| 299 | const uint32_tcxx . . $ uint32_t#* inframe, uint32_tcxx . . $ uint32_t#* outframe) |
| 300 | { |
| 301 | // not impl. for mixers |
| 302 | } |
| 303 | |
| 304 | void f0r_update2cxx . . $ f0r_update2(1b234bc88d3943d5).(f0r_instance_tcxx . . $ f0r_instance_t# instance, double time, const uint32_tcxx . . $ uint32_t#* inframe1, |
| 305 | const uint32_tcxx . . $ uint32_t#* inframe2, const uint32_tcxx . . $ uint32_t#* inframe3, uint32_tcxx . . $ uint32_t#* outframe) |
| 306 | { |
| 307 | assertcxx . . $ `<external>/4398592474888995393/assert.h:77:11`!(instance); |
| 308 | cairo_affineblend_instance_tcxx . . $ cairo_affineblend_instance_t#* inst = (cairo_affineblend_instance_tcxx . . $ cairo_affineblend_instance_t#*) instance; |
| 309 | |
| 310 | unsigned char* dst = (unsigned char*)inframe1; |
| 311 | unsigned char* src = (unsigned char*)inframe2; |
| 312 | unsigned char* out = (unsigned char*)outframe; |
| 313 | int pixels = inst->widthcxx . . $ cairo_affineblend_instance#width. * inst->heightcxx . . $ cairo_affineblend_instance#height.; |
| 314 | |
| 315 | frei0r_cairo_premultiply_rgbacxx . . $ frei0r_cairo_premultiply_rgba(49a5bbab55ea8abc). (dst, pixels, -1); |
| 316 | frei0r_cairo_premultiply_rgbacxx . . $ frei0r_cairo_premultiply_rgba(49a5bbab55ea8abc). (src, pixels, -1); |
| 317 | draw_compositecxx . . $ draw_composite(cb0c7be3e7c19928). (inst, out, dst, src, time); |
| 318 | frei0r_cairo_unpremultiply_rgbacxx . . $ frei0r_cairo_unpremultiply_rgba(fc0f0e1646c32816). (out, pixels); |
| 319 | } |