Initializes the LZ77 encoding state structure.
IppStatus ippsEncodeLZ77Init_8u (IppLZ77comprLevel comprLevel, ippLZ77chcksm checksum, IppLZ77_8u* pLZ77State);
comprLevel |
Specifies desired compression level (see comprLevel Parameter). |
checksum |
Specifies an algorithm to compute the checksum for input data (see checkSum Parameter). |
ppLZ77State |
Pointer to the LZ77 encoding state structure. |
The function ippsEncodeLZ77Init is declared in the ippdc.h file. This function initializes the LZ77 encoding state structure in the external buffer. Its size must be previously computed by calling the function ippsEncodeLZ77GetSize. The function implements different algorithms to compute the checksum for input data in accordance with the value of the parameter checksum and different compression levels that are specified by the parameter comprLevel. The encoding state structure is used by different ZLIB encoder functions.
Alternatively, this state structure can be initialized by the function ippsEncodeLZ77InitAlloc.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if the pLZ77State pointer is NULL. |
ippStsBadArgErr |
Indicates an error if the checksum or comprLevel parameter has an illegal value. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.