Lines Matching refs:tif
35 DumpFixupTags(TIFF* tif)
37 (void) tif;
45 DumpModeEncode(TIFF* tif, uint8* pp, tmsize_t cc, uint16 s)
52 if (tif->tif_rawcc + n > tif->tif_rawdatasize)
53 n = tif->tif_rawdatasize - tif->tif_rawcc;
61 if (tif->tif_rawcp != pp)
62 _TIFFmemcpy(tif->tif_rawcp, pp, n);
63 tif->tif_rawcp += n;
64 tif->tif_rawcc += n;
67 if (tif->tif_rawcc >= tif->tif_rawdatasize &&
68 !TIFFFlushData1(tif))
78 DumpModeDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s)
82 if (tif->tif_rawcc < cc) {
84 TIFFErrorExt(tif->tif_clientdata, module,
86 (unsigned long) tif->tif_row,
87 (signed __int64) tif->tif_rawcc,
90 TIFFErrorExt(tif->tif_clientdata, module,
92 (unsigned long) tif->tif_row,
93 (signed long long) tif->tif_rawcc,
102 if (tif->tif_rawcp != buf)
103 _TIFFmemcpy(buf, tif->tif_rawcp, cc);
104 tif->tif_rawcp += cc;
105 tif->tif_rawcc -= cc;
113 DumpModeSeek(TIFF* tif, uint32 nrows)
115 tif->tif_rawcp += nrows * tif->tif_scanlinesize;
116 tif->tif_rawcc -= nrows * tif->tif_scanlinesize;
124 TIFFInitDumpMode(TIFF* tif, int scheme)
127 tif->tif_fixuptags = DumpFixupTags;
128 tif->tif_decoderow = DumpModeDecode;
129 tif->tif_decodestrip = DumpModeDecode;
130 tif->tif_decodetile = DumpModeDecode;
131 tif->tif_encoderow = DumpModeEncode;
132 tif->tif_encodestrip = DumpModeEncode;
133 tif->tif_encodetile = DumpModeEncode;
134 tif->tif_seek = DumpModeSeek;