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
ftzopen.c File Reference
#include "ftzopen.h"

Go to the source code of this file.

Macros

#define FTLZW_STACK_PUSH(c)
 

Functions

 ft_lzwstate_reset (FT_LzwState state)
 
 ft_lzwstate_init (FT_LzwState state, FT_Stream source)
 
 ft_lzwstate_done (FT_LzwState state)
 
 ft_lzwstate_io (FT_LzwState state, FT_Byte *buffer, FT_ULong out_size)
 

Macro Definition Documentation

◆ FTLZW_STACK_PUSH

#define FTLZW_STACK_PUSH (   c)
Value:
if ( state->stack_top >= state->stack_size && \
ft_lzwstate_stack_grow( state ) < 0 ) \
goto Eof; \
\
state->stack[state->stack_top++] = (FT_Byte)(c); \
FT_END_STMNT
unsigned char FT_Byte
Definition: fttypes.h:150
const GLubyte * c
if(!abbox) return FT_THROW(Invalid_Argument)

Definition at line 236 of file ftzopen.c.

Function Documentation

◆ ft_lzwstate_done()

ft_lzwstate_done ( FT_LzwState  state)

Definition at line 219 of file ftzopen.c.

References FT_FREE, ft_lzwstate_reset(), FT_ZERO, and NULL.

◆ ft_lzwstate_init()

ft_lzwstate_init ( FT_LzwState  state,
FT_Stream  source 
)

Definition at line 199 of file ftzopen.c.

References FT_LOCAL_DEF, ft_lzwstate_reset(), FT_ZERO, and NULL.

◆ ft_lzwstate_io()

ft_lzwstate_io ( FT_LzwState  state,
FT_Byte buffer,
FT_ULong  out_size 
)

◆ ft_lzwstate_reset()

ft_lzwstate_reset ( FT_LzwState  state)

Definition at line 185 of file ftzopen.c.

References FT_LOCAL_DEF, FT_LZW_PHASE_START, and LZW_INIT_BITS.

Referenced by ft_lzwstate_done(), and ft_lzwstate_init().