UnpackADTSFrameHeader_AAC

Gets ADTS frame header from the input bitstream.

Syntax

IppStatus ippsUnpackADTSFrameHeader_AAC(Ipp8u** ppBitStream, IppAACADTSFrameHeader* pADTSFrameHeader);

Parameters

ppBitStream

Double pointer to the current byte after unpacking the ADTS frame header.

pADTSFrameHeader

Pointer to the IppAACADTSFrameHeader structure.

Description

The function gets ADTS frame header from the input bitstream. If the CRC word is applied, the first byte of the 16-bit CRC word is stored in pADTSFrameHeader->CRCWord[15:8] and the second byte is stored in pADTSFrameHeader->CRCWord[7:0]. It does not check whether the header is corrupt.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

Submit feedback on this help topic

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