Developer Reference for Intel® Integrated Performance Primitives 2019
Initializes LZO encoding structure.
IppStatus ippsEncodeLZOInit_8u(IppLZOMethod method, Ipp32u maxInputLen, IppLZOState_8u* pLZOState);
ippdc.h
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
method |
Specifies required LZO compression method, possible values are listed in Table "method Parameter"). |
maxInputLen |
Specifies the maximum length of the input data buffer during compression operations. Not required for the IppLZO1XST and IppLZO1X1ST compression methods. |
pLZOState |
Pointer to the LZO encoding structure. |
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. |