Lines Matching refs:cmap_entries
171 int bits_per_pixel, cmap_entries; in write_bmp_header() local
178 cmap_entries = 256; in write_bmp_header()
182 cmap_entries = 0; in write_bmp_header()
187 cmap_entries = 256; in write_bmp_header()
190 headersize = 14 + 40 + cmap_entries * 4; /* Header and colormap */ in write_bmp_header()
216 PUT_2B(bmpinfoheader, 32, cmap_entries); /* biClrUsed */ in write_bmp_header()
224 if (cmap_entries > 0) in write_bmp_header()
225 write_colormap(cinfo, dest, cmap_entries, 4); in write_bmp_header()
236 int bits_per_pixel, cmap_entries; in write_os2_header() local
243 cmap_entries = 256; in write_os2_header()
247 cmap_entries = 0; in write_os2_header()
252 cmap_entries = 256; in write_os2_header()
255 headersize = 14 + 12 + cmap_entries * 3; /* Header and colormap */ in write_os2_header()
281 if (cmap_entries > 0) in write_os2_header()
282 write_colormap(cinfo, dest, cmap_entries, 3); in write_os2_header()