Home
last modified time | relevance | path

Searched refs:td_bitspersample (Results 1 – 16 of 16) sorted by relevance

/external/pdfium/third_party/libtiff/
Dtif_predict.c65 if (td->td_bitspersample != 8 in PredictorSetup()
66 && td->td_bitspersample != 16 in PredictorSetup()
67 && td->td_bitspersample != 32) { in PredictorSetup()
70 td->td_bitspersample); in PredictorSetup()
81 if (td->td_bitspersample != 16 in PredictorSetup()
82 && td->td_bitspersample != 24 in PredictorSetup()
83 && td->td_bitspersample != 32 in PredictorSetup()
84 && td->td_bitspersample != 64) { /* Should 64 be allowed? */ in PredictorSetup()
87 td->td_bitspersample); in PredictorSetup()
125 switch (td->td_bitspersample) { in PredictorSetupDecode()
[all …]
Dtif_strip.c121 …samplingrow_size=TIFFhowmany8_64(_TIFFMultiply64(tif,samplingrow_samples,td->td_bitspersample,modu… in TIFFVStripSize64()
292 …samplingrow_size = TIFFhowmany_64(_TIFFMultiply64(tif,samplingrow_samples,td->td_bitspersample,mod… in TIFFScanlineSize64()
299 … scanline_size=TIFFhowmany_64(_TIFFMultiply64(tif,scanline_samples,td->td_bitspersample,module),8); in TIFFScanlineSize64()
304 …scanline_size=TIFFhowmany_64(_TIFFMultiply64(tif,td->td_imagewidth,td->td_bitspersample,module),8); in TIFFScanlineSize64()
335 scanline = _TIFFMultiply64(tif, td->td_bitspersample, td->td_imagewidth, module); in TIFFRasterScanlineSize64()
Dtif_aux.c132 if (td->td_bitspersample >= sizeof(tmsize_t) * 8 - 2) in TIFFDefaultTransferFunction()
135 n = ((tmsize_t)1)<<td->td_bitspersample; in TIFFDefaultTransferFunction()
193 (float)((1L<<td->td_bitspersample)-1L); in TIFFDefaultRefBlackWhite()
219 *va_arg(ap, uint16 *) = td->td_bitspersample; in TIFFVGetFieldDefaulted()
263 *va_arg(ap, uint16 *) = (1<<td->td_bitspersample)-1; in TIFFVGetFieldDefaulted()
Dtif_next.c159 if( td->td_bitspersample != 2 ) in NeXTPreDecode()
162 td->td_bitspersample); in NeXTPreDecode()
Dtif_thunder.c73 if( tif->tif_dir.td_bitspersample != 4 ) in ThunderSetupDecode()
77 (int) tif->tif_dir.td_bitspersample ); in ThunderSetupDecode()
Dtif_jpeg.c1018 if( tif->tif_dir.td_bitspersample == 12 ) in JPEGSetupDecode()
1069 if( tif->tif_dir.td_bitspersample == 12 ) in TIFFJPEGIsFullStripRequired()
1196 if (12 != td->td_bitspersample && 8 != td->td_bitspersample) { in JPEGPreDecode()
1200 sp->cinfo.d.data_precision = td->td_bitspersample; in JPEGPreDecode()
1201 sp->cinfo.d.bits_in_jsample = td->td_bitspersample; in JPEGPreDecode()
1203 if (sp->cinfo.d.data_precision != td->td_bitspersample) { in JPEGPreDecode()
1220 ((td->td_bitspersample+7)/8); in JPEGPreDecode()
1735 if( tif->tif_dir.td_bitspersample == 12 ) in JPEGSetupEncode()
1786 if( td->td_bitspersample > 16 ) in JPEGSetupEncode()
1790 td->td_bitspersample); in JPEGSetupEncode()
[all …]
Dtif_dir.c204 td->td_bitspersample = (uint16) va_arg(ap, uint16_vap); in _TIFFVSetField()
213 if (td->td_bitspersample == 8) in _TIFFVSetField()
215 else if (td->td_bitspersample == 16) in _TIFFVSetField()
217 else if (td->td_bitspersample == 24) in _TIFFVSetField()
219 else if (td->td_bitspersample == 32) in _TIFFVSetField()
221 else if (td->td_bitspersample == 64) in _TIFFVSetField()
223 else if (td->td_bitspersample == 128) /* two 64's */ in _TIFFVSetField()
374 v32 = (uint32)(1L<<td->td_bitspersample); in _TIFFVSetField()
437 && td->td_bitspersample == 32 in _TIFFVSetField()
442 && td->td_bitspersample == 64 in _TIFFVSetField()
[all …]
Dtif_tile.c159 rowsize = _TIFFMultiply64(tif, td->td_bitspersample, td->td_tilewidth, in TIFFTileRowSize64()
233 …samplingrow_size=TIFFhowmany8_64(_TIFFMultiply64(tif,samplingrow_samples,td->td_bitspersample,modu… in TIFFVTileSize64()
Dtif_pixarlog.c611 switch (td->td_bitspersample) { in PixarLogGuessDataFmt()
710 td->td_bitspersample); in PixarLogSetupDecode()
778 td->td_bitspersample); in PixarLogDecode()
888 td->td_bitspersample); in PixarLogDecode()
920 …ntdata, module, "PixarLog compression can't handle %d bit linear encodings", td->td_bitspersample); in PixarLogSetupEncode()
1144 td->td_bitspersample); in PixarLogEncode()
1177 td->td_bitspersample); in PixarLogEncode()
1272 td->td_bitspersample = 8; in PixarLogClose()
Dtif_print.c308 fprintf(fd, " Bits/Sample: %u\n", td->td_bitspersample); in TIFFPrintDirectory()
520 n = 1L<<td->td_bitspersample; in TIFFPrintDirectory()
542 n = 1L<<td->td_bitspersample; in TIFFPrintDirectory()
Dtif_dirwrite.c508 …WriteDirectoryTagShortPerSample(tif,&ndir,dir,TIFFTAG_BITSPERSAMPLE,tif->tif_dir.td_bitspersample)) in TIFFWriteDirectorySec()
1064 if (tif->tif_dir.td_bitspersample<=32) in TIFFWriteDirectoryTagSampleformatArray()
1076 if (tif->tif_dir.td_bitspersample<=8) in TIFFWriteDirectoryTagSampleformatArray()
1082 else if (tif->tif_dir.td_bitspersample<=16) in TIFFWriteDirectoryTagSampleformatArray()
1096 if (tif->tif_dir.td_bitspersample<=8) in TIFFWriteDirectoryTagSampleformatArray()
1102 else if (tif->tif_dir.td_bitspersample<=16) in TIFFWriteDirectoryTagSampleformatArray()
1130 if (tif->tif_dir.td_bitspersample<=32)
1135 if (tif->tif_dir.td_bitspersample<=8)
1137 else if (tif->tif_dir.td_bitspersample<=16)
1142 if (tif->tif_dir.td_bitspersample<=8)
[all …]
Dtif_dir.h75 uint16 td_bitspersample; member
Dtif_getimage.c85 switch (td->td_bitspersample) { in TIFFRGBAImageOK()
94 td->td_bitspersample); in TIFFRGBAImageOK()
121 && td->td_bitspersample < 8 ) { in TIFFRGBAImageOK()
127 td->td_bitspersample); in TIFFRGBAImageOK()
197 … if ( td->td_samplesperpixel != 3 || colorchannels != 3 || td->td_bitspersample != 8 ) { in TIFFRGBAImageOK()
202 "Bits/sample", td->td_bitspersample); in TIFFRGBAImageOK()
Dtif_luv.c1257 switch (PACK(td->td_samplesperpixel, td->td_bitspersample, td->td_sampleformat)) { in LogL16GuessDataFmt()
1338 switch (PACK(td->td_bitspersample, td->td_sampleformat)) { in LogLuvGuessDataFmt()
1590 td->td_bitspersample = 16; in LogLuvClose()
Dtif_dirread.c3945 if (tif->tif_dir.td_bitspersample > 24) in TIFFReadDirectory()
3951 tif->tif_dir.td_bitspersample); in TIFFReadDirectory()
3954 countpersample=(1U<<tif->tif_dir.td_bitspersample); in TIFFReadDirectory()
4147 if ( tif->tif_dir.td_bitspersample>=8 && tif->tif_dir.td_samplesperpixel==3) in TIFFReadDirectory()
4149 else if (tif->tif_dir.td_bitspersample>=8) in TIFFReadDirectory()
4229 if (tif->tif_dir.td_bitspersample>=16) in TIFFReadDirectory()
4232 tif->tif_dir.td_maxsamplevalue = (uint16)((1L<<tif->tif_dir.td_bitspersample)-1); in TIFFReadDirectory()
Dtif_fax3.c511 if (td->td_bitspersample != 1) { in Fax3SetupState()