EncodeLZ77SetPairs

Sets pair data in the LZ77 encoding state structure.

Syntax

IppStatus ippsEncodeLZ77SetPairs_8u (IppLZ77Pair* pPairs, int pairsInd, int pairsLen, IppLZ77State_8u* pLZ77State);

Parameters

pPairs

Pointer to the pair buffer.

pairsInd

Current index in the pair buffer.

pairsLen

Length of the pair buffer.

pLZ77State

Pointer to the initialized LZ77 encoding state structure.

Description

The ippsEncodeLZ77SetPairs function is declared in the ippdc.h file. This function sets the pointer to the pair buffer pPairs, the length of the pair buffer pairsLen, and the current index pairsInd in the initialized LZ77 encoding state structure pLZ77State.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if the pLZ77State or pPairs pointer is NULL.

Submit feedback on this help topic

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