Searched refs:bmpfileheader (Results 1 – 2 of 2) sorted by relevance
/external/libjpeg-turbo/ |
D | wrbmp.c | 219 char bmpfileheader[14]; in write_bmp_header() local 259 MEMZERO(bmpfileheader, sizeof(bmpfileheader)); in write_bmp_header() 263 bmpfileheader[0] = 0x42; /* first 2 bytes are ASCII 'B', 'M' */ in write_bmp_header() 264 bmpfileheader[1] = 0x4D; in write_bmp_header() 265 PUT_4B(bmpfileheader, 2, bfSize); /* bfSize */ in write_bmp_header() 267 PUT_4B(bmpfileheader, 10, headersize); /* bfOffBits */ in write_bmp_header() 284 if (JFWRITE(dest->pub.output_file, bmpfileheader, 14) != (size_t)14) in write_bmp_header() 298 char bmpfileheader[14]; in write_os2_header() local 328 MEMZERO(bmpfileheader, sizeof(bmpfileheader)); in write_os2_header() 332 bmpfileheader[0] = 0x42; /* first 2 bytes are ASCII 'B', 'M' */ in write_os2_header() [all …]
|
D | rdbmp.c | 415 U_CHAR bmpfileheader[14]; in start_input_bmp() local 440 if (!ReadOK(source->pub.input_file, bmpfileheader, 14)) in start_input_bmp() 442 if (GET_2B(bmpfileheader, 0) != 0x4D42) /* 'BM' */ in start_input_bmp() 444 bfOffBits = GET_4B(bmpfileheader, 10); in start_input_bmp()
|