Lines Matching refs:infile
79 read_gif_map (j_decompress_ptr cinfo, FILE * infile) in read_gif_map() argument
88 if ((header[i] = getc(infile)) == EOF) in read_gif_map()
104 R = getc(infile); in read_gif_map()
105 G = getc(infile); in read_gif_map()
106 B = getc(infile); in read_gif_map()
121 pbm_getc (FILE * infile) in pbm_getc() argument
127 ch = getc(infile); in pbm_getc()
130 ch = getc(infile); in pbm_getc()
138 read_pbm_integer (j_decompress_ptr cinfo, FILE * infile) in read_pbm_integer() argument
149 ch = pbm_getc(infile); in read_pbm_integer()
158 while ((ch = pbm_getc(infile)) >= '0' && ch <= '9') { in read_pbm_integer()
171 read_ppm_map (j_decompress_ptr cinfo, FILE * infile) in read_ppm_map() argument
178 c = getc(infile); /* save format discriminator for a sec */ in read_ppm_map()
181 w = read_pbm_integer(cinfo, infile); in read_ppm_map()
182 h = read_pbm_integer(cinfo, infile); in read_ppm_map()
183 maxval = read_pbm_integer(cinfo, infile); in read_ppm_map()
196 R = read_pbm_integer(cinfo, infile); in read_ppm_map()
197 G = read_pbm_integer(cinfo, infile); in read_ppm_map()
198 B = read_pbm_integer(cinfo, infile); in read_ppm_map()
207 R = getc(infile); in read_ppm_map()
208 G = getc(infile); in read_ppm_map()
209 B = getc(infile); in read_ppm_map()
231 read_color_map (j_decompress_ptr cinfo, FILE * infile) in read_color_map() argument
240 switch (getc(infile)) { in read_color_map()
242 read_gif_map(cinfo, infile); in read_color_map()
245 read_ppm_map(cinfo, infile); in read_color_map()