HuffmanTableInitAlloc

Allocates memory and initializes structure for table with one-to-one code/value correspondence.

Syntax

IppStatus ippiHuffmanTableInitAlloc_32s(const Ipp32s* pSrcTable, IppVCHuffmanSpec_32s** ppDstSpec);

Parameters

pSrcTable

Pointer to the source table (see Source Table Structure).

ppDstSpec

Double pointer to the destination decoding table.

Description

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.

Return Values

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.


Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.