Performs Huffman decoding.
IppStatus ippsDecodeHuff_8u(const Ipp8u* pSrc, int srcLen, Ipp8u* pDst, int* pDstLen, IppHuffState_8u* pHuffState);
pSrc |
Pointer to the source buffer. |
srcLen |
Number of elements in the source buffer. |
pDst |
Pointer to the destination buffer. |
pDstLen |
Pointer to the expected number of elements in the destination buffer; after decoding to the actual number of elements in the destination buffer. |
pHuffState |
Pointer to the Huffman coding structure. |
The function ippsDecodeHuff is declared in the ippdc.h file. This function decodes the data in the source buffer pSrc containing srcLen code words. The pDstLen decoded elements are stored in the destination vector pDst. The function uses the Huffman decoding structure pHuffState that must be initialized by calling the functions ippsDecodeHuffInitAlloc or ippsDecodeHuffInit beforehand.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if one of the specified pointers is NULL. |
ippStsSizeErr |
Indicates an error if srcLen is less than or equal to 0. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.