/external/pdfium/third_party/libtiff/ |
D | tif_flush.c | 105 if( !(tif->tif_dir.td_stripoffset_entry.tdir_tag != 0 && in TIFFForceStrileArrayWriting() 106 tif->tif_dir.td_stripoffset_entry.tdir_count == 0 && in TIFFForceStrileArrayWriting() 107 tif->tif_dir.td_stripoffset_entry.tdir_type == 0 && in TIFFForceStrileArrayWriting() 108 tif->tif_dir.td_stripoffset_entry.tdir_offset.toff_long8 == 0 && in TIFFForceStrileArrayWriting() 109 tif->tif_dir.td_stripbytecount_entry.tdir_tag != 0 && in TIFFForceStrileArrayWriting() 110 tif->tif_dir.td_stripbytecount_entry.tdir_count == 0 && in TIFFForceStrileArrayWriting() 111 tif->tif_dir.td_stripbytecount_entry.tdir_type == 0 && in TIFFForceStrileArrayWriting() 112 tif->tif_dir.td_stripbytecount_entry.tdir_offset.toff_long8 == 0) ) in TIFFForceStrileArrayWriting() 120 if (tif->tif_dir.td_stripoffset_p == NULL && !TIFFSetupStrips(tif)) in TIFFForceStrileArrayWriting() 128 tif->tif_dir.td_nstrips, in TIFFForceStrileArrayWriting() [all …]
|
D | tif_dirwrite.c | 225 tif->tif_dir.td_deferstrilearraywriting = TRUE; in TIFFDeferStrileArrayWriting() 240 if (tif->tif_dir.td_stripoffset_p == NULL) in TIFFCheckpointDirectory() 475 … if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_IMAGEWIDTH,tif->tif_dir.td_imagewidth)) in TIFFWriteDirectorySec() 477 …if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_IMAGELENGTH,tif->tif_dir.td_imagelength)) in TIFFWriteDirectorySec() 482 if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_TILEWIDTH,tif->tif_dir.td_tilewidth)) in TIFFWriteDirectorySec() 484 … if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_TILELENGTH,tif->tif_dir.td_tilelength)) in TIFFWriteDirectorySec() 489 … if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_XRESOLUTION,tif->tif_dir.td_xresolution)) in TIFFWriteDirectorySec() 491 … if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_YRESOLUTION,tif->tif_dir.td_yresolution)) in TIFFWriteDirectorySec() 496 if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_XPOSITION,tif->tif_dir.td_xposition)) in TIFFWriteDirectorySec() 498 if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_YPOSITION,tif->tif_dir.td_yposition)) in TIFFWriteDirectorySec() [all …]
|
D | 0028-nstrips-OOM.patch | 17 + if (tif->tif_dir.td_nstrips > INT_MAX) { 20 + tif->tif_dir.td_nstrips, 24 tif->tif_dir.td_stripsperimage = tif->tif_dir.td_nstrips; 25 if (tif->tif_dir.td_planarconfig == PLANARCONFIG_SEPARATE) 26 tif->tif_dir.td_stripsperimage /= tif->tif_dir.td_samplesperpixel;
|
D | tif_write.c | 65 td = &tif->tif_dir; in TIFFWriteScanline() 185 TIFFDirectory *td = &tif->tif_dir; in _TIFFReserveLargeEnoughWriteBuffer() 215 TIFFDirectory *td = &tif->tif_dir; in TIFFWriteEncodedStrip() 319 TIFFDirectory *td = &tif->tif_dir; in TIFFWriteRawStrip() 400 td = &tif->tif_dir; in TIFFWriteEncodedTile() 509 if (tile >= tif->tif_dir.td_nstrips) { in TIFFWriteRawTile() 512 (unsigned long) tif->tif_dir.td_nstrips); in TIFFWriteRawTile() 520 (TIFFFieldSet(tif,f) && (tif)->tif_dir.td_imagelength == 0) 525 TIFFDirectory* td = &tif->tif_dir; in TIFFSetupStrips() 595 if (tif->tif_dir.td_samplesperpixel == 1) { in TIFFWriteCheck() [all …]
|
D | tif_dirread.c | 2835 if (direntry->tdir_count<(uint64)tif->tif_dir.td_samplesperpixel) in TIFFReadDirEntryPersampleShort() 2841 nb=tif->tif_dir.td_samplesperpixel; in TIFFReadDirEntryPersampleShort() 2864 if (direntry->tdir_count<(uint64)tif->tif_dir.td_samplesperpixel) 2870 nb=tif->tif_dir.td_samplesperpixel; 3550 if ( tif->tif_dir.td_compression != COMPRESSION_NONE ) in ByteCountLooksBad() 3558 if( tif->tif_dir.td_imagelength > 0 && in ByteCountLooksBad() 3559 scanlinesize > TIFF_UINT64_MAX / tif->tif_dir.td_imagelength ) in ByteCountLooksBad() 3563 if( bytecount < scanlinesize * tif->tif_dir.td_imagelength) in ByteCountLooksBad() 3765 if ((tif->tif_dir.td_compression==COMPRESSION_OJPEG)&& in TIFFReadDirectory() 3766 (tif->tif_dir.td_planarconfig==PLANARCONFIG_SEPARATE)) in TIFFReadDirectory() [all …]
|
D | tif_tile.c | 38 TIFFDirectory *td = &tif->tif_dir; in TIFFComputeTile() 75 TIFFDirectory *td = &tif->tif_dir; in TIFFCheckTile() 115 TIFFDirectory *td = &tif->tif_dir; in TIFFNumberOfTiles() 145 TIFFDirectory *td = &tif->tif_dir; in TIFFTileRowSize64() 195 TIFFDirectory *td = &tif->tif_dir; in TIFFVTileSize64() 254 return (TIFFVTileSize64(tif, tif->tif_dir.td_tilelength)); in TIFFTileSize64()
|
D | tif_strip.c | 39 TIFFDirectory *td = &tif->tif_dir; in TIFFComputeStrip() 61 TIFFDirectory *td = &tif->tif_dir; in TIFFNumberOfStrips() 79 TIFFDirectory *td = &tif->tif_dir; in TIFFVStripSize64() 195 TIFFDirectory* td = &tif->tif_dir; in TIFFStripSize64() 260 TIFFDirectory *td = &tif->tif_dir; in TIFFScanlineSize64() 332 TIFFDirectory *td = &tif->tif_dir; in TIFFRasterScanlineSize64()
|
D | tif_next.c | 106 uint32 imagewidth = tif->tif_dir.td_imagewidth; in NeXTDecode() 108 imagewidth = tif->tif_dir.td_tilewidth; in NeXTDecode() 156 TIFFDirectory *td = &tif->tif_dir; in NeXTPreDecode()
|
D | tif_thunder.c | 73 if( tif->tif_dir.td_bitspersample != 4 ) in ThunderSetupDecode() 77 (int) tif->tif_dir.td_bitspersample ); in ThunderSetupDecode() 179 if (!ThunderDecode(tif, row, tif->tif_dir.td_imagewidth)) in ThunderDecodeRow()
|
D | tif_compress.c | 35 const TIFFCodec* c = TIFFFindCODEC(tif->tif_dir.td_compression); in TIFFNoEncode() 44 tif->tif_dir.td_compression, method); in TIFFNoEncode() 73 const TIFFCodec* c = TIFFFindCODEC(tif->tif_dir.td_compression); in TIFFNoDecode() 82 tif->tif_dir.td_compression, method); in TIFFNoDecode()
|
D | tif_jpeg.c | 754 if ((tif->tif_dir.td_photometric==PHOTOMETRIC_YCBCR)&& in JPEGFixupTags() 755 (tif->tif_dir.td_planarconfig==PLANARCONFIG_CONTIG)&& in JPEGFixupTags() 756 (tif->tif_dir.td_samplesperpixel==3) && in JPEGFixupTags() 893 if (n!=8+data->tif->tif_dir.td_samplesperpixel*3) in JPEGFixupTagsSubsamplingSec() 901 for (o=1; o<data->tif->tif_dir.td_samplesperpixel; o++) in JPEGFixupTagsSubsamplingSec() 920 …if ((ph!=data->tif->tif_dir.td_ycbcrsubsampling[0])||(pv!=data->tif->tif_dir.td_ycbcrsubsampling[1… in JPEGFixupTagsSubsamplingSec() 924 (int)data->tif->tif_dir.td_ycbcrsubsampling[0], in JPEGFixupTagsSubsamplingSec() 925 (int)data->tif->tif_dir.td_ycbcrsubsampling[1], in JPEGFixupTagsSubsamplingSec() 927 data->tif->tif_dir.td_ycbcrsubsampling[0]=ph; in JPEGFixupTagsSubsamplingSec() 928 data->tif->tif_dir.td_ycbcrsubsampling[1]=pv; in JPEGFixupTagsSubsamplingSec() [all …]
|
D | tif_extension.c | 37 TIFFDirectory* td = &tif->tif_dir; in TIFFGetTagListCount() 45 TIFFDirectory* td = &tif->tif_dir; in TIFFGetTagListEntry()
|
D | tif_read.c | 187 register TIFFDirectory *td = &tif->tif_dir; in TIFFFillStripPartial() 302 if( tif->tif_dir.td_compression==COMPRESSION_JPEG && in TIFFFillStripPartial() 331 register TIFFDirectory *td = &tif->tif_dir; in TIFFSeek() 491 TIFFDirectory *td = &tif->tif_dir; in TIFFReadEncodedStripGetStripSize() 530 TIFFDirectory *td = &tif->tif_dir; in TIFFReadEncodedStrip() 727 TIFFDirectory *td = &tif->tif_dir; in TIFFReadRawStrip() 771 TIFFDirectory *td = &tif->tif_dir; in TIFFFillStrip() 983 TIFFDirectory *td = &tif->tif_dir; in TIFFReadEncodedTile() 1055 TIFFDirectory *td = &tif->tif_dir; in _TIFFReadEncodedTileAndAllocBuffer() 1172 TIFFDirectory *td = &tif->tif_dir; in TIFFReadRawTile() [all …]
|
D | tif_codec.c | 114 const TIFFCodec* c = TIFFFindCODEC(tif->tif_dir.td_compression); in _notConfigured() 117 sprintf(compression_code, "%d",tif->tif_dir.td_compression ); in _notConfigured()
|
D | tif_ojpeg.c | 554 tif->tif_dir.td_ycbcrsubsampling[0]=sp->subsampling_hor; in OJPEGVSetField() 555 tif->tif_dir.td_ycbcrsubsampling[1]=sp->subsampling_ver; in OJPEGVSetField() 705 sp->write_curstrile=s*tif->tif_dir.td_stripsperimage; in OJPEGPreDecode() 943 if (sp->write_curstrile%tif->tif_dir.td_stripsperimage==0) in OJPEGPostDecode() 1043 if ((tif->tif_dir.td_samplesperpixel!=3) || ((tif->tif_dir.td_photometric!=PHOTOMETRIC_YCBCR) && in OJPEGSubsamplingCorrect() 1044 (tif->tif_dir.td_photometric!=PHOTOMETRIC_ITULAB))) in OJPEGSubsamplingCorrect() 1094 sp->image_width=tif->tif_dir.td_imagewidth; in OJPEGReadHeaderInfo() 1095 sp->image_length=tif->tif_dir.td_imagelength; in OJPEGReadHeaderInfo() 1098 sp->strile_width=tif->tif_dir.td_tilewidth; in OJPEGReadHeaderInfo() 1099 sp->strile_length=tif->tif_dir.td_tilelength; in OJPEGReadHeaderInfo() [all …]
|
D | tif_predict.c | 58 TIFFDirectory* td = &tif->tif_dir; in PredictorSetup() 116 TIFFDirectory* td = &tif->tif_dir; in PredictorSetupDecode() 198 TIFFDirectory* td = &tif->tif_dir; in PredictorSetupEncode() 413 uint32 bps = tif->tif_dir.td_bitspersample / 8; in fpAcc() 649 uint32 bps = tif->tif_dir.td_bitspersample / 8; in fpDiff()
|
D | tif_fax3.c | 162 TIFFGetBitRevTable(tif->tif_dir.td_fillorder != FILLORDER_LSB2MSB); in Fax3PreDecode() 504 TIFFDirectory* td = &tif->tif_dir; in Fax3SetupState() 768 float res = tif->tif_dir.td_yresolution; in Fax3PreEncode() 779 if (tif->tif_dir.td_resolutionunit == RESUNIT_CENTIMETER) in Fax3PreEncode() 1209 if (tif->tif_dir.td_compression == COMPRESSION_CCITTFAX3) in Fax3VSetField() 1214 if (tif->tif_dir.td_compression == COMPRESSION_CCITTFAX4) in Fax3VSetField() 1282 if (tif->tif_dir.td_compression == COMPRESSION_CCITTFAX4) { in Fax3PrintDir()
|
D | tif_dir.c | 97 TIFFDirectory* td = &tif->tif_dir; in setExtraSamples() 146 TIFFDirectory* td = &tif->tif_dir; in checkInkNamesString() 174 TIFFDirectory* td = &tif->tif_dir; in _TIFFVSetField() 824 TIFFDirectory* td = &tif->tif_dir; in TIFFUnsetField() 874 TIFFDirectory* td = &tif->tif_dir; in _TIFFVGetField() 1269 TIFFDirectory *td = &tif->tif_dir; in TIFFFreeDirectory() 1373 register TIFFDirectory* td = &tif->tif_dir; in TIFFDefaultDirectory()
|
D | tif_dir.h | 195 #define BITFIELDn(tif, n) ((tif)->tif_dir.td_fieldsset[(n)/32])
|
D | tif_luv.c | 1282 TIFFDirectory *td = &tif->tif_dir; in LogL16InitState() 1384 TIFFDirectory* td = &tif->tif_dir; in LogLuvInitState() 1442 TIFFDirectory* td = &tif->tif_dir; in LogLuvSetupDecode() 1504 TIFFDirectory* td = &tif->tif_dir; in LogLuvSetupEncode() 1573 TIFFDirectory *td = &tif->tif_dir; in LogLuvClose()
|
D | tif_pixarlog.c | 667 TIFFDirectory *td = &tif->tif_dir; in PixarLogSetupDecode() 755 TIFFDirectory *td = &tif->tif_dir; in PixarLogDecode() 900 TIFFDirectory *td = &tif->tif_dir; in PixarLogSetupEncode() 1119 TIFFDirectory *td = &tif->tif_dir; in PixarLogEncode() 1251 TIFFDirectory *td = &tif->tif_dir; in PixarLogClose()
|
D | tif_aux.c | 210 TIFFDirectory *td = &tif->tif_dir; in TIFFVGetFieldDefaulted()
|
D | tif_dirinfo.c | 988 switch (tif->tif_dir.td_compression) { in _TIFFCheckFieldIsValidForCodec() 1028 if (tif->tif_dir.td_compression == COMPRESSION_CCITTFAX3) in _TIFFCheckFieldIsValidForCodec() 1032 if (tif->tif_dir.td_compression == COMPRESSION_CCITTFAX4) in _TIFFCheckFieldIsValidForCodec()
|
D | tiffiop.h | 150 TIFFDirectory tif_dir; /* internal rep of current directory */ member
|
D | tif_print.c | 236 TIFFDirectory *td = &tif->tif_dir; in TIFFPrintDirectory()
|