Lines Matching refs:cmap_entries
232 int bits_per_pixel, cmap_entries; in write_bmp_header() local
239 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
308 cmap_entries = 256; in write_os2_header()
312 cmap_entries = 0; in write_os2_header()
317 cmap_entries = 0; in write_os2_header()
321 cmap_entries = 256; in write_os2_header()
324 headersize = 14 + 12 + cmap_entries * 3; /* Header and colormap */ in write_os2_header()
350 if (cmap_entries > 0) in write_os2_header()
351 write_colormap(cinfo, dest, cmap_entries, 3); in write_os2_header()