Developer Reference for Intel® Integrated Performance Primitives 2018
Compresses input data, returns the length of the compressed data.
IppStatus ippsEncodeLZO_8u (const Ipp8u* pSrc, Ipp32u srcLen, Ipp8u* pDst, Ipp32u* pDstLen, IppLZOState_8u* pLZOState);
ippdc.h
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
pSrc |
Pointer to the source buffer. |
srcLen |
Length of the source buffer. |
pDst |
Pointer to the destination buffer. |
pDstLen |
Pointer to the length of the destination buffer. |
pLZOState |
Pointer to the LZO state structure. |
This function performs compression of the source data pSrc according to the method specified in the LZO state structure pLZOState. It must be previously initialized by the function ippsEncodeLZOInit.
Compressed data are stored in the pDst, the pointer pDstLen points to the number of elements in this buffer.
Code example shows how the Intel IPP functions for the LZO compression can be used.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if one of the specified pointers is NULL. |