HuffmanRunLevelTableInitAlloc

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

Syntax

IppStatus ippiHuffmanRunLevelTableInitAlloc_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 ippiHuffmanRunLevelTableInitAlloc_32s allocates memory and initializes structure for a table in which one code corresponds to two value (See Table 1-4 ). This structure is used for decoding.

See Table 1-11 for details of specific use of the function in MPEG1, 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 - 2010, Intel Corporation. All rights reserved.