Decodes a single code word.
IppStatus ippsDecodeHuffOne_8u(const Ipp8u* pSrc, int srcOffsetBits, Ipp8u* pDst, IppHuffState_8u* pHuffState);
pSrc |
Pointer to the source buffer. |
srcOffsetBits |
Offset (bits) in the source buffer. |
pDst |
Pointer to the destination buffer. |
pHuffState |
Pointer to the Huffman decoding structure. |
The function ippsDecodeHuffOne is declared in the ippdc.h file. This function performs Huffman decoding of the single code word in the source buffer pSrc. Its position is specified by the value (in bits) of offset from the high bit srcOffsetBits. The decoded element is stored in the destination buffer pDst. The function uses the Huffman decoding structure pHuffState that mustd be initialized by calling the functions ippsDecodeHuffInitAlloc or ippsDecodeHuffInit beforehand.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if one of the specified pointers is NULL. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.