Home
last modified time | relevance | path

Searched refs:samplesperpixel (Results 1 – 17 of 17) sorted by relevance

/libtiff-4.0.7/libtiff/
H A Dtif_getimage.c1211 int samplesperpixel = img->samplesperpixel; in DECLAREContigPutFunc() local
1281 int samplesperpixel = img->samplesperpixel; in DECLAREContigPutFunc() local
1301 int samplesperpixel = img->samplesperpixel; in DECLAREContigPutFunc() local
1321 int samplesperpixel = img->samplesperpixel; in DECLAREContigPutFunc() local
1397 int samplesperpixel = img->samplesperpixel; in DECLAREContigPutFunc() local
1416 int samplesperpixel = img->samplesperpixel; in DECLAREContigPutFunc() local
1435 int samplesperpixel = img->samplesperpixel; in DECLAREContigPutFunc() local
1460 int samplesperpixel = img->samplesperpixel; in DECLAREContigPutFunc() local
1482 int samplesperpixel = img->samplesperpixel; in DECLAREContigPutFunc() local
1505 int samplesperpixel = img->samplesperpixel; in DECLAREContigPutFunc() local
[all …]
H A Dtiffio.h207 uint16 samplesperpixel; /* image samples/pixel */ member
/libtiff-4.0.7/contrib/ras/
H A Dras2tif.c99 short samplesperpixel; local
176 samplesperpixel = 1;
181 samplesperpixel = 1;
186 samplesperpixel = 3;
191 samplesperpixel = 4;
210 TIFFSetField(tif, TIFFTAG_SAMPLESPERPIXEL, samplesperpixel);
H A Dtif2ras.c95 short samplesperpixel; local
150 TIFFGetField(tif, TIFFTAG_SAMPLESPERPIXEL, &samplesperpixel);
151 switch (samplesperpixel) {
173 bitspersample, samplesperpixel);
258 if (samplesperpixel == 4)
/libtiff-4.0.7/tools/
H A Dtiffinfoce.c250 tsample_t s, samplesperpixel; in TIFFReadSeparateStripData() local
254 TIFFGetField(tif, TIFFTAG_SAMPLESPERPIXEL, &samplesperpixel); in TIFFReadSeparateStripData()
256 for (s = 0; s < samplesperpixel; s++) { in TIFFReadSeparateStripData()
329 tsample_t s, samplesperpixel; in TIFFReadSeparateTileData() local
335 TIFFGetField(tif, TIFFTAG_SAMPLESPERPIXEL, &samplesperpixel); in TIFFReadSeparateTileData()
338 for (s = 0; s < samplesperpixel; s++) { in TIFFReadSeparateTileData()
H A Dtiff2bw.c117 uint16 samplesperpixel; in main() local
170 TIFFGetField(in, TIFFTAG_SAMPLESPERPIXEL, &samplesperpixel); in main()
171 if (samplesperpixel != 1 && samplesperpixel != 3) { in main()
173 argv[optind], samplesperpixel); in main()
176 if( photometric == PHOTOMETRIC_RGB && samplesperpixel != 3) { in main()
178 argv[optind], samplesperpixel); in main()
H A Dtiffinfo.c252 tsample_t s, samplesperpixel=0; in TIFFReadSeparateStripData() local
256 TIFFGetField(tif, TIFFTAG_SAMPLESPERPIXEL, &samplesperpixel); in TIFFReadSeparateStripData()
258 for (s = 0; s < samplesperpixel; s++) { in TIFFReadSeparateStripData()
339 tsample_t s, samplesperpixel=0; in TIFFReadSeparateTileData() local
345 TIFFGetField(tif, TIFFTAG_SAMPLESPERPIXEL, &samplesperpixel); in TIFFReadSeparateTileData()
354 for (s = 0; s < samplesperpixel; s++) { in TIFFReadSeparateTileData()
H A Dtiffcmp.c51 static uint16 samplesperpixel = 1; variable
172 (void) TIFFGetField(tif1, TIFFTAG_SAMPLESPERPIXEL, &samplesperpixel); in tiffcmp()
184 if (config1 != config2 && bitspersample != 8 && samplesperpixel > 1) { in tiffcmp()
195 for (s = 0; s < samplesperpixel; s++) { in tiffcmp()
207 for (s = 0; s < samplesperpixel; s++) { in tiffcmp()
216 for (s = 0; s < samplesperpixel; s++) in tiffcmp()
340 samples_to_test = (sample == -1) ? samplesperpixel : 1; in ContigCompare()
511 for (pixel = 0; npixels-- > 0; pixel++, cp1 += samplesperpixel, p2++) { in SeparateCompare()
H A Dtiff2ps.c491 static uint16 samplesperpixel; variable
1512 switch (samplesperpixel - extrasamples) in TIFF2PS()
1882 switch (samplesperpixel - extrasamples) { in PS_Lvl2ImageDict()
1948 samplesperpixel > 1) in PS_Lvl2ImageDict()
2008 fprintf(fd, "\t /Colors %u\n", samplesperpixel); in PS_Lvl2ImageDict()
2025 fprintf(fd, "\t /Colors %u\n", samplesperpixel); in PS_Lvl2ImageDict()
2069 samplesperpixel > 1) { in PS_Lvl2ImageDict()
2075 for (i = 1; i < samplesperpixel; i++) in PS_Lvl2ImageDict()
2262 int ncomps = samplesperpixel - extrasamples; in PS_Lvl2page()
2437 int breaklen = MAXLINE, es = samplesperpixel - nc; in PSDataColorContig()
[all …]
H A Dtiffdither.c207 uint16 samplesperpixel, bitspersample = 1, shortv; in main() local
251 TIFFGetField(in, TIFFTAG_SAMPLESPERPIXEL, &samplesperpixel); in main()
252 if (samplesperpixel != 1) { in main()
H A Dtiffcp.c587 (TIFF* in, TIFF* out, uint32 l, uint32 w, uint16 samplesperpixel);
595 uint16 bitspersample, samplesperpixel = 1; in tiffcp() local
604 CopyField(TIFFTAG_SAMPLESPERPIXEL, samplesperpixel); in tiffcp()
636 samplesperpixel == 1 ? in tiffcp()
639 samplesperpixel == 3 ) { in tiffcp()
718 if (samplesperpixel <= 4) in tiffcp()
814 cf = pickCopyFunc(in, out, bitspersample, samplesperpixel); in tiffcp()
815 return (cf ? (*cf)(in, out, length, width, samplesperpixel) : FALSE); in tiffcp()
1760 pickCopyFunc(TIFF* in, TIFF* out, uint16 bitspersample, uint16 samplesperpixel) in pickCopyFunc() argument
1767 if (shortv != config && bitspersample != 8 && samplesperpixel > 1) { in pickCopyFunc()
H A Dtiffsplit.c160 uint16 bitspersample, samplesperpixel, compression, shortv, *shortav; in tiffcp() local
172 CopyField(TIFFTAG_SAMPLESPERPIXEL, samplesperpixel); in tiffcp()
H A Dtiffmedian.c98 uint16 samplesperpixel; variable
165 TIFFGetField(in, TIFFTAG_SAMPLESPERPIXEL, &samplesperpixel); in main()
172 photometric != PHOTOMETRIC_RGB || samplesperpixel < 3) { in main()
/libtiff-4.0.7/contrib/pds/
H A Dtif_imageiter.c84 TIFFGetFieldDefaulted(tif, TIFFTAG_SAMPLESPERPIXEL, &img->samplesperpixel); in TIFFImageIterBegin()
94 colorchannels = img->samplesperpixel - extrasamples; in TIFFImageIterBegin()
164 if (img->samplesperpixel != 4) { in TIFFImageIterBegin()
166 "Samples/pixel", img->samplesperpixel); in TIFFImageIterBegin()
H A Dtif_imageiter.h44 uint16 samplesperpixel; /* image samples/pixel */ member
/libtiff-4.0.7/contrib/win_dib/
H A DTiffile.cpp325 int samplesperpixel = img->samplesperpixel; in DECLAREContigPutFunc() local
328 fromskew *= samplesperpixel; in DECLAREContigPutFunc()
/libtiff-4.0.7/
H A DChangeLog2656 * tif_strip.c: Replace assertions related to samplesperpixel != 3 or