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

Go to the source code of this file.

Macros

#define PredictorState(tif)   ((TIFFPredictorState*) (tif)->tif_data)
 
#define REPEAT4(n, op)
 
#define FIELD_PREDICTOR   (FIELD_CODEC+0) /* XXX */
 
#define N(a)   (sizeof (a) / sizeof (a[0]))
 

Functions

int TIFFPredictorInit (TIFF *tif)
 
int TIFFPredictorCleanup (TIFF *tif)
 

Macro Definition Documentation

◆ FIELD_PREDICTOR

#define FIELD_PREDICTOR   (FIELD_CODEC+0) /* XXX */

Definition at line 513 of file tif_predict.c.

◆ N

#define N (   a)    (sizeof (a) / sizeof (a[0]))

Definition at line 519 of file tif_predict.c.

Referenced by TIFFPredictorInit().

◆ PredictorState

#define PredictorState (   tif)    ((TIFFPredictorState*) (tif)->tif_data)

Definition at line 35 of file tif_predict.c.

Referenced by TIFFPredictorCleanup(), and TIFFPredictorInit().

◆ REPEAT4

#define REPEAT4 (   n,
  op 
)
Value:
switch (n) { \
default: { int i; for (i = n-4; i > 0; i--) { op; } } \
case 4: op; \
case 3: op; \
case 2: op; \
case 1: op; \
case 0: ; \
}
png_uint_32 i
Definition: png.h:2640
GLdouble n

Definition at line 208 of file tif_predict.c.

Function Documentation

◆ TIFFPredictorCleanup()

int TIFFPredictorCleanup ( TIFF tif)

◆ TIFFPredictorInit()

int TIFFPredictorInit ( TIFF tif)