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 …]
2812 #define PNG_FORMAT_FLAG_COLORMAP 0x08U /* image data is color-mapped */ macro2852 #define PNG_FORMAT_RGB_COLORMAP (PNG_FORMAT_RGB|PNG_FORMAT_FLAG_COLORMAP)2853 #define PNG_FORMAT_BGR_COLORMAP (PNG_FORMAT_BGR|PNG_FORMAT_FLAG_COLORMAP)2854 #define PNG_FORMAT_RGBA_COLORMAP (PNG_FORMAT_RGBA|PNG_FORMAT_FLAG_COLORMAP)2855 #define PNG_FORMAT_ARGB_COLORMAP (PNG_FORMAT_ARGB|PNG_FORMAT_FLAG_COLORMAP)2856 #define PNG_FORMAT_BGRA_COLORMAP (PNG_FORMAT_BGRA|PNG_FORMAT_FLAG_COLORMAP)2857 #define PNG_FORMAT_ABGR_COLORMAP (PNG_FORMAT_ABGR|PNG_FORMAT_FLAG_COLORMAP)2911 (((fmt)&PNG_FORMAT_FLAG_COLORMAP)?1:test(fmt))3187 (((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()
1371 format |= PNG_FORMAT_FLAG_COLORMAP; in png_image_format()3689 ~PNG_FORMAT_FLAG_COLORMAP /* removed by png_set_expand */; in png_image_read_direct()4158 if ((image->format & PNG_FORMAT_FLAG_COLORMAP) == 0 || in png_image_finish_read()4175 if ((image->format & PNG_FORMAT_FLAG_COLORMAP) != 0) in png_image_finish_read()
3905 image data. Do not set the PNG_FORMAT_FLAG_COLORMAP bit directly!3920 PNG_FORMAT_FLAG_COLORMAP image data is color-mapped4049 256 entries in the given format; check PNG_FORMAT_FLAG_COLORMAP if
2800 #define PNG_FORMAT_FLAG_COLORMAP 0x08U /* image data is color-mapped */ macro2838 #define PNG_FORMAT_RGB_COLORMAP (PNG_FORMAT_RGB|PNG_FORMAT_FLAG_COLORMAP)2839 #define PNG_FORMAT_BGR_COLORMAP (PNG_FORMAT_BGR|PNG_FORMAT_FLAG_COLORMAP)2840 #define PNG_FORMAT_RGBA_COLORMAP (PNG_FORMAT_RGBA|PNG_FORMAT_FLAG_COLORMAP)2841 #define PNG_FORMAT_ARGB_COLORMAP (PNG_FORMAT_ARGB|PNG_FORMAT_FLAG_COLORMAP)2842 #define PNG_FORMAT_BGRA_COLORMAP (PNG_FORMAT_BGRA|PNG_FORMAT_FLAG_COLORMAP)2843 #define PNG_FORMAT_ABGR_COLORMAP (PNG_FORMAT_ABGR|PNG_FORMAT_FLAG_COLORMAP)2897 (((fmt)&PNG_FORMAT_FLAG_COLORMAP)?1:test(fmt))3173 (((image).format&PNG_FORMAT_FLAG_COLORMAP)?/*colormap: PLTE, tRNS*/\
1927 int colormap = (format & PNG_FORMAT_FLAG_COLORMAP); in png_image_write_main()1976 if ((format & PNG_FORMAT_FLAG_COLORMAP) != 0) in png_image_write_main()2074 PNG_FORMAT_FLAG_ALPHA | PNG_FORMAT_FLAG_COLORMAP)) != 0) in png_image_write_main()
1361 format |= PNG_FORMAT_FLAG_COLORMAP; in png_image_format()3676 ~PNG_FORMAT_FLAG_COLORMAP /* removed by png_set_expand */; in png_image_read_direct()4112 if ((image->format & PNG_FORMAT_FLAG_COLORMAP) == 0 || in png_image_finish_read()4129 if ((image->format & PNG_FORMAT_FLAG_COLORMAP) != 0) in png_image_finish_read()