Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Go to the source code of this file.
Macros | |
#define | LZW_COMPAT /* include backwards compatibility code */ |
#define | LZW_CHECKEOS /* include checks for strips w/o EOI code */ |
#define | MAXCODE(n) ((1L<<(n))-1) |
#define | BITS_MIN 9 /* start with 9 bits */ |
#define | BITS_MAX 12 /* max of 12 bit strings */ |
#define | CODE_CLEAR 256 /* code to clear string table */ |
#define | CODE_EOI 257 /* end-of-information code */ |
#define | CODE_FIRST 258 /* first free code entry */ |
#define | CODE_MAX MAXCODE(BITS_MAX) |
#define | HSIZE 9001L /* 91% occupancy */ |
#define | HSHIFT (13-8) |
#define | CSIZE (MAXCODE(BITS_MAX)+1024L) |
#define | lzw_nbits base.nbits |
#define | lzw_maxcode base.maxcode |
#define | lzw_free_ent base.free_ent |
#define | lzw_nextdata base.nextdata |
#define | lzw_nextbits base.nextbits |
#define | CHECK_GAP 10000 /* enc_ratio check interval */ |
#define | LZWState(tif) ((LZWBaseState*) (tif)->tif_data) |
#define | DecoderState(tif) ((LZWCodecState*) LZWState(tif)) |
#define | EncoderState(tif) ((LZWCodecState*) LZWState(tif)) |
#define | NextCode(_tif, _sp, _bp, _code, _get) |
#define | GetNextCode(sp, bp, code) |
#define | GetNextCodeCompat(sp, bp, code) |
#define | CALCRATIO(sp, rat) |
#define | PutNextCode(op, c) |
Typedefs | |
typedef uint16 | hcode_t |
typedef struct code_ent | code_t |
typedef int(* | decodeFunc) (TIFF *, tidata_t, tsize_t, tsample_t) |
Functions | |
int | TIFFInitLZW (TIFF *tif, int scheme) |
#define CALCRATIO | ( | sp, | |
rat | |||
) |
#define DecoderState | ( | tif | ) | ((LZWCodecState*) LZWState(tif)) |
Definition at line 158 of file tif_lzw.c.
Referenced by TIFFInitLZW().
#define EncoderState | ( | tif | ) | ((LZWCodecState*) LZWState(tif)) |
Definition at line 159 of file tif_lzw.c.
Referenced by TIFFInitLZW().
#define GetNextCode | ( | sp, | |
bp, | |||
code | |||
) |
#define GetNextCodeCompat | ( | sp, | |
bp, | |||
code | |||
) |
#define LZW_COMPAT /* include backwards compatibility code */ |
#define lzw_nbits base.nbits |
#define LZWState | ( | tif | ) | ((LZWBaseState*) (tif)->tif_data) |
Definition at line 157 of file tif_lzw.c.
Referenced by TIFFInitLZW().
#define NextCode | ( | _tif, | |
_sp, | |||
_bp, | |||
_code, | |||
_get | |||
) |
#define PutNextCode | ( | op, | |
c | |||
) |
typedef struct code_ent code_t |
Definition at line 1022 of file tif_lzw.c.
References _TIFFmalloc(), COMPRESSION_LZW, DecoderState, EncoderState, LZWState, NULL, tiff::tif_data, tiff::tif_mode, and tiff::tif_setupdecode.
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:57.
© Copyright Michele Bosi. All rights reserved.