DecodeBlock_BZ2

Performs the bzip2-specific block decoding.

Syntax

IppStatus ippsDecodeBlock_BZ2_16u8u(const Ipp16u* pSrc, int* srcLen, Ipp8u* pDst, int* pDstLen, int index, int dictSize, const Ipp8u inUse[256], Ipp8u* pBuff);

Parameters

pSrc

Pointer to the source vector.

pSrcLen

Pointer to the length of the source vector.

pDst

Pointer to the destination vector.

pDstLen

Pointer to the size of destination buffer on input, pointer to the resulting length of the destination vector on output.

index

Index of first position for the inverse BWT transform

dictSize

Size of the reduced dictionary.

inUse

Table of 256 values of Ipp8u type.

pBuff

Pointer to the additional buffer.

Description

The function ippsDecodeBlock_BZ2 is declared in the ippdc.h file. This function performs the bzip2-specific blockn decoding. The function uses the bzip2-specific additional buffer pBuff. The size of this buffer must be computed by the function ippsDecodeBlockGetSize_BZ2 beforehand.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if one of the pointers is NULL.

ippStsSizeErr

Indicates an error if length of the source or destination buffer is less than or equal to 0; or if index is greater than or equal to srcLen.

ippStsSrcSizeLessExpected

Indicates a warning if size of the source buffer is insufficient to store all output elements.

Submit feedback on this help topic

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