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 | Enumerations | Functions
infcodes.c File Reference
#include "zutil.h"
#include "inftrees.h"
#include "infblock.h"
#include "infcodes.h"
#include "infutil.h"

Go to the source code of this file.

Macros

#define exop   word.what.Exop
 
#define bits   word.what.Bits
 

Enumerations

enum  inflate_codes_mode {
  START, LEN, LENEXT, DIST,
  DISTEXT, COPY, LIT, WASH,
  END, BADCODE
}
 

Functions

local inflate_codes_statefinflate_codes_new (uInt bl, uInt bd, inflate_huft *tl, inflate_huft *td, z_streamp z)
 
local int inflate_codes (inflate_blocks_statef *s, z_streamp z, int r)
 
local void inflate_codes_free (inflate_codes_statef *c, z_streamp z)
 

Macro Definition Documentation

◆ bits

#define bits   word.what.Bits

Definition at line 14 of file infcodes.c.

◆ exop

#define exop   word.what.Exop

Definition at line 13 of file infcodes.c.

Enumeration Type Documentation

◆ inflate_codes_mode

Enumerator
START 
LEN 
LENEXT 
DIST 
DISTEXT 
COPY 
LIT 
WASH 
END 
BADCODE 

Definition at line 16 of file infcodes.c.

Function Documentation

◆ inflate_codes()

local int inflate_codes ( inflate_blocks_statef s,
z_streamp  z,
int  r 
)

◆ inflate_codes_free()

local void inflate_codes_free ( inflate_codes_statef c,
z_streamp  z 
)

Definition at line 244 of file infcodes.c.

References Tracev, and ZFREE.

Referenced by inflate_blocks(), and inflate_blocks_reset().

◆ inflate_codes_new()

local inflate_codes_statef* inflate_codes_new ( uInt  bl,
uInt  bd,
inflate_huft tl,
inflate_huft td,
z_streamp  z 
)

Definition at line 58 of file infcodes.c.

References START, Tracev, Z_NULL, and ZALLOC.

Referenced by inflate_blocks().