Lines Matching full:bitspersample
254 TIFFGetFieldDefaulted(tif, TIFFTAG_BITSPERSAMPLE, &img->bitspersample);
255 switch (img->bitspersample) {
264 img->bitspersample);
326 n_color = (1L << img->bitspersample);
344 && img->bitspersample < 8 ) {
350 img->bitspersample);
411 img->bitspersample = 8;
426 img->bitspersample = 8;
2207 * is setup so that put*bwtile (below) can retrieve 8/bitspersample
2215 int bitspersample = img->bitspersample;
2216 int nsamples = 8 / bitspersample;
2233 switch (bitspersample) {
2275 range = (int32)((1L<<img->bitspersample)-1);
2278 if( img->bitspersample == 16 )
2294 if (img->bitspersample <= 16 &&
2315 long n = 1L<<img->bitspersample;
2331 for (i = (1L<<img->bitspersample)-1; i >= 0; i--) {
2343 * is setup so that put*cmaptile (below) can retrieve 8/bitspersample
2350 int bitspersample = img->bitspersample;
2351 int nsamples = 8 / bitspersample;
2369 switch (bitspersample) {
2410 if (img->bitspersample == 8)
2431 if (img->bitspersample <= 8 && !makecmap(img))
2448 switch (img->bitspersample) {
2482 if (img->bitspersample == 8) {
2492 switch (img->bitspersample) {
2511 switch (img->bitspersample) {
2534 if ((img->bitspersample==8) && (img->samplesperpixel==3))
2578 if (img->bitspersample == 8)
2602 switch (img->bitspersample) {
2635 if (img->bitspersample == 8 && img->samplesperpixel == 4)
2642 if ((img->bitspersample==8) && (img->samplesperpixel==3))