DecodeHuffInitAlloc_BZ2

Allocated memory an initializes the elements of the bzip2-specific internal state for Huffman decoding.

Syntax

IppStatus ippsDecodeHuffInitAlloc_BZ2_8u16u(int wndSize, int sizeDictionary, IppDecodeHuffState_BZ2** ppDecodeHuffState);

Parameters

wndSize

Size in bytes of the block to be processed.

sizeDictionary

Size of the dictionary.

pDecodeHuffState

Pointer to the state structure for bzip2 specific Huffman decoding.

Description

The function ippsDecodeHuffInitAlloc_BZ2 is declared in the ippdc.h file. This function allocates memory and initializes the elements of the bzip2-specific internal state pDecodeHuffState for Huffman decoding. This structure is used by the function ippsDecodeHuff_BZ2.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if the pDecodeHuffState pointer is NULL.

ippStsSizeErr

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

Submit feedback on this help topic

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