Computes the size of the internal state for bzip2-specific Huffman encoding.
IppStatus ippsEncodeHuffGetSize_BZ2_16u8u(int wndSize, int* pEncodeHuffStateSize);
wndSize |
Size of the block to be processed. |
pEncodeHuffStateSize |
Pointer to the size of the internal state for bzip2-specific Huffman coding. |
The function ippsEncodeHuffGetSize_BZ2 is declared in the ippdc.h file. This function computes the size of the internal state structure for bzip2-specific Huffman encoding in dependence of the size of the block to be encoded.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if the pointer pEncodeHuffStateSize is NULL. |
ippStsSizeErr |
Indicates an error if wndSize is less than or equal to 0. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.