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);
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. |
The function ippsEncodeLZO is declared in the ippdc.h file.
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. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.