DecodeLZO

Decompresses input data, returns the length of the decompressed data.

Syntax

IppStatus ippsDecodeLZO_8u (Ipp8u* pSrc, Ipp32u srcLen, Ipp8u* pDst, Ipp32u* pDstLen);

Parameters

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.

Description

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.

Note iconNote

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.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if one of the specified pointers is NULL.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.