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 | local static /* for local function definitions */ |
#define | MAXBITS 15 /* maximum bits in a code */ |
#define | MAXLCODES 286 /* maximum number of literal/length codes */ |
#define | MAXDCODES 30 /* maximum number of distance codes */ |
#define | MAXCODES (MAXLCODES+MAXDCODES) /* maximum codes lengths to read */ |
#define | FIXLCODES 288 /* number of fixed literal/length codes */ |
Functions | |
local int | bits (struct state *s, int need) |
local int | stored (struct state *s) |
local int | decode (struct state *s, const struct huffman *h) |
local int | construct (struct huffman *h, const short *length, int n) |
local int | codes (struct state *s, const struct huffman *lencode, const struct huffman *distcode) |
local int | fixed (struct state *s) |
local int | dynamic (struct state *s) |
int | puff (unsigned char *dest, unsigned long *destlen, const unsigned char *source, unsigned long *sourcelen) |
#define local static /* for local function definitions */ |
local int codes | ( | struct state * | s, |
const struct huffman * | lencode, | ||
const struct huffman * | distcode | ||
) |
Definition at line 436 of file puff.c.
References bits(), decode(), and NIL.
Referenced by dynamic(), fixed(), inflate_table(), and inflate_table9().
Definition at line 536 of file puff.c.
References codes(), construct(), FIXLCODES, MAXBITS, and MAXDCODES.
Referenced by puff(), vl::Texture::setFixedSamplesLocation(), and vl::Texture::SetupParams::setFixedSamplesLocations().
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:58.
© Copyright Michele Bosi. All rights reserved.