Home | History | Annotate | Download | only in jhead

Lines Matching refs:infile

127 int ReadJpegSections (FILE * infile, ReadMode_t ReadMode)
132 a = fgetc(infile);
134 if (a != 0xff || fgetc(infile) != M_SOI){
146 marker = fgetc(infile);
159 lh = fgetc(infile);
160 ll = fgetc(infile);
184 got = fread(Data+2, 1, itemlen-2, infile); // Read the whole section.
200 cp = ftell(infile);
201 fseek(infile, 0, SEEK_END);
202 ep = ftell(infile);
203 fseek(infile, cp, SEEK_SET);
213 got = fread(Data, 1, size, infile);
331 FILE * infile;
334 infile = fopen(FileName, "rb"); // Unix ignores 'b', windows needs it.
336 if (infile == NULL) {
344 ret = ReadJpegSections(infile, ReadMode);
350 fclose(infile);