Initializes LZO encoding structure.
IppStatus ippsEncodeLZOInit_8u(IppLZOMethod method, Ipp32u maxInputLen, IppLZOState_8u* pLZOState);
method |
Specifies required LZO compression method, possible values are listed in Table "method Parameter"). |
maxInputLen |
Specifies maximum length of input data buffer during compression operations. Not required for IppLZO1XST compression method. |
pLZOState |
Pointer to the LZO encoding structure. |
The function ippsEncodeLZOInit is declared in the ippdc.h file.
This function initializes the LZO encoding structure in the external buffer. Its size must be calculated by calling the function ippsEncodeLZOGetSize beforehand.
The parameter method must be the same for both functions.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if the pointer pLZOState is NULL. |
ippStsBadArgErr I |
ndicates an error if the parameter method has an illegal value. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.