Home | History | Annotate | Download | only in coders

Lines Matching refs:ifile

295 static ssize_t parse8BIM(Image *ifile, Image *ofile)
337 while (super_fgets(&line,&inputlen,ifile)!=NULL)
591 static ssize_t parse8BIMW(Image *ifile, Image *ofile)
633 while (super_fgets_w(&line,&inputlen,ifile) != NULL)
872 static int jpeg_transfer_1(Image *ifile, Image *ofile)
876 c = ReadBlobByte(ifile);
884 static int jpeg_skip_1(Image *ifile)
888 c = ReadBlobByte(ifile);
895 static int jpeg_read_remaining(Image *ifile, Image *ofile)
899 while ((c = jpeg_transfer_1(ifile, ofile)) != EOF)
904 static int jpeg_skip_variable(Image *ifile, Image *ofile)
909 if ((c1 = jpeg_transfer_1(ifile, ofile)) == EOF)
911 if ((c2 = jpeg_transfer_1(ifile, ofile)) == EOF)
918 if (jpeg_transfer_1(ifile, ofile) == EOF)
924 static int jpeg_skip_variable2(Image *ifile, Image *ofile)
930 if ((c1 = ReadBlobByte(ifile)) == EOF) return M_EOI;
931 if ((c2 = ReadBlobByte(ifile)) == EOF) return M_EOI;
937 if (ReadBlobByte(ifile) == EOF)
943 static int jpeg_nextmarker(Image *ifile, Image *ofile)
950 c = ReadBlobByte(ifile);
961 c = ReadBlobByte(ifile);
970 static int jpeg_skip_till_marker(Image *ifile, int marker)
980 c = ReadBlobByte(ifile);
989 c = ReadBlobByte(ifile);
999 static int jpeg_embed(Image *ifile, Image *ofile, Image *iptc)
1006 if (jpeg_transfer_1(ifile, ofile) != 0xFF)
1008 if (jpeg_transfer_1(ifile, ofile) != M_SOI)
1013 marker=(unsigned int) jpeg_nextmarker(ifile, ofile);
1031 jpeg_skip_variable2(ifile, ofile);
1036 jpeg_skip_variable(ifile, ofile);
1059 jpeg_read_remaining(ifile, ofile);
1064 jpeg_skip_variable(ifile, ofile);
1073 static void jpeg_strip(Image *ifile, Image *ofile)
1077 marker = jpeg_skip_till_marker(ifile, M_SOI);
1082 jpeg_read_remaining(ifile, ofile);
1087 static int jpeg_extract(Image *ifile, Image *ofile)
1092 if (jpeg_skip_1(ifile) != 0xff)
1094 if (jpeg_skip_1(ifile) != M_SOI)
1099 marker = jpeg_skip_till_marker(ifile, M_APP13);
1102 marker = jpeg_nextmarker(ifile, ofile);
1831 static int formatIPTC(Image *ifile, Image *ofile)
1862 c = ReadBlobByte(ifile);
1879 c = ReadBlobByte(ifile);
1882 c = ReadBlobByte(ifile);
1898 c=ReadBlobByte(ifile);
1907 c0=ReadBlobByte(ifile);
1922 c=ReadBlobByte(ifile);
1941 c=ReadBlobByte(ifile);
2077 static int format8BIM(Image *ifile, Image *ofile)
2101 c=ReadBlobByte(ifile);
2112 c=ReadBlobByte(ifile);
2125 c=ReadBlobByte(ifile);
2131 ID=ReadBlobMSBSignedShort(ifile);
2138 c=ReadBlobByte(ifile);
2151 c=ReadBlobByte(ifile);
2158 c=ReadBlobByte(ifile);
2163 count=ReadBlobMSBSignedLong(ifile);
2174 c=ReadBlobByte(ifile);
2205 c=ReadBlobByte(ifile);