Home
last modified time | relevance | path

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

12

/external/qemu/distrib/libpng-1.2.46/
Dpngrtran.c560 (png_ptr->color_type & PNG_COLOR_MASK_ALPHA) || in png_set_gamma()
1222 info_ptr->color_type |= PNG_COLOR_MASK_ALPHA; in png_read_transform_info()
1234 info_ptr->color_type &= ~PNG_COLOR_MASK_ALPHA; in png_read_transform_info()
1293 info_ptr->color_type &= ~PNG_COLOR_MASK_ALPHA; in png_read_transform_info()
1296 if (info_ptr->color_type & PNG_COLOR_MASK_ALPHA) in png_read_transform_info()
1309 info_ptr->color_type |= PNG_COLOR_MASK_ALPHA; in png_read_transform_info()
1460 (png_ptr->color_type & PNG_COLOR_MASK_ALPHA))) in png_do_read_transformations()
1478 (png_ptr->color_type & PNG_COLOR_MASK_ALPHA))) && in png_do_read_transformations()
1711 if (row_info->color_type & PNG_COLOR_MASK_ALPHA) in png_do_unshift()
2829 (!(row_info->color_type & PNG_COLOR_MASK_ALPHA) || in png_do_background()
[all …]
Dpngtrans.c577 row_info->color_type &= ~PNG_COLOR_MASK_ALPHA; in png_do_strip_filler()
Dpngwtran.c251 if (row_info->color_type & PNG_COLOR_MASK_ALPHA) in png_do_shift()
Dpng.h1114 #define PNG_COLOR_MASK_ALPHA 4 macro
1120 #define PNG_COLOR_TYPE_RGB_ALPHA (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_ALPHA)
1121 #define PNG_COLOR_TYPE_GRAY_ALPHA (PNG_COLOR_MASK_ALPHA)
Dpngset.c255 if (info_ptr->color_type & PNG_COLOR_MASK_ALPHA) in png_set_IHDR()
/external/chromium_org/third_party/libpng/
Dpngrtran.c560 (png_ptr->color_type & PNG_COLOR_MASK_ALPHA) || in png_set_gamma()
1222 info_ptr->color_type |= PNG_COLOR_MASK_ALPHA; in png_read_transform_info()
1234 info_ptr->color_type &= ~PNG_COLOR_MASK_ALPHA; in png_read_transform_info()
1293 info_ptr->color_type &= ~PNG_COLOR_MASK_ALPHA; in png_read_transform_info()
1296 if (info_ptr->color_type & PNG_COLOR_MASK_ALPHA) in png_read_transform_info()
1309 info_ptr->color_type |= PNG_COLOR_MASK_ALPHA; in png_read_transform_info()
1460 (png_ptr->color_type & PNG_COLOR_MASK_ALPHA))) in png_do_read_transformations()
1478 (png_ptr->color_type & PNG_COLOR_MASK_ALPHA))) && in png_do_read_transformations()
1711 if (row_info->color_type & PNG_COLOR_MASK_ALPHA) in png_do_unshift()
2829 (!(row_info->color_type & PNG_COLOR_MASK_ALPHA) || in png_do_background()
[all …]
Dpngtrans.c577 row_info->color_type &= ~PNG_COLOR_MASK_ALPHA; in png_do_strip_filler()
Dpngwtran.c251 if (row_info->color_type & PNG_COLOR_MASK_ALPHA) in png_do_shift()
Dpng.h1067 #define PNG_COLOR_MASK_ALPHA 4 macro
1073 #define PNG_COLOR_TYPE_RGB_ALPHA (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_ALPHA)
1074 #define PNG_COLOR_TYPE_GRAY_ALPHA (PNG_COLOR_MASK_ALPHA)
Dpngset.c255 if (info_ptr->color_type & PNG_COLOR_MASK_ALPHA) in png_set_IHDR()
Dpngwutil.c971 if (color_type & PNG_COLOR_MASK_ALPHA) in png_write_sBIT()
/external/libpng/
Dpngrtran.c1195 int input_has_alpha = (png_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0; in png_init_rgb_transformations()
1954 info_ptr->color_type |= PNG_COLOR_MASK_ALPHA; in png_read_transform_info()
2074 ~PNG_COLOR_MASK_ALPHA); in png_read_transform_info()
2079 if (info_ptr->color_type & PNG_COLOR_MASK_ALPHA) in png_read_transform_info()
2091 info_ptr->color_type |= PNG_COLOR_MASK_ALPHA; in png_read_transform_info()
2260 if (color_type & PNG_COLOR_MASK_ALPHA) in png_do_unshift()
2997 (row_info->color_type & PNG_COLOR_MASK_ALPHA) != 0; in png_do_rgb_to_gray()
4130 if (row_info->color_type & PNG_COLOR_MASK_ALPHA) in png_do_encode_alpha()
4839 (png_ptr->color_type & PNG_COLOR_MASK_ALPHA))) && in png_do_read_transformations()
4859 (row_info->color_type & PNG_COLOR_MASK_ALPHA)) in png_do_read_transformations()
Dpngwtran.c202 if (row_info->color_type & PNG_COLOR_MASK_ALPHA) in png_do_shift()
Dpng.h787 #define PNG_COLOR_MASK_ALPHA 4 macro
793 #define PNG_COLOR_TYPE_RGB_ALPHA (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_ALPHA)
794 #define PNG_COLOR_TYPE_GRAY_ALPHA (PNG_COLOR_MASK_ALPHA)
Dpngread.c1488 if (png_ptr->color_type & PNG_COLOR_MASK_ALPHA) in png_image_format()
2238 if (((png_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0 || in png_image_read_colormap()
2982 (png_ptr->color_type & PNG_COLOR_MASK_ALPHA) == 0) in png_image_read_colormap()
4083 if (info_ptr->color_type & PNG_COLOR_MASK_ALPHA) in png_image_read_direct()
Dpngset.c236 if (info_ptr->color_type & PNG_COLOR_MASK_ALPHA) in png_set_IHDR()
Dpngwrite.c2171 ((format & PNG_FORMAT_FLAG_ALPHA) ? PNG_COLOR_MASK_ALPHA : 0), in png_image_write_main()
Dpngwutil.c1375 if (color_type & PNG_COLOR_MASK_ALPHA) in png_write_sBIT()
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/png/
DPNGImageDecoder.cpp360 bool decodedImageHasAlpha = (colorType & PNG_COLOR_MASK_ALPHA) || trnsCount; in headerAvailable()
/external/libpng/contrib/libtests/
Dpngimage.c84 # define COLOR_MASK_A PNG_COLOR_MASK_ALPHA
1268 ct &= ~PNG_COLOR_MASK_ALPHA; in write_png()
Dpngvalid.c4548 if (dp->colour_type & PNG_COLOR_MASK_ALPHA) in standard_info_part1()
5424 if ((this->colour_type & PNG_COLOR_MASK_ALPHA) == 0) in image_pixel_add_alpha()
5661 if ((that->colour_type & PNG_COLOR_MASK_ALPHA) || in image_transform_mod_end()
6033 if ((out_ct & PNG_COLOR_MASK_ALPHA) != 0 && in transform_image_validate()
6273 return (colour_type & PNG_COLOR_MASK_ALPHA) == 0; in image_transform_png_set_tRNS_to_alpha_add()
6379 return (colour_type & PNG_COLOR_MASK_ALPHA) == 0; in image_transform_png_set_expand_add()
6615 return (colour_type & PNG_COLOR_MASK_ALPHA) != 0; in image_transform_png_set_strip_alpha_add()
7947 if ((dp->this.colour_type & PNG_COLOR_MASK_ALPHA) != 0 || in init_validate_info()
8747 if ((in_ct & PNG_COLOR_MASK_ALPHA) != 0 || (in_ct == 3 && in gamma_image_validate()
8762 else if ((out_ct & PNG_COLOR_MASK_ALPHA) != 0) in gamma_image_validate()
[all …]
Dmakepng.c123 if (color_type & PNG_COLOR_MASK_ALPHA) in channels_of_type()
/external/chromium_org/ui/gfx/codec/
Dpng_codec.cc191 bool input_has_alpha = ((color_type & PNG_COLOR_MASK_ALPHA) != 0); in DecodeInfoCallback()
/external/chromium_org/third_party/skia/src/images/
DSkImageDecoder_libpng.cpp1150 colorType |= PNG_COLOR_MASK_ALPHA; in onEncode()
/external/skia/src/images/
DSkImageDecoder_libpng.cpp1150 colorType |= PNG_COLOR_MASK_ALPHA; in onEncode()

12