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

Go to the source code of this file.

Macros

#define THUNDER_DATA   0x3f /* mask for 6-bit data */
 
#define THUNDER_CODE   0xc0 /* mask for 2-bit code word */
 
#define THUNDER_RUN   0x00 /* run of pixels w/ encoded count */
 
#define THUNDER_2BITDELTAS   0x40 /* 3 pixels w/ encoded 2-bit deltas */
 
#define DELTA2_SKIP   2 /* skip code for 2-bit deltas */
 
#define THUNDER_3BITDELTAS   0x80 /* 2 pixels w/ encoded 3-bit deltas */
 
#define DELTA3_SKIP   4 /* skip code for 3-bit deltas */
 
#define THUNDER_RAW   0xc0 /* raw data encoded */
 
#define SETPIXEL(op, v)
 

Functions

int TIFFInitThunderScan (TIFF *tif, int scheme)
 

Macro Definition Documentation

◆ DELTA2_SKIP

#define DELTA2_SKIP   2 /* skip code for 2-bit deltas */

Definition at line 50 of file tif_thunder.c.

◆ DELTA3_SKIP

#define DELTA3_SKIP   4 /* skip code for 3-bit deltas */

Definition at line 52 of file tif_thunder.c.

◆ SETPIXEL

#define SETPIXEL (   op,
  v 
)
Value:
{ \
lastpixel = (v) & 0xf; \
if (npixels++ & 1) \
*op++ |= lastpixel; \
else \
op[0] = (tidataval_t) (lastpixel << 4); \
}
const GLdouble * v
unsigned char tidataval_t
Definition: tiffiop.h:83

Definition at line 58 of file tif_thunder.c.

◆ THUNDER_2BITDELTAS

#define THUNDER_2BITDELTAS   0x40 /* 3 pixels w/ encoded 2-bit deltas */

Definition at line 49 of file tif_thunder.c.

◆ THUNDER_3BITDELTAS

#define THUNDER_3BITDELTAS   0x80 /* 2 pixels w/ encoded 3-bit deltas */

Definition at line 51 of file tif_thunder.c.

◆ THUNDER_CODE

#define THUNDER_CODE   0xc0 /* mask for 2-bit code word */

Definition at line 46 of file tif_thunder.c.

◆ THUNDER_DATA

#define THUNDER_DATA   0x3f /* mask for 6-bit data */

Definition at line 45 of file tif_thunder.c.

◆ THUNDER_RAW

#define THUNDER_RAW   0xc0 /* raw data encoded */

Definition at line 53 of file tif_thunder.c.

◆ THUNDER_RUN

#define THUNDER_RUN   0x00 /* run of pixels w/ encoded count */

Definition at line 48 of file tif_thunder.c.

Function Documentation

◆ TIFFInitThunderScan()

int TIFFInitThunderScan ( TIFF tif,
int  scheme 
)

Definition at line 149 of file tif_thunder.c.

References tiff::tif_decoderow, and void().