DecodeLZ77StoredBlock

Performs decoding of the block stored without compression.

Syntax

IppStatus ippsDecodeLZ77StoredBlock_8u(Ipp8u** ppSrc, int* pSrcLen, Ipp8u** ppDst, int* pDstLen, IppLZ77State_8u* pLZ77State);

Parameters

ppSrc

Double pointer to the source buffer.

pSrcLen

Pointer to the length of the source vector.

ppDst

Double pointer to the destination vector.

pDstLen

Pointer to the length of the destination vector.

pLZ77State

Pointer to the LZ77 decoding structure.

Description

The function ippsDecodeLZ77StoredBlock is declared in the ippdc.h file. This function performs decoding of the source data block ppSrc that is stored without Huffman coding.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if one of the specified pointers is NULL.

ippStsSizeErr

Indicates an error if DstLen is less than or equal to 0.

ippStsWrongBlockType

Indicates a warning that the type of the block is not the “stored without compression type”.

ippStsSrcSizeLessExpected

Indicates a warning that the source buffer is less than expected (the end-of-block marker is not encoded).

ippStsDstSizeLessExpected

Indicates a warning that the destination buffer is full.

ippStsStreamEnd

Indicates a warning that the stream ends. This warning returns only if the flush parameter is set to IppLZ77FinishFlush.

Submit feedback on this help topic

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