HuffLenCodeTableUnpack

Unpacks the table containing lengths of Huffman codes.

Syntax

IppStatus ippsHuffLenCodeTableUnpack_8u(const Ipp8u* pSrc, int* pSrcLen, int codeLenTable[256]);

Parameters

pSrc

Pointer to the source buffer.

pSrcLen

Pointer to the number of elements in the source buffer; after operation pointer to the actual number of elements in the source buffer.

codeLenTable

Table containing lengths of Huffman codes.

Description

The function ippsHuffLenCodeTableUnpack is declared in the ippdc.h file. This function restores the table codeLenTable containing the lengths of Huffman codes from the packed form pSrc created by the function HuffLenCodeTablePack.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if one of the specified pointers is NULL.

ippStsSizeErr

Indicates an error if pSrcLen is less than or equal to 0; or if pSrcLen is less than actual size.

Submit feedback on this help topic

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