Home
last modified time | relevance | path

Searched refs:back_alpha (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/core/fxge/dib/
Dcfx_scanlinecompositor.cpp194 uint8_t back_alpha = *dest_scan; in CompositeRow_AlphaToMask() local
195 if (!back_alpha) in CompositeRow_AlphaToMask()
198 *dest_scan = back_alpha + src_alpha - back_alpha * src_alpha / 255; in CompositeRow_AlphaToMask()
245 uint8_t back_alpha = *dst_alpha_scan; in CompositeRow_Argb2Graya() local
246 if (back_alpha == 0) { in CompositeRow_Argb2Graya()
264 *dst_alpha_scan = FXDIB_ALPHA_UNION(back_alpha, src_alpha); in CompositeRow_Argb2Graya()
350 int back_alpha = *dest_alpha_scan; in CompositeRow_Rgb2Graya() local
351 uint8_t dest_alpha = back_alpha + src_alpha - back_alpha * src_alpha / 255; in CompositeRow_Rgb2Graya()
376 uint8_t back_alpha = has_dest ? *dest_alpha_scan : dest_scan[3]; in CompositeRow_Argb2Argb() local
379 if (back_alpha == 0) { in CompositeRow_Argb2Argb()
[all …]
Dcfx_dibitmap.cpp1113 uint8_t back_alpha = dest_scan[3]; in CompositeRect() local
1114 if (back_alpha == 0) { in CompositeRect()
1121 back_alpha + src_alpha - back_alpha * src_alpha / 255; in CompositeRect()
1135 uint8_t back_alpha = *dest_scan_alpha; in CompositeRect() local
1136 if (back_alpha == 0) { in CompositeRect()
1143 back_alpha + src_alpha - back_alpha * src_alpha / 255; in CompositeRect()
/external/pdfium/core/fxge/
Dcfx_renderdevice.cpp122 uint8_t CalculateDestAlpha(uint8_t back_alpha, int src_alpha) { in CalculateDestAlpha() argument
123 return back_alpha + src_alpha - back_alpha * src_alpha / 255; in CalculateDestAlpha()
132 void ApplyDestAlpha(uint8_t back_alpha, in ApplyDestAlpha() argument
138 uint8_t dest_alpha = CalculateDestAlpha(back_alpha, src_alpha); in ApplyDestAlpha()
150 uint8_t back_alpha = dest[3]; in NormalizeArgb() local
151 if (back_alpha == 0) in NormalizeArgb()
154 ApplyDestAlpha(back_alpha, src_alpha, r, g, b, dest); in NormalizeArgb()
/external/pdfium/third_party/libpng16/
Dpngread.c2168 unsigned int step, i, val, trans = 256/*ignore*/, back_alpha = 0; in png_image_read_colormap() local
2185 back_alpha = output_encoding == P_LINEAR ? 65535 : 255; in png_image_read_colormap()
2215 back_alpha, output_encoding); in png_image_read_colormap()
2257 unsigned int back_alpha; in png_image_read_colormap() local
2260 back_alpha = 0; in png_image_read_colormap()
2304 back_alpha = 255; in png_image_read_colormap()
2306 back_alpha = output_encoding == P_LINEAR ? 65535 : 255; in png_image_read_colormap()
2325 back_alpha, output_encoding); in png_image_read_colormap()
/external/libpng/
Dpngread.c2182 unsigned int step, i, val, trans = 256/*ignore*/, back_alpha = 0; in png_image_read_colormap() local
2199 back_alpha = output_encoding == P_LINEAR ? 65535 : 255; in png_image_read_colormap()
2229 back_alpha, output_encoding); in png_image_read_colormap()
2271 unsigned int back_alpha; in png_image_read_colormap() local
2274 back_alpha = 0; in png_image_read_colormap()
2318 back_alpha = 255; in png_image_read_colormap()
2320 back_alpha = output_encoding == P_LINEAR ? 65535 : 255; in png_image_read_colormap()
2339 back_alpha, output_encoding); in png_image_read_colormap()
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp100 uint8_t back_alpha = dest_scan[3]; in RgbByteOrderCompositeRect() local
101 if (back_alpha == 0) { in RgbByteOrderCompositeRect()
108 back_alpha + src_alpha - back_alpha * src_alpha / 255; in RgbByteOrderCompositeRect()