Performs the bzip2-specific Huffman decoding.
IppStatus ippsDecodeHuff_BZ2_8u16u(Ipp32u* pCode, int* pCodeLenBits, Ipp8u** ppSrc, int* pSrcLen, Ipp16u* pDst, int* pDstLen, IppDecodeHuffState_BZ2* pDecodeHuffState);
pCode |
Pointer to the bit buffer. |
pCodeLenBits |
Number of valid bits in the bit buffer. |
ppSrc |
Double pointer to the source vector. |
pSrcLen |
Pointer to the size of source buffer. |
pDst |
Pointer to the destination vector. |
pDstLen |
Pointer to the size of destination buffer on input, pointer to the resulting length of the destination vector on output. |
pDecodeHuffState |
Pointer to internal state structure for bzip2 specific Huffman decoding. |
The function ippsDecodeHuff_BZ2 is declared in the ippdc.h file. This function performs the bzip2-specific Huffman decoding. The function uses the bzip2-specific Huffman decoding state structure pDecodeHuffState. This structure must be initialized by the functions ippsDecodeHuffInitAlloc_BZ2 or ippsDecodeHuffInit_BZ2 beforehand.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if one of the pointers is NULL. |
ippStsSizeErr |
Indicates an error if length of the destination buffer is less than or equal to 0. |
ippStsSrcSizeLessExpected |
Indicates a warning if size of the source buffer is insufficient to store all output elements. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.