Home
last modified time | relevance | path

Searched refs:sample (Results 1 – 24 of 24) sorted by relevance

/libtiff-4.0.7/tools/
H A Dtiffcmp.c142 #define checkEOF(tif, row, sample) { \ argument
143 leof(TIFFFileName(tif), row, sample); \
330 ContigCompare(int sample, uint32 row, in ContigCompare() argument
391 PrintIntDiff(row, sample, pix, in ContigCompare()
407 PrintFloatDiff(row, sample, pix, in ContigCompare()
432 if (sample < 0) in PrintIntDiff()
433 sample = 0; in PrintIntDiff()
451 sample, in PrintIntDiff()
489 if (sample < 0) in PrintFloatDiff()
490 sample = 0; in PrintFloatDiff()
[all …]
H A Dtiffcrop.c991 for (sample = 0; (sample < spp) && (sample < MAX_SAMPLES); sample++) in readSeparateTilesIntoBuffer()
1024 for (sample = 0; (sample < spp) && (sample < MAX_SAMPLES); sample++) in readSeparateTilesIntoBuffer()
1109 for (sample = 0; (sample < spp) && (sample < MAX_SAMPLES); sample++) in readSeparateTilesIntoBuffer()
8022 for (sample = 0; sample < spp; sample++) in rotateContigSamples8bits()
8098 for (sample = 0; sample < spp; sample++) in rotateContigSamples16bits()
8182 for (sample = 0; sample < spp; sample++) in rotateContigSamples24bits()
8282 for (sample = 0; sample < spp; sample++) in rotateContigSamples32bits()
8664 for (sample = 0; sample < spp; sample++) in reverseSamples8bits()
8730 for (sample = 0; sample < spp; sample++) in reverseSamples16bits()
8805 for (sample = 0; sample < spp; sample++) in reverseSamples24bits()
[all …]
H A Dtiffinfoce.c272 ShowTile(uint32 row, uint32 col, tsample_t sample, in ShowTile() argument
278 if (sample != (tsample_t) -1) in ShowTile()
279 printf(",%u", sample); in ShowTile()
H A Dtiffinfo.c274 ShowTile(uint32 row, uint32 col, tsample_t sample, in ShowTile() argument
280 if (sample != (tsample_t) -1) in ShowTile()
281 printf(",%u", sample); in ShowTile()
H A Dtiff2pdf.c3677 uint32 sample=0; in t2p_sample_abgr_to_rgb() local
3680 sample=((uint32*)data)[i]; in t2p_sample_abgr_to_rgb()
3681 ((char*)data)[i*3]= (char) (sample & 0xff); in t2p_sample_abgr_to_rgb()
3682 ((char*)data)[i*3+1]= (char) ((sample>>8) & 0xff); in t2p_sample_abgr_to_rgb()
3683 ((char*)data)[i*3+2]= (char) ((sample>>16) & 0xff); in t2p_sample_abgr_to_rgb()
3719 uint32 sample = 0; in t2p_sample_rgba_to_rgb() local
3723 sample=((uint32*)data)[i]; in t2p_sample_rgba_to_rgb()
3724 alpha=(uint8)((255 - ((sample >> 24) & 0xff))); in t2p_sample_rgba_to_rgb()
3725 ((uint8 *)data)[i * 3] = (uint8) ((sample >> 16) & 0xff) + alpha; in t2p_sample_rgba_to_rgb()
3726 ((uint8 *)data)[i * 3 + 1] = (uint8) ((sample >> 8) & 0xff) + alpha; in t2p_sample_rgba_to_rgb()
[all …]
/libtiff-4.0.7/libtiff/
H A Dtif_write.c85 if (sample >= td->td_samplesperpixel) { in TIFFWriteScanline()
142 if (!(*tif->tif_preencode)(tif, sample)) in TIFFWriteScanline()
174 tif->tif_scanlinesize, sample); in TIFFWriteScanline()
192 uint16 sample; in TIFFWriteEncodedStrip() local
278 sample = (uint16)(strip / td->td_stripsperimage); in TIFFWriteEncodedStrip()
279 if (!(*tif->tif_preencode)(tif, sample)) in TIFFWriteEncodedStrip()
285 if (!(*tif->tif_encodestrip)(tif, (uint8*) data, cc, sample)) in TIFFWriteEncodedStrip()
385 uint16 sample; in TIFFWriteEncodedTile() local
476 sample = (uint16)(tile/td->td_stripsperimage); in TIFFWriteEncodedTile()
477 if (!(*tif->tif_preencode)(tif, sample)) in TIFFWriteEncodedTile()
[all …]
H A Dtif_strip.c38 TIFFComputeStrip(TIFF* tif, uint32 row, uint16 sample) in TIFFComputeStrip() argument
46 if (sample >= td->td_samplesperpixel) { in TIFFComputeStrip()
49 (unsigned long) sample, (unsigned long) td->td_samplesperpixel); in TIFFComputeStrip()
52 strip += (uint32)sample*td->td_stripsperimage; in TIFFComputeStrip()
H A Dtif_read.c179 TIFFSeek(TIFF* tif, uint32 row, uint16 sample ) in TIFFSeek() argument
197 if (sample >= td->td_samplesperpixel) { in TIFFSeek()
200 (unsigned long) sample, (unsigned long) td->td_samplesperpixel); in TIFFSeek()
203 strip = (uint32)sample*td->td_stripsperimage + row/td->td_rowsperstrip; in TIFFSeek()
294 TIFFReadScanline(TIFF* tif, void* buf, uint32 row, uint16 sample) in TIFFReadScanline() argument
300 if( (e = TIFFSeek(tif, row, sample)) != 0) { in TIFFReadScanline()
305 (tif, (uint8*) buf, tif->tif_scanlinesize, sample); in TIFFReadScanline()
H A Dtiffconf.h-vms78 /* Treat extra sample as alpha (default enabled). The RGBA interface will
79 treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
H A Dtiffio.h418 extern int TIFFReadScanline(TIFF* tif, void* buf, uint32 row, uint16 sample = 0);
419 extern int TIFFWriteScanline(TIFF* tif, void* buf, uint32 row, uint16 sample = 0);
425 extern int TIFFReadScanline(TIFF* tif, void* buf, uint32 row, uint16 sample);
426 extern int TIFFWriteScanline(TIFF* tif, void* buf, uint32 row, uint16 sample);
H A Dtiffconf.h.in103 /* Treat extra sample as alpha (default enabled). The RGBA interface will
104 treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
H A Dtiffconf.h.cmake.in106 /* Treat extra sample as alpha (default enabled). The RGBA interface will
107 treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
H A Dtif_config.h.in19 /* Treat extra sample as alpha (default enabled). The RGBA interface will
20 treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
H A Dtiffiop.h97 typedef int (*TIFFCodeMethod)(TIFF* tif, uint8* buf, tmsize_t size, uint16 sample);
/libtiff-4.0.7/contrib/pds/
H A DREADME36 have one sample-per-pixel or two, and might be 8-bit data or 16-bit or
75 them. I can also send you some sample code that uses them if you like.
/libtiff-4.0.7/contrib/addtiffo/
H A DREADME45 o Reduced resolution overviews for multi-sample files will currently
/libtiff-4.0.7/
H A DSConstruct60 …'the RGBA interface will treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Man…
H A Dnmake.opt95 # Comment out the following lines to disable treating the fourth sample with
H A Dconfigure.ac1019 …[the RGBA interface will treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Man…
1025 …[Treat extra sample as alpha (default enabled). The RGBA interface will treat a fourth sample with…
H A Dconfigure.com1299 /* Treat extra sample as alpha (default enabled). The RGBA interface will
1300 treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
H A DCMakeLists.txt657 option(extrasample-as-alpha "the RGBA interface will treat a fourth sample with no EXTRASAMPLE_ val…
H A DChangeLog193 * libtiff/tif_predict.c (PredictorSetup): Enforce bits-per-sample
307 PHOTOMETRIC_LOGL, there is only one sample per pixel. Avoid
1554 or one per sample.
1781 values for each sample. Presents the min/max of all samples by default for
2274 version has undergone substantial testing with arbitrary sample
2440 contig for one sample files if planar configuration is already set.
5479 * libtiff/tif_tile.c: remove spurious use of "s" (sample) in the
5639 more than 8 bits per sample to existing files of a non-native byte
6318 will assume that a fourth extra sample is ASSOCALPHA if the
6801 roundup if rows_per_strip not a multiple of vertical sample size.
H A Dconfigure1548 the RGBA interface will treat a fourth sample with
/libtiff-4.0.7/m4/
H A Dlibtool.m48084 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'