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 implements djpeg's "-map file" switch. It reads a source image
11 * Currently, these file formats are supported for the map file:
13 * PPM (either text or raw flavor): the entire file is read and
15 * Note that reading a large PPM file will be horrendously slow.
16 * Typically, a PPM-format map file should contain just one pixel
17 * of each desired color. Such a file can be extracted from an
18 * ordinary image PPM file with ppmtomap(1).
75 * Extract color map from a GIF file.
79 read_gif_map (j_decompress_ptr cinfo, FILE * infile)
121 pbm_getc (FILE * infile)
138 read_pbm_integer (j_decompress_ptr cinfo, FILE * infile)
139 /* Read an unsigned decimal integer from the PPM file */
167 * Extract color map from a PPM file.
171 read_ppm_map (j_decompress_ptr cinfo, FILE * infile)
193 case '3': /* it's a text-format PPM file */
204 case '6': /* it's a raw-format PPM file */
226 * Input: opened input file (from file name argument on command line).
231 read_color_map (j_decompress_ptr cinfo, FILE * infile)
239 /* Read first byte to determine file format */