EncodeLZ77GetPairs

Retrieves pair data from the LZ77 encoding state structure.

Syntax

IppStatus ippsEncodeLZ77GetPairs_8u (IppLZ77Pair** ppPairs, int* pPairsInd, int* pPairsLen, IppLZ77State_8u* pLZ77State);

Parameters

ppPairs

Double pointer to the pair buffer.

pPairsInd

Pointer to the current index in the pair buffer.

pPairsLen

Pointer to the length of the pair buffer.

pLZ77State

Pointer to the initialized LZ77 encoding state structure.

Description

The ippsEncodeLZ77GetPairsfunction is declared in the ippdc.h file. This function returns the following pointers: ppPairs to the pair buffer, pPairsLen to the length of the pair buffer, and pPairsInd to the current index. These pointers are retrieved from 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.