UnpackHuffContext_BZ2
UnpackHuffContext_BZ2
Performs the bzip2-specific decoding of Huffman context.
Syntax
IppStatus ippsUnpackHuffContext_BZ2_8u16u(Ipp32u*
pCode
, int*
pCodeLenBits
, Ipp8u**
ppSrc
, int*
pSrcLen
, IppDecodeHuffState_BZ2*
pDecodeHuffState
);
Include Files
ippdc.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
Parameters
- pCode
- Pointer to the bit buffer.
- pCodeLenBits
- Number of valid bits in the bit buffer.
- ppSrc
- Double pointer to the source vector.
- pSrcLen
- Pointer to the size of source buffer on input, pointer to the resulting length of the source vector on output.
- pDecodeHuffState
- Pointer to internal state structure for bzip2 specific Huffman decoding.
Description
This function performs the bzip2-specific decoding of the
Huffman context
. The function uses the bzip2-specific Huffman decoding state structure pDecodeHuffState
. This structure must be initialized by ippsDecodeHuffInit_BZ2
beforehand.Return Values
- ippStsNoErr
- Indicates no error.
- ippStsNullPtrErr
- Indicates an error if one of the pointers isNULL.
- ippStsSizeErr
- Indicates an error if length of the destination buffer is less than or equal to 0.
- ippStsSrcSizeLessExpected
- Indicates a warning if size of the source buffer is insufficient to store all output elements.