DecodeDatStrElt_AAC

Gets data stream element from the input bitstream.

Syntax

IppStatus ippsDecodeDatStrElt_AAC(Ipp8u** ppBitStream, int* pOffset, int* pDataTag, int* pDataCnt, Ipp8u* pDstDataElt);

Parameters

ppBitStream

Double pointer to the current byte after the decode data stream element.

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.

pDataTag

Pointer to element_instance_tag. See Table 6.20 of ISO/IEC 13818 - 7: 1997.

pDataCn

Pointer to the value of data length in bytes.

pDstDataElt

Pointer to the data stream buffer that contains the data stream extracted from the input bitstream. There are 512 elements in the buffer pointed to by pDstDataElt.

Description

This function is declared in the ippac.h file. The function gets data stream element from the input bitstream.

See clause 8.6 and Table 6.20 of ISO/IEC 13818 - 7: 1997.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when at least one of the pointers ppBitStream, pOffset, ppBitStream, pDataTag, pDataCnt, or pDstDataElt is NULL.

ippStsAacBitOffsetErr

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

Submit feedback on this help topic

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