Lines Matching refs:bits_per_sample
866 static int32 TIFFReadPixels(TIFF *tiff,size_t bits_per_sample, in TIFFReadPixels() argument
872 (void) bits_per_sample; in TIFFReadPixels()
920 uint16 bits_per_sample,uint16 samples_per_pixel) in GetJPEGMethod() argument
948 if ((photometric != PHOTOMETRIC_SEPARATED) || (bits_per_sample != 8) || in GetJPEGMethod()
1119 bits_per_sample, in ReadTIFFImage() local
1209 (TIFFGetFieldDefaulted(tiff,TIFFTAG_BITSPERSAMPLE,&bits_per_sample) != 1) || in ReadTIFFImage()
1291 "Bits per sample: %u",bits_per_sample); in ReadTIFFImage()
1302 image->depth=(size_t) bits_per_sample; in ReadTIFFImage()
1492 (pow(2.0,1.0*bits_per_sample) <= MaxColormapSize)) in ReadTIFFImage()
1497 colors=(size_t) GetQuantumRange(bits_per_sample)+1; in ReadTIFFImage()
1591 (interlace == PLANARCONFIG_SEPARATE) && (bits_per_sample < 64)) in ReadTIFFImage()
1594 method=GetJPEGMethod(image,tiff,photometric,bits_per_sample, in ReadTIFFImage()
1633 bits_per_sample)/log(2)))); in ReadTIFFImage()
1648 status=TIFFReadPixels(tiff,bits_per_sample,0,y,(char *) pixels); in ReadTIFFImage()
1690 status=SetQuantumPad(image,quantum_info,pad*((bits_per_sample+7) >> 3)); in ReadTIFFImage()
1705 status=TIFFReadPixels(tiff,bits_per_sample,0,y,(char *) pixels); in ReadTIFFImage()
1740 status=TIFFReadPixels(tiff,bits_per_sample,(tsample_t) i,y,(char *) in ReadTIFFImage()
1798 status=TIFFReadPixels(tiff,bits_per_sample,0,y,(char *) pixels); in ReadTIFFImage()
2083 if (bits_per_sample == 1) in ReadTIFFImage()
3129 bits_per_sample, in WriteTIFFImage() local
3532 &bits_per_sample); in WriteTIFFImage()
3533 if (bits_per_sample == 12) in WriteTIFFImage()
3542 &bits_per_sample); in WriteTIFFImage()
3545 ((bits_per_sample == 8) || (bits_per_sample == 16))) in WriteTIFFImage()
3571 ((bits_per_sample == 8) || (bits_per_sample == 16))) in WriteTIFFImage()
3582 &bits_per_sample); in WriteTIFFImage()
3585 ((bits_per_sample == 8) || (bits_per_sample == 16))) in WriteTIFFImage()