Searched refs:PNG_COLOR_MASK_ALPHA (Results 1 – 20 of 20) sorted by relevance
142 if (!(color_type & PNG_COLOR_MASK_ALPHA)) in _png_get_header_func()145 if (color_type & PNG_COLOR_MASK_ALPHA && in _png_get_header_func()146 !(color_type1 & PNG_COLOR_MASK_ALPHA)) { in _png_get_header_func()
1212 int input_has_alpha = (png_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0; in png_init_rgb_transformations()1970 info_ptr->color_type |= PNG_COLOR_MASK_ALPHA; in png_read_transform_info()2092 ~PNG_COLOR_MASK_ALPHA); in png_read_transform_info()2097 if ((info_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_read_transform_info()2109 info_ptr->color_type |= PNG_COLOR_MASK_ALPHA; in png_read_transform_info()2278 if ((color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_do_unshift()3012 int have_alpha = (row_info->color_type & PNG_COLOR_MASK_ALPHA) != 0; in png_do_rgb_to_gray()4151 if ((row_info->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_do_encode_alpha()4892 (png_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0)) && in png_do_read_transformations()4912 (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()
665 #define PNG_COLOR_MASK_ALPHA 4 macro671 #define PNG_COLOR_TYPE_RGB_ALPHA (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_ALPHA)672 #define PNG_COLOR_TYPE_GRAY_ALPHA (PNG_COLOR_MASK_ALPHA)
1362 if ((png_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_image_format()2119 if (((png_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0 || in png_image_read_colormap()2875 (png_ptr->color_type & PNG_COLOR_MASK_ALPHA) == 0) in png_image_read_colormap()3985 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()
1304 if ((color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_write_sBIT()
1288 PNG_COLOR_MASK_ALPHA1787 if (color_type & PNG_COLOR_MASK_ALPHA)2987 PNG_COLOR_MASK_ALPHA3501 if (color_type & PNG_COLOR_MASK_ALPHA)
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 …]
255 const bool has_alpha = (context->color_type & PNG_COLOR_MASK_ALPHA) != 0; in CommonInitDecode()