HuffGetLenCodeTable

Returns the table containing lengths of Huffman codes.

Syntax

IppStatus ippsHuffGetLenCodeTable_8u(int codeLenTable[256], IppHuffState_8u* pHuffState);

Parameters

codeLenTable

Destination table containing lengths of Huffman codes.

pHuffState

Pointer to the pointer to the Huffman decoding structure.

Description

The function ippsHuffGetLenCodeTable is declared in the ippdc.h file. This function creates the table codeLenTable containing the lengths of the used Huffman codes. Their value are taken from the Huffman encoding structure pHuffState, which must be initialized beforehand.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if the pHuffState pointer is NULL.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.