Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dpng.h30 #define PNG_COLOR_MASK_COLOR 2 macro
34 #define PNG_COLOR_TYPE_PALETTE (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_PALETTE)
35 #define PNG_COLOR_TYPE_RGB (PNG_COLOR_MASK_COLOR)
36 #define PNG_COLOR_TYPE_RGB_ALPHA (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_ALPHA)
Dpng.c45 if ((color_type & (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_PALETTE)) == in ff_png_get_nb_channels()
46 PNG_COLOR_MASK_COLOR) in ff_png_get_nb_channels()
/third_party/cups-filters/cupsfilters/
Dimage-png.c86 (color_type & PNG_COLOR_MASK_COLOR) ? "RGB" : "GRAYSCALE", in _cupsImageReadPNG()
100 if (color_type & PNG_COLOR_MASK_COLOR) in _cupsImageReadPNG()
247 if (color_type & PNG_COLOR_MASK_COLOR) in _cupsImageReadPNG()
303 if (color_type & PNG_COLOR_MASK_COLOR) in _cupsImageReadPNG()
/third_party/skia/third_party/externals/libpng/
Dexample.c470 if ((color_type & PNG_COLOR_MASK_COLOR) != 0)
509 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.c946 if ((png_ptr->color_type & PNG_COLOR_MASK_COLOR) == 0) in png_handle_PLTE()
1217 if ((png_ptr->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_handle_sBIT()
1951 else if ((png_ptr->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_handle_bKGD()
1997 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()
3982 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.c638 if ((row_info->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_do_write_intrapixel()
2011 ((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)
/third_party/skia/third_party/externals/libpng/contrib/libtests/
Dmakepng.c189 if (color_type & PNG_COLOR_MASK_COLOR) in channels_of_type()
1382 int c = (ct & PNG_COLOR_MASK_COLOR ? 3 : 1) + in insert_sBIT()
1391 if (ct & PNG_COLOR_MASK_COLOR) in insert_sBIT()
1889 else if (color_type & PNG_COLOR_MASK_COLOR) /* rgb */ in main()
Dpngvalid.c5218 if (dp->colour_type & PNG_COLOR_MASK_COLOR) in standard_info_part1()
6470 if (that->colour_type & PNG_COLOR_MASK_COLOR) in image_transform_mod_end()
6890 if ((out_ct & PNG_COLOR_MASK_COLOR) != 0 && in transform_image_validate()
6897 if ((out_ct & PNG_COLOR_MASK_COLOR) != 0 && in transform_image_validate()
7196 if ((that->colour_type & PNG_COLOR_MASK_COLOR) == 0 && that->have_tRNS) in image_transform_png_set_gray_to_rgb_mod()
7227 return (colour_type & PNG_COLOR_MASK_COLOR) == 0; in image_transform_png_set_gray_to_rgb_add()
7895 if ((that->colour_type & PNG_COLOR_MASK_COLOR) != 0) in image_transform_png_set_rgb_to_gray_mod()
8236 return (colour_type & PNG_COLOR_MASK_COLOR) != 0; in image_transform_png_set_rgb_to_gray_add()
8303 if (colour_type & PNG_COLOR_MASK_COLOR) in image_transform_png_set_background_set()
10334 if ((in_ct & PNG_COLOR_MASK_COLOR) == 0) /* grayscale */ in gamma_image_validate()
[all …]
Dpngimage.c104 # define COLOR_MASK_C PNG_COLOR_MASK_COLOR