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 | Variables
infblock.c File Reference
#include "zutil.h"
#include "infblock.h"
#include "inftrees.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
 

Functions

local void inflate_blocks_reset (inflate_blocks_statef *s, z_streamp z, uLongf *c)
 
local inflate_blocks_statefinflate_blocks_new (z_streamp z, check_func c, uInt w)
 
local int inflate_blocks (inflate_blocks_statef *s, z_streamp z, int r)
 
local int inflate_blocks_free (inflate_blocks_statef *s, z_streamp z)
 

Variables

local const uInt border []
 

Macro Definition Documentation

◆ bits

typedef GLenum GLint GLint GLsizei GLenum GLsizei const GLvoid * bits   word.what.Bits

◆ exop

#define exop   word.what.Exop

Definition at line 14 of file infblock.c.

Function Documentation

◆ inflate_blocks()

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

◆ inflate_blocks_free()

local int inflate_blocks_free ( inflate_blocks_statef s,
z_streamp  z 
)

Definition at line 375 of file infblock.c.

References inflate_blocks_reset(), Tracev, Z_NULL, Z_OK, and ZFREE.

Referenced by ZEXPORT().

◆ inflate_blocks_new()

local inflate_blocks_statef* inflate_blocks_new ( z_streamp  z,
check_func  c,
uInt  w 
)

Definition at line 88 of file infblock.c.

References inflate_blocks_reset(), MANY, Tracev, TYPE, Z_NULL, ZALLOC, and ZFREE.

Referenced by ZEXPORT().

◆ inflate_blocks_reset()

local void inflate_blocks_reset ( inflate_blocks_statef s,
z_streamp  z,
uLongf c 
)

Definition at line 67 of file infblock.c.

References BTREE, CODES, DTREE, inflate_codes_free(), Tracev, TYPE, Z_NULL, and ZFREE.

Referenced by inflate_blocks_free(), inflate_blocks_new(), and ZEXPORT().

Variable Documentation

◆ border

Initial value:
= {
16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15}

Definition at line 18 of file infblock.c.