Searched refs:PNG_FORMAT_FLAG_COLORMAP (Results 1 – 8 of 8) sorted by relevance
2018 #if PNG_FORMAT_FLAG_COLORMAP == 8 /* extra check also required */2093 in_format &= BASE_FORMATS | PNG_FORMAT_FLAG_COLORMAP; in transform_from_formats()2095 out_format &= BASE_FORMATS | PNG_FORMAT_FLAG_COLORMAP; in transform_from_formats()2101 if (out_format & (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLORMAP)) in transform_from_formats()2113 else if (~in_format & out_format & PNG_FORMAT_FLAG_COLORMAP) in transform_from_formats()2132 if (in_format & out_format & PNG_FORMAT_FLAG_COLORMAP) in transform_from_formats()2160 if (out_format & PNG_FORMAT_FLAG_COLORMAP) in transform_from_formats()2212 else if ((out_format & PNG_FORMAT_FLAG_COLORMAP) == 0) in transform_from_formats()2626 if (!(formata & PNG_FORMAT_FLAG_COLORMAP) && in compare_two_images()2630 if (!(formatb & PNG_FORMAT_FLAG_COLORMAP) && in compare_two_images()[all …]
2781 #define PNG_FORMAT_FLAG_COLORMAP 0x08U /* image data is color-mapped */ macro2821 #define PNG_FORMAT_RGB_COLORMAP (PNG_FORMAT_RGB|PNG_FORMAT_FLAG_COLORMAP)2822 #define PNG_FORMAT_BGR_COLORMAP (PNG_FORMAT_BGR|PNG_FORMAT_FLAG_COLORMAP)2823 #define PNG_FORMAT_RGBA_COLORMAP (PNG_FORMAT_RGBA|PNG_FORMAT_FLAG_COLORMAP)2824 #define PNG_FORMAT_ARGB_COLORMAP (PNG_FORMAT_ARGB|PNG_FORMAT_FLAG_COLORMAP)2825 #define PNG_FORMAT_BGRA_COLORMAP (PNG_FORMAT_BGRA|PNG_FORMAT_FLAG_COLORMAP)2826 #define PNG_FORMAT_ABGR_COLORMAP (PNG_FORMAT_ABGR|PNG_FORMAT_FLAG_COLORMAP)2880 (((fmt)&PNG_FORMAT_FLAG_COLORMAP)?1:test(fmt))3156 (((image).format&PNG_FORMAT_FLAG_COLORMAP)?/*colormap: PLTE, tRNS*/\
1940 int colormap = (format & PNG_FORMAT_FLAG_COLORMAP); in png_image_write_main()1989 if ((format & PNG_FORMAT_FLAG_COLORMAP) != 0) in png_image_write_main()2087 PNG_FORMAT_FLAG_ALPHA | PNG_FORMAT_FLAG_COLORMAP)) != 0) in png_image_write_main()
1377 format |= PNG_FORMAT_FLAG_COLORMAP; in png_image_format()3695 ~PNG_FORMAT_FLAG_COLORMAP /* removed by png_set_expand */; in png_image_read_direct()4164 if ((image->format & PNG_FORMAT_FLAG_COLORMAP) == 0 || in png_image_finish_read()4181 if ((image->format & PNG_FORMAT_FLAG_COLORMAP) != 0) in png_image_finish_read()
3906 image data. Do not set the PNG_FORMAT_FLAG_COLORMAP bit directly!3921 PNG_FORMAT_FLAG_COLORMAP image data is color-mapped4050 256 entries in the given format; check PNG_FORMAT_FLAG_COLORMAP if