Searched refs:samplesperpixel (Results 1 - 15 of 15) sorted by relevance

/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/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)
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/libtiff/
H A Dtif_getimage.c258 TIFFGetFieldDefaulted(tif, TIFFTAG_SAMPLESPERPIXEL, &img->samplesperpixel);
265 if (img->samplesperpixel > 3) /* correct info about alpha channel */
280 && img->samplesperpixel == 4
288 colorchannels = img->samplesperpixel - extrasamples;
333 && img->samplesperpixel != 1
339 "Samples/pixel", img->samplesperpixel,
386 if (img->samplesperpixel < 4) {
388 "Samples/pixel", img->samplesperpixel);
1060 int samplesperpixel = img->samplesperpixel; local
1130 int samplesperpixel = img->samplesperpixel; local
1150 int samplesperpixel = img->samplesperpixel; local
1226 int samplesperpixel = img->samplesperpixel; local
1245 int samplesperpixel = img->samplesperpixel; local
1264 int samplesperpixel = img->samplesperpixel; local
1287 int samplesperpixel = img->samplesperpixel; local
1307 int samplesperpixel = img->samplesperpixel; local
1327 int samplesperpixel = img->samplesperpixel; local
1353 int samplesperpixel = img->samplesperpixel; local
1378 int samplesperpixel = img->samplesperpixel; local
[all...]
H A Dtiffio.h198 uint16 samplesperpixel; /* image samples/pixel */ member in struct:_TIFFRGBAImage
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/tools/
H A Dtiffinfo.c234 tsample_t s, samplesperpixel; local
238 TIFFGetField(tif, TIFFTAG_SAMPLESPERPIXEL, &samplesperpixel);
240 for (s = 0; s < samplesperpixel; s++) {
313 tsample_t s, samplesperpixel; local
319 TIFFGetField(tif, TIFFTAG_SAMPLESPERPIXEL, &samplesperpixel);
322 for (s = 0; s < samplesperpixel; s++) {
H A Dtiffcmp.c47 static uint16 samplesperpixel = 1; variable
166 (void) TIFFGetField(tif1, TIFFTAG_SAMPLESPERPIXEL, &samplesperpixel);
178 if (config1 != config2 && bitspersample != 8 && samplesperpixel > 1) {
189 for (s = 0; s < samplesperpixel; s++) {
201 for (s = 0; s < samplesperpixel; s++) {
210 for (s = 0; s < samplesperpixel; s++)
321 samples_to_test = (sample == -1) ? samplesperpixel : 1;
492 for (pixel = 0; npixels-- > 0; pixel++, cp1 += samplesperpixel, p2++) {
H A Dtiffdither.c190 uint16 samplesperpixel, bitspersample = 1, shortv; local
234 TIFFGetField(in, TIFFTAG_SAMPLESPERPIXEL, &samplesperpixel);
235 if (samplesperpixel != 1) {
H A Dtiff2bw.c113 uint16 samplesperpixel; local
164 TIFFGetField(in, TIFFTAG_SAMPLESPERPIXEL, &samplesperpixel);
165 if (samplesperpixel != 1 && samplesperpixel != 3) {
167 argv[optind], samplesperpixel);
H A Dtiff2ps.c326 static uint16 samplesperpixel; variable
758 &samplesperpixel);
767 switch (samplesperpixel - extrasamples) {
1152 if (planarconfiguration == PLANARCONFIG_SEPARATE && samplesperpixel > 1)
1159 switch (samplesperpixel - extrasamples) {
1225 samplesperpixel > 1)
1285 fprintf(fd, "\t /Colors %u\n", samplesperpixel);
1302 fprintf(fd, "\t /Colors %u\n", samplesperpixel);
1346 samplesperpixel > 1) {
1352 for (i = 1; i < samplesperpixel;
[all...]
H A Dtiffsplit.c160 uint16 bitspersample, samplesperpixel, compression, shortv, *shortav; local
172 CopyField(TIFFTAG_SAMPLESPERPIXEL, samplesperpixel);
H A Dtiffcp.c551 (TIFF* in, TIFF* out, uint32 l, uint32 w, uint16 samplesperpixel);
557 uint16 bitspersample, samplesperpixel; local
566 CopyField(TIFFTAG_SAMPLESPERPIXEL, samplesperpixel);
598 samplesperpixel == 1 ?
674 if (samplesperpixel <= 4)
759 cf = pickCopyFunc(in, out, bitspersample, samplesperpixel);
760 return (cf ? (*cf)(in, out, length, width, samplesperpixel) : FALSE);
1658 pickCopyFunc(TIFF* in, TIFF* out, uint16 bitspersample, uint16 samplesperpixel) argument
1665 if (shortv != config && bitspersample != 8 && samplesperpixel > 1) {
H A Dtiffmedian.c94 uint16 samplesperpixel; variable
159 TIFFGetField(in, TIFFTAG_SAMPLESPERPIXEL, &samplesperpixel);
166 photometric != PHOTOMETRIC_RGB || samplesperpixel < 3) {
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/contrib/pds/
H A Dtif_imageiter.h7 img->samplesperpixel consecutive samples each containing img->bitspersample
44 uint16 samplesperpixel; /* image samples/pixel */ member in struct:_TIFFImageIter
H A Dtif_imageiter.c84 TIFFGetFieldDefaulted(tif, TIFFTAG_SAMPLESPERPIXEL, &img->samplesperpixel);
94 colorchannels = img->samplesperpixel - extrasamples;
123 if (planarconfig == PLANARCONFIG_CONTIG && img->samplesperpixel != 1) {
127 "Samples/pixel", img->samplesperpixel);
164 if (img->samplesperpixel != 4) {
166 "Samples/pixel", img->samplesperpixel);
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/contrib/win_dib/
H A DTiffile.cpp325 int samplesperpixel = img->samplesperpixel; local
328 fromskew *= samplesperpixel;
340 pp += samplesperpixel;

Completed in 632 milliseconds