/external/jpeg/ |
rdbmp.c | 245 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,8) [all...] |
wrbmp.c | 161 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, 28, (INT32) (cinfo->Y_density*100)); /* XPels/M * [all...] |
/external/qemu/distrib/jpeg-6b/ |
rdbmp.c | 245 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,8) [all...] |
wrbmp.c | 161 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, 28, (INT32) (cinfo->Y_density*100)); /* XPels/M * [all...] |