Searched refs:tif_header (Results 1 – 4 of 4) sorted by relevance
272 !ReadOK(tif, &tif->tif_header, sizeof (TIFFHeaderClassic))) {282 tif->tif_header.common.tiff_magic = (tif->tif_flags & TIFF_SWAB)285 tif->tif_header.common.tiff_magic = (tif->tif_flags & TIFF_SWAB)290 tif->tif_header.common.tiff_version = TIFF_VERSION_CLASSIC;291 tif->tif_header.classic.tiff_diroff = 0;293 TIFFSwabShort(&tif->tif_header.common.tiff_version);298 tif->tif_header.common.tiff_version = TIFF_VERSION_BIG;299 tif->tif_header.big.tiff_offsetsize = 8;300 tif->tif_header.big.tiff_unused = 0;301 tif->tif_header.big.tiff_diroff = 0;[all …]
233 if (tif->tif_header.classic.tiff_diroff == tif->tif_diroff) in TIFFRewriteDirectory()235 tif->tif_header.classic.tiff_diroff = 0; in TIFFRewriteDirectory()239 if (!WriteOK(tif, &(tif->tif_header.classic.tiff_diroff),4)) in TIFFRewriteDirectory()249 nextdir = tif->tif_header.classic.tiff_diroff; in TIFFRewriteDirectory()291 if (tif->tif_header.big.tiff_diroff == tif->tif_diroff) in TIFFRewriteDirectory()293 tif->tif_header.big.tiff_diroff = 0; in TIFFRewriteDirectory()297 if (!WriteOK(tif, &(tif->tif_header.big.tiff_diroff),8)) in TIFFRewriteDirectory()307 nextdir = tif->tif_header.big.tiff_diroff; in TIFFRewriteDirectory()2522 if (tif->tif_header.classic.tiff_diroff == 0) { in TIFFLinkDirectory()2526 tif->tif_header.classic.tiff_diroff = (uint32) tif->tif_diroff; in TIFFLinkDirectory()[all …]
1571 nextdir = tif->tif_header.classic.tiff_diroff; in TIFFNumberOfDirectories()1573 nextdir = tif->tif_header.big.tiff_diroff; in TIFFNumberOfDirectories()1602 nextdir = tif->tif_header.classic.tiff_diroff; in TIFFSetDirectory()1604 nextdir = tif->tif_header.big.tiff_diroff; in TIFFSetDirectory()1683 nextdir = tif->tif_header.classic.tiff_diroff; in TIFFUnlinkDirectory()1688 nextdir = tif->tif_header.big.tiff_diroff; in TIFFUnlinkDirectory()
141 } tif_header; member