• Home
  • Raw
  • Download

Lines Matching refs:strip

46 static int TIFFAppendToStrip(TIFF* tif, uint32 strip, uint8* data, tmsize_t cc);
54 uint32 strip; in TIFFWriteScanline() local
91 strip = sample*td->td_stripsperimage + row/td->td_rowsperstrip; in TIFFWriteScanline()
93 strip = row / td->td_rowsperstrip; in TIFFWriteScanline()
101 if (strip >= td->td_nstrips && !TIFFGrowStrips(tif, 1, module)) in TIFFWriteScanline()
103 if (strip != tif->tif_curstrip) { in TIFFWriteScanline()
109 tif->tif_curstrip = strip; in TIFFWriteScanline()
115 if (strip >= td->td_stripsperimage && imagegrew) in TIFFWriteScanline()
119 (strip % td->td_stripsperimage) * td->td_rowsperstrip; in TIFFWriteScanline()
129 if( td->td_stripbytecount[strip] > 0 ) in TIFFWriteScanline()
132 td->td_stripbytecount[strip] = 0; in TIFFWriteScanline()
154 tif->tif_row = (strip % td->td_stripsperimage) * in TIFFWriteScanline()
184 TIFFWriteEncodedStrip(TIFF* tif, uint32 strip, void* data, tmsize_t cc) in TIFFWriteEncodedStrip() argument
201 if (strip >= td->td_nstrips) { in TIFFWriteEncodedStrip()
221 tif->tif_curstrip = strip; in TIFFWriteEncodedStrip()
223 tif->tif_row = (strip % td->td_stripsperimage) * td->td_rowsperstrip; in TIFFWriteEncodedStrip()
233 if( td->td_stripbytecount[strip] > 0 ) in TIFFWriteEncodedStrip()
241 sample = (uint16)(strip / td->td_stripsperimage); in TIFFWriteEncodedStrip()
256 !TIFFAppendToStrip(tif, strip, tif->tif_rawdata, tif->tif_rawcc)) in TIFFWriteEncodedStrip()
269 TIFFWriteRawStrip(TIFF* tif, uint32 strip, void* data, tmsize_t cc) in TIFFWriteRawStrip() argument
285 if (strip >= td->td_nstrips) { in TIFFWriteRawStrip()
296 if (strip >= td->td_stripsperimage) in TIFFWriteRawStrip()
302 tif->tif_curstrip = strip; in TIFFWriteRawStrip()
303 tif->tif_row = (strip % td->td_stripsperimage) * td->td_rowsperstrip; in TIFFWriteRawStrip()
304 return (TIFFAppendToStrip(tif, strip, (uint8*) data, cc) ? in TIFFWriteRawStrip()
638 TIFFAppendToStrip(TIFF* tif, uint32 strip, uint8* data, tmsize_t cc) in TIFFAppendToStrip() argument
645 if (td->td_stripoffset[strip] == 0 || tif->tif_curoff == 0) { in TIFFAppendToStrip()
648 if( td->td_stripbytecount[strip] != 0 in TIFFAppendToStrip()
649 && td->td_stripoffset[strip] != 0 in TIFFAppendToStrip()
650 && td->td_stripbytecount[strip] >= (uint64) cc ) in TIFFAppendToStrip()
659 if (!SeekOK(tif, td->td_stripoffset[strip])) { in TIFFAppendToStrip()
672 td->td_stripoffset[strip] = TIFFSeekFile(tif, 0, SEEK_END); in TIFFAppendToStrip()
676 tif->tif_curoff = td->td_stripoffset[strip]; in TIFFAppendToStrip()
681 old_byte_count = td->td_stripbytecount[strip]; in TIFFAppendToStrip()
682 td->td_stripbytecount[strip] = 0; in TIFFAppendToStrip()
699 td->td_stripbytecount[strip] += cc; in TIFFAppendToStrip()
701 if( (int64) td->td_stripbytecount[strip] != old_byte_count ) in TIFFAppendToStrip()