Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Macros | Functions
tif_dirread.c File Reference
#include "tiffiop.h"

Go to the source code of this file.

Macros

#define IGNORE   0 /* tag placeholder used below */
 
#define TIFFCvtIEEEFloatToNative(tif, n, fp)
 
#define TIFFCvtIEEEDoubleToNative(tif, n, dp)
 
#define BYTECOUNTLOOKSBAD
 
#define NITEMS(x)   (sizeof (x) / sizeof (x[0]))
 

Functions

int TIFFReadDirectory (TIFF *tif)
 
int TIFFReadCustomDirectory (TIFF *tif, toff_t diroff, const TIFFFieldInfo info[], size_t n)
 
int TIFFReadEXIFDirectory (TIFF *tif, toff_t diroff)
 

Macro Definition Documentation

◆ BYTECOUNTLOOKSBAD

#define BYTECOUNTLOOKSBAD
Value:
( (td->td_stripbytecount[0] == 0 && td->td_stripoffset[0] != 0) || \
(td->td_compression == COMPRESSION_NONE && \
td->td_stripbytecount[0] > TIFFGetFileSize(tif) - td->td_stripoffset[0]) || \
(tif->tif_mode == O_RDONLY && \
td->td_compression == COMPRESSION_NONE && \
td->td_stripbytecount[0] < TIFFScanlineSize(tif) * td->td_imagelength) )
tsize_t TIFFScanlineSize(TIFF *tif)
Definition: tif_strip.c:227
#define COMPRESSION_NONE
Definition: tiff.h:169
#define TIFFGetFileSize(tif)
Definition: tiffiop.h:201

◆ IGNORE

#define IGNORE   0 /* tag placeholder used below */

Definition at line 34 of file tif_dirread.c.

Referenced by TIFFReadCustomDirectory().

◆ NITEMS

#define NITEMS (   x)    (sizeof (x) / sizeof (x[0]))

Definition at line 1486 of file tif_dirread.c.

◆ TIFFCvtIEEEDoubleToNative

#define TIFFCvtIEEEDoubleToNative (   tif,
  n,
  dp 
)

Definition at line 38 of file tif_dirread.c.

◆ TIFFCvtIEEEFloatToNative

#define TIFFCvtIEEEFloatToNative (   tif,
  n,
  fp 
)

Definition at line 37 of file tif_dirread.c.

Function Documentation

◆ TIFFReadCustomDirectory()

int TIFFReadCustomDirectory ( TIFF tif,
toff_t  diroff,
const TIFFFieldInfo  info[],
size_t  n 
)

◆ TIFFReadDirectory()

int TIFFReadDirectory ( TIFF tif)

◆ TIFFReadEXIFDirectory()

int TIFFReadEXIFDirectory ( TIFF tif,
toff_t  diroff 
)

Definition at line 857 of file tif_dirread.c.