Lines Matching refs:dest

39 			uint8* d1, uint8* d2, uint8* d3, uint8* da)	// dest components
63 uint8* d1, uint8* d2, uint8* d3, uint8* da) // dest components
88 blend_colors_copy(uint8* bottom, uint8 alpha, uint8* dest,
94 dest[0] = c1;
95 dest[1] = c2;
96 dest[2] = c3;
97 dest[3] = alpha;
106 &dest[0], &dest[1], &dest[2], &dest[3]);
109 *((uint32*)dest) = *((uint32*)bottom);
140 blend_colors_copy(uint8* bottom, uint8 alpha, uint8* dest,
145 dest[0] = c1;
146 dest[1] = c2;
147 dest[2] = c3;
148 dest[3] = alpha;
152 &dest[0], &dest[1], &dest[2], &dest[3]);
155 *((uint32*)dest) = *((uint32*)bottom);
216 blend_colors_copy(uint8* dest, uint8* bottom, uint8* top)
219 dest[0] = top[0];
220 dest[1] = top[1];
221 dest[2] = top[2];
222 dest[3] = top[3];
226 &dest[0], &dest[1], &dest[2], &dest[3]);
261 blend_pixels_copy(uint8* bottom, uint8* top, uint8* dest, uint8 alpha)
265 dest[0] = top[0];
266 dest[1] = top[1];
267 dest[2] = top[2];
268 dest[3] = top[3];
280 dest[0] = kInverseGammaTable[(b1 * invAlpha + t1 * mergeAlpha) / 255];
281 dest[1] = kInverseGammaTable[(b2 * invAlpha + t2 * mergeAlpha) / 255];
282 dest[2] = kInverseGammaTable[(b3 * invAlpha + t3 * mergeAlpha) / 255];
283 dest[3] = (bottom[3] * (255 - alpha) + top[3] * alpha) / 255;
286 dest[0] = bottom[0];
287 dest[1] = bottom[1];
288 dest[2] = bottom[2];
289 dest[3] = bottom[3];
325 blend_pixels_overlay_copy(uint8* bottom, uint8* top, uint8* dest, uint8 alphaOverride)
330 dest[0] = top[0];
331 dest[1] = top[1];
332 dest[2] = top[2];
333 dest[3] = top[3];
345 dest[0] = kInverseGammaTable[(b1 * invAlpha + t1 * mergeAlpha) / 255];
346 dest[1] = kInverseGammaTable[(b2 * invAlpha + t2 * mergeAlpha) / 255];
347 dest[2] = kInverseGammaTable[(b3 * invAlpha + t3 * mergeAlpha) / 255];
348 dest[3] = (bottom[3] * (255 - alpha) + top[3] * alpha) / 255;
351 dest[0] = bottom[0];
352 dest[1] = bottom[1];
353 dest[2] = bottom[2];
354 dest[3] = bottom[3];
363 blend_colors_copy(uint8* bottom, uint8 alpha, uint8* dest,
368 dest[0] = c1;
369 dest[1] = c2;
370 dest[2] = c3;
371 dest[3] = alpha;
375 dest[0] = (uint8)((bottom[0] * destAlpha + c1 * alpha) / 255);
376 dest[1] = (uint8)((bottom[1] * destAlpha + c2 * alpha) / 255);
377 dest[2] = (uint8)((bottom[2] * destAlpha + c3 * alpha) / 255);
378 dest[3] = 255;
384 dest[0] = (bottom[0] * alphaDest + c1 * alphaSrc) / alphaTemp;
385 dest[1] = (bottom[1] * alphaDest + c2 * alphaSrc) / alphaTemp;
386 dest[2] = (bottom[2] * alphaDest + c3 * alphaSrc) / alphaTemp;
387 dest[3] = alphaTemp / 255;
391 *((uint32*)dest) = *((uint32*)bottom);
488 blend_colors_copy(uint8* dest, uint8* bottom, uint8* top)
491 dest[0] = top[0];
492 dest[1] = top[1];
493 dest[2] = top[2];
494 dest[3] = top[3];
498 dest[0] = (uint8)((bottom[0] * destAlpha + top[0] * top[3]) / 255);
499 dest[1] = (uint8)((bottom[1] * destAlpha + top[1] * top[3]) / 255);
500 dest[2] = (uint8)((bottom[2] * destAlpha + top[2] * top[3]) / 255);
501 dest[3] = 255;
507 dest[0] = (bottom[0] * alphaDest + top[0] * alphaSrc) / alphaTemp;
508 dest[1] = (bottom[1] * alphaDest + top[1] * alphaSrc) / alphaTemp;
509 dest[2] = (bottom[2] * alphaDest + top[2] * alphaSrc) / alphaTemp;
510 dest[3] = alphaTemp / 255;
538 blend_pixels_copy(uint8* bottom, uint8* top, uint8* dest, uint8 alpha)
542 dest[0] = top[0];
543 dest[1] = top[1];
544 dest[2] = top[2];
545 dest[3] = top[3];
549 dest[0] = (bottom[0] * invAlpha + top[0] * mergeAlpha) / 255;
550 dest[1] = (bottom[1] * invAlpha + top[1] * mergeAlpha) / 255;
551 dest[2] = (bottom[2] * invAlpha + top[2] * mergeAlpha) / 255;
552 dest[3] = (bottom[3] * (255 - alpha) + top[3] * alpha) / 255;
555 dest[0] = bottom[0];
556 dest[1] = bottom[1];
557 dest[2] = bottom[2];
558 dest[3] = bottom[3];
586 blend_pixels_overlay_copy(uint8* bottom, uint8* top, uint8* dest, uint8 alphaOverride)
591 dest[0] = top[0];
592 dest[1] = top[1];
593 dest[2] = top[2];
594 dest[3] = top[3];
598 dest[0] = (bottom[0] * invAlpha + top[0] * mergeAlpha) / 255;
599 dest[1] = (bottom[1] * invAlpha + top[1] * mergeAlpha) / 255;
600 dest[2] = (bottom[2] * invAlpha + top[2] * mergeAlpha) / 255;
601 dest[3] = (bottom[3] * (255 - alpha) + top[3] * alpha) / 255;
604 dest[0] = bottom[0];
605 dest[1] = bottom[1];
606 dest[2] = bottom[2];
607 dest[3] = bottom[3];