Searched refs:dest_alpha (Results 1 – 4 of 4) sorted by relevance
351 uint8_t dest_alpha = back_alpha + src_alpha - back_alpha * src_alpha / 255; in CompositeRow_Rgb2Graya() local352 *dest_alpha_scan = dest_alpha; in CompositeRow_Rgb2Graya()354 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeRow_Rgb2Graya()413 uint8_t dest_alpha = back_alpha + src_alpha - back_alpha * src_alpha / 255; in CompositeRow_Argb2Argb() local415 *dest_alpha_scan = dest_alpha; in CompositeRow_Argb2Argb()418 dest_scan[3] = dest_alpha; in CompositeRow_Argb2Argb()420 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeRow_Argb2Argb()453 uint8_t* dest_alpha = dest_alpha_scan ? dest_alpha_scan : &dest_scan[3]; in CompositeRow_Rgb2Argb_Blend_NoClip() local454 uint8_t back_alpha = *dest_alpha; in CompositeRow_Rgb2Argb_Blend_NoClip()475 *dest_alpha = 0xff; in CompositeRow_Rgb2Argb_Blend_NoClip()[all …]
1120 uint8_t dest_alpha = in CompositeRect() local1122 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeRect()1129 *dest_scan++ = dest_alpha; in CompositeRect()1142 uint8_t dest_alpha = in CompositeRect() local1144 *dest_scan_alpha++ = dest_alpha; in CompositeRect()1145 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeRect()
107 uint8_t dest_alpha = in RgbByteOrderCompositeRect() local109 dest_scan[3] = dest_alpha; in RgbByteOrderCompositeRect()110 int alpha_ratio = src_alpha * 255 / dest_alpha; in RgbByteOrderCompositeRect()467 uint8_t dest_alpha = in CompositeSpan() local469 dest_scan[3] = dest_alpha; in CompositeSpan()470 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeSpan()626 uint8_t dest_alpha = (*dest_extra_alpha_scan) + src_alpha - in CompositeSpanGray() local628 *dest_extra_alpha_scan++ = dest_alpha; in CompositeSpanGray()629 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeSpanGray()672 uint8_t dest_alpha = in CompositeSpanARGB() local[all …]
138 uint8_t dest_alpha = CalculateDestAlpha(back_alpha, src_alpha); in ApplyDestAlpha() local139 ApplyAlpha(dest, b, g, r, src_alpha * 255 / dest_alpha); in ApplyDestAlpha()140 dest[3] = dest_alpha; in ApplyDestAlpha()