Home
last modified time | relevance | path

Searched refs:PNG_FORMAT_FLAG_COLOR (Results 1 – 12 of 12) sorted by relevance

/external/pdfium/third_party/libpng16/
Dpngread.c1344 format |= PNG_FORMAT_FLAG_COLOR; in png_image_format()
1415 if ((format & PNG_FORMAT_FLAG_COLOR) != 0 && ((png_ptr->colorspace.flags in png_image_read_header()
1751 const int convert_to_Y = (image->format & PNG_FORMAT_FLAG_COLOR) == 0 && in png_create_colormap_entry()
2117 if ((output_format & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_read_colormap()
2375 if ((output_format & PNG_FORMAT_FLAG_COLOR) == 0 || in png_image_read_colormap()
2494 if ((output_format & PNG_FORMAT_FLAG_COLOR) == 0) in png_image_read_colormap()
3273 (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? 3 : 1; in png_image_read_composite()
3682 if ((change & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_read_direct()
3685 if ((format & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_read_direct()
3710 change &= ~PNG_FORMAT_FLAG_COLOR; in png_image_read_direct()
[all …]
Dpng.h2798 #define PNG_FORMAT_FLAG_COLOR 0x02U /* color format: otherwise grayscale */ macro
2817 #define PNG_FORMAT_RGB PNG_FORMAT_FLAG_COLOR
2818 #define PNG_FORMAT_BGR (PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_BGR)
2829 #define PNG_FORMAT_LINEAR_RGB (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR)
2831 (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA)
2864 (((fmt)&(PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA))+1)
Dpngwrite.c1528 const int channels = (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? 3 : 1; in png_write_image_16bit()
1686 const int channels = (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? 3 : 1; in png_write_image_8bit()
1998 ((format & PNG_FORMAT_FLAG_COLOR) ? PNG_COLOR_MASK_COLOR : 0) + in png_image_write_main()
2051 if (colormap == 0 && (format & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_write_main()
2073 if ((format & ~(png_uint_32)(PNG_FORMAT_FLAG_COLOR | PNG_FORMAT_FLAG_LINEAR | in png_image_write_main()
/external/skia/third_party/libpng/
Dpngread.c1334 format |= PNG_FORMAT_FLAG_COLOR; in png_image_format()
1405 if ((format & PNG_FORMAT_FLAG_COLOR) != 0 && ((png_ptr->colorspace.flags in png_image_read_header()
1741 const int convert_to_Y = (image->format & PNG_FORMAT_FLAG_COLOR) == 0 && in png_create_colormap_entry()
2107 if ((output_format & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_read_colormap()
2365 if ((output_format & PNG_FORMAT_FLAG_COLOR) == 0 || in png_image_read_colormap()
2484 if ((output_format & PNG_FORMAT_FLAG_COLOR) == 0) in png_image_read_colormap()
3263 (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? 3 : 1; in png_image_read_composite()
3672 if ((change & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_read_direct()
3675 if ((format & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_read_direct()
3700 change &= ~PNG_FORMAT_FLAG_COLOR; in png_image_read_direct()
[all …]
Dpng.h2798 #define PNG_FORMAT_FLAG_COLOR 0x02U /* color format: otherwise grayscale */ macro
2817 #define PNG_FORMAT_RGB PNG_FORMAT_FLAG_COLOR
2818 #define PNG_FORMAT_BGR (PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_BGR)
2829 #define PNG_FORMAT_LINEAR_RGB (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR)
2831 (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA)
2864 (((fmt)&(PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA))+1)
Dpngwrite.c1528 const int channels = (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? 3 : 1; in png_write_image_16bit()
1686 const int channels = (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? 3 : 1; in png_write_image_8bit()
1998 ((format & PNG_FORMAT_FLAG_COLOR) ? PNG_COLOR_MASK_COLOR : 0) + in png_image_write_main()
2051 if (colormap == 0 && (format & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_write_main()
2073 if ((format & ~(png_uint_32)(PNG_FORMAT_FLAG_COLOR | PNG_FORMAT_FLAG_LINEAR | in png_image_write_main()
Dlibpng-manual.txt3860 PNG_FORMAT_FLAG_COLOR color format: otherwise grayscale
/external/libpng/
Dpngread.c1343 format |= PNG_FORMAT_FLAG_COLOR; in png_image_format()
1414 if ((format & PNG_FORMAT_FLAG_COLOR) != 0 && ((png_ptr->colorspace.flags in png_image_read_header()
1750 const int convert_to_Y = (image->format & PNG_FORMAT_FLAG_COLOR) == 0 && in png_create_colormap_entry()
2116 if ((output_format & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_read_colormap()
2374 if ((output_format & PNG_FORMAT_FLAG_COLOR) == 0 || in png_image_read_colormap()
2493 if ((output_format & PNG_FORMAT_FLAG_COLOR) == 0) in png_image_read_colormap()
3272 (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? 3 : 1; in png_image_read_composite()
3680 if ((change & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_read_direct()
3683 if ((format & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_read_direct()
3708 change &= ~PNG_FORMAT_FLAG_COLOR; in png_image_read_direct()
[all …]
Dpng.h2804 #define PNG_FORMAT_FLAG_COLOR 0x02U /* color format: otherwise grayscale */ macro
2823 #define PNG_FORMAT_RGB PNG_FORMAT_FLAG_COLOR
2824 #define PNG_FORMAT_BGR (PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_BGR)
2835 #define PNG_FORMAT_LINEAR_RGB (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR)
2837 (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA)
2870 (((fmt)&(PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA))+1)
Dpngwrite.c1528 const int channels = (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? 3 : 1; in png_write_image_16bit()
1686 const int channels = (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? 3 : 1; in png_write_image_8bit()
1998 ((format & PNG_FORMAT_FLAG_COLOR) ? PNG_COLOR_MASK_COLOR : 0) + in png_image_write_main()
2051 if (colormap == 0 && (format & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_write_main()
2073 if ((format & ~(png_uint_32)(PNG_FORMAT_FLAG_COLOR | PNG_FORMAT_FLAG_LINEAR | in png_image_write_main()
Dlibpng-manual.txt3865 PNG_FORMAT_FLAG_COLOR color format: otherwise grayscale
/external/libpng/contrib/libtests/
Dpngstest.c549 if ((f & PNG_FORMAT_FLAG_COLOR) == 0 && in format_default()
808 (PNG_FORMAT_FLAG_ALPHA|PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_LINEAR)
1029 if (format & PNG_FORMAT_FLAG_COLOR) in get_pixel()
1088 if (format & PNG_FORMAT_FLAG_COLOR) in get_pixel()
1957 #if PNG_FORMAT_FLAG_ALPHA == 1 && PNG_FORMAT_FLAG_COLOR == 2 &&\
2186 if (out_format & PNG_FORMAT_FLAG_COLOR) in transform_from_formats()
2319 switch (format & (PNG_FORMAT_FLAG_ALPHA|PNG_FORMAT_FLAG_COLOR)) in print_pixel()
2330 case PNG_FORMAT_FLAG_COLOR: in print_pixel()
2335 case PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA: in print_pixel()
2544 if (format & PNG_FORMAT_FLAG_COLOR) in component_loc()
[all …]