Allocates memory and initializes structure for table with one-to-one code/value correspondence.
IppStatus ippiHuffmanTableInitAlloc_32s(const Ipp32s* pSrcTable, IppVCHuffmanSpec_32s** ppDstSpec);
pSrcTable |
Pointer to the source table (see Source Table Structure). |
ppDstSpec |
Double pointer to the destination decoding table. |
This function is declared in the ippvc.h header file. The function ippiHuffmanTableInitAlloc_32s allocates memory and initializes a structure for a table in which one code corresponds to one value (See Table “One-to-One Code/Value Correspondence”). This structure is used for decoding.
See Table “MPEG-1 and MPEG-2 Video Decoding Functions” for details of specific use of the function in the MPEG1 and MPEG2 standards.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when at least one input pointer is NULL. |
ippStsMemAllocErr |
Indicates an error when no memory is allocated. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.