Home
last modified time | relevance | path

Searched refs:PNG_FORMAT_FLAG_ALPHA (Results 1 – 12 of 12) 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/skia/third_party/libpng/
Dpngread.c1337 format |= PNG_FORMAT_FLAG_ALPHA; in png_image_format()
1345 format |= PNG_FORMAT_FLAG_ALPHA; in png_image_format()
1851 (image->format & PNG_FORMAT_FLAG_ALPHA) != 0; in png_create_colormap_entry()
2091 ((output_format & PNG_FORMAT_FLAG_ALPHA) == 0) /* no alpha in output */) in png_image_read_colormap()
2174 if ((output_format & PNG_FORMAT_FLAG_ALPHA) == 0) in png_image_read_colormap()
2249 if ((output_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_colormap()
2336 if ((output_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_colormap()
2503 (output_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_colormap()
2626 if ((output_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_colormap()
2782 (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()
Dlibpng-manual.txt3859 PNG_FORMAT_FLAG_ALPHA format with an alpha channel
/external/libpng/
Dpngread.c1346 format |= PNG_FORMAT_FLAG_ALPHA; in png_image_format()
1354 format |= PNG_FORMAT_FLAG_ALPHA; in png_image_format()
1860 (image->format & PNG_FORMAT_FLAG_ALPHA) != 0; in png_create_colormap_entry()
2100 ((output_format & PNG_FORMAT_FLAG_ALPHA) == 0) /* no alpha in output */) in png_image_read_colormap()
2183 if ((output_format & PNG_FORMAT_FLAG_ALPHA) == 0) in png_image_read_colormap()
2258 if ((output_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_colormap()
2345 if ((output_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_colormap()
2512 (output_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_colormap()
2635 if ((output_format & PNG_FORMAT_FLAG_ALPHA) != 0) in png_image_read_colormap()
2791 (output_format & PNG_FORMAT_FLAG_ALPHA) == 0; in png_image_read_colormap()
[all …]
Dpng.h2803 #define PNG_FORMAT_FLAG_ALPHA 0x01U /* format with an alpha channel */ macro
2821 #define PNG_FORMAT_GA PNG_FORMAT_FLAG_ALPHA
2825 #define PNG_FORMAT_RGBA (PNG_FORMAT_RGB|PNG_FORMAT_FLAG_ALPHA)
2827 #define PNG_FORMAT_BGRA (PNG_FORMAT_BGR|PNG_FORMAT_FLAG_ALPHA)
2834 #define PNG_FORMAT_LINEAR_Y_ALPHA (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_ALPHA)
2837 (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA)
2870 (((fmt)&(PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA))+1)
3181 (((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()
Dlibpng-manual.txt3864 PNG_FORMAT_FLAG_ALPHA format with an alpha channel
/external/libpng/contrib/libtests/
Dpngstest.c558 if ((f & PNG_FORMAT_FLAG_ALPHA) == 0 && in format_default()
808 (PNG_FORMAT_FLAG_ALPHA|PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_LINEAR)
1034 if (format & PNG_FORMAT_FLAG_ALPHA) in get_pixel()
1052 if (format & PNG_FORMAT_FLAG_ALPHA) in get_pixel()
1070 if (format & PNG_FORMAT_FLAG_ALPHA) in get_pixel()
1093 if (format & PNG_FORMAT_FLAG_ALPHA) in get_pixel()
1111 if (format & PNG_FORMAT_FLAG_ALPHA) in get_pixel()
1129 if (format & PNG_FORMAT_FLAG_ALPHA) in get_pixel()
1957 #if PNG_FORMAT_FLAG_ALPHA == 1 && PNG_FORMAT_FLAG_COLOR == 2 &&\
2148 if (in_format & ~out_format & PNG_FORMAT_FLAG_ALPHA) in transform_from_formats()
[all …]