Lines Matching refs:FILE
5 * This file is part of the Independent JPEG Group's software.
6 * For conditions of distribution and use, see the accompanying README file.
8 * This file contains routines to read input images in Microsoft "BMP"
17 * at the start of the file; start_input may need work if the
19 * the file is indeed BMP format).
45 #define ReadOK(file,buffer,len) (JFREAD(file,buffer,len) == ((size_t) (len)))
61 JDIMENSION row_width; /* Physical width of scanlines in file */
69 /* Read next byte from BMP file */
71 register FILE *infile = sinfo->pub.input_file;
82 /* Read the colormap from a BMP file */
190 register FILE *infile = source->pub.input_file;
197 /* Read the data into a virtual array in input-file row order. */
237 * Read the file header; return image size and component count.
264 /* Read and verify the bitmap file header */
362 /* and read it from the file */
375 /* Compute row width in file, including padding to 4-byte boundary */
390 progress->total_extra_passes++; /* count file input as separate pass */
408 * Finish up at the end of the file.