Performs dynamic Huffman decoding.
IppStatus ippsDecodeLZ77DynamicHuff_8u(Ipp8u** ppSrc, int* pSrcLen, IppLZ77Pair** ppDst, int* pDstLen, IppLZ77Flush flush, IppLZ77State_8u* pLZ77State);
ppSrc |
Double pointer to the source buffer. |
pSrcLen |
Pointer to the length of the source vector. |
ppDst |
Double pointer to the destination vector. |
pDstLen |
Pointer to the length of the destination vector. |
flush |
Specifies the decoding mode for data blocks. |
pLZ77State |
Pointer to the LZ77 decoding structure. |
The function ippsDecodeLZ77DynamicHuff is declared in the ippdc.h file. This function performs decoding of the source data ppSrc with the dynamic Huffman codes (see RFC1951 specification).
Exit from the ippsDecodeLZ77FixedHuff function occurs when:
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if one of the specified pointers is NULL. |
ippStsSizeErr |
Indicates an error if DstLen is less than or equal to 0. |
ippStsSrcSizeLessExpected |
Indicates a warning that the source buffer is less than expected (the end-of-block marker is not encoded). |
ippStsDstSizeLessExpected |
Indicates a warning that the destination buffer is full. |
ippStsStreamEnd |
Indicates a warning that the stream ends. This warning returns only if the flush parameter is set to IppLZ77FinishFlush. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.