| /libtiff-4.0.7/contrib/ras/ |
| H A D | tif2ras.c | 94 short bitspersample; local 146 TIFFGetField(tif, TIFFTAG_BITSPERSAMPLE, &bitspersample); 147 if (bitspersample > 8) 153 if (bitspersample == 1) 173 bitspersample, samplesperpixel); 179 numcolors = (1 << bitspersample); 274 switch (bitspersample) { 298 error("%s: bad bits/sample: %d\n", bitspersample);
|
| H A D | ras2tif.c | 100 short bitspersample; local 177 bitspersample = 1; 182 bitspersample = 8; 187 bitspersample = 8; 192 bitspersample = 8; 204 TIFFSetField(tif, TIFFTAG_BITSPERSAMPLE, bitspersample);
|
| /libtiff-4.0.7/tools/ |
| H A D | tiffcmp.c | 50 static uint16 bitspersample = 1; variable 171 (void) TIFFGetField(tif1, TIFFTAG_BITSPERSAMPLE, &bitspersample); in tiffcmp() 184 if (config1 != config2 && bitspersample != 8 && samplesperpixel > 1) { in tiffcmp() 334 int ppb = 8 / bitspersample; in ContigCompare() 342 switch (bitspersample) { in ContigCompare() 422 fprintf(stderr, "Bit depth %d is not supported.\n", bitspersample); in ContigCompare() 434 switch (bitspersample) { in PrintIntDiff() 441 mask1 = ~((-1) << bitspersample); in PrintIntDiff() 442 s = (8 - bitspersample); in PrintIntDiff() 445 mask2 >>= bitspersample, s -= bitspersample, pix++) { in PrintIntDiff() [all …]
|
| H A D | tiff2ps.c | 492 static uint16 bitspersample; variable 519 if (alpha && bitspersample != 8) { in checkImage() 522 bitspersample); in checkImage() 546 bitspersample = 8; in checkImage() 556 switch (bitspersample) { in checkImage() 563 bitspersample); in checkImage() 2010 bitspersample); in PS_Lvl2ImageDict() 2027 bitspersample); in PS_Lvl2ImageDict() 2545 switch (bitspersample) { in PSDataPalette() 2552 nc = 3 * (8 / bitspersample); in PSDataPalette() [all …]
|
| H A D | pal2rgb.c | 74 uint16 bitspersample, shortv; in main() local 131 bitspersample = 0; in main() 132 TIFFGetField(in, TIFFTAG_BITSPERSAMPLE, &bitspersample); in main() 133 if (bitspersample != 8) { in main() 170 cmap = checkcmap(1<<bitspersample, rmap, gmap, bmap); in main() 177 for (i = (1<<bitspersample)-1; i >= 0; i--) { in main()
|
| H A D | tiff2bw.c | 118 uint16 bitspersample; in main() local 181 TIFFGetField(in, TIFFTAG_BITSPERSAMPLE, &bitspersample); in main() 182 if (bitspersample != 8) { in main() 231 if (checkcmap(in, 1<<bitspersample, red, green, blue) == 16) { in main() 234 for (i = (1<<bitspersample)-1; i >= 0; i--) { in main()
|
| H A D | tiffdither.c | 207 uint16 samplesperpixel, bitspersample = 1, shortv; in main() local 256 TIFFGetField(in, TIFFTAG_BITSPERSAMPLE, &bitspersample); in main() 257 if (bitspersample != 8) { in main()
|
| H A D | tiffsplit.c | 160 uint16 bitspersample, samplesperpixel, compression, shortv, *shortav; in tiffcp() local 171 CopyField(TIFFTAG_BITSPERSAMPLE, bitspersample); in tiffcp()
|
| H A D | tiffmedian.c | 97 uint16 bitspersample = 1; variable 164 TIFFGetField(in, TIFFTAG_BITSPERSAMPLE, &bitspersample); in main() 166 if (bitspersample != 8 && bitspersample != 16) { in main()
|
| H A D | tiffcp.c | 595 uint16 bitspersample, samplesperpixel = 1; in tiffcp() local 603 CopyField(TIFFTAG_BITSPERSAMPLE, bitspersample); in tiffcp() 814 cf = pickCopyFunc(in, out, bitspersample, samplesperpixel); 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()
|
| /libtiff-4.0.7/libtiff/ |
| H A D | tif_getimage.c | 291 switch (img->bitspersample) { in TIFFRGBAImageBegin() 300 img->bitspersample); in TIFFRGBAImageBegin() 386 img->bitspersample); in TIFFRGBAImageBegin() 447 img->bitspersample = 8; in TIFFRGBAImageBegin() 462 img->bitspersample = 8; in TIFFRGBAImageBegin() 2314 int bitspersample = img->bitspersample; in makebwmap() local 2332 switch (bitspersample) { in makebwmap() 2450 int bitspersample = img->bitspersample; in makecmap() local 2469 switch (bitspersample) { in makecmap() 2510 if (img->bitspersample == 8) in buildMap() [all …]
|
| H A D | tiffio.h | 206 uint16 bitspersample; /* image bits/sample */ member
|
| /libtiff-4.0.7/contrib/pds/ |
| H A D | tif_imageiter.h | 43 uint16 bitspersample; /* image bits/sample */ member
|
| H A D | tif_imageiter.c | 82 TIFFGetFieldDefaulted(tif, TIFFTAG_BITSPERSAMPLE, &img->bitspersample); in TIFFImageIterBegin()
|
| /libtiff-4.0.7/contrib/win_dib/ |
| H A D | Tiffile.cpp | 307 switch (img->bitspersample) { in DibInstallHack()
|
| /libtiff-4.0.7/ |
| H A D | ChangeLog | 1714 thunder encoded files with wrong bitspersample set. The libtiff 2934 when dealing with large bitspersample values, shutting up purification
|