Home
last modified time | relevance | path

Searched refs:dest_alpha (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/core/fxge/dib/
Dcfx_scanlinecompositor.cpp351 uint8_t dest_alpha = back_alpha + src_alpha - back_alpha * src_alpha / 255; in CompositeRow_Rgb2Graya() local
352 *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() local
415 *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() local
454 uint8_t back_alpha = *dest_alpha; in CompositeRow_Rgb2Argb_Blend_NoClip()
475 *dest_alpha = 0xff; in CompositeRow_Rgb2Argb_Blend_NoClip()
[all …]
Dcfx_dibitmap.cpp1120 uint8_t dest_alpha = in CompositeRect() local
1122 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeRect()
1129 *dest_scan++ = dest_alpha; in CompositeRect()
1142 uint8_t dest_alpha = in CompositeRect() local
1144 *dest_scan_alpha++ = dest_alpha; in CompositeRect()
1145 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeRect()
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp107 uint8_t dest_alpha = in RgbByteOrderCompositeRect() local
109 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() local
469 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() local
628 *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 …]
/external/pdfium/core/fxge/
Dcfx_renderdevice.cpp138 uint8_t dest_alpha = CalculateDestAlpha(back_alpha, src_alpha); in ApplyDestAlpha() local
139 ApplyAlpha(dest, b, g, r, src_alpha * 255 / dest_alpha); in ApplyDestAlpha()
140 dest[3] = dest_alpha; in ApplyDestAlpha()