Home
last modified time | relevance | path

Searched refs:bmpfileheader (Results 1 – 2 of 2) sorted by relevance

/external/jpeg/
Dwrbmp.c160 char bmpfileheader[14]; in write_bmp_header() local
194 MEMZERO(bmpfileheader, SIZEOF(bmpfileheader)); in write_bmp_header()
198 bmpfileheader[0] = 0x42; /* first 2 bytes are ASCII 'B', 'M' */ in write_bmp_header()
199 bmpfileheader[1] = 0x4D; in write_bmp_header()
200 PUT_4B(bmpfileheader, 2, bfSize); /* bfSize */ in write_bmp_header()
202 PUT_4B(bmpfileheader, 10, headersize); /* bfOffBits */ in write_bmp_header()
219 if (JFWRITE(dest->pub.output_file, bmpfileheader, 14) != (size_t) 14) in write_bmp_header()
233 char bmpfileheader[14]; in write_os2_header() local
259 MEMZERO(bmpfileheader, SIZEOF(bmpfileheader)); in write_os2_header()
263 bmpfileheader[0] = 0x42; /* first 2 bytes are ASCII 'B', 'M' */ in write_os2_header()
[all …]
Drdbmp.c244 U_CHAR bmpfileheader[14]; in start_input_bmp() local
265 if (! ReadOK(source->pub.input_file, bmpfileheader, 14)) in start_input_bmp()
267 if (GET_2B(bmpfileheader,0) != 0x4D42) /* 'BM' */ in start_input_bmp()
269 bfOffBits = (INT32) GET_4B(bmpfileheader,10); in start_input_bmp()