Home
last modified time | relevance | path

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

/external/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngrtran.c1224 int trans_gray = png_ptr->trans_color.gray; in png_init_rgb_transformations()
1258 png_ptr->trans_color.red = png_ptr->trans_color.green = in png_init_rgb_transformations()
1259 png_ptr->trans_color.blue = (png_uint_16)trans_gray; in png_init_rgb_transformations()
2163 &(png_ptr->trans_color)); in png_do_read_transformations()
3562 == png_ptr->trans_color.gray) in png_do_compose()
3591 == png_ptr->trans_color.gray) in png_do_compose()
3627 == png_ptr->trans_color.gray) in png_do_compose()
3657 == png_ptr->trans_color.gray) in png_do_compose()
3693 == png_ptr->trans_color.gray) in png_do_compose()
3721 if (*sp == png_ptr->trans_color.gray) in png_do_compose()
[all …]
Dfx_pngget.c1022 png_bytep *trans_alpha, int *num_trans, png_color_16p *trans_color) in png_get_tRNS() argument
1037 if (trans_color != NULL) in png_get_tRNS()
1038 *trans_color = &(info_ptr->trans_color); in png_get_tRNS()
1043 if (trans_color != NULL) in png_get_tRNS()
1045 *trans_color = &(info_ptr->trans_color); in png_get_tRNS()
Dfx_pngset.c912 png_const_bytep trans_alpha, int num_trans, png_const_color_16p trans_color) in png_set_tRNS() argument
940 if (trans_color != NULL) in png_set_tRNS()
945 trans_color->gray > sample_max) || in png_set_tRNS()
947 (trans_color->red > sample_max || in png_set_tRNS()
948 trans_color->green > sample_max || in png_set_tRNS()
949 trans_color->blue > sample_max))) in png_set_tRNS()
953 info_ptr->trans_color = *trans_color; in png_set_tRNS()
Dpnginfo.h155 png_color_16 trans_color; /* transparent color for non-palette image */ member
Dpngstruct.h312 png_color_16 trans_color; /* transparent color for non-paletted files */ member
Dfx_pngrutil.c1782 png_ptr->trans_color.gray = png_get_uint_16(buf); in png_handle_tRNS()
1798 png_ptr->trans_color.red = png_get_uint_16(buf); in png_handle_tRNS()
1799 png_ptr->trans_color.green = png_get_uint_16(buf + 2); in png_handle_tRNS()
1800 png_ptr->trans_color.blue = png_get_uint_16(buf + 4); in png_handle_tRNS()
1843 &(png_ptr->trans_color)); in png_handle_tRNS()
Dpng.h2587 png_color_16p *trans_color));
2593 png_const_color_16p trans_color));
Dpngpriv.h1323 png_bytep row, png_const_color_16p trans_color),PNG_EMPTY);
Dfx_pngwrite.c224 png_write_tRNS(png_ptr, info_ptr->trans_alpha, &(info_ptr->trans_color), in png_write_info()
Dfx_pngread.c2055 trans = png_ptr->trans_color.gray; in png_image_read_colormap()
/external/libpng/
Dpngrtran.c1231 int trans_gray = png_ptr->trans_color.gray; in png_init_rgb_transformations()
1265 png_ptr->trans_color.red = png_ptr->trans_color.green = in png_init_rgb_transformations()
1266 png_ptr->trans_color.blue = (png_uint_16)trans_gray; in png_init_rgb_transformations()
3217 == png_ptr->trans_color.gray) in png_do_compose()
3246 == png_ptr->trans_color.gray) in png_do_compose()
3282 == png_ptr->trans_color.gray) in png_do_compose()
3312 == png_ptr->trans_color.gray) in png_do_compose()
3348 == png_ptr->trans_color.gray) in png_do_compose()
3376 if (*sp == png_ptr->trans_color.gray) in png_do_compose()
3389 if (*sp == png_ptr->trans_color.gray) in png_do_compose()
[all …]
Dpngget.c1023 png_bytep *trans_alpha, int *num_trans, png_color_16p *trans_color) in png_get_tRNS() argument
1038 if (trans_color != NULL) in png_get_tRNS()
1039 *trans_color = &(info_ptr->trans_color); in png_get_tRNS()
1044 if (trans_color != NULL) in png_get_tRNS()
1046 *trans_color = &(info_ptr->trans_color); in png_get_tRNS()
Dpngset.c913 png_const_bytep trans_alpha, int num_trans, png_const_color_16p trans_color) in png_set_tRNS() argument
941 if (trans_color != NULL) in png_set_tRNS()
946 trans_color->gray > sample_max) || in png_set_tRNS()
948 (trans_color->red > sample_max || in png_set_tRNS()
949 trans_color->green > sample_max || in png_set_tRNS()
950 trans_color->blue > sample_max))) in png_set_tRNS()
954 info_ptr->trans_color = *trans_color; in png_set_tRNS()
Dpngtest.c1299 png_color_16p trans_color; in test_one_file() local
1302 &trans_color)) in test_one_file()
1307 (int)trans_color->gray > sample_max) || in test_one_file()
1309 ((int)trans_color->red > sample_max || in test_one_file()
1310 (int)trans_color->green > sample_max || in test_one_file()
1311 (int)trans_color->blue > sample_max)))) in test_one_file()
1313 trans_color); in test_one_file()
Dpnginfo.h155 png_color_16 trans_color; /* transparent color for non-palette image */ member
Dpngstruct.h359 png_color_16 trans_color; /* transparent color for non-paletted files */ member
Dpngrutil.c1820 png_ptr->trans_color.gray = png_get_uint_16(buf); in png_handle_tRNS()
1836 png_ptr->trans_color.red = png_get_uint_16(buf); in png_handle_tRNS()
1837 png_ptr->trans_color.green = png_get_uint_16(buf + 2); in png_handle_tRNS()
1838 png_ptr->trans_color.blue = png_get_uint_16(buf + 4); in png_handle_tRNS()
1881 &(png_ptr->trans_color)); in png_handle_tRNS()
Dpng.h2297 png_color_16p *trans_color));
2303 png_const_color_16p trans_color));
Dpngwrite.c225 png_write_tRNS(png_ptr, info_ptr->trans_alpha, &(info_ptr->trans_color), in png_write_info()
Dpngread.c2321 trans = png_ptr->trans_color.gray; in png_image_read_colormap()
Dlibpng-manual.txt1418 &num_trans, &trans_color);
1426 trans_color - graylevel or color sample values of
3043 num_trans, trans_color);
3051 trans_color - graylevel or color sample values
4720 changed to "trans_alpha" and "trans_color", respectively.
DCHANGES2164 Changed "trans_values" to "trans_color".
/external/libpng/contrib/libtests/
Dpngvalid.c4579 png_color_16p trans_color = 0; in standard_info_part1() local
4581 if (png_get_tRNS(pp, pi, 0, 0, &trans_color) & PNG_INFO_tRNS) in standard_info_part1()
4583 if (trans_color == 0) in standard_info_part1()
4590 trans_color->gray; in standard_info_part1()
4595 dp->transparent.red = trans_color->red; in standard_info_part1()
4596 dp->transparent.green = trans_color->green; in standard_info_part1()
4597 dp->transparent.blue = trans_color->blue; in standard_info_part1()