Home
last modified time | relevance | path

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

/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.c1813 png_ptr->trans_color.gray = png_get_uint_16(buf); in png_handle_tRNS()
1829 png_ptr->trans_color.red = png_get_uint_16(buf); in png_handle_tRNS()
1830 png_ptr->trans_color.green = png_get_uint_16(buf + 2); in png_handle_tRNS()
1831 png_ptr->trans_color.blue = png_get_uint_16(buf + 4); in png_handle_tRNS()
1874 &(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()