EncodeLZOInit

Initializes LZO encoding structure.

Syntax

IppStatus ippsEncodeLZOInit_8u(IppLZOMethod method, Ipp32u maxInputLen, IppLZOState_8u* pLZOState);

Parameters

method

Specifies required LZO compression method, possible values are listed in Table "method Parameter").

maxInputLen

Specifies maximum length of input data buffer during compression operations. Not required for IppLZO1XST compression method.

pLZOState

Pointer to the LZO encoding structure.

Description

The function ippsEncodeLZOInit is declared in the ippdc.h file.

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.

Return Values

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.

Submit feedback on this help topic

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