Home
last modified time | relevance | path

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

/external/pdfium/third_party/libtiff/
Dtif_aux.c134 if (td->td_bitspersample >= sizeof(tmsize_t) * 8 - 2) in TIFFDefaultTransferFunction()
137 n = ((tmsize_t)1) << td->td_bitspersample; in TIFFDefaultTransferFunction()
200 (float)((1L << td->td_bitspersample) - 1L); in TIFFDefaultRefBlackWhite()
226 *va_arg(ap, uint16_t *) = td->td_bitspersample; in TIFFVGetFieldDefaulted()
252 if (td->td_bitspersample > 0) in TIFFVGetFieldDefaulted()
256 if (td->td_bitspersample <= 16) in TIFFVGetFieldDefaulted()
258 maxsamplevalue = (1 << td->td_bitspersample) - in TIFFVGetFieldDefaulted()
295 *va_arg(ap, uint16_t *) = (1 << td->td_bitspersample) - 1; in TIFFVGetFieldDefaulted()
Dtif_predict.c71 if (td->td_bitspersample != 8 && td->td_bitspersample != 16 && in PredictorSetup()
72 td->td_bitspersample != 32 && td->td_bitspersample != 64) in PredictorSetup()
77 td->td_bitspersample); in PredictorSetup()
91 if (td->td_bitspersample != 16 && td->td_bitspersample != 24 && in PredictorSetup()
92 td->td_bitspersample != 32 && td->td_bitspersample != 64) in PredictorSetup()
98 td->td_bitspersample); in PredictorSetup()
136 switch (td->td_bitspersample) in PredictorSetupDecode()
236 switch (td->td_bitspersample) in PredictorSetupEncode()
512 uint32_t bps = tif->tif_dir.td_bitspersample / 8; in fpAcc()
818 uint32_t bps = tif->tif_dir.td_bitspersample / 8; in fpDiff()
Dtif_strip.c123 tif, samplingrow_samples, td->td_bitspersample, module)); in TIFFVStripSize64()
283 td->td_bitspersample, module), in TIFFScanlineSize64()
294 td->td_bitspersample, module), in TIFFScanlineSize64()
302 td->td_bitspersample, module), in TIFFScanlineSize64()
333 _TIFFMultiply64(tif, td->td_bitspersample, td->td_imagewidth, module); in TIFFRasterScanlineSize64()
Dtif_next.c176 if (td->td_bitspersample != 2) in NeXTPreDecode()
179 td->td_bitspersample); in NeXTPreDecode()
Dtif_thunder.c73 if (tif->tif_dir.td_bitspersample != 4) in ThunderSetupDecode()
78 (int)tif->tif_dir.td_bitspersample); in ThunderSetupDecode()
Dtif_jpeg.c1111 if (tif->tif_dir.td_bitspersample == 12) in JPEGSetupDecode()
1170 if (tif->tif_dir.td_bitspersample == 12) in TIFFJPEGIsFullStripRequired()
1302 if (12 != td->td_bitspersample && 8 != td->td_bitspersample) in JPEGPreDecode()
1307 sp->cinfo.d.data_precision = td->td_bitspersample; in JPEGPreDecode()
1308 sp->cinfo.d.bits_in_jsample = td->td_bitspersample; in JPEGPreDecode()
1310 if (sp->cinfo.d.data_precision != td->td_bitspersample) in JPEGPreDecode()
1932 if (tif->tif_dir.td_bitspersample == 12) in JPEGSetupEncode()
2021 if (td->td_bitspersample > 16) in JPEGSetupEncode()
2025 td->td_bitspersample); in JPEGSetupEncode()
2039 long top = 1L << td->td_bitspersample; in JPEGSetupEncode()
[all …]
Dtif_dir.c256 td->td_bitspersample = (uint16_t)va_arg(ap, uint16_vap); in _TIFFVSetField()
266 if (td->td_bitspersample == 8) in _TIFFVSetField()
268 else if (td->td_bitspersample == 16) in _TIFFVSetField()
270 else if (td->td_bitspersample == 24) in _TIFFVSetField()
272 else if (td->td_bitspersample == 32) in _TIFFVSetField()
274 else if (td->td_bitspersample == 64) in _TIFFVSetField()
276 else if (td->td_bitspersample == 128) /* two 64's */ in _TIFFVSetField()
442 v32 = (uint32_t)(1L << td->td_bitspersample); in _TIFFVSetField()
523 td->td_bitspersample == 32 && in _TIFFVSetField()
528 td->td_bitspersample == 64 && in _TIFFVSetField()
[all …]
Dtif_tile.c157 rowsize = _TIFFMultiply64(tif, td->td_bitspersample, td->td_tilewidth, in TIFFTileRowSize64()
231 tif, samplingrow_samples, td->td_bitspersample, module)); in TIFFVTileSize64()
Dtif_pixarlog.c689 switch (td->td_bitspersample) in PixarLogGuessDataFmt()
790 td->td_bitspersample); in PixarLogSetupDecode()
861 td->td_bitspersample); in PixarLogDecode()
979 td->td_bitspersample); in PixarLogDecode()
1018 td->td_bitspersample); in PixarLogSetupEncode()
1322 td->td_bitspersample); in PixarLogEncode()
1356 td->td_bitspersample); in PixarLogEncode()
1463 td->td_bitspersample = 8; in PixarLogClose()
Dtif_print.c315 fprintf(fd, " Bits/Sample: %" PRIu16 "\n", td->td_bitspersample); in TIFFPrintDirectory()
557 n = 1L << td->td_bitspersample; in TIFFPrintDirectory()
581 n = 1L << td->td_bitspersample; in TIFFPrintDirectory()
Dtif_dir.h80 uint16_t td_bitspersample; member
Dtif_getimage.c95 switch (td->td_bitspersample) in TIFFRGBAImageOK()
107 td->td_bitspersample); in TIFFRGBAImageOK()
140 td->td_samplesperpixel != 1 && td->td_bitspersample < 8) in TIFFRGBAImageOK()
148 td->td_samplesperpixel, td->td_bitspersample); in TIFFRGBAImageOK()
233 (td->td_bitspersample != 8 && td->td_bitspersample != 16)) in TIFFRGBAImageOK()
240 td->td_bitspersample); in TIFFRGBAImageOK()
Dtif_dirwrite.c598 tif->tif_dir.td_bitspersample)) in TIFFWriteDirectorySec()
1323 if (tif->tif_dir.td_bitspersample <= 32) in TIFFWriteDirectoryTagSampleformatArray()
1337 if (tif->tif_dir.td_bitspersample <= 8) in TIFFWriteDirectoryTagSampleformatArray()
1344 else if (tif->tif_dir.td_bitspersample <= 16) in TIFFWriteDirectoryTagSampleformatArray()
1360 if (tif->tif_dir.td_bitspersample <= 8) in TIFFWriteDirectoryTagSampleformatArray()
1367 else if (tif->tif_dir.td_bitspersample <= 16) in TIFFWriteDirectoryTagSampleformatArray()
2037 m = (1 << tif->tif_dir.td_bitspersample); in TIFFWriteDirectoryTagColormap()
2066 m = (1 << tif->tif_dir.td_bitspersample); in TIFFWriteDirectoryTagTransferfunction()
Dtif_luv.c1313 PACK(td->td_samplesperpixel, td->td_bitspersample, td->td_sampleformat)) in LogL16GuessDataFmt()
1395 switch (PACK(td->td_bitspersample, td->td_sampleformat)) in LogLuvGuessDataFmt()
1665 td->td_bitspersample = 16; in LogLuvClose()
Dtif_dirread.c4459 if (tif->tif_dir.td_bitspersample > 24) in TIFFReadDirectory()
4466 tif->tif_dir.td_bitspersample); in TIFFReadDirectory()
4469 countpersample = (1U << tif->tif_dir.td_bitspersample); in TIFFReadDirectory()
4750 if (tif->tif_dir.td_bitspersample >= 8 && in TIFFReadDirectory()
4753 else if (tif->tif_dir.td_bitspersample >= 8) in TIFFReadDirectory()
4842 if (tif->tif_dir.td_bitspersample >= 16) in TIFFReadDirectory()
4846 (uint16_t)((1L << tif->tif_dir.td_bitspersample) - 1); in TIFFReadDirectory()
Dtif_fax3.c499 if (td->td_bitspersample != 1) in Fax3SetupState()