Searched refs:bmpinfoheader (Results 1 - 2 of 2) sorted by relevance

/external/jpeg/
H A Drdbmp.c245 U_CHAR bmpinfoheader[64]; local
275 if (! ReadOK(source->pub.input_file, bmpinfoheader, 4))
277 headerSize = (INT32) GET_4B(bmpinfoheader,0);
280 if (! ReadOK(source->pub.input_file, bmpinfoheader+4, headerSize-4))
286 biWidth = (INT32) GET_2B(bmpinfoheader,4);
287 biHeight = (INT32) GET_2B(bmpinfoheader,6);
288 biPlanes = GET_2B(bmpinfoheader,8);
289 source->bits_per_pixel = (int) GET_2B(bmpinfoheader,10);
310 biWidth = GET_4B(bmpinfoheader,4);
311 biHeight = GET_4B(bmpinfoheader,
[all...]
H A Dwrbmp.c161 char bmpinfoheader[40]; local
195 MEMZERO(bmpinfoheader, SIZEOF(bmpinfoheader));
205 PUT_2B(bmpinfoheader, 0, 40); /* biSize */
206 PUT_4B(bmpinfoheader, 4, cinfo->output_width); /* biWidth */
207 PUT_4B(bmpinfoheader, 8, cinfo->output_height); /* biHeight */
208 PUT_2B(bmpinfoheader, 12, 1); /* biPlanes - must be 1 */
209 PUT_2B(bmpinfoheader, 14, bits_per_pixel); /* biBitCount */
213 PUT_4B(bmpinfoheader, 24, (INT32) (cinfo->X_density*100)); /* XPels/M */
214 PUT_4B(bmpinfoheader, 2
[all...]

Completed in 302 milliseconds