ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <vlc.h>

List of all members.

Public Member Functions

 VLC ()
int init_vlc (int nbBits, int nbCodes, const void *bits, int bitsWrap, int bitsSize, const void *codes, int codesWrap, int codesSize, const void *symbols, int symbolsWrap, int symbolsSize, int flags)
int init_vlc (int nbBits, int nbCodes, const void *bits, int bitsWrap, int bitsSize, const void *codes, int codesWrap, int codesSize, int flags)
void freeVlc ()
 Free VLC data.
int buildTable (int tableNbBits, int nbCodes, VLCcode *codes, int flags)
 Build VLC decoding tables suitable for use with get_vlc().
int allocTable (int size, int useStatic)

Public Attributes

int _bits
VLC_TYPE(* _table )[2]
 code, bits
int _tableSize
int _tableAllocated

Static Private Member Functions

static int compareVlcSpec (const void *a, const void *b)
static uint getData (const void *table, uint idx, uint wrap, uint size)
 Gets a value of a given size from a table.

Detailed Description

Definition at line 57 of file vlc.h.


Constructor & Destructor Documentation

Image::Indeo::VLC::VLC (  ) 

Definition at line 138 of file vlc.cpp.


Member Function Documentation

int Image::Indeo::VLC::allocTable ( int  size,
int  useStatic 
)

Definition at line 297 of file vlc.cpp.

int Image::Indeo::VLC::buildTable ( int  tableNbBits,
int  nbCodes,
VLCcode codes,
int  flags 
)

Build VLC decoding tables suitable for use with get_vlc().

Parameters:
tableNbBits max length of vlc codes to store directly in this table (Longer codes are delegated to subtables.)
nbCodes number of elements in codes[]
codes descriptions of the vlc codes These must be ordered such that codes going into the same subtable are contiguous. Sorting by VLCcode.code is sufficient, though not necessary.

Definition at line 210 of file vlc.cpp.

int Image::Indeo::VLC::compareVlcSpec ( const void *  a,
const void *  b 
) [static, private]

Definition at line 205 of file vlc.cpp.

void Image::Indeo::VLC::freeVlc (  ) 

Free VLC data.

Definition at line 201 of file vlc.cpp.

uint Image::Indeo::VLC::getData ( const void *  table,
uint  idx,
uint  wrap,
uint  size 
) [static, private]

Gets a value of a given size from a table.

Parameters:
table Table to get data from
idx Index of value to retrieve
wrap Size of elements with alignment
size Size of elements

Definition at line 320 of file vlc.cpp.

int Image::Indeo::VLC::init_vlc ( int  nbBits,
int  nbCodes,
const void *  bits,
int  bitsWrap,
int  bitsSize,
const void *  codes,
int  codesWrap,
int  codesSize,
const void *  symbols,
int  symbolsWrap,
int  symbolsSize,
int  flags 
)

Definition at line 147 of file vlc.cpp.

int Image::Indeo::VLC::init_vlc ( int  nbBits,
int  nbCodes,
const void *  bits,
int  bitsWrap,
int  bitsSize,
const void *  codes,
int  codesWrap,
int  codesSize,
int  flags 
)

Definition at line 141 of file vlc.cpp.


Member Data Documentation

Definition at line 70 of file vlc.h.

VLC_TYPE(* Image::Indeo::VLC::_table)[2]

code, bits

Definition at line 71 of file vlc.h.

Definition at line 72 of file vlc.h.

Definition at line 72 of file vlc.h.


The documentation for this struct was generated from the following files:


Generated on Sat Jan 19 2019 05:07:09 for ResidualVM by doxygen 1.7.1
curved edge   curved edge