Searched refs:PNG_COLOR_MASK_ALPHA (Results 1 – 20 of 20) sorted by relevance
166 if (!(color_type & PNG_COLOR_MASK_ALPHA)) in _png_get_header_func()169 if (color_type & PNG_COLOR_MASK_ALPHA && in _png_get_header_func()170 !(color_type1 & PNG_COLOR_MASK_ALPHA)) { in _png_get_header_func()
1201 int input_has_alpha = (png_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0; in png_init_rgb_transformations()1959 info_ptr->color_type |= PNG_COLOR_MASK_ALPHA; in png_read_transform_info()2081 ~PNG_COLOR_MASK_ALPHA); in png_read_transform_info()2086 if ((info_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_read_transform_info()2098 info_ptr->color_type |= PNG_COLOR_MASK_ALPHA; in png_read_transform_info()2267 if ((color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_do_unshift()3004 (row_info->color_type & PNG_COLOR_MASK_ALPHA) != 0; in png_do_rgb_to_gray()4145 if ((row_info->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_do_encode_alpha()4858 (png_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0)) && in png_do_read_transformations()4878 (row_info->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_do_read_transformations()
204 if ((row_info->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_do_shift()
696 #define PNG_COLOR_MASK_ALPHA 4 macro702 #define PNG_COLOR_TYPE_RGB_ALPHA (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_ALPHA)703 #define PNG_COLOR_TYPE_GRAY_ALPHA (PNG_COLOR_MASK_ALPHA)
1356 if ((png_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_image_format()2113 if (((png_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0 || in png_image_read_colormap()2869 (png_ptr->color_type & PNG_COLOR_MASK_ALPHA) == 0) in png_image_read_colormap()3979 if ((info_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_image_read_direct()
285 if ((info_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_set_IHDR()
2012 ((format & PNG_FORMAT_FLAG_ALPHA) ? PNG_COLOR_MASK_ALPHA : 0), in png_image_write_main()
1306 if ((color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_write_sBIT()
1287 PNG_COLOR_MASK_ALPHA1786 if (color_type & PNG_COLOR_MASK_ALPHA)2986 PNG_COLOR_MASK_ALPHA3500 if (color_type & PNG_COLOR_MASK_ALPHA)
1198 int input_has_alpha = (png_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0; in png_init_rgb_transformations()1956 info_ptr->color_type |= PNG_COLOR_MASK_ALPHA; in png_read_transform_info()2078 ~PNG_COLOR_MASK_ALPHA); in png_read_transform_info()2083 if ((info_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_read_transform_info()2095 info_ptr->color_type |= PNG_COLOR_MASK_ALPHA; in png_read_transform_info()2264 if ((color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_do_unshift()3001 (row_info->color_type & PNG_COLOR_MASK_ALPHA) != 0; in png_do_rgb_to_gray()4137 if ((row_info->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_do_encode_alpha()4848 (png_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0)) && in png_do_read_transformations()4868 (row_info->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_do_read_transformations()
701 #define PNG_COLOR_MASK_ALPHA 4 macro707 #define PNG_COLOR_TYPE_RGB_ALPHA (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_ALPHA)708 #define PNG_COLOR_TYPE_GRAY_ALPHA (PNG_COLOR_MASK_ALPHA)
1346 if ((png_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_image_format()2099 if (((png_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0 || in png_image_read_colormap()2855 (png_ptr->color_type & PNG_COLOR_MASK_ALPHA) == 0) in png_image_read_colormap()3960 if ((info_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_image_read_direct()
238 if ((info_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_set_IHDR()
1999 ((format & PNG_FORMAT_FLAG_ALPHA) ? PNG_COLOR_MASK_ALPHA : 0), in png_image_write_main()
1299 if ((color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_write_sBIT()
192 if (color_type & PNG_COLOR_MASK_ALPHA) in channels_of_type()1383 (ct & PNG_COLOR_MASK_ALPHA ? 1 : 0); in insert_sBIT()1405 if (ct & PNG_COLOR_MASK_ALPHA) in insert_sBIT()
105 # define COLOR_MASK_A PNG_COLOR_MASK_ALPHA1353 ct &= ~PNG_COLOR_MASK_ALPHA; in write_png()
5247 if (dp->colour_type & PNG_COLOR_MASK_ALPHA) in standard_info_part1()6224 if ((this->colour_type & PNG_COLOR_MASK_ALPHA) == 0) in image_pixel_add_alpha()6490 if ((that->colour_type & PNG_COLOR_MASK_ALPHA) || in image_transform_mod_end()6904 if ((out_ct & PNG_COLOR_MASK_ALPHA) != 0 && in transform_image_validate()7131 (that->colour_type & PNG_COLOR_MASK_ALPHA) == 0) in image_transform_png_set_tRNS_to_alpha_mod()7167 (colour_type & PNG_COLOR_MASK_ALPHA) == 0; in image_transform_png_set_tRNS_to_alpha_add()7278 return (colour_type & PNG_COLOR_MASK_ALPHA) == 0; in image_transform_png_set_expand_add()7551 return (colour_type & PNG_COLOR_MASK_ALPHA) != 0; in image_transform_png_set_strip_alpha_add()9467 if ((dp->this.colour_type & PNG_COLOR_MASK_ALPHA) != 0 || in init_validate_info()10271 if ((in_ct & PNG_COLOR_MASK_ALPHA) != 0 || in gamma_image_validate()[all …]
254 const bool has_alpha = (context->color_type & PNG_COLOR_MASK_ALPHA) != 0; in CommonInitDecode()