Searched refs:cmap_entries (Results 1 – 3 of 3) sorted by relevance
232 int bits_per_pixel, cmap_entries; in write_bmp_header() local239 cmap_entries = 256; in write_bmp_header()243 cmap_entries = 0; in write_bmp_header()248 cmap_entries = 0; in write_bmp_header()252 cmap_entries = 256; in write_bmp_header()255 headersize = 14 + 40 + cmap_entries * 4; /* Header and colormap */ in write_bmp_header()281 PUT_2B(bmpinfoheader, 32, cmap_entries); /* biClrUsed */ in write_bmp_header()289 if (cmap_entries > 0) in write_bmp_header()290 write_colormap(cinfo, dest, cmap_entries, 4); in write_bmp_header()301 int bits_per_pixel, cmap_entries; in write_os2_header() local[all …]
1444 png_uint_32 cmap_entries; in png_image_read_header() local1449 cmap_entries = 1U << png_ptr->bit_depth; in png_image_read_header()1453 cmap_entries = (png_uint_32)png_ptr->num_palette; in png_image_read_header()1457 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()1464 image->colormap_entries = cmap_entries; in png_image_read_header()2101 unsigned int cmap_entries; in png_image_read_colormap() local2190 cmap_entries = 1U << png_ptr->bit_depth; in png_image_read_colormap()2191 if (cmap_entries > image->colormap_entries) in png_image_read_colormap()[all …]