UnpackADIFHeader_AAC

Gets the AAC ADIF format header.

Syntax

IppStatus ippsUnpackADIFHeader_AAC(Ipp8u** ppBitStream, IppAACADIFHeader* pADIFHeader, IppAACPrgCfgElt* pPrgCfgElt, int prgCfgEltMax);

Parameters

ppBitStream

Double pointer to the current byte before the ADIF header.

pADIFHeader

Pointer to the IppACCADIFHeader structure.

pPrgCfgElt

Pointer to the IppAACPrgCfgElt structure. There must be prgCfgEltMax elements in the buffer.

prgCfgEltMax

Maximum program configure element number. Must be within the range of [1, 16].

Description

This function is declared in the ippac.h file. The function gets the AAC ADIF format header, including program configuration elements from the input bitstream. See Table 6.2, and 6.21. of ISO/IEC 13818 - 7: 1997.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when at least one of the pointers ppBitStream, pADIFHeader, pPrgCfgElt, or ppBitStream is NULL.

ippStsAacPrgNumErr

Indicates an error when the decoded pADIFHeader-> numPrgCfgElt > prgCfgEltMax, or prgCfgEltMax is outside the range of [1,IPP_AAC_MAX_ELT_NUM].

Note iconNote

pADIFHeader->numPrgCfgElt is the number directly unpacked from bitstream plus 1.


Submit feedback on this help topic

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