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 PPM/PGM format.
16 * at the start of the file; start_input may need work if the
18 * the file is indeed PPM format).
55 #define ReadOK(file,buffer,len) (JFREAD(file,buffer,len) == ((size_t) (len)))
84 pbm_getc (FILE * infile)
101 read_pbm_integer (j_compress_ptr cinfo, FILE * infile)
102 /* Read an unsigned decimal integer from the PPM file */
132 * We provide several different versions depending on input file format.
145 FILE * infile = source->pub.input_file;
163 FILE * infile = source->pub.input_file;
292 * Read the file header; return image size and component count.
310 case '2': /* it's a text-format PGM file */
311 case '3': /* it's a text-format PPM file */
312 case '5': /* it's a raw-format PGM file */
313 case '6': /* it's a raw-format PPM file */
338 case '2': /* it's a text-format PGM file */
346 case '3': /* it's a text-format PPM file */
354 case '5': /* it's a raw-format PGM file */
369 case '6': /* it's a raw-format PPM file */
428 * Finish up at the end of the file.