Home
last modified time | relevance | path

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

/external/pdfium/core/fxge/dib/
Dcfx_scanlinecompositor.cpp376 uint8_t dest_alpha = back_alpha + src_alpha - back_alpha * src_alpha / 255; in CompositeRow_Rgb2Graya() local
377 *dest_alpha_scan = dest_alpha; in CompositeRow_Rgb2Graya()
379 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeRow_Rgb2Graya()
438 uint8_t dest_alpha = back_alpha + src_alpha - back_alpha * src_alpha / 255; in CompositeRow_Argb2Argb() local
440 *dest_alpha_scan = dest_alpha; in CompositeRow_Argb2Argb()
443 dest_scan[3] = dest_alpha; in CompositeRow_Argb2Argb()
445 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeRow_Argb2Argb()
478 uint8_t* dest_alpha = dest_alpha_scan ? dest_alpha_scan : &dest_scan[3]; in CompositeRow_Rgb2Argb_Blend_NoClip() local
479 uint8_t back_alpha = *dest_alpha; in CompositeRow_Rgb2Argb_Blend_NoClip()
500 *dest_alpha = 0xff; in CompositeRow_Rgb2Argb_Blend_NoClip()
[all …]
Dcfx_dibitmap.cpp1154 uint8_t dest_alpha = in CompositeRect() local
1156 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeRect()
1163 *dest_scan++ = dest_alpha; in CompositeRect()
1176 uint8_t dest_alpha = in CompositeRect() local
1178 *dest_scan_alpha++ = dest_alpha; in CompositeRect()
1179 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeRect()
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp118 uint8_t dest_alpha = in RgbByteOrderCompositeRect() local
120 dest_scan[3] = dest_alpha; in RgbByteOrderCompositeRect()
121 int alpha_ratio = src_alpha * 255 / dest_alpha; in RgbByteOrderCompositeRect()
490 uint8_t dest_alpha = in CompositeSpan() local
492 dest_scan[3] = dest_alpha; in CompositeSpan()
493 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeSpan()
651 uint8_t dest_alpha = (*dest_extra_alpha_scan) + src_alpha - in CompositeSpanGray() local
653 *dest_extra_alpha_scan++ = dest_alpha; in CompositeSpanGray()
654 int alpha_ratio = src_alpha * 255 / dest_alpha; in CompositeSpanGray()
697 uint8_t dest_alpha = in CompositeSpanARGB() local
[all …]
/external/pdfium/core/fxge/
Dcfx_renderdevice.cpp156 uint8_t dest_alpha = CalculateDestAlpha(back_alpha, src_alpha); in ApplyDestAlpha() local
157 ApplyAlpha(dest, b, g, r, src_alpha * 255 / dest_alpha); in ApplyDestAlpha()
158 dest[3] = dest_alpha; in ApplyDestAlpha()
/external/pdfium/core/fxcodec/
Dprogressivedecoder.cpp1998 uint32_t dest_alpha = 0; in ReSampleScanline() local
2011 dest_alpha += pixel_weight; in ReSampleScanline()
2016 *dest_scan++ = (uint8_t)((dest_alpha * 255) >> 16); in ReSampleScanline()