Lines Matching defs:strip

353 	 * c) strip offsets/bytecounts tag are both present and
382 * Setup appropriate structures (by strip or by tile)
628 * We do no further messing with strip/tile offsets/bytecounts in OJPEG
640 * is one uncompressed strip of data.
658 * of single strip) in following cases:
665 * because we may do not know the exact strip size
684 * of estimating the size of a one strip image.
723 * XXX: We can optimize checking for the strip bounds using the sorted
728 tstrip_t strip;
731 for (strip = 1; strip < td->td_nstrips; strip++) {
732 if (td->td_stripoffset[strip - 1] >
733 td->td_stripoffset[strip]) {
744 * large amounts of uncompressed data as a single strip.
783 "%s: cannot handle zero strip size",
951 uint32 strip;
986 for (strip = 0; strip < td->td_nstrips; strip++)
987 td->td_stripbytecount[strip] = space;
990 * the last strip is past the place where we think the strip
991 * should begin. Since a strip of data must be contiguous,
993 * of data in the strip and trim this number back accordingly.
995 strip--;
996 if (((toff_t)(td->td_stripoffset[strip]+
997 td->td_stripbytecount[strip])) > filesize)
998 td->td_stripbytecount[strip] =
999 filesize - td->td_stripoffset[strip];
1003 for (strip = 0; strip < td->td_nstrips; strip++)
1004 td->td_stripbytecount[strip] = bytespertile;
1008 for (strip = 0; strip < td->td_nstrips; strip++)
1009 td->td_stripbytecount[strip] = rowbytes * rowsperstrip;
1878 * Allocate space for strip information.
1882 nstrips, sizeof (uint32), "for strip array")) == NULL)
1892 dir->tdir_count, sizeof (uint16), "to fetch strip tag");
1909 dir->tdir_count, sizeof (uint32), "to fetch strip tag");
1995 * Replace a single strip (tile) of uncompressed data by multiple strips
2007 tstrip_t strip, nstrips, rowsperstrip;
2040 * Unable to allocate new strip information, give up and use
2041 * the original one strip information.
2050 * Fill the strip information arrays with new bytecounts and offsets
2053 for (strip = 0; strip < nstrips; strip++) {
2056 newcounts[strip] = stripbytes;
2057 newoffsets[strip] = offset;
2062 * Replace old single strip info with multi-strip info.