Allocated memory an initializes the elements of the bzip2-specific internal state for Huffman encoding.
IppStatus ippsEncodeHuffInitAlloc_BZ2_16u8u(int wndSize, int sizeDictionary, const int freqTable[258], const Ipp16u* pSrc, int srcLen, IppEncodeHuffState_BZ2** ppEncodeHuffState);
wndSize |
Size in bytes of the block to be processed. |
sizeDictionary |
Size of the dictionary. |
freqTable |
Table of frequencies of symbols. |
pSrc |
Pointer to the source vector. |
srcLen |
Length of the source vector. |
ppEncodeHuffState |
Double pointer to the state structure for bzip2 specific Huffman coding. |
The function ippsEncodeHuffInit_BZ2 is declared in the ippdc.h file. This function allocates memory and initializes the elements of the bzip2-specific internal state pEncodeHuffState for Huffman encoding. This structure is used by the function ippsEncodeHuff_BZ2.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if one of the pointers is NULL. |
ippStsSizeErr |
Indicates an error if length of the source buffer is less than or equal to 0. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.