Writes the checksum and total length of the input data to the end of the stream.
IppStatus ippsEncodeLZ77Flush_8u (Ipp8u** ppDst, int* pDstLen, IppLZ77State_8u* pLZ77State);
ppDst |
Double pointer to the destination buffer. |
pDstLen |
Pointer to the length of destination buffer. |
pLZ77State |
Pointer to the initialized LZ77 encoding state structure. |
The ippsEncodeLZ77Flushfunction is declared in the ippdc.h file. This function writes the computed checksum and total length of the input data stream to the end of the output stream that is encoded by the function ippsEncodeLZ77SelectHuffMode. This function is used to ensure compatibility with the RFC1950, RFC1951, and RFC1952 specifications.
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. |
ippStsDstSizeLessExpected |
Indicates a warning that the size of the destination buffer is insufficient for completing the operation. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.