Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Dwrbmp.c221 char bmpfileheader[14]; in write_bmp_header() local
261 MEMZERO(bmpfileheader, sizeof(bmpfileheader)); in write_bmp_header()
265 bmpfileheader[0] = 0x42; /* first 2 bytes are ASCII 'B', 'M' */ in write_bmp_header()
266 bmpfileheader[1] = 0x4D; in write_bmp_header()
267 PUT_4B(bmpfileheader, 2, bfSize); /* bfSize */ in write_bmp_header()
269 PUT_4B(bmpfileheader, 10, headersize); /* bfOffBits */ in write_bmp_header()
286 if (JFWRITE(dest->pub.output_file, bmpfileheader, 14) != (size_t)14) in write_bmp_header()
300 char bmpfileheader[14]; in write_os2_header() local
330 MEMZERO(bmpfileheader, sizeof(bmpfileheader)); in write_os2_header()
334 bmpfileheader[0] = 0x42; /* first 2 bytes are ASCII 'B', 'M' */ in write_os2_header()
[all …]
Drdbmp.c427 U_CHAR bmpfileheader[14]; in start_input_bmp() local
452 if (!ReadOK(source->pub.input_file, bmpfileheader, 14)) in start_input_bmp()
454 if (GET_2B(bmpfileheader, 0) != 0x4D42) /* 'BM' */ in start_input_bmp()
456 bfOffBits = GET_4B(bmpfileheader, 10); in start_input_bmp()