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_dir.c File Reference
#include "tiffiop.h"

Go to the source code of this file.

Macros

#define DATATYPE_VOID   0 /* !untyped data */
 
#define DATATYPE_INT   1 /* !signed integer data */
 
#define DATATYPE_UINT   2 /* !unsigned integer data */
 
#define DATATYPE_IEEEFP   3 /* !IEEE floating point data */
 
#define CleanupField(member)
 

Functions

void _TIFFsetByteArray (void **vpp, void *vp, uint32 n)
 
void _TIFFsetString (char **cpp, char *cp)
 
void _TIFFsetNString (char **cpp, char *cp, uint32 n)
 
void _TIFFsetShortArray (uint16 **wpp, uint16 *wp, uint32 n)
 
void _TIFFsetLongArray (uint32 **lpp, uint32 *lp, uint32 n)
 
void _TIFFsetFloatArray (float **fpp, float *fp, uint32 n)
 
void _TIFFsetDoubleArray (double **dpp, double *dp, uint32 n)
 
int TIFFSetField (TIFF *tif, ttag_t tag,...)
 
int TIFFVSetField (TIFF *tif, ttag_t tag, va_list ap)
 
int TIFFGetField (TIFF *tif, ttag_t tag,...)
 
int TIFFVGetField (TIFF *tif, ttag_t tag, va_list ap)
 
void TIFFFreeDirectory (TIFF *tif)
 
TIFFExtendProc TIFFSetTagExtender (TIFFExtendProc extender)
 
int TIFFCreateDirectory (TIFF *tif)
 
int TIFFDefaultDirectory (TIFF *tif)
 
tdir_t TIFFNumberOfDirectories (TIFF *tif)
 
int TIFFSetDirectory (TIFF *tif, tdir_t dirn)
 
int TIFFSetSubDirectory (TIFF *tif, uint32 diroff)
 
uint32 TIFFCurrentDirOffset (TIFF *tif)
 
int TIFFLastDirectory (TIFF *tif)
 
int TIFFUnlinkDirectory (TIFF *tif, tdir_t dirn)
 
int TIFFReassignTagToIgnore (enum TIFFIgnoreSense task, int TIFFtagID)
 

Macro Definition Documentation

◆ CleanupField

#define CleanupField (   member)
Value:
{ \
if (td->member) { \
_TIFFfree(td->member); \
td->member = 0; \
} \
}

Definition at line 950 of file tif_dir.c.

Referenced by TIFFFreeDirectory().

◆ DATATYPE_IEEEFP

#define DATATYPE_IEEEFP   3 /* !IEEE floating point data */

Definition at line 41 of file tif_dir.c.

◆ DATATYPE_INT

#define DATATYPE_INT   1 /* !signed integer data */

Definition at line 39 of file tif_dir.c.

◆ DATATYPE_UINT

#define DATATYPE_UINT   2 /* !unsigned integer data */

Definition at line 40 of file tif_dir.c.

◆ DATATYPE_VOID

#define DATATYPE_VOID   0 /* !untyped data */

Definition at line 38 of file tif_dir.c.

Function Documentation

◆ _TIFFsetByteArray()

void _TIFFsetByteArray ( void **  vpp,
void vp,
uint32  n 
)

Definition at line 56 of file tif_dir.c.

◆ _TIFFsetDoubleArray()

void _TIFFsetDoubleArray ( double **  dpp,
double *  dp,
uint32  n 
)

Definition at line 68 of file tif_dir.c.

◆ _TIFFsetFloatArray()

void _TIFFsetFloatArray ( float **  fpp,
float *  fp,
uint32  n 
)

Definition at line 66 of file tif_dir.c.

◆ _TIFFsetLongArray()

void _TIFFsetLongArray ( uint32 **  lpp,
uint32 lp,
uint32  n 
)

Definition at line 64 of file tif_dir.c.

◆ _TIFFsetNString()

void _TIFFsetNString ( char **  cpp,
char *  cp,
uint32  n 
)

Definition at line 60 of file tif_dir.c.

◆ _TIFFsetShortArray()

void _TIFFsetShortArray ( uint16 **  wpp,
uint16 wp,
uint32  n 
)

Definition at line 62 of file tif_dir.c.

◆ _TIFFsetString()

void _TIFFsetString ( char **  cpp,
char *  cp 
)

Definition at line 58 of file tif_dir.c.

◆ TIFFCreateDirectory()

int TIFFCreateDirectory ( TIFF tif)

◆ TIFFCurrentDirOffset()

uint32 TIFFCurrentDirOffset ( TIFF tif)

Definition at line 1210 of file tif_dir.c.

References tiff::tif_diroff.

◆ TIFFDefaultDirectory()

int TIFFDefaultDirectory ( TIFF tif)

Definition at line 1029 of file tif_dir.c.

References tiff::tif_dir.

Referenced by TIFFCreateDirectory(), and TIFFReadDirectory().

◆ TIFFFreeDirectory()

void TIFFFreeDirectory ( TIFF tif)

◆ TIFFGetField()

int TIFFGetField ( TIFF tif,
ttag_t  tag,
  ... 
)

◆ TIFFLastDirectory()

int TIFFLastDirectory ( TIFF tif)

Definition at line 1220 of file tif_dir.c.

References tiff::tif_nextdiroff.

◆ TIFFNumberOfDirectories()

tdir_t TIFFNumberOfDirectories ( TIFF tif)

Definition at line 1149 of file tif_dir.c.

References tiff::tif_header, and TIFFHeader::tiff_diroff.

◆ TIFFReassignTagToIgnore()

int TIFFReassignTagToIgnore ( enum TIFFIgnoreSense  task,
int  TIFFtagID 
)

Definition at line 1309 of file tif_dir.c.

References FALSE, FIELD_LAST, i, TIS_EMPTY, TIS_EXTRACT, TIS_STORE, and TRUE.

◆ TIFFSetDirectory()

int TIFFSetDirectory ( TIFF tif,
tdir_t  dirn 
)

Definition at line 1164 of file tif_dir.c.

References tiff::tif_header, and TIFFHeader::tiff_diroff.

◆ TIFFSetField()

int TIFFSetField ( TIFF tif,
ttag_t  tag,
  ... 
)

Definition at line 627 of file tif_dir.c.

References TIFFVSetField().

Referenced by TIFFReadDirectory().

◆ TIFFSetSubDirectory()

int TIFFSetSubDirectory ( TIFF tif,
uint32  diroff 
)

Definition at line 1195 of file tif_dir.c.

References tiff::tif_dirnumber, tiff::tif_nextdiroff, and TIFFReadDirectory().

◆ TIFFSetTagExtender()

TIFFExtendProc TIFFSetTagExtender ( TIFFExtendProc  extender)

Definition at line 998 of file tif_dir.c.

◆ TIFFUnlinkDirectory()

int TIFFUnlinkDirectory ( TIFF tif,
tdir_t  dirn 
)

◆ TIFFVGetField()

int TIFFVGetField ( TIFF tif,
ttag_t  tag,
va_list  ap 
)

◆ TIFFVSetField()

int TIFFVSetField ( TIFF tif,
ttag_t  tag,
va_list  ap 
)

Definition at line 645 of file tif_dir.c.

Referenced by TIFFSetField().