ScummVM API documentation
Image::Indeo::IVIHuffTab Struct Reference

#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
 

Detailed Description

Macroblock/block huffman table descriptor

Constructor & Destructor Documentation

◆ IVIHuffTab()

Image::Indeo::IVIHuffTab::IVIHuffTab ( )

vlc table for custom codebook

Constructor

Member Function Documentation

◆ decodeHuffDesc()

int Image::Indeo::IVIHuffTab::decodeHuffDesc ( IVI45DecContext ctx,
int  descCoded,
int  whichTab 
)

Decode a huffman codebook descriptor from the bitstream and select specified huffman table.

Parameters
[in]ctxDecoder context
[in]descCodedFlag signalling if table descriptor was coded
[in]whichTabCodebook purpose (IVI_MB_HUFF or IVI_BLK_HUFF)
Returns
Zero on success, negative value otherwise

Member Data Documentation

◆ _tab

VLC* Image::Indeo::IVIHuffTab::_tab

index of one of the predefined tables or "7" for custom one

◆ _custDesc

IVIHuffDesc Image::Indeo::IVIHuffTab::_custDesc

pointer to the table associated with tab_sel

the following are used only when tab_sel == 7


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