/external/pdfium/third_party/libtiff/ |
D | tif_strip.c | 46 if (sample >= td->td_samplesperpixel) { in TIFFComputeStrip() 49 (unsigned long) sample, (unsigned long) td->td_samplesperpixel); in TIFFComputeStrip() 69 nstrips = _TIFFMultiply32(tif, nstrips, (uint32)td->td_samplesperpixel, in TIFFNumberOfStrips() 102 if(td->td_samplesperpixel!=3) in TIFFVStripSize64() 282 (td->td_samplesperpixel==3)&& in TIFFScanlineSize64() 290 if(td->td_samplesperpixel!=3) in TIFFScanlineSize64() 315 scanline_samples=_TIFFMultiply64(tif,td->td_imagewidth,td->td_samplesperpixel,module); in TIFFScanlineSize64() 360 scanline = _TIFFMultiply64(tif, scanline, td->td_samplesperpixel, module); in TIFFRasterScanlineSize64() 364 td->td_samplesperpixel, module)); in TIFFRasterScanlineSize64()
|
D | tif_tile.c | 101 s >= td->td_samplesperpixel) { in TIFFCheckTile() 105 (unsigned long) (td->td_samplesperpixel - 1)); in TIFFCheckTile() 135 ntiles = _TIFFMultiply32(tif, ntiles, td->td_samplesperpixel, in TIFFNumberOfTiles() 165 if (td->td_samplesperpixel == 0) in TIFFTileRowSize64() 170 rowsize = _TIFFMultiply64(tif, rowsize, td->td_samplesperpixel, in TIFFTileRowSize64() 210 (td->td_samplesperpixel==3)&& in TIFFVTileSize64()
|
D | tif_dir.c | 102 if ((uint16) *v > td->td_samplesperpixel) in setExtraSamples() 136 uint16 i = td->td_samplesperpixel; in checkInkNamesString() 153 td->td_samplesperpixel, in checkInkNamesString() 154 td->td_samplesperpixel-i); in checkInkNamesString() 269 if( v != td->td_samplesperpixel ) in _TIFFVSetField() 291 td->td_samplesperpixel = (uint16) v; in _TIFFVSetField() 311 _TIFFsetDoubleArray(&td->td_sminsamplevalue, va_arg(ap, double*), td->td_samplesperpixel); in _TIFFVSetField() 313 setDoubleArrayOneValue(&td->td_sminsamplevalue, va_arg(ap, double), td->td_samplesperpixel); in _TIFFVSetField() 317 _TIFFsetDoubleArray(&td->td_smaxsamplevalue, va_arg(ap, double*), td->td_samplesperpixel); in _TIFFVSetField() 319 setDoubleArrayOneValue(&td->td_smaxsamplevalue, va_arg(ap, double), td->td_samplesperpixel); in _TIFFVSetField() [all …]
|
D | tif_print.c | 394 i = td->td_samplesperpixel; in TIFFPrintDirectory() 472 fprintf(fd, " Samples/Pixel: %u\n", td->td_samplesperpixel); in TIFFPrintDirectory() 486 int count = (tif->tif_flags & TIFF_PERSAMPLE) ? td->td_samplesperpixel : 1; in TIFFPrintDirectory() 494 int count = (tif->tif_flags & TIFF_PERSAMPLE) ? td->td_samplesperpixel : 1; in TIFFPrintDirectory() 549 for (i = 1; i < td->td_samplesperpixel; i++) in TIFFPrintDirectory() 609 value_count = td->td_samplesperpixel; in TIFFPrintDirectory()
|
D | tif_dirwrite.c | 496 …!TIFFWriteDirectoryTagShort(tif,&ndir,dir,TIFFTAG_SAMPLESPERPIXEL,tif->tif_dir.td_samplesperpixel)) in TIFFWriteDirectorySec() 590 …mpleformatArray(tif,&ndir,dir,TIFFTAG_SMINSAMPLEVALUE,tif->tif_dir.td_samplesperpixel,tif->tif_dir… in TIFFWriteDirectorySec() 595 …mpleformatArray(tif,&ndir,dir,TIFFTAG_SMAXSAMPLEVALUE,tif->tif_dir.td_samplesperpixel,tif->tif_dir… in TIFFWriteDirectorySec() 1173 m=_TIFFmalloc(tif->tif_dir.td_samplesperpixel*sizeof(uint8)); 1179 for (na=m, nb=0; nb<tif->tif_dir.td_samplesperpixel; na++, nb++) 1181 o=TIFFWriteDirectoryTagCheckedByteArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m); 1225 m=_TIFFmalloc(tif->tif_dir.td_samplesperpixel*sizeof(int8)); 1231 for (na=m, nb=0; nb<tif->tif_dir.td_samplesperpixel; na++, nb++) 1233 o=TIFFWriteDirectoryTagCheckedSbyteArray(tif,ndir,dir,tag,tif->tif_dir.td_samplesperpixel,m); 1274 m=_TIFFmalloc(tif->tif_dir.td_samplesperpixel*sizeof(uint16)); in TIFFWriteDirectoryTagShortPerSample() [all …]
|
D | tif_write.c | 85 if (sample >= td->td_samplesperpixel) { in TIFFWriteScanline() 88 (unsigned long) sample, (unsigned long) td->td_samplesperpixel); in TIFFWriteScanline() 534 td->td_samplesperpixel : TIFFNumberOfTiles(tif); in TIFFSetupStrips() 538 td->td_samplesperpixel : TIFFNumberOfStrips(tif); in TIFFSetupStrips() 541 td->td_stripsperimage /= td->td_samplesperpixel; in TIFFSetupStrips() 597 if (tif->tif_dir.td_samplesperpixel == 1) { in TIFFWriteCheck()
|
D | tif_aux.c | 112 if (td->td_samplesperpixel - td->td_extrasamples > 1) { in TIFFDefaultTransferFunction() 197 *va_arg(ap, uint16 *) = td->td_samplesperpixel; in TIFFVGetFieldDefaulted() 291 if (td->td_samplesperpixel - td->td_extrasamples > 1) { in TIFFVGetFieldDefaulted()
|
D | 0028-nstrips-OOM.patch | 26 tif->tif_dir.td_stripsperimage /= tif->tif_dir.td_samplesperpixel;
|
D | tif_jpeg.c | 711 (tif->tif_dir.td_samplesperpixel==3) && in JPEGFixupTags() 851 if (n!=8+data->tif->tif_dir.td_samplesperpixel*3) in JPEGFixupTagsSubsamplingSec() 859 for (o=1; o<data->tif->tif_dir.td_samplesperpixel; o++) in JPEGFixupTagsSubsamplingSec() 1099 td->td_samplesperpixel : 1)) { in JPEGPreDecode() 1611 sp->cinfo.c.input_components = td->td_samplesperpixel; in JPEGSetupEncode() 1619 …OMETRIC_MINISWHITE || td->td_photometric == PHOTOMETRIC_MINISBLACK) && td->td_samplesperpixel == 1) in JPEGSetupEncode() 1621 else if (td->td_photometric == PHOTOMETRIC_RGB && td->td_samplesperpixel == 3) in JPEGSetupEncode() 1623 else if (td->td_photometric == PHOTOMETRIC_SEPARATED && td->td_samplesperpixel == 4) in JPEGSetupEncode() 1806 sp->cinfo.c.input_components = td->td_samplesperpixel; in JPEGPreEncode()
|
D | tif_getimage.c | 103 colorchannels = td->td_samplesperpixel - td->td_extrasamples; in TIFFRGBAImageOK() 122 && td->td_samplesperpixel != 1 in TIFFRGBAImageOK() 128 "Samples/pixel", td->td_samplesperpixel, in TIFFRGBAImageOK() 163 if (td->td_samplesperpixel < 4) { in TIFFRGBAImageOK() 166 "Samples/pixel", td->td_samplesperpixel); in TIFFRGBAImageOK() 190 if ( td->td_samplesperpixel != 3 || colorchannels != 3 ) { in TIFFRGBAImageOK() 193 "Samples/pixel", td->td_samplesperpixel, in TIFFRGBAImageOK() 199 … if ( td->td_samplesperpixel != 3 || colorchannels != 3 || td->td_bitspersample != 8 ) { in TIFFRGBAImageOK() 202 "Samples/pixel", td->td_samplesperpixel, in TIFFRGBAImageOK()
|
D | tif_dir.h | 79 uint16 td_samplesperpixel; member
|
D | tif_luv.c | 1252 switch (PACK(td->td_samplesperpixel, td->td_bitspersample, td->td_sampleformat)) { in LogL16GuessDataFmt() 1289 if( td->td_samplesperpixel != 1 ) in LogL16InitState() 1293 "Samples/pixel", td->td_samplesperpixel); in LogL16InitState() 1365 switch (td->td_samplesperpixel) { in LogLuvGuessDataFmt() 1587 td->td_samplesperpixel = in LogLuvClose()
|
D | tif_dirread.c | 2732 if (direntry->tdir_count<(uint64)tif->tif_dir.td_samplesperpixel) in TIFFReadDirEntryPersampleShort() 2738 nb=tif->tif_dir.td_samplesperpixel; in TIFFReadDirEntryPersampleShort() 2761 if (direntry->tdir_count<(uint64)tif->tif_dir.td_samplesperpixel) 2767 nb=tif->tif_dir.td_samplesperpixel; 3651 tif->tif_dir.td_stripsperimage /= tif->tif_dir.td_samplesperpixel; in TIFFReadDirectory() 3724 if (dp->tdir_count != (uint64)tif->tif_dir.td_samplesperpixel) in TIFFReadDirectory() 3937 if ( tif->tif_dir.td_bitspersample>=8 && tif->tif_dir.td_samplesperpixel==3) in TIFFReadDirectory() 3965 tif->tif_dir.td_nstrips != (uint32)tif->tif_dir.td_samplesperpixel)) { in TIFFReadDirectory() 4280 expected=(uint32)tif->tif_dir.td_samplesperpixel; in TIFFReadCustomDirectory() 4375 space /= td->td_samplesperpixel; in EstimateStripByteCounts()
|
D | tif_read.c | 313 if (sample >= td->td_samplesperpixel) { in TIFFSeek() 316 (unsigned long) sample, (unsigned long) td->td_samplesperpixel); in TIFFSeek()
|
D | tif_pixarlog.c | 692 td->td_samplesperpixel : 1); in PixarLogSetupDecode() 912 td->td_samplesperpixel : 1); in PixarLogSetupEncode()
|
D | tif_ojpeg.c | 1007 if ((tif->tif_dir.td_samplesperpixel!=3) || ((tif->tif_dir.td_photometric!=PHOTOMETRIC_YCBCR) && in OJPEGSubsamplingCorrect() 1072 if (tif->tif_dir.td_samplesperpixel==1) in OJPEGReadHeaderInfo() 1082 if (tif->tif_dir.td_samplesperpixel!=3) in OJPEGReadHeaderInfo()
|
D | tif_predict.c | 100 td->td_samplesperpixel : 1); in PredictorSetup()
|