Lines Matching full:bitspersample
269 TIFFGetFieldDefaulted(tif, TIFFTAG_BITSPERSAMPLE, &img->bitspersample);
270 switch (img->bitspersample) {
279 img->bitspersample);
341 n_color = (1L << img->bitspersample);
359 && img->bitspersample < 8 ) {
365 img->bitspersample);
426 img->bitspersample = 8;
441 img->bitspersample = 8;
2268 * is setup so that put*bwtile (below) can retrieve 8/bitspersample
2276 int bitspersample = img->bitspersample;
2277 int nsamples = 8 / bitspersample;
2294 switch (bitspersample) {
2336 range = (int32)((1L<<img->bitspersample)-1);
2339 if( img->bitspersample == 16 )
2355 if (img->bitspersample <= 16 &&
2376 long n = 1L<<img->bitspersample;
2392 for (i = (1L<<img->bitspersample)-1; i >= 0; i--) {
2404 * is setup so that put*cmaptile (below) can retrieve 8/bitspersample
2411 int bitspersample = img->bitspersample;
2412 int nsamples = 8 / bitspersample;
2430 switch (bitspersample) {
2471 if (img->bitspersample == 8)
2492 if (img->bitspersample <= 8 && !makecmap(img))
2509 switch (img->bitspersample) {
2543 if (img->bitspersample == 8) {
2553 switch (img->bitspersample) {
2572 switch (img->bitspersample) {
2595 if ((img->bitspersample==8) && (img->samplesperpixel==3))
2639 if (img->bitspersample == 8)
2663 switch (img->bitspersample) {
2696 if (img->bitspersample == 8 && img->samplesperpixel == 4)
2703 if ((img->bitspersample==8) && (img->samplesperpixel==3))