Lines Matching refs:srcHandle

81 				uint8* srcHandle = src;  in Compose()  local
84 if (srcHandle[3] > 0) { in Compose()
85 uint8 c1 = dstHandle[0] * srcHandle[0] >> 8; in Compose()
89 * (255 - srcHandle[0]) in Compose()
94 + srcHandle[0] * (255 - dstHandle[3]) in Compose()
97 uint8 c2 = dstHandle[1] * srcHandle[1] >> 8; in Compose()
101 * (255 - srcHandle[1]) in Compose()
106 + srcHandle[1] * (255 - dstHandle[3]) in Compose()
109 uint8 c3 = dstHandle[2] * srcHandle[2] >> 8; in Compose()
113 * (255 - srcHandle[2]) in Compose()
118 + srcHandle[2] * (255 - dstHandle[3]) in Compose()
122 (srcHandle[3] * alphaOverride) >> 8, c1, c2, c3); in Compose()
124 srcHandle += 4; in Compose()
134 uint8* srcHandle = src; in Compose() local
137 if (srcHandle[3] > 0) { in Compose()
140 = (max_c(srcHandle[0], dstHandle[0]) * dstHandle[3] in Compose()
141 + srcHandle[0] * (255 - dstHandle[3])) / 255; in Compose()
143 = (max_c(srcHandle[1], dstHandle[1]) * dstHandle[3] in Compose()
144 + srcHandle[1] * (255 - dstHandle[3])) / 255; in Compose()
146 = (max_c(srcHandle[2], dstHandle[2]) * dstHandle[3] in Compose()
147 + srcHandle[2] * (255 - dstHandle[3])) / 255; in Compose()
149 (srcHandle[3] * alphaOverride) / 255, c1, c2, c3); in Compose()
151 srcHandle += 4; in Compose()
161 uint8* srcHandle = src; in Compose() local
164 if (srcHandle[3] > 0) { in Compose()
167 = (min_c(srcHandle[0], dstHandle[0]) * dstHandle[3] in Compose()
168 + srcHandle[0] * (255 - dstHandle[3])) / 255; in Compose()
170 = (min_c(srcHandle[1], dstHandle[1]) * dstHandle[3] in Compose()
171 + srcHandle[1] * (255 - dstHandle[3])) / 255; in Compose()
173 = (min_c(srcHandle[2], dstHandle[2]) * dstHandle[3] in Compose()
174 + srcHandle[2] * (255 - dstHandle[3])) / 255; in Compose()
176 (srcHandle[3] * alphaOverride) / 255, c1, c2, c3); in Compose()
178 srcHandle += 4; in Compose()
188 uint8* srcHandle = src; in Compose() local
191 if (srcHandle[3] > 0) { in Compose()
193 uint32 alpha = srcHandle[3] * alphaOverride; in Compose()
194 dstHandle[2] = (srcHandle[2] * alpha in Compose()
197 srcHandle += 4; in Compose()
207 uint8* srcHandle = src; in Compose() local
210 if (srcHandle[3] > 0) { in Compose()
212 uint32 alpha = srcHandle[3] * alphaOverride; in Compose()
213 dstHandle[1] = (srcHandle[1] * alpha in Compose()
216 srcHandle += 4; in Compose()
226 uint8* srcHandle = src; in Compose() local
229 if (srcHandle[3] > 0) { in Compose()
231 uint32 alpha = srcHandle[3] * alphaOverride; in Compose()
232 dstHandle[0] = (srcHandle[0] * alpha in Compose()
235 srcHandle += 4; in Compose()
245 uint8* srcHandle = src; in Compose() local
249 uint8 temp = min_c(dstHandle[3], 255 - srcHandle[3]); in Compose()
254 srcHandle += 4; in Compose()
264 uint8* srcHandle = src; in Compose() local
268 uint8 temp = min_c(dstHandle[3], srcHandle[3]); in Compose()
273 srcHandle += 4; in Compose()
283 uint8* srcHandle = src; in Compose() local
286 if (srcHandle[3] > 0) { in Compose()
292 replace_luminance(r, g, b, srcHandle[2], srcHandle[1], in Compose()
293 srcHandle[0]); in Compose()
295 (srcHandle[3] * alphaOverride) / 255, b, g, r); in Compose()
298 srcHandle += 4; in Compose()
308 uint8* srcHandle = src; in Compose() local
311 if (srcHandle[3] > 0) { in Compose()
314 (((255 - srcHandle[0]) * (255 - dstHandle[0])) in Compose()
316 + (255 - srcHandle[0]) * (255 - dstHandle[3]) in Compose()
319 (((255 - srcHandle[1]) * (255 - dstHandle[1])) in Compose()
321 + (255 - srcHandle[1]) * (255 - dstHandle[3]) in Compose()
324 (((255 - srcHandle[2]) * (255 - dstHandle[2])) in Compose()
326 + (255 - srcHandle[2]) * (255 - dstHandle[3]) in Compose()
329 (srcHandle[3] * alphaOverride) / 255, c1, c2, c3); in Compose()
331 srcHandle += 4; in Compose()
341 uint8* srcHandle = src; in Compose() local
344 if (srcHandle[3] > 0) { in Compose()
347 ((srcHandle[0] * dstHandle[0]) / 255) in Compose()
349 + srcHandle[0] * (255 - dstHandle[3]) in Compose()
352 ((srcHandle[1] * dstHandle[1]) / 255) in Compose()
354 + srcHandle[1] * (255 - dstHandle[3]) in Compose()
357 ((srcHandle[2] * dstHandle[2]) / 255) in Compose()
359 + srcHandle[2] * (255 - dstHandle[3]) in Compose()
362 (srcHandle[3] * alphaOverride) / 255, c1, c2, c3); in Compose()
364 srcHandle += 4; in Compose()
377 uint8* srcHandle = src; in Compose() local
380 blend_colors(dstHandle, srcHandle); in Compose()
381 srcHandle += 4; in Compose()
389 uint8* srcHandle = src; in Compose() local
392 blend_colors(dstHandle, srcHandle, alphaOverride); in Compose()
393 srcHandle += 4; in Compose()