DecodeLZ77Init

Initializes the LZ77 decoding structure.

Syntax

IppStatus ippsDecodeLZ77Init_8u(IppLZ77Chcksm checksum, IppLZ77State_8u* pLZ77State);

Parameters

checksum

Specifies an algorithm to compute the checksum for input data (see checksum Parameter).

pLZ77State

Pointer to the initialized LZ77 decoding structure.

Description

The function ippsDecodeLZ77Init is declared in the ippdc.h file. This function initializes the LZ77 decoding structure in the external buffer whose size must be previously computed by calling the function ippsDecodeLZ77GetSize. The function uses different algorithms to compute the checksum for input data in accordance with the value of the parameter checksum. The decoding state structure is used by the function ippsDecodeLZ77.

Alternatively, this structure can be initialized by the function ippsDecodeLZ77InitAlloc .

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if the pointer pLZ77State is NULL.

ippStsBadArgErr

Indicates an error if the checksum parameter has an illiegal value.

Submit feedback on this help topic

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