/third_party/ffmpeg/libavcodec/ |
D | png.h | 31 #define PNG_COLOR_MASK_ALPHA 4 macro 36 #define PNG_COLOR_TYPE_RGB_ALPHA (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_ALPHA) 37 #define PNG_COLOR_TYPE_GRAY_ALPHA (PNG_COLOR_MASK_ALPHA)
|
D | png.c | 56 if (color_type & PNG_COLOR_MASK_ALPHA) in ff_png_get_nb_channels()
|
/third_party/skia/third_party/externals/libpng/ |
D | pngrtran.c | 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()
|
D | pngwtran.c | 204 if ((row_info->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_do_shift()
|
D | png.h | 665 #define PNG_COLOR_MASK_ALPHA 4 macro 671 #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)
|
D | pngread.c | 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()
|
D | pngset.c | 285 if ((info_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_set_IHDR()
|
D | pngwrite.c | 2012 ((format & PNG_FORMAT_FLAG_ALPHA) ? PNG_COLOR_MASK_ALPHA : 0), in png_image_write_main()
|
D | pngwutil.c | 1304 if ((color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_write_sBIT()
|
/third_party/flutter/skia/third_party/externals/libpng/ |
D | pngrtran.c | 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()
|
D | pngwtran.c | 204 if ((row_info->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_do_shift()
|
D | png.h | 665 #define PNG_COLOR_MASK_ALPHA 4 macro 671 #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)
|
D | pngread.c | 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()
|
D | pngset.c | 285 if ((info_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_set_IHDR()
|
D | pngwrite.c | 2012 ((format & PNG_FORMAT_FLAG_ALPHA) ? PNG_COLOR_MASK_ALPHA : 0), in png_image_write_main()
|
D | pngwutil.c | 1304 if ((color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_write_sBIT()
|
/third_party/cups-filters/cupsfilters/ |
D | image-png.c | 87 (color_type & PNG_COLOR_MASK_ALPHA) ? "+ALPHA" : "", in _cupsImageReadPNG()
|
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
D | makepng.c | 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()
|
D | pngimage.c | 105 # define COLOR_MASK_A PNG_COLOR_MASK_ALPHA 1353 ct &= ~PNG_COLOR_MASK_ALPHA; in write_png()
|
D | pngvalid.c | 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 …]
|
/third_party/flutter/skia/third_party/externals/libpng/contrib/libtests/ |
D | makepng.c | 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()
|
D | pngimage.c | 105 # define COLOR_MASK_A PNG_COLOR_MASK_ALPHA 1353 ct &= ~PNG_COLOR_MASK_ALPHA; in write_png()
|
D | pngvalid.c | 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 …]
|
/third_party/skia/third_party/externals/libwebp/imageio/ |
D | pngdec.c | 298 has_alpha = !!(color_type & PNG_COLOR_MASK_ALPHA); in ReadPNG()
|
/third_party/flutter/skia/third_party/externals/libwebp/imageio/ |
D | pngdec.c | 289 has_alpha = !!(color_type & PNG_COLOR_MASK_ALPHA); in ReadPNG()
|