|
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 () |
|
int | buildTable (int tableNbBits, int nbCodes, VLCcode *codes, int flags) |
|
int | allocTable (int size, int useStatic) |
|
|
int | _bits |
|
int16(* | _table )[2] |
| code, bits
|
|
int | _tableSize |
|
int | _tableAllocated |
|
◆ freeVlc()
void Image::Indeo::VLC::freeVlc |
( |
| ) |
|
◆ buildTable()
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. |
The documentation for this struct was generated from the following file: