Allocates memory and creates Huffman table in a format that is suitable for a decoder.
IppStatus ippiDecodeHuffmanSpecInitAlloc_JPEG_8u(const Ipp8u* pListBits, const Ipp8u* pListVals, IppiDecodeHuffmanSpec** ppDecHuffSpec);
pListBits |
Pointer to Bits list. |
pListVals |
Pointer to Vals list. |
ppDecHuffSpec |
Pointer to the returned pointer to the Huffman table for the decoder. |
The function ippiDecodeHuffmanSpecInitAlloc_JPEG is declared in the ippj.h file. This function allocates memory and creates the Huffman table in a format that is suitable for a decoder. The function expects that Bits and Vals lists are supplied in the format specified in [ISO10918], Annex C, Huffman Table Specification. To generate the table, the function uses the procedure that is described in [ISO10918], Annex C.2, Conversion of HuffmanTables Specified in Interchange Format to Tables of Codes and Code Lengths .
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error condition if one or all of the specified pointers are NULL. |
ippStsJPEGHuffTableErr |
Indicates an error condition during the initialization of the table. It may happen when raw tables contain inadmissible values. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.