Gets main header information and main layer information from bit stream.
IppStatus ippsDecodeMainHeader_AAC(Ipp8u** ppBitStream, int* pOffset, IppAACMainHeader* pAACMainHeader, int channelNum, int monoStereoFlag);
ppBitStream |
Double pointer to bitstream buffer. It is updated after decoding. |
pOffset |
Pointer to the offset in one byte. It is updated after decoding. |
channelNum |
Number of channels. |
monoStereoFlag |
Current frame has mono and stereo layers. |
pAACMainHeader |
Pointer to the main element header. |
This function is declared in the ippac.h file. The function gets main header information and main layer information from bit stream.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when at least one of the specified pointers is NULL. |
ippStsAacBitOffsetErr |
Indicates an error when pOffset exceeds [0,7]. |
ippStsAacChanErr |
Indicates an error when channelNum exceeds [1,2]. |
ippStsAacMonoStereoErr |
Indicates an error when monoStereoFlag exceeds [0,1]. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.