Home
last modified time | relevance | path

Searched refs:PNG_COLOR_MASK_COLOR (Results 1 – 17 of 17) sorted by relevance

/external/pdfium/core/fxcodec/png/
Dpng_decoder.cpp124 if (color_type1 & PNG_COLOR_MASK_COLOR) { in _png_get_header_func()
135 if (!(color_type1 & PNG_COLOR_MASK_COLOR)) { in _png_get_header_func()
/external/libpng/
Dexample.c471 if ((color_type & PNG_COLOR_MASK_COLOR) != 0)
510 if ((color_type & PNG_COLOR_MASK_COLOR) != 0)
Dpngrtran.c1242 (png_ptr->color_type & PNG_COLOR_MASK_COLOR) == 0) in png_init_rgb_transformations()
1458 if ((png_ptr->color_type & PNG_COLOR_MASK_COLOR) == 0) in png_init_read_transformations()
2043 PNG_COLOR_MASK_COLOR); in png_read_transform_info()
2049 ~PNG_COLOR_MASK_COLOR); in png_read_transform_info()
2082 else if ((info_ptr->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_read_transform_info()
2266 if ((color_type & PNG_COLOR_MASK_COLOR) != 0) in png_do_unshift()
2868 (row_info->color_type & PNG_COLOR_MASK_COLOR) == 0) in png_do_gray_to_rgb()
2937 row_info->color_type |= PNG_COLOR_MASK_COLOR; in png_do_gray_to_rgb()
3006 (row_info->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_do_rgb_to_gray()
3184 ~PNG_COLOR_MASK_COLOR); in png_do_rgb_to_gray()
[all …]
Dpng.h664 #define PNG_COLOR_MASK_COLOR 2 macro
669 #define PNG_COLOR_TYPE_PALETTE (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_PALETTE)
670 #define PNG_COLOR_TYPE_RGB (PNG_COLOR_MASK_COLOR)
671 #define PNG_COLOR_TYPE_RGB_ALPHA (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_ALPHA)
Dpngwtran.c182 if ((row_info->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_do_shift()
Dpngtrans.c623 if ((row_info->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_do_bgr()
Dpngwutil.c872 if ((png_ptr->color_type & PNG_COLOR_MASK_COLOR) == 0) in png_write_PLTE()
1271 if ((color_type & PNG_COLOR_MASK_COLOR) != 0) in png_write_sBIT()
1437 else if ((color_type & PNG_COLOR_MASK_COLOR) != 0) in png_write_bKGD()
Dpngrutil.c945 if ((png_ptr->color_type & PNG_COLOR_MASK_COLOR) == 0) in png_handle_PLTE()
1216 if ((png_ptr->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_handle_sBIT()
1950 else if ((png_ptr->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_handle_bKGD()
1996 else if ((png_ptr->color_type & PNG_COLOR_MASK_COLOR) == 0) /* GRAY */ in png_handle_bKGD()
Dpngread.c326 (row_info->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_do_read_intrapixel()
1359 if ((png_ptr->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_image_format()
3979 if ((info_ptr->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_image_read_direct()
Dpng.c2108 if ((color_type & PNG_COLOR_MASK_COLOR) == 0)
2114 if ((color_type & PNG_COLOR_MASK_COLOR) != 0)
4239 if ((png_ptr->color_type & PNG_COLOR_MASK_COLOR) != 0)
Dpngwrite.c648 if ((row_info->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_do_write_intrapixel()
2021 ((format & PNG_FORMAT_FLAG_COLOR) ? PNG_COLOR_MASK_COLOR : 0) + in png_image_write_main()
Dpngset.c279 else if ((info_ptr->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_set_IHDR()
Dlibpng-manual.txt1287 PNG_COLOR_MASK_COLOR
2053 if (color_type & PNG_COLOR_MASK_COLOR)
2986 PNG_COLOR_MASK_COLOR
3489 if (color_type & PNG_COLOR_MASK_COLOR)
/external/libpng/contrib/libtests/
Dmakepng.c187 if (color_type & PNG_COLOR_MASK_COLOR) in channels_of_type()
1386 int c = (ct & PNG_COLOR_MASK_COLOR ? 3 : 1) + in insert_sBIT()
1395 if (ct & PNG_COLOR_MASK_COLOR) in insert_sBIT()
1896 else if (color_type & PNG_COLOR_MASK_COLOR) /* rgb */ in main()
Dpngvalid.c5219 if (dp->colour_type & PNG_COLOR_MASK_COLOR) in standard_info_part1()
6478 if (that->colour_type & PNG_COLOR_MASK_COLOR) in image_transform_mod_end()
6898 if ((out_ct & PNG_COLOR_MASK_COLOR) != 0 && in transform_image_validate()
6905 if ((out_ct & PNG_COLOR_MASK_COLOR) != 0 && in transform_image_validate()
7204 if ((that->colour_type & PNG_COLOR_MASK_COLOR) == 0 && that->have_tRNS) in image_transform_png_set_gray_to_rgb_mod()
7235 return (colour_type & PNG_COLOR_MASK_COLOR) == 0; in image_transform_png_set_gray_to_rgb_add()
7903 if ((that->colour_type & PNG_COLOR_MASK_COLOR) != 0) in image_transform_png_set_rgb_to_gray_mod()
8244 return (colour_type & PNG_COLOR_MASK_COLOR) != 0; in image_transform_png_set_rgb_to_gray_add()
8311 if (colour_type & PNG_COLOR_MASK_COLOR) in image_transform_png_set_background_set()
10342 if ((in_ct & PNG_COLOR_MASK_COLOR) == 0) /* grayscale */ in gamma_image_validate()
[all …]
Dpngimage.c105 # define COLOR_MASK_C PNG_COLOR_MASK_COLOR
/external/tensorflow/tensorflow/core/lib/png/
Dpng_io.cc290 const bool is_gray = !(context->color_type & PNG_COLOR_MASK_COLOR); in CommonInitDecode()