#include <indeo.h>
Public Member Functions | |
IVIHuffTab () | |
vlc table for custom codebook More... | |
int | decodeHuffDesc (IVI45DecContext *ctx, int descCoded, int whichTab) |
Public Attributes | |
int32 | _tabSel |
VLC * | _tab |
IVIHuffDesc | _custDesc |
pointer to the table associated with tab_sel More... | |
VLC | _custTab |
custom Huffman codebook descriptor | |
Macroblock/block huffman table descriptor
Image::Indeo::IVIHuffTab::IVIHuffTab | ( | ) |
vlc table for custom codebook
Constructor
int Image::Indeo::IVIHuffTab::decodeHuffDesc | ( | IVI45DecContext * | ctx, |
int | descCoded, | ||
int | whichTab | ||
) |
Decode a huffman codebook descriptor from the bitstream and select specified huffman table.
[in] | ctx | Decoder context |
[in] | descCoded | Flag signalling if table descriptor was coded |
[in] | whichTab | Codebook purpose (IVI_MB_HUFF or IVI_BLK_HUFF) |
VLC* Image::Indeo::IVIHuffTab::_tab |
index of one of the predefined tables or "7" for custom one
IVIHuffDesc Image::Indeo::IVIHuffTab::_custDesc |
pointer to the table associated with tab_sel
the following are used only when tab_sel == 7