EncodeHuffmanSpecInit

Initialize Huffman encode table

Synopsis

FwStatus   fwiEncodeHuffmanSpecInit_JPEG_8u ( const Fw8u * pListBitsconst Fw8u * pListValsFwiEncodeHuffmanSpec * pEncHuffSpec );

Parameters

pEncHuffSpec   Pointer to the FwiEncodeHuffmanSpec structure.
pListBits   Pointer to the Bits list.
pListVals   Pointer to the Vals list.

Description

This function creates and initializes a Huffman encode table.

The function definition follows CCITT Rec. T.81(1992 E), Annex C.2.