Packs the table containing lengths of Huffman codes.
IppStatus ippsHuffLenCodeTablePack_8u(const int codeLenTable[256], Ipp8u* pDst, int* pDstLen);
codeLenTable |
Table containing lengths of Huffman codes. |
pDst |
Pointer to the destination buffer. |
pDstLen |
Pointer to the number of elements in the destination buffer; after operation to the actual number of elements in the destination buffer. |
The function ippsHuffLenCodeTablePack is declared in the ippdc.h file. This function compresses the table codeLenTable containing lengths of Huffman codes and that is required for decoding. The table may be retrieved by calling the function ippsHuffGetLenCodeTable. To restore the table from the compressed form, call the function ippsHuffLenCodeTableUnpack.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if one of the specified pointers is NULL. |
ippStsSizeErr |
Indicates an error if pDstLen is less than or equal to 0; or if pDstLen is less than actual size of the output. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.