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

Go to the source code of this file.

Macros

#define TIFFCvtNativeToIEEEFloat(tif, n, fp)
 
#define TIFFCvtNativeToIEEEDouble(tif, n, dp)
 
#define WriteRationalPair(type, tag1, v1, tag2, v2)
 
#define TIFFWriteRational(tif, type, tag, dir, v)
 
#define NITEMS(x)   (sizeof (x) / sizeof (x[0]))
 

Functions

int TIFFWriteDirectory (TIFF *tif)
 
int TIFFCheckpointDirectory (TIFF *tif)
 
int TIFFRewriteDirectory (TIFF *tif)
 

Macro Definition Documentation

◆ NITEMS

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

Definition at line 674 of file tif_dirwrite.c.

◆ TIFFCvtNativeToIEEEDouble

#define TIFFCvtNativeToIEEEDouble (   tif,
  n,
  dp 
)

Definition at line 36 of file tif_dirwrite.c.

◆ TIFFCvtNativeToIEEEFloat

#define TIFFCvtNativeToIEEEFloat (   tif,
  n,
  fp 
)

Definition at line 35 of file tif_dirwrite.c.

◆ TIFFWriteRational

#define TIFFWriteRational (   tif,
  type,
  tag,
  dir,
  v 
)
Value:
(dir)->tdir_tag = (tag); \
(dir)->tdir_type = (type); \
(dir)->tdir_count = 1; \
if (!TIFFWriteRationalArray((tif), (dir), &(v))) \
goto bad;
const GLdouble * v
GLenum type

Definition at line 67 of file tif_dirwrite.c.

◆ WriteRationalPair

#define WriteRationalPair (   type,
  tag1,
  v1,
  tag2,
  v2 
)
Value:
{ \
TIFFWriteRational((tif), (type), (tag1), (dir), (v1)) \
TIFFWriteRational((tif), (type), (tag2), (dir)+1, (v2)) \
(dir)++; \
}
GLfloat GLfloat GLfloat v2
GLfloat GLfloat v1
GLenum type

Definition at line 62 of file tif_dirwrite.c.

Function Documentation

◆ TIFFCheckpointDirectory()

int TIFFCheckpointDirectory ( TIFF tif)

◆ TIFFRewriteDirectory()

int TIFFRewriteDirectory ( TIFF tif)

◆ TIFFWriteDirectory()

int TIFFWriteDirectory ( TIFF tif)

Definition at line 410 of file tif_dirwrite.c.

Referenced by TIFFFlush(), and TIFFRewriteDirectory().