Searched refs:PNG_COLOR_MASK_COLOR (Results 1 – 25 of 27) sorted by relevance
12
156 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()
472 if ((color_type & PNG_COLOR_MASK_COLOR) != 0)515 if ((color_type & PNG_COLOR_MASK_COLOR) != 0)
1228 (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 …]
700 #define PNG_COLOR_MASK_COLOR 2 macro705 #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)
182 if ((row_info->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_do_shift()
608 if ((row_info->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_do_bgr()
868 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()
936 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()
318 (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()
2040 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)
627 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()
232 else if ((info_ptr->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_set_IHDR()
1218 !(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 …]
255 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()
1024 #define PNG_COLOR_MASK_COLOR 2 macro1029 #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)
598 if ((row_info->color_type & PNG_COLOR_MASK_COLOR)) in png_do_bgr()
902 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()
945 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()
1940 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)
1226 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()
229 else if (info_ptr->color_type & PNG_COLOR_MASK_COLOR) in png_set_IHDR()
189 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()
4843 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 …]
93 # define COLOR_MASK_C PNG_COLOR_MASK_COLOR
524 if (colorType & PNG_COLOR_MASK_COLOR) { in getBitmapColorType()850 int colorType = PNG_COLOR_MASK_COLOR; in onEncode()