Lines Matching refs:ifile

297 static ssize_t parse8BIM(Image *ifile, Image *ofile)  in parse8BIM()  argument
339 while (super_fgets(&line,&inputlen,ifile)!=NULL) in parse8BIM()
609 static ssize_t parse8BIMW(Image *ifile, Image *ofile) in parse8BIMW() argument
651 while (super_fgets_w(&line,&inputlen,ifile) != NULL) in parse8BIMW()
897 static int jpeg_transfer_1(Image *ifile, Image *ofile) in jpeg_transfer_1() argument
901 c = ReadBlobByte(ifile); in jpeg_transfer_1()
909 static int jpeg_skip_1(Image *ifile) in jpeg_skip_1() argument
913 c = ReadBlobByte(ifile); in jpeg_skip_1()
920 static int jpeg_read_remaining(Image *ifile, Image *ofile) in jpeg_read_remaining() argument
924 while ((c = jpeg_transfer_1(ifile, ofile)) != EOF) in jpeg_read_remaining()
929 static int jpeg_skip_variable(Image *ifile, Image *ofile) in jpeg_skip_variable() argument
934 if ((c1 = jpeg_transfer_1(ifile, ofile)) == EOF) in jpeg_skip_variable()
936 if ((c2 = jpeg_transfer_1(ifile, ofile)) == EOF) in jpeg_skip_variable()
943 if (jpeg_transfer_1(ifile, ofile) == EOF) in jpeg_skip_variable()
949 static int jpeg_skip_variable2(Image *ifile, Image *ofile) in jpeg_skip_variable2() argument
955 if ((c1 = ReadBlobByte(ifile)) == EOF) return M_EOI; in jpeg_skip_variable2()
956 if ((c2 = ReadBlobByte(ifile)) == EOF) return M_EOI; in jpeg_skip_variable2()
962 if (ReadBlobByte(ifile) == EOF) in jpeg_skip_variable2()
968 static int jpeg_nextmarker(Image *ifile, Image *ofile) in jpeg_nextmarker() argument
975 c = ReadBlobByte(ifile); in jpeg_nextmarker()
986 c = ReadBlobByte(ifile); in jpeg_nextmarker()
995 static int jpeg_skip_till_marker(Image *ifile, int marker) in jpeg_skip_till_marker() argument
1005 c = ReadBlobByte(ifile); in jpeg_skip_till_marker()
1014 c = ReadBlobByte(ifile); in jpeg_skip_till_marker()
1024 static int jpeg_embed(Image *ifile, Image *ofile, Image *iptc) in jpeg_embed() argument
1031 if (jpeg_transfer_1(ifile, ofile) != 0xFF) in jpeg_embed()
1033 if (jpeg_transfer_1(ifile, ofile) != M_SOI) in jpeg_embed()
1038 marker=(unsigned int) jpeg_nextmarker(ifile, ofile); in jpeg_embed()
1056 jpeg_skip_variable2(ifile, ofile); in jpeg_embed()
1061 jpeg_skip_variable(ifile, ofile); in jpeg_embed()
1084 jpeg_read_remaining(ifile, ofile); in jpeg_embed()
1089 jpeg_skip_variable(ifile, ofile); in jpeg_embed()
1098 static void jpeg_strip(Image *ifile, Image *ofile) in jpeg_strip() argument
1102 marker = jpeg_skip_till_marker(ifile, M_SOI); in jpeg_strip()
1107 jpeg_read_remaining(ifile, ofile); in jpeg_strip()
1112 static int jpeg_extract(Image *ifile, Image *ofile) in jpeg_extract() argument
1117 if (jpeg_skip_1(ifile) != 0xff) in jpeg_extract()
1119 if (jpeg_skip_1(ifile) != M_SOI) in jpeg_extract()
1124 marker = jpeg_skip_till_marker(ifile, M_APP13); in jpeg_extract()
1127 marker = jpeg_nextmarker(ifile, ofile); in jpeg_extract()
1891 static int formatIPTC(Image *ifile, Image *ofile) in formatIPTC() argument
1922 c = ReadBlobByte(ifile); in formatIPTC()
1939 c = ReadBlobByte(ifile); in formatIPTC()
1943 c = ReadBlobByte(ifile); in formatIPTC()
1960 c=ReadBlobByte(ifile); in formatIPTC()
1970 c0=ReadBlobByte(ifile); in formatIPTC()
1984 c=ReadBlobByte(ifile); in formatIPTC()
2007 c=ReadBlobByte(ifile); in formatIPTC()
2146 static int format8BIM(Image *ifile, Image *ofile) in format8BIM() argument
2170 c=ReadBlobByte(ifile); in format8BIM()
2181 c=ReadBlobByte(ifile); in format8BIM()
2194 c=ReadBlobByte(ifile); in format8BIM()
2200 ID=ReadBlobMSBSignedShort(ifile); in format8BIM()
2207 c=ReadBlobByte(ifile); in format8BIM()
2217 c=ReadBlobByte(ifile); in format8BIM()
2228 c=ReadBlobByte(ifile); in format8BIM()
2236 count=(ssize_t) ReadBlobMSBSignedLong(ifile); in format8BIM()
2237 if ((count < 0) || (count > (ssize_t) GetBlobSize(ifile))) in format8BIM()
2251 c=ReadBlobByte(ifile); in format8BIM()
2286 c=ReadBlobByte(ifile); in format8BIM()