Lines Matching refs:bits_per_pixel
234 int bits_per_pixel, cmap_entries; in write_bmp_header() local
240 bits_per_pixel = 8; in write_bmp_header()
244 bits_per_pixel = 24; in write_bmp_header()
249 bits_per_pixel = 24; in write_bmp_header()
253 bits_per_pixel = 8; in write_bmp_header()
276 PUT_2B(bmpinfoheader, 14, bits_per_pixel); /* biBitCount */ in write_bmp_header()
303 int bits_per_pixel, cmap_entries; in write_os2_header() local
309 bits_per_pixel = 8; in write_os2_header()
313 bits_per_pixel = 24; in write_os2_header()
318 bits_per_pixel = 24; in write_os2_header()
322 bits_per_pixel = 8; in write_os2_header()
345 PUT_2B(bmpcoreheader, 10, bits_per_pixel); /* bcBitCount */ in write_os2_header()