Decodes one code using specified table and gets one decoded value.
IppStatus ippiDecodeHuffmanOne_1u32s(Ipp32u** ppBitStream, Ipp32s* pOffset, Ipp32s* pDst, const IppVCHuffmanSpec_32s* pDecodeTable);
ppBitStream |
Double pointer to the current position in the bitstream. |
pOffset |
Pointer to offset between the bit that ppBitStream points to and the start of the code. pOffset may vary from zero to 31. |
pDst |
Pointer to the destination result, that is, one value. |
pDecodeTable |
Pointer to the decoding table. |
This function is declared in the ippvc.h header file. The function ippiDecodeHuffmanOne_1u32s decodes one code from the bitstream using a specified table, sends the result (one value) to the destination data, and resets the pointers to new positions (See example in Figure "Getting One Code From Bitstream"). The function uses the table derived by the HuffmanTableInitAlloc function.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when at least one input pointer is NULL. |
ippStsH263VLCCodeErr |
Indicates an error in process of decoding. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.