EncodeLZSSInit

Initializes the LZSS encoder state structure.

Syntax

IppStatus ippsEncodeLZSSInit_8u (IppLZSSState_8u* pLZSSState);

Parameters

pLZSSState

Pointer to the LZSS encoder state structure.

Description

The function ippsEncodeLZSSInit is declared in the ippdc.h file. This function initializes the LZSS state structure pLZSSState in the external buffer. Its size must be computed previously by calling the function ippsLZSSGetSize. Alternatively, this state structure can be initialized by the function ippsEncodeLZSSInitAlloc.

The LZSS encoder state structure is required for the encoder functions ippsEncodeLZSS and ippsEncodeLZSSFlush.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if the pointer pLZSSState is NULL.

Submit feedback on this help topic

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