Decompresses input data, returns the length of the decompressed data.
IppStatus ippsDecodeLZO_8u (Ipp8u* pSrc, Ipp32u srcLen, Ipp8u* pDst, Ipp32u* pDstLen);
pSrc |
Pointer to the source data buffer. |
srcLen |
Number of elements in the source data buffer. |
pDst |
Pointer to the destination data buffer. |
pDstLen |
Pointer to the variable with the number of elements in the destination data buffer. |
The function ippsDecodeLZO is declared in the ippdc.h file.The function decompresses the source (compressed) data according to the compressed data format. This function can decompress both single-thread and multi-threaded data. Note that the maximum performance can be obtained only in multi-threaded decompression of data compressed in the multi-threaded mode.
Destination data buffer must have enough free space to hold uncompressed data. No output buffer check is performed and no error code is returned. In the case of doubts use safe version of this function ippsDecodeLZOSafe .
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.