DecodeLZ77InitAlloc

Allocates memory and initializes the LZ77 decoding structure.

Syntax

IppStatus ippsDecodeLZ77InitAlloc_8u(IppLZ77Chcksm checksum, IppLZ77State_8u** ppLZ77State);

Parameters

checksum

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

ppLZ77State

Double pointer to the LZ77 decoding structure.

Description

The function ippsDecodeLZ77InitAlloc is declared in the ippdc.h file. This function allocates memory and initializes the decoding state structure ppLZ77State. 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.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if the pointer ppLZ77State is NULL.

ippStsBadArgErr

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

ippStsMemAlloc

Indicates an error if memory allocation fails.

Submit feedback on this help topic

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