EncodeLZ77SetStatus

Sets the deflate status to the desired value in the LZ77 encoding state structure.

Syntax

IppStatus ippsEncodeLZ77SetStatus_8u (IppLZ77DeflateStatus deflateStatus, IppLZ77_8u* pLZ77Stat);

Parameters

pLZ77State

Pointer to the initialized LZ77 encoding state structure.

pDeflateStatus

Pointer to the deflate status parameter (see deflateStatus Parameter).

Description

The ippsEncodeLZ77SetStatus function is declared in the ippdc.h file. This function sets the parameter deflateStatus to the specified value in the initialized LZ77 encoding state structure pLZ77State.

This parameter must be specified only if the compatibility with the RFC1950, RFC1951, and RFC1952 specifications is required.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if the pLZ77State pointer is NULL.

ippStsBadArgErr

Indicates an error if the deflateStatus parameter has an illegal value.

Submit feedback on this help topic

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