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]
Functions | Variables
infutil.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.

Functions

local int inflate_flush (inflate_blocks_statef *s, z_streamp z, int r)
 

Variables

local const uInt inflate_mask [17]
 

Function Documentation

◆ inflate_flush()

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

Definition at line 22 of file infutil.c.

References write(), Z_BUF_ERROR, Z_NULL, Z_OK, and zmemcpy().

Referenced by inflate_blocks().

Variable Documentation

◆ inflate_mask

local const uInt inflate_mask[17]
Initial value:
= {
0x0000,
0x0001, 0x0003, 0x0007, 0x000f, 0x001f, 0x003f, 0x007f, 0x00ff,
0x01ff, 0x03ff, 0x07ff, 0x0fff, 0x1fff, 0x3fff, 0x7fff, 0xffff
}

Definition at line 14 of file infutil.c.

Referenced by inflate_blocks(), and inflate_codes().