Home | History | Annotate | Download | only in jpeg

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 Targa format.
13 * at the start of the file; start_input may need work if the
15 * the file is indeed Targa format).
41 #define ReadOK(file,buffer,len) (JFREAD(file,buffer,len) == ((size_t) (len)))
58 /* Pointer to routine to extract next Targa pixel from input file */
89 /* Read next byte from Targa file */
91 register FILE *infile = sinfo->pub.input_file;
102 /* Read the colormap from a Targa file */
119 * read_pixel methods: get a single pixel from Targa file into tga_pixel[]
124 /* Read one Targa pixel from the input file; no RLE expansion */
126 register FILE *infile = sinfo->pub.input_file;
137 /* Read one Targa pixel from the input file, expanding RLE data as needed */
139 register FILE *infile = sinfo->pub.input_file;
169 * We provide several different versions depending on input file format.
306 /* Read the data into a virtual array in input-file row order. */
329 * Read the file header; return image size and component count.
370 /* It's an RLE-coded file */
375 /* Non-RLE file */
429 progress->total_extra_passes++; /* count file input as separate pass */
453 /* and read it from the file */
469 * Finish up at the end of the file.