Home
last modified time | relevance | path

Searched refs:PNG_FORMAT_FLAG_ALPHA (Results 1 – 8 of 8) sorted by relevance

/external/pdfium/third_party/libpng16/
Dpngread.c1347 format |= PNG_FORMAT_FLAG_ALPHA; in png_image_format()
1355 format |= PNG_FORMAT_FLAG_ALPHA; in png_image_format()
1861 (image->format & PNG_FORMAT_FLAG_ALPHA) != 0; in png_create_colormap_entry()
2101 ((output_format & PNG_FORMAT_FLAG_ALPHA) == 0) /* no alpha in output */) in png_image_read_colormap()
2184 if ((output_format & PNG_FORMAT_FLAG_ALPHA) == 0) in png_image_read_colormap()
2259 if ((output_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_colormap()
2346 if ((output_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_colormap()
2513 (output_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_colormap()
2636 if ((output_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_colormap()
2792 (output_format & PNG_FORMAT_FLAG_ALPHA) == 0; in png_image_read_colormap()
[all …]
Dpng.h2797 #define PNG_FORMAT_FLAG_ALPHA 0x01U /* format with an alpha channel */ macro
2815 #define PNG_FORMAT_GA PNG_FORMAT_FLAG_ALPHA
2819 #define PNG_FORMAT_RGBA (PNG_FORMAT_RGB|PNG_FORMAT_FLAG_ALPHA)
2821 #define PNG_FORMAT_BGRA (PNG_FORMAT_BGR|PNG_FORMAT_FLAG_ALPHA)
2828 #define PNG_FORMAT_LINEAR_Y_ALPHA (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_ALPHA)
2831 (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA)
2864 (((fmt)&(PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA))+1)
3175 (((image).format&PNG_FORMAT_FLAG_ALPHA)?\
Dpngwrite.c1532 if ((image->format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_write_image_16bit()
1688 if ((image->format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_write_image_8bit()
1785 (format & PNG_FORMAT_FLAG_ALPHA) != 0; in png_image_set_PLTE()
1929 int alpha = !colormap && (format & PNG_FORMAT_FLAG_ALPHA); in png_image_write_main()
1999 ((format & PNG_FORMAT_FLAG_ALPHA) ? PNG_COLOR_MASK_ALPHA : 0), in png_image_write_main()
2060 if (colormap == 0 && (format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_write_main()
2074 PNG_FORMAT_FLAG_ALPHA | PNG_FORMAT_FLAG_COLORMAP)) != 0) in png_image_write_main()
/external/libpng/
Dpngread.c1357 format |= PNG_FORMAT_FLAG_ALPHA; in png_image_format()
1365 format |= PNG_FORMAT_FLAG_ALPHA; in png_image_format()
1873 (image->format & PNG_FORMAT_FLAG_ALPHA) != 0; in png_create_colormap_entry()
2115 ((output_format & PNG_FORMAT_FLAG_ALPHA) == 0) /* no alpha in output */) in png_image_read_colormap()
2198 if ((output_format & PNG_FORMAT_FLAG_ALPHA) == 0) in png_image_read_colormap()
2273 if ((output_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_colormap()
2360 if ((output_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_colormap()
2527 (output_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_colormap()
2650 if ((output_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_colormap()
2806 (output_format & PNG_FORMAT_FLAG_ALPHA) == 0; in png_image_read_colormap()
[all …]
Dpng.h2809 #define PNG_FORMAT_FLAG_ALPHA 0x01U /* format with an alpha channel */ macro
2829 #define PNG_FORMAT_GA PNG_FORMAT_FLAG_ALPHA
2833 #define PNG_FORMAT_RGBA (PNG_FORMAT_RGB|PNG_FORMAT_FLAG_ALPHA)
2835 #define PNG_FORMAT_BGRA (PNG_FORMAT_BGR|PNG_FORMAT_FLAG_ALPHA)
2842 #define PNG_FORMAT_LINEAR_Y_ALPHA (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_ALPHA)
2845 (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA)
2878 (((fmt)&(PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA))+1)
3189 (((image).format&PNG_FORMAT_FLAG_ALPHA)?\
Dpngwrite.c1544 if ((image->format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_write_image_16bit()
1701 if ((image->format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_write_image_8bit()
1798 (format & PNG_FORMAT_FLAG_ALPHA) != 0; in png_image_set_PLTE()
1942 int alpha = !colormap && (format & PNG_FORMAT_FLAG_ALPHA); in png_image_write_main()
2012 ((format & PNG_FORMAT_FLAG_ALPHA) ? PNG_COLOR_MASK_ALPHA : 0), in png_image_write_main()
2073 if (colormap == 0 && (format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_write_main()
2087 PNG_FORMAT_FLAG_ALPHA | PNG_FORMAT_FLAG_COLORMAP)) != 0) in png_image_write_main()
Dlibpng-manual.txt3917 PNG_FORMAT_FLAG_ALPHA format with an alpha channel
/external/libpng/contrib/libtests/
Dpngstest.c557 if ((f & PNG_FORMAT_FLAG_ALPHA) == 0 && in format_default()
807 (PNG_FORMAT_FLAG_ALPHA|PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_LINEAR)
1033 if (format & PNG_FORMAT_FLAG_ALPHA) in get_pixel()
1051 if (format & PNG_FORMAT_FLAG_ALPHA) in get_pixel()
1069 if (format & PNG_FORMAT_FLAG_ALPHA) in get_pixel()
1092 if (format & PNG_FORMAT_FLAG_ALPHA) in get_pixel()
1110 if (format & PNG_FORMAT_FLAG_ALPHA) in get_pixel()
1128 if (format & PNG_FORMAT_FLAG_ALPHA) in get_pixel()
1956 #if PNG_FORMAT_FLAG_ALPHA == 1 && PNG_FORMAT_FLAG_COLOR == 2 &&\
2147 if (in_format & ~out_format & PNG_FORMAT_FLAG_ALPHA) in transform_from_formats()
[all …]