DecodeHuffmanSpecInitAlloc

Allocate memory and initialize Huffman decode table

Synopsis

FwStatus   fwiDecodeHuffmanSpecInitAlloc_JPEG_8u ( const Fw8u * pListBits, const Fw8u * pListVals, FwiDecodeHuffmanSpec* * pDecHuffSpec );

Parameters

pDecHuffSpec   Pointer to the FwiDecodeHuffmanSpec structure.
pListBits   Pointer to the Bits list.
pListVals   Pointer to the Vals list.

Description

This function allocates memory for a Huffman decode table, creates the table, and initializes it for decode.