Lines Matching refs:strip
3593 * c) strip offsets/bytecounts tag are both present and
3626 * Setup appropriate structures (by strip or by tile)
3897 * We do no further messing with strip/tile offsets/bytecounts in OJPEG
3909 * is one uncompressed strip of data.
3925 * of single strip) in following cases:
3932 * because we may do not know the exact strip size
3952 * of estimating the size of a one strip image.
3973 * as it would always force us to load the strip/tile
3996 * XXX: We can optimize checking for the strip bounds using the sorted
4002 uint32 strip;
4005 for (strip = 1; strip < tif->tif_dir.td_nstrips; strip++) {
4006 if (tif->tif_dir.td_stripoffset[strip - 1] >
4007 tif->tif_dir.td_stripoffset[strip]) {
4022 * large amounts of uncompressed data as a single strip.
4071 "Cannot handle zero strip size");
4274 uint32 strip;
4323 for (strip = 0; strip < td->td_nstrips; strip++)
4324 td->td_stripbytecount[strip] = space;
4327 * the last strip is past the place where we think the strip
4328 * should begin. Since a strip of data must be contiguous,
4330 * of data in the strip and trim this number back accordingly.
4332 strip--;
4333 if (td->td_stripoffset[strip]+td->td_stripbytecount[strip] > filesize)
4334 td->td_stripbytecount[strip] = filesize - td->td_stripoffset[strip];
4338 for (strip = 0; strip < td->td_nstrips; strip++)
4339 td->td_stripbytecount[strip] = bytespertile;
4343 for (strip = 0; strip < td->td_nstrips; strip++)
4344 td->td_stripbytecount[strip] = rowbytes * rowsperstrip;
5371 resizeddata=(uint64*)_TIFFCheckMalloc(tif,nstrips,sizeof(uint64),"for strip array");
5449 * Replace a single strip
5463 uint32 strip;
5511 * Unable to allocate new strip information, give up and use
5512 * the original one strip information.
5521 * Fill the strip information arrays with new bytecounts and offsets
5524 for (strip = 0; strip < nstrips32; strip++) {
5527 newcounts[strip] = stripbytes;
5528 newoffsets[strip] = offset;
5533 * Replace old single strip info with multi-strip info.
5573 uint32 strip;
5576 for (strip = 1; strip < tif->tif_dir.td_nstrips; strip++) {
5577 if (tif->tif_dir.td_stripoffset[strip - 1] >
5578 tif->tif_dir.td_stripoffset[strip]) {