Searched refs:bmpinfoheader (Results 1 – 2 of 2) sorted by relevance
/reactos/dll/3rdparty/libjpeg/ |
H A D | rdbmp.c | 271 U_CHAR bmpinfoheader[64]; in start_input_bmp() local 303 headerSize = GET_4B(bmpinfoheader, 0); in start_input_bmp() 312 biWidth = (INT32) GET_2B(bmpinfoheader, 4); in start_input_bmp() 313 biHeight = (INT32) GET_2B(bmpinfoheader, 6); in start_input_bmp() 314 biPlanes = GET_2B(bmpinfoheader, 8); in start_input_bmp() 335 biWidth = GET_4B(bmpinfoheader, 4); in start_input_bmp() 336 biHeight = GET_4B(bmpinfoheader, 8); in start_input_bmp() 337 biPlanes = GET_2B(bmpinfoheader, 12); in start_input_bmp() 339 biCompression = GET_4B(bmpinfoheader, 16); in start_input_bmp() 340 biXPelsPerMeter = GET_4B(bmpinfoheader, 24); in start_input_bmp() [all …]
|
H A D | wrbmp.c | 156 char bmpinfoheader[40]; in write_bmp_header() local 190 MEMZERO(bmpinfoheader, SIZEOF(bmpinfoheader)); in write_bmp_header() 200 PUT_2B(bmpinfoheader, 0, 40); /* biSize */ in write_bmp_header() 201 PUT_4B(bmpinfoheader, 4, cinfo->output_width); /* biWidth */ in write_bmp_header() 202 PUT_4B(bmpinfoheader, 8, cinfo->output_height); /* biHeight */ in write_bmp_header() 203 PUT_2B(bmpinfoheader, 12, 1); /* biPlanes - must be 1 */ in write_bmp_header() 204 PUT_2B(bmpinfoheader, 14, bits_per_pixel); /* biBitCount */ in write_bmp_header() 208 PUT_4B(bmpinfoheader, 24, (INT32) (cinfo->X_density*100)); /* XPels/M */ in write_bmp_header() 209 PUT_4B(bmpinfoheader, 28, (INT32) (cinfo->Y_density*100)); /* XPels/M */ in write_bmp_header() 211 PUT_2B(bmpinfoheader, 32, cmap_entries); /* biClrUsed */ in write_bmp_header() [all …]
|