Home
last modified time | relevance | path

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

12

/external/pdfium/third_party/libtiff/
Dtif_dirwrite.c197 if (tif->tif_dir.td_stripoffset == NULL) in TIFFCheckpointDirectory()
432 … if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_IMAGEWIDTH,tif->tif_dir.td_imagewidth)) in TIFFWriteDirectorySec()
434 …if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_IMAGELENGTH,tif->tif_dir.td_imagelength)) in TIFFWriteDirectorySec()
439 if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_TILEWIDTH,tif->tif_dir.td_tilewidth)) in TIFFWriteDirectorySec()
441 … if (!TIFFWriteDirectoryTagShortLong(tif,&ndir,dir,TIFFTAG_TILELENGTH,tif->tif_dir.td_tilelength)) in TIFFWriteDirectorySec()
446 … if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_XRESOLUTION,tif->tif_dir.td_xresolution)) in TIFFWriteDirectorySec()
448 … if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_YRESOLUTION,tif->tif_dir.td_yresolution)) in TIFFWriteDirectorySec()
453 if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_XPOSITION,tif->tif_dir.td_xposition)) in TIFFWriteDirectorySec()
455 if (!TIFFWriteDirectoryTagRational(tif,&ndir,dir,TIFFTAG_YPOSITION,tif->tif_dir.td_yposition)) in TIFFWriteDirectorySec()
460 if (!TIFFWriteDirectoryTagLong(tif,&ndir,dir,TIFFTAG_SUBFILETYPE,tif->tif_dir.td_subfiletype)) in TIFFWriteDirectorySec()
[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()
292 TIFFDirectory *td = &tif->tif_dir; in TIFFWriteRawStrip()
373 td = &tif->tif_dir; in TIFFWriteEncodedTile()
479 if (tile >= tif->tif_dir.td_nstrips) { in TIFFWriteRawTile()
482 (unsigned long) tif->tif_dir.td_nstrips); in TIFFWriteRawTile()
490 (TIFFFieldSet(tif,f) && (tif)->tif_dir.td_imagelength == 0)
495 TIFFDirectory* td = &tif->tif_dir; in TIFFSetupStrips()
563 if (tif->tif_dir.td_samplesperpixel == 1) { in TIFFWriteCheck()
571 tif->tif_dir.td_planarconfig = PLANARCONFIG_CONTIG; in TIFFWriteCheck()
[all …]
Dtif_dirread.c2721 if (direntry->tdir_count<(uint64)tif->tif_dir.td_samplesperpixel) in TIFFReadDirEntryPersampleShort()
2727 nb=tif->tif_dir.td_samplesperpixel; in TIFFReadDirEntryPersampleShort()
2750 if (direntry->tdir_count<(uint64)tif->tif_dir.td_samplesperpixel)
2756 nb=tif->tif_dir.td_samplesperpixel;
3579 if ((tif->tif_dir.td_compression==COMPRESSION_OJPEG)&& in TIFFReadDirectory()
3580 (tif->tif_dir.td_planarconfig==PLANARCONFIG_SEPARATE)) in TIFFReadDirectory()
3591 tif->tif_dir.td_planarconfig=PLANARCONFIG_CONTIG; in TIFFReadDirectory()
3610 tif->tif_dir.td_nstrips = TIFFNumberOfStrips(tif); in TIFFReadDirectory()
3611 tif->tif_dir.td_tilewidth = tif->tif_dir.td_imagewidth; in TIFFReadDirectory()
3612 tif->tif_dir.td_tilelength = tif->tif_dir.td_rowsperstrip; in TIFFReadDirectory()
[all …]
Dtif_read.c49 register TIFFDirectory *td = &tif->tif_dir; in TIFFFillStripPartial()
55 if (!_TIFFFillStriles( tif ) || !tif->tif_dir.td_stripbytecount) in TIFFFillStripPartial()
176 register TIFFDirectory *td = &tif->tif_dir; in TIFFSeek()
207 if (!_TIFFFillStriles( tif ) || !tif->tif_dir.td_stripbytecount) in TIFFSeek()
209 whole_strip = tif->tif_dir.td_stripbytecount[strip] < 10 in TIFFSeek()
320 TIFFDirectory *td = &tif->tif_dir; in TIFFReadEncodedStrip()
367 TIFFDirectory *td = &tif->tif_dir; in TIFFReadRawStrip1()
441 TIFFDirectory *td = &tif->tif_dir; in TIFFReadRawStrip()
493 TIFFDirectory *td = &tif->tif_dir; in TIFFFillStrip()
495 if (!_TIFFFillStriles( tif ) || !tif->tif_dir.td_stripbytecount) in TIFFFillStrip()
[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_next.c106 uint32 imagewidth = tif->tif_dir.td_imagewidth; in NeXTDecode()
108 imagewidth = tif->tif_dir.td_tilewidth; in NeXTDecode()
150 TIFFDirectory *td = &tif->tif_dir; in NeXTPreDecode()
Dtif_jpeg.c708 if ((tif->tif_dir.td_photometric==PHOTOMETRIC_YCBCR)&& in JPEGFixupTags()
709 (tif->tif_dir.td_planarconfig==PLANARCONFIG_CONTIG)&& in JPEGFixupTags()
710 (tif->tif_dir.td_samplesperpixel==3)) in JPEGFixupTags()
747 if( tif->tif_dir.td_stripbytecount == NULL in JPEGFixupTagsSubsampling()
748 || tif->tif_dir.td_stripoffset == NULL in JPEGFixupTagsSubsampling()
749 || tif->tif_dir.td_stripbytecount[0] == 0 ) in JPEGFixupTagsSubsampling()
768 m.fileoffset=tif->tif_dir.td_stripoffset[0]; in JPEGFixupTagsSubsampling()
770 m.filebytesleft=tif->tif_dir.td_stripbytecount[0]; in JPEGFixupTagsSubsampling()
849 if (n!=8+data->tif->tif_dir.td_samplesperpixel*3) in JPEGFixupTagsSubsamplingSec()
857 for (o=1; o<data->tif->tif_dir.td_samplesperpixel; o++) in JPEGFixupTagsSubsamplingSec()
[all …]
Dtif_thunder.c75 if( tif->tif_dir.td_bitspersample != 4 ) in ThunderSetupDecode()
79 (int) tif->tif_dir.td_bitspersample ); in ThunderSetupDecode()
180 if (!ThunderDecode(tif, row, tif->tif_dir.td_imagewidth)) in ThunderDecodeRow()
Dtif_extension.c39 TIFFDirectory* td = &tif->tif_dir; in TIFFGetTagListCount()
47 TIFFDirectory* td = &tif->tif_dir; in TIFFGetTagListEntry()
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_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.c554 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()
898 if (sp->write_curstrile%tif->tif_dir.td_stripsperimage==0) in OJPEGPostDecode()
999 if ((tif->tif_dir.td_samplesperpixel!=3) || ((tif->tif_dir.td_photometric!=PHOTOMETRIC_YCBCR) && in OJPEGSubsamplingCorrect()
1000 (tif->tif_dir.td_photometric!=PHOTOMETRIC_ITULAB))) in OJPEGSubsamplingCorrect()
1050 sp->image_width=tif->tif_dir.td_imagewidth; in OJPEGReadHeaderInfo()
1051 sp->image_length=tif->tif_dir.td_imagelength; in OJPEGReadHeaderInfo()
1054 sp->strile_width=tif->tif_dir.td_tilewidth; in OJPEGReadHeaderInfo()
1055 sp->strile_length=tif->tif_dir.td_tilelength; in OJPEGReadHeaderInfo()
[all …]
Dtif_predict.c60 TIFFDirectory* td = &tif->tif_dir; in PredictorSetup()
109 TIFFDirectory* td = &tif->tif_dir; in PredictorSetupDecode()
188 TIFFDirectory* td = &tif->tif_dir; 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_fax3.c164 TIFFGetBitRevTable(tif->tif_dir.td_fillorder != FILLORDER_LSB2MSB); in Fax3PreDecode()
476 TIFFDirectory* td = &tif->tif_dir; in Fax3SetupState()
735 float res = tif->tif_dir.td_yresolution; in Fax3PreEncode()
746 if (tif->tif_dir.td_resolutionunit == RESUNIT_CENTIMETER) in Fax3PreEncode()
1164 if (tif->tif_dir.td_compression == COMPRESSION_CCITTFAX3) in Fax3VSetField()
1169 if (tif->tif_dir.td_compression == COMPRESSION_CCITTFAX4) in Fax3VSetField()
1237 if (tif->tif_dir.td_compression == COMPRESSION_CCITTFAX4) { in Fax3PrintDir()
Dtif_dir.c132 TIFFDirectory* td = &tif->tif_dir; in checkInkNamesString()
160 TIFFDirectory* td = &tif->tif_dir; in _TIFFVSetField()
776 TIFFDirectory* td = &tif->tif_dir; in TIFFUnsetField()
826 TIFFDirectory* td = &tif->tif_dir; in _TIFFVGetField()
1190 TIFFDirectory *td = &tif->tif_dir; in TIFFFreeDirectory()
1295 register TIFFDirectory* td = &tif->tif_dir; in TIFFDefaultDirectory()
Dtif_dir.h189 #define BITFIELDn(tif, n) ((tif)->tif_dir.td_fieldsset[(n)/32])
Dtif_luv.c1240 TIFFDirectory *td = &tif->tif_dir; in LogL16InitState()
1332 TIFFDirectory* td = &tif->tif_dir; in LogLuvInitState()
1388 TIFFDirectory* td = &tif->tif_dir; in LogLuvSetupDecode()
1450 TIFFDirectory* td = &tif->tif_dir; in LogLuvSetupEncode()
1517 TIFFDirectory *td = &tif->tif_dir; in LogLuvClose()
Dtif_pixarlog.c672 TIFFDirectory *td = &tif->tif_dir; in PixarLogSetupDecode()
742 TIFFDirectory *td = &tif->tif_dir; in PixarLogDecode()
876 TIFFDirectory *td = &tif->tif_dir; in PixarLogSetupEncode()
1104 TIFFDirectory *td = &tif->tif_dir; in PixarLogEncode()
1228 TIFFDirectory *td = &tif->tif_dir; in PixarLogClose()
Dtif_aux.c172 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()
/external/pdfium/third_party/
Dthird_party.gyp339 'libtiff/tif_dir.c',
DBUILD.gn316 "libtiff/tif_dir.c",

12