Home
last modified time | relevance | path

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

/external/pdfium/core/fxcodec/codec/
Dccodec_pngmodule.cpp166 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()
/external/libpng/
Dpngrtran.c1201 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()
Dpngwtran.c204 if ((row_info->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_do_shift()
Dpng.h696 #define PNG_COLOR_MASK_ALPHA 4 macro
702 #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)
Dpngread.c1356 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()
Dpngset.c285 if ((info_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_set_IHDR()
Dpngwrite.c2012 ((format & PNG_FORMAT_FLAG_ALPHA) ? PNG_COLOR_MASK_ALPHA : 0), in png_image_write_main()
Dpngwutil.c1306 if ((color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_write_sBIT()
Dlibpng-manual.txt1287 PNG_COLOR_MASK_ALPHA
1786 if (color_type & PNG_COLOR_MASK_ALPHA)
2986 PNG_COLOR_MASK_ALPHA
3500 if (color_type & PNG_COLOR_MASK_ALPHA)
/external/pdfium/third_party/libpng16/
Dpngrtran.c1198 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()
Dpngwtran.c204 if ((row_info->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_do_shift()
Dpng.h701 #define PNG_COLOR_MASK_ALPHA 4 macro
707 #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)
Dpngread.c1346 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()
Dpngset.c238 if ((info_ptr->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_set_IHDR()
Dpngwrite.c1999 ((format & PNG_FORMAT_FLAG_ALPHA) ? PNG_COLOR_MASK_ALPHA : 0), in png_image_write_main()
Dpngwutil.c1299 if ((color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_write_sBIT()
/external/libpng/contrib/libtests/
Dmakepng.c192 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()
Dpngimage.c105 # define COLOR_MASK_A PNG_COLOR_MASK_ALPHA
1353 ct &= ~PNG_COLOR_MASK_ALPHA; in write_png()
Dpngvalid.c5247 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 …]
/external/tensorflow/tensorflow/core/lib/png/
Dpng_io.cc254 const bool has_alpha = (context->color_type & PNG_COLOR_MASK_ALPHA) != 0; in CommonInitDecode()