Searched refs:cmap_entries (Results 1 – 2 of 2) sorted by relevance
166 int bits_per_pixel, cmap_entries; in write_bmp_header() local173 cmap_entries = 256; in write_bmp_header()177 cmap_entries = 0; in write_bmp_header()182 cmap_entries = 256; in write_bmp_header()219 if (cmap_entries > 0) in write_bmp_header()220 write_colormap(cinfo, dest, cmap_entries, 4); in write_bmp_header()231 int bits_per_pixel, cmap_entries; in write_os2_header() local238 cmap_entries = 256; in write_os2_header()242 cmap_entries = 0; in write_os2_header()247 cmap_entries = 256; in write_os2_header()[all …]
1444 png_uint_32 cmap_entries; in png_image_read_header() local1457 cmap_entries = 256; in png_image_read_header()1461 if (cmap_entries > 256) in png_image_read_header()1462 cmap_entries = 256; in png_image_read_header()2101 unsigned int cmap_entries; in png_image_read_colormap() local2194 step = 255 / (cmap_entries - 1); in png_image_read_colormap()2503 cmap_entries = i; in png_image_read_colormap()2822 if (cmap_entries > 256) in png_image_read_colormap()2823 cmap_entries = 256; in png_image_read_colormap()2896 if (cmap_entries > 256 || cmap_entries > image->colormap_entries) in png_image_read_colormap()[all …]