Home
last modified time | relevance | path

Searched refs:trans_color (Results 1 – 22 of 22) sorted by relevance

/external/pdfium/third_party/libpng16/
Dpngrtran.c1234 int trans_gray = png_ptr->trans_color.gray; in png_init_rgb_transformations()
1268 png_ptr->trans_color.red = png_ptr->trans_color.green = in png_init_rgb_transformations()
1269 png_ptr->trans_color.blue = (png_uint_16)trans_gray; in png_init_rgb_transformations()
3223 == png_ptr->trans_color.gray) in png_do_compose()
3252 == png_ptr->trans_color.gray) in png_do_compose()
3288 == png_ptr->trans_color.gray) in png_do_compose()
3318 == png_ptr->trans_color.gray) in png_do_compose()
3354 == png_ptr->trans_color.gray) in png_do_compose()
3382 if (*sp == png_ptr->trans_color.gray) in png_do_compose()
3395 if (*sp == png_ptr->trans_color.gray) in png_do_compose()
[all …]
Dpngget.c1064 png_bytep *trans_alpha, int *num_trans, png_color_16p *trans_color) in png_get_tRNS() argument
1080 if (trans_color != NULL) in png_get_tRNS()
1081 *trans_color = &(info_ptr->trans_color); in png_get_tRNS()
1086 if (trans_color != NULL) in png_get_tRNS()
1088 *trans_color = &(info_ptr->trans_color); in png_get_tRNS()
Dpngset.c946 png_const_bytep trans_alpha, int num_trans, png_const_color_16p trans_color) in png_set_tRNS() argument
978 if (trans_color != NULL) in png_set_tRNS()
986 trans_color->gray > sample_max) || in png_set_tRNS()
988 (trans_color->red > sample_max || in png_set_tRNS()
989 trans_color->green > sample_max || in png_set_tRNS()
990 trans_color->blue > sample_max))) in png_set_tRNS()
996 info_ptr->trans_color = *trans_color; in png_set_tRNS()
Dpnginfo.h154 png_color_16 trans_color; /* transparent color for non-palette image */ member
Dpngstruct.h316 png_color_16 trans_color; /* transparent color for non-paletted files */ member
Dpngrutil.c1840 png_ptr->trans_color.gray = png_get_uint_16(buf); in png_handle_tRNS()
1856 png_ptr->trans_color.red = png_get_uint_16(buf); in png_handle_tRNS()
1857 png_ptr->trans_color.green = png_get_uint_16(buf + 2); in png_handle_tRNS()
1858 png_ptr->trans_color.blue = png_get_uint_16(buf + 4); in png_handle_tRNS()
1902 &(png_ptr->trans_color)); in png_handle_tRNS()
Dpng.h2167 png_color_16p *trans_color));
2173 png_const_color_16p trans_color));
Dpngwrite.c231 png_write_tRNS(png_ptr, info_ptr->trans_alpha, &(info_ptr->trans_color), in png_write_info()
Dpngread.c2182 trans = png_ptr->trans_color.gray; in png_image_read_colormap()
/external/libpng/
Dpngrtran.c1237 int trans_gray = png_ptr->trans_color.gray; in png_init_rgb_transformations()
1271 png_ptr->trans_color.red = png_ptr->trans_color.green = in png_init_rgb_transformations()
1272 png_ptr->trans_color.blue = (png_uint_16)trans_gray; in png_init_rgb_transformations()
3226 == png_ptr->trans_color.gray) in png_do_compose()
3256 == png_ptr->trans_color.gray) in png_do_compose()
3293 == png_ptr->trans_color.gray) in png_do_compose()
3324 == png_ptr->trans_color.gray) in png_do_compose()
3361 == png_ptr->trans_color.gray) in png_do_compose()
3390 if (*sp == png_ptr->trans_color.gray) in png_do_compose()
3403 if (*sp == png_ptr->trans_color.gray) in png_do_compose()
[all …]
Dpngget.c1093 png_bytep *trans_alpha, int *num_trans, png_color_16p *trans_color) in png_get_tRNS() argument
1109 if (trans_color != NULL) in png_get_tRNS()
1110 *trans_color = &(info_ptr->trans_color); in png_get_tRNS()
1115 if (trans_color != NULL) in png_get_tRNS()
1117 *trans_color = &(info_ptr->trans_color); in png_get_tRNS()
Dpngset.c995 png_const_bytep trans_alpha, int num_trans, png_const_color_16p trans_color) in png_set_tRNS() argument
1026 if (trans_color != NULL) in png_set_tRNS()
1034 trans_color->gray > sample_max) || in png_set_tRNS()
1036 (trans_color->red > sample_max || in png_set_tRNS()
1037 trans_color->green > sample_max || in png_set_tRNS()
1038 trans_color->blue > sample_max))) in png_set_tRNS()
1044 info_ptr->trans_color = *trans_color; in png_set_tRNS()
Dpngtest.c1366 png_color_16p trans_color; in test_one_file() local
1369 &trans_color) != 0) in test_one_file()
1374 (int)trans_color->gray > sample_max) || in test_one_file()
1376 ((int)trans_color->red > sample_max || in test_one_file()
1377 (int)trans_color->green > sample_max || in test_one_file()
1378 (int)trans_color->blue > sample_max)))) in test_one_file()
1380 trans_color); in test_one_file()
Dpnginfo.h154 png_color_16 trans_color; /* transparent color for non-palette image */ member
Dpngstruct.h316 png_color_16 trans_color; /* transparent color for non-paletted files */ member
Dpngrutil.c1854 png_ptr->trans_color.gray = png_get_uint_16(buf); in png_handle_tRNS()
1870 png_ptr->trans_color.red = png_get_uint_16(buf); in png_handle_tRNS()
1871 png_ptr->trans_color.green = png_get_uint_16(buf + 2); in png_handle_tRNS()
1872 png_ptr->trans_color.blue = png_get_uint_16(buf + 4); in png_handle_tRNS()
1916 &(png_ptr->trans_color)); in png_handle_tRNS()
Dpng.h2173 png_color_16p *trans_color));
2179 png_const_color_16p trans_color));
Dpngwrite.c231 png_write_tRNS(png_ptr, info_ptr->trans_alpha, &(info_ptr->trans_color), in png_write_info()
Dpngread.c2196 trans = png_ptr->trans_color.gray; in png_image_read_colormap()
Dlibpng-manual.txt1454 &num_trans, &trans_color);
1462 trans_color - graylevel or color sample values of
3103 num_trans, trans_color);
3111 trans_color - graylevel or color sample values
4734 changed to "trans_alpha" and "trans_color", respectively.
DCHANGES2173 Changed "trans_values" to "trans_color".
/external/libpng/contrib/libtests/
Dpngvalid.c5278 png_color_16p trans_color = 0; in standard_info_part1() local
5280 if (png_get_tRNS(pp, pi, 0, 0, &trans_color) & PNG_INFO_tRNS) in standard_info_part1()
5282 if (trans_color == 0) in standard_info_part1()
5289 trans_color->gray; in standard_info_part1()
5294 dp->transparent.red = trans_color->red; in standard_info_part1()
5295 dp->transparent.green = trans_color->green; in standard_info_part1()
5296 dp->transparent.blue = trans_color->blue; in standard_info_part1()