/external/opencv3/3rdparty/libtiff/ |
D | tif_aux.c | 98 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()
|
D | tif_strip.c | 123 …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()
|
D | tif_predict.c | 65 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()
|
D | tif_dir.c | 188 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 …]
|
D | tif_thunder.c | 75 if( tif->tif_dir.td_bitspersample != 4 ) in ThunderSetupDecode() 79 (int) tif->tif_dir.td_bitspersample ); in ThunderSetupDecode()
|
D | tif_jpeg.c | 954 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 …]
|
D | tif_tile.c | 151 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()
|
D | tif_pixarlog.c | 610 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()
|
D | tif_print.c | 309 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()
|
D | tif_lzma.c | 455 sp->opt_delta.dist = (tif->tif_dir.td_bitspersample % 8) ? in TIFFInitLZMA() 456 1 : tif->tif_dir.td_bitspersample / 8; in TIFFInitLZMA()
|
D | tif_dirwrite.c | 465 …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 …]
|
D | tif_dir.h | 72 uint16 td_bitspersample; member
|
/external/pdfium/third_party/libtiff/ |
D | tif_aux.c | 98 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()
|
D | tif_strip.c | 123 …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()
|
D | tif_predict.c | 67 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()
|
D | tif_next.c | 153 if( td->td_bitspersample != 2 ) in NeXTPreDecode() 156 td->td_bitspersample); in NeXTPreDecode()
|
D | tif_dir.c | 190 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 …]
|
D | tif_thunder.c | 75 if( tif->tif_dir.td_bitspersample != 4 ) in ThunderSetupDecode() 79 (int) tif->tif_dir.td_bitspersample ); in ThunderSetupDecode()
|
D | tif_jpeg.c | 974 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 …]
|
D | tif_pixarlog.c | 610 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()
|
D | tif_tile.c | 161 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()
|
D | tif_print.c | 311 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()
|
D | tif_dirwrite.c | 465 …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 …]
|
D | tif_dir.h | 72 uint16 td_bitspersample; member
|
D | tif_getimage.c | 86 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()
|