DecodeExtensionHeader_AAC

Gets extension header information and extension layer information from bit stream.

Syntax

IppStatus ippsDecodeExtensionHeader_AAC(Ipp8u** ppBitStream, int* pOffset, IppAACExtHeader* pAACExtHeader, int monoStereoFlag, int thisLayerStereo, int monoLayerFlag, int preStereoMaxSfb, int hightstMonoMaxSfb, int winSequence);

Parameters

ppBitStream

Double pointer to bitstream buffer. It is updated after decoding.

pOffset

Pointer to the offset in one byte. It is updated after decoding.

monoStereoFlag

Flag indicating that the current frame has mono and stereo layers.

thisLayerStereo

Flag indicating that the current layer is stereo.

monoLayerFlag

Flag indicating that the current frame has a mono layer.

preStereoMaxSfb

Previous stereo layer maxSfb.

hightstMonoMaxSfb

Last mono layer maxSfb.

winSequence

Window type, short or long.

pAACExtHeader

Pointer to the extension element header.

Description

This function is declared in the ippac.h file. The function gets extension header information and extension layer information from the bitstream.

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].

ippStsAacStereoLayerErr

Indicates an error when thisLayerStereo exceeds [0,1].

ippStsAacMonoLayerErr

Indicates an error when monoLayerFlag exceeds [0,1].

ippStsAacMaxSfbErr

Indicates an error when at least one of the parameters preStereoMaxSfb, hightstMonoMaxSfb or the number of scale factor bands used in this layer exceeds [0,IPP_AAC_MAX_SFB].

ippStsAacMonoStereoErr

Indicates an error when monoStereoFlag exceeds [0,1].

ippStsAacWinSeqErr

Indicates an error when winSequence exceeds [0,3].

Submit feedback on this help topic

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