Home
last modified time | relevance | path

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

12

/external/opencv3/3rdparty/libtiff/
Dtif_aux.c98 if (td->td_bitspersample >= sizeof(tmsize_t) * 8 - 2) in TIFFDefaultTransferFunction()
101 n = ((tmsize_t)1)<<td->td_bitspersample; in TIFFDefaultTransferFunction()
155 (float)((1L<<td->td_bitspersample)-1L); in TIFFDefaultRefBlackWhite()
181 *va_arg(ap, uint16 *) = td->td_bitspersample; in TIFFVGetFieldDefaulted()
218 *va_arg(ap, uint16 *) = (1<<td->td_bitspersample)-1; in TIFFVGetFieldDefaulted()
Dtif_strip.c123 …lingrow_size=TIFFhowmany8_64(_TIFFMultiply64(tif,samplingrow_samples,td->td_bitspersample,module)); in TIFFVStripSize64()
309 …grow_size = TIFFhowmany_64(_TIFFMultiply64(tif,samplingrow_samples,td->td_bitspersample,module),8); in TIFFScanlineSize64()
316 … scanline_size=TIFFhowmany_64(_TIFFMultiply64(tif,scanline_samples,td->td_bitspersample,module),8); in TIFFScanlineSize64()
320 …scanline_size=TIFFhowmany_64(_TIFFMultiply64(tif,td->td_imagewidth,td->td_bitspersample,module),8); in TIFFScanlineSize64()
352 scanline = _TIFFMultiply64(tif, td->td_bitspersample, td->td_imagewidth, module); in TIFFRasterScanlineSize64()
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()
113 switch (td->td_bitspersample) { in PredictorSetupDecode()
192 switch (td->td_bitspersample) { in PredictorSetupEncode()
373 uint32 bps = tif->tif_dir.td_bitspersample / 8; in fpAcc()
548 uint32 bps = tif->tif_dir.td_bitspersample / 8; in fpDiff()
Dtif_dir.c188 td->td_bitspersample = (uint16) va_arg(ap, uint16_vap); in _TIFFVSetField()
197 if (td->td_bitspersample == 8) in _TIFFVSetField()
199 else if (td->td_bitspersample == 16) in _TIFFVSetField()
201 else if (td->td_bitspersample == 24) in _TIFFVSetField()
203 else if (td->td_bitspersample == 32) in _TIFFVSetField()
205 else if (td->td_bitspersample == 64) in _TIFFVSetField()
207 else if (td->td_bitspersample == 128) /* two 64's */ in _TIFFVSetField()
318 v32 = (uint32)(1L<<td->td_bitspersample); in _TIFFVSetField()
381 && td->td_bitspersample == 32 in _TIFFVSetField()
386 && td->td_bitspersample == 64 in _TIFFVSetField()
[all …]
Dtif_thunder.c75 if( tif->tif_dir.td_bitspersample != 4 ) in ThunderSetupDecode()
79 (int) tif->tif_dir.td_bitspersample ); in ThunderSetupDecode()
Dtif_jpeg.c954 if( tif->tif_dir.td_bitspersample == 12 ) in JPEGSetupDecode()
1082 if (12 != td->td_bitspersample && 8 != td->td_bitspersample) { in JPEGPreDecode()
1086 sp->cinfo.d.data_precision = td->td_bitspersample; in JPEGPreDecode()
1087 sp->cinfo.d.bits_in_jsample = td->td_bitspersample; in JPEGPreDecode()
1089 if (sp->cinfo.d.data_precision != td->td_bitspersample) { in JPEGPreDecode()
1501 if( tif->tif_dir.td_bitspersample == 12 ) in JPEGSetupEncode()
1535 long top = 1L << td->td_bitspersample; in JPEGSetupEncode()
1569 if (td->td_bitspersample != 8 && td->td_bitspersample != 12) in JPEGSetupEncode()
1571 if (td->td_bitspersample != BITS_IN_JSAMPLE ) in JPEGSetupEncode()
1575 (int) td->td_bitspersample); in JPEGSetupEncode()
[all …]
Dtif_tile.c151 rowsize = _TIFFMultiply64(tif, td->td_bitspersample, td->td_tilewidth, in TIFFTileRowSize64()
219 …lingrow_size=TIFFhowmany8_64(_TIFFMultiply64(tif,samplingrow_samples,td->td_bitspersample,module)); in TIFFVTileSize64()
Dtif_pixarlog.c610 switch (td->td_bitspersample) { in PixarLogGuessDataFmt()
684 td->td_bitspersample); in PixarLogSetupDecode()
749 td->td_bitspersample); in PixarLogDecode()
848 td->td_bitspersample); in PixarLogDecode()
880 …ntdata, module, "PixarLog compression can't handle %d bit linear encodings", td->td_bitspersample); in PixarLogSetupEncode()
1113 td->td_bitspersample); in PixarLogEncode()
1139 td->td_bitspersample); in PixarLogEncode()
1222 td->td_bitspersample = 8; in PixarLogClose()
Dtif_print.c309 fprintf(fd, " Bits/Sample: %u\n", td->td_bitspersample); in TIFFPrintDirectory()
517 n = 1L<<td->td_bitspersample; in TIFFPrintDirectory()
538 n = 1L<<td->td_bitspersample; in TIFFPrintDirectory()
Dtif_lzma.c455 sp->opt_delta.dist = (tif->tif_dir.td_bitspersample % 8) ? in TIFFInitLZMA()
456 1 : tif->tif_dir.td_bitspersample / 8; in TIFFInitLZMA()
Dtif_dirwrite.c465 …WriteDirectoryTagShortPerSample(tif,&ndir,dir,TIFFTAG_BITSPERSAMPLE,tif->tif_dir.td_bitspersample)) in TIFFWriteDirectorySec()
945 if (tif->tif_dir.td_bitspersample<=32) in TIFFWriteDirectoryTagSampleformatArray()
957 if (tif->tif_dir.td_bitspersample<=8) in TIFFWriteDirectoryTagSampleformatArray()
963 else if (tif->tif_dir.td_bitspersample<=16) in TIFFWriteDirectoryTagSampleformatArray()
977 if (tif->tif_dir.td_bitspersample<=8) in TIFFWriteDirectoryTagSampleformatArray()
983 else if (tif->tif_dir.td_bitspersample<=16) in TIFFWriteDirectoryTagSampleformatArray()
1011 if (tif->tif_dir.td_bitspersample<=32)
1016 if (tif->tif_dir.td_bitspersample<=8)
1018 else if (tif->tif_dir.td_bitspersample<=16)
1023 if (tif->tif_dir.td_bitspersample<=8)
[all …]
Dtif_dir.h72 uint16 td_bitspersample; member
/external/pdfium/third_party/libtiff/
Dtif_aux.c98 if (td->td_bitspersample >= sizeof(tmsize_t) * 8 - 2) in TIFFDefaultTransferFunction()
101 n = ((tmsize_t)1)<<td->td_bitspersample; in TIFFDefaultTransferFunction()
155 (float)((1L<<td->td_bitspersample)-1L); in TIFFDefaultRefBlackWhite()
181 *va_arg(ap, uint16 *) = td->td_bitspersample; in TIFFVGetFieldDefaulted()
218 *va_arg(ap, uint16 *) = (1<<td->td_bitspersample)-1; in TIFFVGetFieldDefaulted()
Dtif_strip.c123 …samplingrow_size=TIFFhowmany8_64(_TIFFMultiply64(tif,samplingrow_samples,td->td_bitspersample,modu… in TIFFVStripSize64()
309 …samplingrow_size = TIFFhowmany_64(_TIFFMultiply64(tif,samplingrow_samples,td->td_bitspersample,mod… in TIFFScanlineSize64()
316 … scanline_size=TIFFhowmany_64(_TIFFMultiply64(tif,scanline_samples,td->td_bitspersample,module),8); in TIFFScanlineSize64()
321 …scanline_size=TIFFhowmany_64(_TIFFMultiply64(tif,td->td_imagewidth,td->td_bitspersample,module),8); in TIFFScanlineSize64()
358 scanline = _TIFFMultiply64(tif, td->td_bitspersample, td->td_imagewidth, module); in TIFFRasterScanlineSize64()
Dtif_predict.c67 if (td->td_bitspersample != 8 in PredictorSetup()
68 && td->td_bitspersample != 16 in PredictorSetup()
69 && td->td_bitspersample != 32) { in PredictorSetup()
72 td->td_bitspersample); in PredictorSetup()
115 switch (td->td_bitspersample) { in PredictorSetupDecode()
194 switch (td->td_bitspersample) { in PredictorSetupEncode()
380 uint32 bps = tif->tif_dir.td_bitspersample / 8; in fpAcc()
578 uint32 bps = tif->tif_dir.td_bitspersample / 8; in fpDiff()
Dtif_next.c153 if( td->td_bitspersample != 2 ) in NeXTPreDecode()
156 td->td_bitspersample); in NeXTPreDecode()
Dtif_dir.c190 td->td_bitspersample = (uint16) va_arg(ap, uint16_vap); in _TIFFVSetField()
199 if (td->td_bitspersample == 8) in _TIFFVSetField()
201 else if (td->td_bitspersample == 16) in _TIFFVSetField()
203 else if (td->td_bitspersample == 24) in _TIFFVSetField()
205 else if (td->td_bitspersample == 32) in _TIFFVSetField()
207 else if (td->td_bitspersample == 64) in _TIFFVSetField()
209 else if (td->td_bitspersample == 128) /* two 64's */ in _TIFFVSetField()
326 v32 = (uint32)(1L<<td->td_bitspersample); in _TIFFVSetField()
389 && td->td_bitspersample == 32 in _TIFFVSetField()
394 && td->td_bitspersample == 64 in _TIFFVSetField()
[all …]
Dtif_thunder.c75 if( tif->tif_dir.td_bitspersample != 4 ) in ThunderSetupDecode()
79 (int) tif->tif_dir.td_bitspersample ); in ThunderSetupDecode()
Dtif_jpeg.c974 if( tif->tif_dir.td_bitspersample == 12 ) in JPEGSetupDecode()
1102 if (12 != td->td_bitspersample && 8 != td->td_bitspersample) { in JPEGPreDecode()
1106 sp->cinfo.d.data_precision = td->td_bitspersample; in JPEGPreDecode()
1107 sp->cinfo.d.bits_in_jsample = td->td_bitspersample; in JPEGPreDecode()
1109 if (sp->cinfo.d.data_precision != td->td_bitspersample) { in JPEGPreDecode()
1592 if( tif->tif_dir.td_bitspersample == 12 ) in JPEGSetupEncode()
1647 long top = 1L << td->td_bitspersample; in JPEGSetupEncode()
1681 if (td->td_bitspersample != 8 && td->td_bitspersample != 12) in JPEGSetupEncode()
1683 if (td->td_bitspersample != BITS_IN_JSAMPLE ) in JPEGSetupEncode()
1687 (int) td->td_bitspersample); in JPEGSetupEncode()
[all …]
Dtif_pixarlog.c610 switch (td->td_bitspersample) { in PixarLogGuessDataFmt()
700 td->td_bitspersample); in PixarLogSetupDecode()
765 td->td_bitspersample); in PixarLogDecode()
864 td->td_bitspersample); in PixarLogDecode()
896 …ntdata, module, "PixarLog compression can't handle %d bit linear encodings", td->td_bitspersample); in PixarLogSetupEncode()
1129 td->td_bitspersample); in PixarLogEncode()
1155 td->td_bitspersample); in PixarLogEncode()
1238 td->td_bitspersample = 8; in PixarLogClose()
Dtif_tile.c161 rowsize = _TIFFMultiply64(tif, td->td_bitspersample, td->td_tilewidth, in TIFFTileRowSize64()
242 …samplingrow_size=TIFFhowmany8_64(_TIFFMultiply64(tif,samplingrow_samples,td->td_bitspersample,modu… in TIFFVTileSize64()
Dtif_print.c311 fprintf(fd, " Bits/Sample: %u\n", td->td_bitspersample); in TIFFPrintDirectory()
519 n = 1L<<td->td_bitspersample; in TIFFPrintDirectory()
540 n = 1L<<td->td_bitspersample; in TIFFPrintDirectory()
Dtif_dirwrite.c465 …WriteDirectoryTagShortPerSample(tif,&ndir,dir,TIFFTAG_BITSPERSAMPLE,tif->tif_dir.td_bitspersample)) in TIFFWriteDirectorySec()
945 if (tif->tif_dir.td_bitspersample<=32) in TIFFWriteDirectoryTagSampleformatArray()
957 if (tif->tif_dir.td_bitspersample<=8) in TIFFWriteDirectoryTagSampleformatArray()
963 else if (tif->tif_dir.td_bitspersample<=16) in TIFFWriteDirectoryTagSampleformatArray()
977 if (tif->tif_dir.td_bitspersample<=8) in TIFFWriteDirectoryTagSampleformatArray()
983 else if (tif->tif_dir.td_bitspersample<=16) in TIFFWriteDirectoryTagSampleformatArray()
1011 if (tif->tif_dir.td_bitspersample<=32)
1016 if (tif->tif_dir.td_bitspersample<=8)
1018 else if (tif->tif_dir.td_bitspersample<=16)
1023 if (tif->tif_dir.td_bitspersample<=8)
[all …]
Dtif_dir.h72 uint16 td_bitspersample; member
Dtif_getimage.c86 switch (td->td_bitspersample) { in TIFFRGBAImageOK()
95 td->td_bitspersample); in TIFFRGBAImageOK()
118 && td->td_bitspersample < 8 ) { in TIFFRGBAImageOK()
124 td->td_bitspersample); in TIFFRGBAImageOK()
194 if( td->td_samplesperpixel != 3 || td->td_bitspersample != 8 ) in TIFFRGBAImageOK()
199 "Bits/sample", td->td_bitspersample); in TIFFRGBAImageOK()

12