HuffmanTableInitAlloc

Allocate memory and initialize one-to-one Huffman decode table

Synopsis

FwStatus   fwiHuffmanTableInitAlloc_32s ( const Fw32s * pSrcTableFwVCHuffmanSpec_32s ** ppDstSpec );

Parameters

pSrcTable   Pointer to a source table.
ppDstSpec   Double pointer to a destination decoding table.

Description

This function allocates memory and initializes the structure for a Huffman decode table. The table is used to decode bitstreams encoded with variable-length coding in which one code corresponds to one value.