Performs LZ77 decoding.
IppStatus ippsDecodeLZ77_8u(IppLZ77Pair** ppSrc, int* pSrcLen, Ipp8u** ppDst, int* pDstLen, IppLZ77Flush flush, IppLZ77State_8u* pLZ77State);
ppSrc |
Double pointer to the source buffer. |
pSrcLen |
Pointer to the length of the source buffer. |
ppDst |
Double pointer to the destination buffer. |
pDstLen |
Pointer to the length of the destination buffer. |
flush |
Specifies the encoding mode for data blocks. |
pLZ77State |
Pointer to the LZ77 decoding structure. |
The function ippsDecodeLZ77 is declared in the ippdc.h file. This function performs LZ77 decoding of a sequence of pairs of the IppLZ77Pair type. The sliding wind ow technique implemented in this function ensures compatibility with the RFC1950, RFC1951, and RFC1952 specifications.
The function ippsDecodeLZ77 can be used for decoding data not only in the DEFLATE, ZLIB, GZIP format, but in any other format based on the LZ77 algorithm.
Code example shows how to use the ippsDecodeLZ77 function.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if the pointer ppLZ77State is NULL. |
ippStsSizeErr |
Indicates an error if DstLen is less than or equal to 0. |
ippStsDstSizeLessExpected |
Indicates a warning that the destination buffer is full. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.