DecodeChanPairElt_MP4_AAC

Gets channel_pair_element from the input bitstream.

Syntax

IppStatus ippsDecodeChanPairElt_MP4_AAC(Ipp8u** ppBitStream, int* pOffset, IppAACIcsInfo* pIcsInfo, IppAACChanPairElt* pChanPairElt, IppAACMainHeader* pAACMainHeader, int predSfbMax, int audioObjectType);

Parameters

ppBitStream

Double pointer to the current byte. It is updated after decoding.

pOffset

Pointer to the bit position in the byte pointed to by ppBitStream. Valid within 0 to 7: 0 stands for the most significant bit of the byte; 7 stands for the least significant bit of the byte.

pIcsInfo

Pointer to IppAACIcsInfo structure.

pChanPairElt

Pointer to IppAACChanPairElt structure.

pAACMainHeader

Pointer to the main element header.

predSfbMax

Maximum prediction scale factor bands.

audioObjectType

Audio object type indicator: 1 indicates the main type 2 indicates the LC type 6 indicates the scalable mode.

Description

The ippsDecodeChanPairElt_MP4_AAC function is declared in the ippac.h file. This function gets the channel pair element from the input bitstream. Individual channel stream is not included.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when at least one of the specified pointers is NULL.

ippStsAacBitOffsetErr

Indicates an error when pOffset is out of the range of [0,7].

ippStsAacMaxSfbErr

Indicates an error when pIcsInfo->maxSfb decoded from bitstream is greater than IPP_AAC_MAX_SFB, the maximum scale factor band for all sampling frequencies.

Submit feedback on this help topic

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