Home
last modified time | relevance | path

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

/external/pdfium/third_party/libpng16/
Dpngread.c1360 format |= PNG_FORMAT_FLAG_COLOR; in png_image_format()
1433 if ((format & PNG_FORMAT_FLAG_COLOR) != 0 && ((png_ptr->colorspace.flags in png_image_read_header()
1769 int convert_to_Y = (image->format & PNG_FORMAT_FLAG_COLOR) == 0 && in png_create_colormap_entry()
2137 if ((output_format & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_read_colormap()
2395 if ((output_format & PNG_FORMAT_FLAG_COLOR) == 0 || in png_image_read_colormap()
2514 if ((output_format & PNG_FORMAT_FLAG_COLOR) == 0) in png_image_read_colormap()
3292 (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? 3 : 1; in png_image_read_composite()
3701 if ((change & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_read_direct()
3704 if ((format & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_read_direct()
3729 change &= ~PNG_FORMAT_FLAG_COLOR; in png_image_read_direct()
[all …]
Dpng.h2779 #define PNG_FORMAT_FLAG_COLOR 0x02U /* color format: otherwise grayscale */ macro
2800 #define PNG_FORMAT_RGB PNG_FORMAT_FLAG_COLOR
2801 #define PNG_FORMAT_BGR (PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_BGR)
2812 #define PNG_FORMAT_LINEAR_RGB (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR)
2814 (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA)
2847 (((fmt)&(PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA))+1)
Dpngwrite.c1539 unsigned int channels = (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? in png_write_image_16bit()
1698 unsigned int channels = (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? in png_write_image_8bit()
2011 ((format & PNG_FORMAT_FLAG_COLOR) ? PNG_COLOR_MASK_COLOR : 0) + in png_image_write_main()
2064 if (colormap == 0 && (format & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_write_main()
2086 if ((format & ~(png_uint_32)(PNG_FORMAT_FLAG_COLOR | PNG_FORMAT_FLAG_LINEAR | in png_image_write_main()
/external/libpng/
Dpngread.c1360 format |= PNG_FORMAT_FLAG_COLOR; in png_image_format()
1433 if ((format & PNG_FORMAT_FLAG_COLOR) != 0 && ((png_ptr->colorspace.flags in png_image_read_header()
1769 int convert_to_Y = (image->format & PNG_FORMAT_FLAG_COLOR) == 0 && in png_create_colormap_entry()
2137 if ((output_format & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_read_colormap()
2395 if ((output_format & PNG_FORMAT_FLAG_COLOR) == 0 || in png_image_read_colormap()
2514 if ((output_format & PNG_FORMAT_FLAG_COLOR) == 0) in png_image_read_colormap()
3292 (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? 3 : 1; in png_image_read_composite()
3701 if ((change & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_read_direct()
3704 if ((format & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_read_direct()
3729 change &= ~PNG_FORMAT_FLAG_COLOR; in png_image_read_direct()
[all …]
Dpng.h2779 #define PNG_FORMAT_FLAG_COLOR 0x02U /* color format: otherwise grayscale */ macro
2800 #define PNG_FORMAT_RGB PNG_FORMAT_FLAG_COLOR
2801 #define PNG_FORMAT_BGR (PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_BGR)
2812 #define PNG_FORMAT_LINEAR_RGB (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR)
2814 (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA)
2847 (((fmt)&(PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA))+1)
Dpngwrite.c1539 unsigned int channels = (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? in png_write_image_16bit()
1698 unsigned int channels = (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? in png_write_image_8bit()
2011 ((format & PNG_FORMAT_FLAG_COLOR) ? PNG_COLOR_MASK_COLOR : 0) + in png_image_write_main()
2064 if (colormap == 0 && (format & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_write_main()
2086 if ((format & ~(png_uint_32)(PNG_FORMAT_FLAG_COLOR | PNG_FORMAT_FLAG_LINEAR | in png_image_write_main()
Dlibpng-manual.txt3919 PNG_FORMAT_FLAG_COLOR color format: otherwise grayscale
/external/libpng/contrib/libtests/
Dpngstest.c548 if ((f & PNG_FORMAT_FLAG_COLOR) == 0 && in format_default()
807 (PNG_FORMAT_FLAG_ALPHA|PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_LINEAR)
1028 if (format & PNG_FORMAT_FLAG_COLOR) in get_pixel()
1087 if (format & PNG_FORMAT_FLAG_COLOR) in get_pixel()
1956 #if PNG_FORMAT_FLAG_ALPHA == 1 && PNG_FORMAT_FLAG_COLOR == 2 &&\
2185 if (out_format & PNG_FORMAT_FLAG_COLOR) in transform_from_formats()
2318 switch (format & (PNG_FORMAT_FLAG_ALPHA|PNG_FORMAT_FLAG_COLOR)) in print_pixel()
2329 case PNG_FORMAT_FLAG_COLOR: in print_pixel()
2334 case PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA: in print_pixel()
2543 if (format & PNG_FORMAT_FLAG_COLOR) in component_loc()
[all …]