Home
last modified time | relevance | path

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

/external/pdfium/core/fxcodec/png/
Dpngmodule.cpp142 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()
/external/libpng/
Dpngrtran.c1212 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()
Dpngwtran.c204 if ((row_info->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_do_shift()
Dpng.h665 #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)
Dpngread.c1362 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()
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.c1304 if ((color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_write_sBIT()
Dlibpng-manual.txt1288 PNG_COLOR_MASK_ALPHA
1787 if (color_type & PNG_COLOR_MASK_ALPHA)
2987 PNG_COLOR_MASK_ALPHA
3501 if (color_type & PNG_COLOR_MASK_ALPHA)
/external/pdfium/third_party/libpng16/
Dpngrtran.c1212 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()
Dpngwtran.c204 if ((row_info->color_type & PNG_COLOR_MASK_ALPHA) != 0) in png_do_shift()
Dpng.h665 #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)
Dpngread.c1362 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()
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.c1304 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.cc255 const bool has_alpha = (context->color_type & PNG_COLOR_MASK_ALPHA) != 0; in CommonInitDecode()