Home
last modified time | relevance | path

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

12

/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_png.cpp156 if (color_type1 & PNG_COLOR_MASK_COLOR) { in _png_get_header_func()
166 if (!(color_type1 & PNG_COLOR_MASK_COLOR)) { in _png_get_header_func()
/external/libpng/
Dexample.c472 if ((color_type & PNG_COLOR_MASK_COLOR) != 0)
515 if ((color_type & PNG_COLOR_MASK_COLOR) != 0)
Dpngrtran.c1228 (png_ptr->color_type & PNG_COLOR_MASK_COLOR) == 0) in png_init_rgb_transformations()
1444 if ((png_ptr->color_type & PNG_COLOR_MASK_COLOR) == 0) in png_init_read_transformations()
2029 PNG_COLOR_MASK_COLOR); in png_read_transform_info()
2035 ~PNG_COLOR_MASK_COLOR); in png_read_transform_info()
2068 else if ((info_ptr->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_read_transform_info()
2252 if ((color_type & PNG_COLOR_MASK_COLOR) != 0) in png_do_unshift()
2855 (row_info->color_type & PNG_COLOR_MASK_COLOR) == 0) in png_do_gray_to_rgb()
2924 row_info->color_type |= PNG_COLOR_MASK_COLOR; in png_do_gray_to_rgb()
2994 (row_info->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_do_rgb_to_gray()
3173 ~PNG_COLOR_MASK_COLOR); in png_do_rgb_to_gray()
[all …]
Dpng.h700 #define PNG_COLOR_MASK_COLOR 2 macro
705 #define PNG_COLOR_TYPE_PALETTE (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_PALETTE)
706 #define PNG_COLOR_TYPE_RGB (PNG_COLOR_MASK_COLOR)
707 #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.c608 if ((row_info->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_do_bgr()
Dpngwutil.c868 if ((png_ptr->color_type & PNG_COLOR_MASK_COLOR) == 0) in png_write_PLTE()
1266 if ((color_type & PNG_COLOR_MASK_COLOR) != 0) in png_write_sBIT()
1432 else if ((color_type & PNG_COLOR_MASK_COLOR) != 0) in png_write_bKGD()
Dpngrutil.c936 if ((png_ptr->color_type & PNG_COLOR_MASK_COLOR) == 0) in png_handle_PLTE()
1207 if ((png_ptr->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_handle_sBIT()
1938 else if ((png_ptr->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_handle_bKGD()
1984 else if ((png_ptr->color_type & PNG_COLOR_MASK_COLOR) == 0) /* GRAY */ in png_handle_bKGD()
Dpngread.c318 (row_info->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_do_read_intrapixel()
1333 if ((png_ptr->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_image_format()
3947 if ((info_ptr->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_image_read_direct()
Dpng.c2040 if ((color_type & PNG_COLOR_MASK_COLOR) == 0)
2046 if ((color_type & PNG_COLOR_MASK_COLOR) != 0)
4130 if ((png_ptr->color_type & PNG_COLOR_MASK_COLOR) != 0)
Dpngwrite.c627 if ((row_info->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_do_write_intrapixel()
1998 ((format & PNG_FORMAT_FLAG_COLOR) ? PNG_COLOR_MASK_COLOR : 0) + in png_image_write_main()
Dpngset.c232 else if ((info_ptr->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_set_IHDR()
/external/pdfium/third_party/lpng_v163/
Dpngrtran.c1218 !(png_ptr->color_type & PNG_COLOR_MASK_COLOR)) in png_init_rgb_transformations()
1434 if (!(png_ptr->color_type & PNG_COLOR_MASK_COLOR)) in png_init_read_transformations()
2016 PNG_COLOR_MASK_COLOR); in png_read_transform_info()
2022 ~PNG_COLOR_MASK_COLOR); in png_read_transform_info()
2053 else if (info_ptr->color_type & PNG_COLOR_MASK_COLOR) in png_read_transform_info()
2534 if (color_type & PNG_COLOR_MASK_COLOR) in png_do_unshift()
3137 !(row_info->color_type & PNG_COLOR_MASK_COLOR)) in png_do_gray_to_rgb()
3206 row_info->color_type |= PNG_COLOR_MASK_COLOR; in png_do_gray_to_rgb()
3276 (row_info->color_type & PNG_COLOR_MASK_COLOR)) in png_do_rgb_to_gray()
3453 ~PNG_COLOR_MASK_COLOR); in png_do_rgb_to_gray()
[all …]
Dpngwtran.c255 if (row_info->color_type & PNG_COLOR_MASK_COLOR) in png_do_shift()
579 if ((row_info->color_type & PNG_COLOR_MASK_COLOR)) in png_do_write_intrapixel()
Dpng.h1024 #define PNG_COLOR_MASK_COLOR 2 macro
1029 #define PNG_COLOR_TYPE_PALETTE (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_PALETTE)
1030 #define PNG_COLOR_TYPE_RGB (PNG_COLOR_MASK_COLOR)
1031 #define PNG_COLOR_TYPE_RGB_ALPHA (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_ALPHA)
Dpngtrans.c598 if ((row_info->color_type & PNG_COLOR_MASK_COLOR)) in png_do_bgr()
Dpngrutil.c902 if (!(png_ptr->color_type & PNG_COLOR_MASK_COLOR)) in png_handle_PLTE()
1151 if (png_ptr->color_type & PNG_COLOR_MASK_COLOR) in png_handle_sBIT()
1879 else if (png_ptr->color_type & PNG_COLOR_MASK_COLOR) in png_handle_bKGD()
1925 else if (!(png_ptr->color_type & PNG_COLOR_MASK_COLOR)) /* GRAY */ in png_handle_bKGD()
Dpngwutil.c945 if (!(png_ptr->color_type&PNG_COLOR_MASK_COLOR)) in png_write_PLTE()
1341 if (color_type & PNG_COLOR_MASK_COLOR) in png_write_sBIT()
1507 else if (color_type & PNG_COLOR_MASK_COLOR) in png_write_bKGD()
Dpng.c1940 if (!(color_type & PNG_COLOR_MASK_COLOR))
1946 if (color_type & PNG_COLOR_MASK_COLOR)
3925 if (png_ptr->color_type & PNG_COLOR_MASK_COLOR)
Dpngread.c1226 if (png_ptr->color_type & PNG_COLOR_MASK_COLOR) in png_image_format()
3810 if (info_ptr->color_type & PNG_COLOR_MASK_COLOR) in png_image_read_direct()
Dpngset.c229 else if (info_ptr->color_type & PNG_COLOR_MASK_COLOR) in png_set_IHDR()
/external/libpng/contrib/libtests/
Dmakepng.c189 if (color_type & PNG_COLOR_MASK_COLOR) in channels_of_type()
1382 const 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.c4843 if (dp->colour_type & PNG_COLOR_MASK_COLOR) in standard_info_part1()
6095 if (that->colour_type & PNG_COLOR_MASK_COLOR) in image_transform_mod_end()
6515 if ((out_ct & PNG_COLOR_MASK_COLOR) != 0 && in transform_image_validate()
6522 if ((out_ct & PNG_COLOR_MASK_COLOR) != 0 && in transform_image_validate()
6821 if ((that->colour_type & PNG_COLOR_MASK_COLOR) == 0 && that->have_tRNS) in image_transform_png_set_gray_to_rgb_mod()
6852 return (colour_type & PNG_COLOR_MASK_COLOR) == 0; in image_transform_png_set_gray_to_rgb_add()
7522 if ((that->colour_type & PNG_COLOR_MASK_COLOR) != 0) in image_transform_png_set_rgb_to_gray_mod()
7863 return (colour_type & PNG_COLOR_MASK_COLOR) != 0; in image_transform_png_set_rgb_to_gray_add()
7930 if (colour_type & PNG_COLOR_MASK_COLOR) in image_transform_png_set_background_set()
9961 if ((in_ct & PNG_COLOR_MASK_COLOR) == 0) /* grayscale */ in gamma_image_validate()
[all …]
Dpngimage.c93 # define COLOR_MASK_C PNG_COLOR_MASK_COLOR
/external/skia/src/images/
DSkImageDecoder_libpng.cpp524 if (colorType & PNG_COLOR_MASK_COLOR) { in getBitmapColorType()
850 int colorType = PNG_COLOR_MASK_COLOR; in onEncode()

12