Home
last modified time | relevance | path

Searched refs:tif_dir (Results 1 – 25 of 27) sorted by relevance

12

/external/pdfium/third_party/libtiff/
Dtif_dirwrite.c198 if (tif->tif_dir.td_stripoffset == NULL) in TIFFCheckpointDirectory()
433 … if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_IMAGEWIDTH,tif->tif_dir.td_imagewidth)) in TIFFWriteDirectorySec()
435 …if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_IMAGELENGTH,tif->tif_dir.td_imagelength)) in TIFFWriteDirectorySec()
440 if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_TILEWIDTH,tif->tif_dir.td_tilewidth)) in TIFFWriteDirectorySec()
442 … if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_TILELENGTH,tif->tif_dir.td_tilelength)) in TIFFWriteDirectorySec()
447 … if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_XRESOLUTION,tif->tif_dir.td_xresolution)) in TIFFWriteDirectorySec()
449 … if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_YRESOLUTION,tif->tif_dir.td_yresolution)) in TIFFWriteDirectorySec()
454 if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_XPOSITION,tif->tif_dir.td_xposition)) in TIFFWriteDirectorySec()
456 if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_YPOSITION,tif->tif_dir.td_yposition)) in TIFFWriteDirectorySec()
461 if (!TIFFWriteDirectoryTagLong(tif,&ndir,dir,TIFFTAG_SUBFILETYPE,tif->tif_dir.td_subfiletype)) in TIFFWriteDirectorySec()
[all …]
D0028-nstrips-OOM.patch17 + 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;
Dtif_dirread.c2732 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;
3596 if ((tif->tif_dir.td_compression==COMPRESSION_OJPEG)&& in TIFFReadDirectory()
3597 (tif->tif_dir.td_planarconfig==PLANARCONFIG_SEPARATE)) in TIFFReadDirectory()
3608 tif->tif_dir.td_planarconfig=PLANARCONFIG_CONTIG; in TIFFReadDirectory()
3627 tif->tif_dir.td_nstrips = TIFFNumberOfStrips(tif); in TIFFReadDirectory()
3628 tif->tif_dir.td_tilewidth = tif->tif_dir.td_imagewidth; in TIFFReadDirectory()
3629 tif->tif_dir.td_tilelength = tif->tif_dir.td_rowsperstrip; in TIFFReadDirectory()
[all …]
Dtif_flush.c57 tif->tif_dir.td_nstrips, offsets ) in TIFFFlush()
59 tif->tif_dir.td_nstrips, sizes ) ) in TIFFFlush()
71 tif->tif_dir.td_nstrips, offsets ) in TIFFFlush()
73 tif->tif_dir.td_nstrips, sizes ) ) in TIFFFlush()
Dtif_write.c67 td = &tif->tif_dir; in TIFFWriteScanline()
191 TIFFDirectory *td = &tif->tif_dir; in TIFFWriteEncodedStrip()
309 TIFFDirectory *td = &tif->tif_dir; in TIFFWriteRawStrip()
390 td = &tif->tif_dir; in TIFFWriteEncodedTile()
513 if (tile >= tif->tif_dir.td_nstrips) { in TIFFWriteRawTile()
516 (unsigned long) tif->tif_dir.td_nstrips); in TIFFWriteRawTile()
524 (TIFFFieldSet(tif,f) && (tif)->tif_dir.td_imagelength == 0)
529 TIFFDirectory* td = &tif->tif_dir; in TIFFSetupStrips()
597 if (tif->tif_dir.td_samplesperpixel == 1) { in TIFFWriteCheck()
605 tif->tif_dir.td_planarconfig = PLANARCONFIG_CONTIG; in TIFFWriteCheck()
[all …]
Dtif_read.c169 register TIFFDirectory *td = &tif->tif_dir; in TIFFFillStripPartial()
176 if (!_TIFFFillStriles( tif ) || !tif->tif_dir.td_stripbytecount) in TIFFFillStripPartial()
297 register TIFFDirectory *td = &tif->tif_dir; in TIFFSeek()
328 if (!_TIFFFillStriles( tif ) || !tif->tif_dir.td_stripbytecount) in TIFFSeek()
330 whole_strip = tif->tif_dir.td_stripbytecount[strip] < 10 in TIFFSeek()
452 TIFFDirectory *td = &tif->tif_dir; in TIFFReadEncodedStripGetStripSize()
491 TIFFDirectory *td = &tif->tif_dir; in TIFFReadEncodedStrip()
574 TIFFDirectory *td = &tif->tif_dir; in TIFFReadRawStrip1()
654 TIFFDirectory *td = &tif->tif_dir; in TIFFReadRawStripOrTile2()
694 TIFFDirectory *td = &tif->tif_dir; in TIFFReadRawStrip()
[all …]
Dtif_strip.c41 TIFFDirectory *td = &tif->tif_dir; in TIFFComputeStrip()
63 TIFFDirectory *td = &tif->tif_dir; in TIFFNumberOfStrips()
81 TIFFDirectory *td = &tif->tif_dir; in TIFFVStripSize64()
152 TIFFDirectory* td = &tif->tif_dir; in TIFFRawStripSize64()
205 TIFFDirectory* td = &tif->tif_dir; in TIFFStripSize64()
277 TIFFDirectory *td = &tif->tif_dir; in TIFFScanlineSize64()
355 TIFFDirectory *td = &tif->tif_dir; in TIFFRasterScanlineSize64()
Dtif_tile.c40 TIFFDirectory *td = &tif->tif_dir; in TIFFComputeTile()
77 TIFFDirectory *td = &tif->tif_dir; in TIFFCheckTile()
117 TIFFDirectory *td = &tif->tif_dir; in TIFFNumberOfTiles()
147 TIFFDirectory *td = &tif->tif_dir; in TIFFTileRowSize64()
204 TIFFDirectory *td = &tif->tif_dir; in TIFFVTileSize64()
270 return (TIFFVTileSize64(tif, tif->tif_dir.td_tilelength)); in TIFFTileSize64()
Dtif_jpeg.c709 if ((tif->tif_dir.td_photometric==PHOTOMETRIC_YCBCR)&& in JPEGFixupTags()
710 (tif->tif_dir.td_planarconfig==PLANARCONFIG_CONTIG)&& in JPEGFixupTags()
711 (tif->tif_dir.td_samplesperpixel==3) && in JPEGFixupTags()
749 if( tif->tif_dir.td_stripbytecount == NULL in JPEGFixupTagsSubsampling()
750 || tif->tif_dir.td_stripoffset == NULL in JPEGFixupTagsSubsampling()
751 || tif->tif_dir.td_stripbytecount[0] == 0 ) in JPEGFixupTagsSubsampling()
770 m.fileoffset=tif->tif_dir.td_stripoffset[0]; in JPEGFixupTagsSubsampling()
772 m.filebytesleft=tif->tif_dir.td_stripbytecount[0]; in JPEGFixupTagsSubsampling()
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()
[all …]
Dtif_next.c108 uint32 imagewidth = tif->tif_dir.td_imagewidth; in NeXTDecode()
110 imagewidth = tif->tif_dir.td_tilewidth; in NeXTDecode()
158 TIFFDirectory *td = &tif->tif_dir; in NeXTPreDecode()
Dtif_thunder.c75 if( tif->tif_dir.td_bitspersample != 4 ) in ThunderSetupDecode()
79 (int) tif->tif_dir.td_bitspersample ); in ThunderSetupDecode()
181 if (!ThunderDecode(tif, row, tif->tif_dir.td_imagewidth)) in ThunderDecodeRow()
Dtif_compress.c37 const TIFFCodec* c = TIFFFindCODEC(tif->tif_dir.td_compression); in TIFFNoEncode()
46 tif->tif_dir.td_compression, method); in TIFFNoEncode()
75 const TIFFCodec* c = TIFFFindCODEC(tif->tif_dir.td_compression); in TIFFNoDecode()
84 tif->tif_dir.td_compression, method); in TIFFNoDecode()
Dtif_extension.c39 TIFFDirectory* td = &tif->tif_dir; in TIFFGetTagListCount()
47 TIFFDirectory* td = &tif->tif_dir; in TIFFGetTagListEntry()
Dtif_codec.c108 const TIFFCodec* c = TIFFFindCODEC(tif->tif_dir.td_compression); in _notConfigured()
111 sprintf(compression_code, "%d",tif->tif_dir.td_compression ); in _notConfigured()
Dtif_ojpeg.c555 tif->tif_dir.td_ycbcrsubsampling[0]=sp->subsampling_hor; in OJPEGVSetField()
556 tif->tif_dir.td_ycbcrsubsampling[1]=sp->subsampling_ver; in OJPEGVSetField()
706 sp->write_curstrile=s*tif->tif_dir.td_stripsperimage; in OJPEGPreDecode()
906 if (sp->write_curstrile%tif->tif_dir.td_stripsperimage==0) in OJPEGPostDecode()
1007 if ((tif->tif_dir.td_samplesperpixel!=3) || ((tif->tif_dir.td_photometric!=PHOTOMETRIC_YCBCR) && in OJPEGSubsamplingCorrect()
1008 (tif->tif_dir.td_photometric!=PHOTOMETRIC_ITULAB))) in OJPEGSubsamplingCorrect()
1058 sp->image_width=tif->tif_dir.td_imagewidth; in OJPEGReadHeaderInfo()
1059 sp->image_length=tif->tif_dir.td_imagelength; in OJPEGReadHeaderInfo()
1062 sp->strile_width=tif->tif_dir.td_tilewidth; in OJPEGReadHeaderInfo()
1063 sp->strile_length=tif->tif_dir.td_tilelength; in OJPEGReadHeaderInfo()
[all …]
Dtif_predict.c60 TIFFDirectory* td = &tif->tif_dir; in PredictorSetup()
118 TIFFDirectory* td = &tif->tif_dir; in PredictorSetupDecode()
200 TIFFDirectory* td = &tif->tif_dir; in PredictorSetupEncode()
412 uint32 bps = tif->tif_dir.td_bitspersample / 8; in fpAcc()
644 uint32 bps = tif->tif_dir.td_bitspersample / 8; in fpDiff()
Dtif_fax3.c164 TIFFGetBitRevTable(tif->tif_dir.td_fillorder != FILLORDER_LSB2MSB); in Fax3PreDecode()
506 TIFFDirectory* td = &tif->tif_dir; in Fax3SetupState()
770 float res = tif->tif_dir.td_yresolution; in Fax3PreEncode()
781 if (tif->tif_dir.td_resolutionunit == RESUNIT_CENTIMETER) in Fax3PreEncode()
1207 if (tif->tif_dir.td_compression == COMPRESSION_CCITTFAX3) in Fax3VSetField()
1212 if (tif->tif_dir.td_compression == COMPRESSION_CCITTFAX4) in Fax3VSetField()
1280 if (tif->tif_dir.td_compression == COMPRESSION_CCITTFAX4) { in Fax3PrintDir()
Dtif_dir.c135 TIFFDirectory* td = &tif->tif_dir; in checkInkNamesString()
172 TIFFDirectory* td = &tif->tif_dir; in _TIFFVSetField()
810 TIFFDirectory* td = &tif->tif_dir; in TIFFUnsetField()
860 TIFFDirectory* td = &tif->tif_dir; in _TIFFVGetField()
1250 TIFFDirectory *td = &tif->tif_dir; in TIFFFreeDirectory()
1355 register TIFFDirectory* td = &tif->tif_dir; in TIFFDefaultDirectory()
Dtif_dir.h189 #define BITFIELDn(tif, n) ((tif)->tif_dir.td_fieldsset[(n)/32])
D0025-upstream-OOM-gtTileContig.patch254 TIFFDirectory *td = &tif->tif_dir;
296 + TIFFDirectory *td = &tif->tif_dir;
392 + TIFFDirectory *td = &tif->tif_dir;
Dtif_luv.c1283 TIFFDirectory *td = &tif->tif_dir; in LogL16InitState()
1385 TIFFDirectory* td = &tif->tif_dir; in LogLuvInitState()
1441 TIFFDirectory* td = &tif->tif_dir; in LogLuvSetupDecode()
1503 TIFFDirectory* td = &tif->tif_dir; in LogLuvSetupEncode()
1572 TIFFDirectory *td = &tif->tif_dir; in LogLuvClose()
Dtif_pixarlog.c673 TIFFDirectory *td = &tif->tif_dir; in PixarLogSetupDecode()
756 TIFFDirectory *td = &tif->tif_dir; in PixarLogDecode()
903 TIFFDirectory *td = &tif->tif_dir; in PixarLogSetupEncode()
1122 TIFFDirectory *td = &tif->tif_dir; in PixarLogEncode()
1254 TIFFDirectory *td = &tif->tif_dir; in PixarLogClose()
Dtif_aux.c176 TIFFDirectory *td = &tif->tif_dir; in TIFFVGetFieldDefaulted()
Dtiffiop.h135 TIFFDirectory tif_dir; /* internal rep of current directory */ member
Dtif_print.c238 TIFFDirectory *td = &tif->tif_dir; in TIFFPrintDirectory()

12