Lines Matching refs:s
160 tsample_t s; in tiffcmp() local
195 for (s = 0; s < samplesperpixel; s++) { in tiffcmp()
196 if (TIFFReadScanline(tif1, buf1, row, s) < 0) in tiffcmp()
197 checkEOF(tif1, row, s) in tiffcmp()
198 if (SeparateCompare(1, s, row, buf2, buf1) < 0) in tiffcmp()
207 for (s = 0; s < samplesperpixel; s++) { in tiffcmp()
208 if (TIFFReadScanline(tif2, buf2, row, s) < 0) in tiffcmp()
209 checkEOF(tif2, row, s) in tiffcmp()
210 if (SeparateCompare(0, s, row, buf1, buf2) < 0) in tiffcmp()
216 for (s = 0; s < samplesperpixel; s++) in tiffcmp()
218 if (TIFFReadScanline(tif1, buf1, row, s) < 0) in tiffcmp()
219 checkEOF(tif1, row, s) in tiffcmp()
220 if (TIFFReadScanline(tif2, buf2, row, s) < 0) in tiffcmp()
221 checkEOF(tif2, row, s) in tiffcmp()
222 if (ContigCompare(s, row, buf1, buf2, size1) < 0) in tiffcmp()
348 int s; in ContigCompare() local
350 for(s = 0; s < samples_to_test; s++) { in ContigCompare()
353 PrintIntDiff(row, s, pix, *pix1, *pix2); in ContigCompare()
369 int s; in ContigCompare() local
371 for(s = 0; s < samples_to_test; s++) { in ContigCompare()
387 int s; in ContigCompare() local
389 for(s = 0; s < samples_to_test; s++) { in ContigCompare()
403 int s; in ContigCompare() local
405 for(s = 0; s < samples_to_test; s++) { in ContigCompare()
439 int32 mask1, mask2, s; in PrintIntDiff() local
442 s = (8 - bitspersample); in PrintIntDiff()
443 mask2 = mask1 << s; in PrintIntDiff()
445 mask2 >>= bitspersample, s -= bitspersample, pix++) { in PrintIntDiff()
452 (unsigned int)((w1 >> s) & mask1), in PrintIntDiff()
453 (unsigned int)((w2 >> s) & mask1)); in PrintIntDiff()
643 leof(const char* name, uint32 row, int s) in leof() argument
647 if (s >= 0) in leof()
648 printf(", sample %d", s); in leof()