📄 armacaac.h
字号:
/** * * File Name: armACAAC.h * OpenMAX DL: v1.0.2 * Revision: 10586 * Date: Wednesday, March 5, 2008 * * (c) Copyright 2007-2008 ARM Limited. All Rights Reserved. * * * * File: armACAAC.h * * Declares C functions used in the sample implementation of OpenMAX Audio domain * */ #ifndef _armACAAC_H_#define _armACAAC_H_#include "omxAC.h"#include "armCOMM.h"/** * Function: armACAAC_TnsDecodeCoef * * Description: * Inverse Quantization and conversion to LPC coefficients * * Parameters: * [in] pTnsFiltCoef pointer to TNS filter coefficients * [in] coeffRes TNS coef resolution bits * [in] tnsOrder TNS filter order * [out] pLpCoeff pointer to the LPC coefficients * * Return Value: * Standard OMXResult result. See enumeration for possible result codes. * */OMXResult armACAAC_TnsDecodeCoef( const OMX_S8 *pTnsFiltCoef, OMX_F64 *pLpCoeff, OMX_INT coeffRes, OMX_INT tnsOrder);/** * Function: armACAAC_TnsFilter * * Description: * TNS filter for analysis/synthesis * * Parameters: * [in] pSpectralCoeff pointer to the spectral coefficients to do encode TNS * represented in Q13.18 format. * [in] pLpCoeff pointer to the LPC coefficients * [in] size size of filtering * [in] tnsOrder TNS filter order * [in] increment indicating direction of filtering * [in] flag Indicating Encode/Decode 1: Encode 0: Decode * [out] pSpectralCoeff pointer to the spectral coefficients have done encode TNS * represented in Q13.18 format. * */OMXVoid armACAAC_TnsFilter( OMX_S32 *pSpectralCoeff, OMX_F64 *pLpCoeff, OMX_INT size, OMX_INT increment, OMX_INT tnsOrder, OMX_INT flag);/** * Function: armACAAC_DecodeLtpData * * Description: * Parses the LTP information from the bit stream. * * Parameters: * [in/out] ppBitStream pointer to the pointer to the current byte * [in/out] pOffset pointer to the bit position in the byte pointed * by *ppBitStream. Valid within 0 to 7. 0: MSB of * the byte, 7: LSB of the byte. * [in] winSequence window type, short or long * [in] maxSfb number of scale factor band * [out] pAACLtpInfo pointer to the LTP information * */OMXVoid armACAAC_DecodeLtpData( const OMX_U8 **ppBitStream, OMX_INT *pOffset, OMX_INT winSequence, OMX_INT maxSfb, OMXAACLtpInfo *pLtpInfo);/** * Function: armACAAC_DecodeIcsInfoData * * Description: * Parses ICS information from the bit stream. * * Parameters: * [in/out] ppBitStream pointer to the pointer to the current byte * [in/out] pOffset pointer to the bit position in the byte pointed * by *ppBitStream. Valid within 0 to 7. 0: MSB of * the byte, 7: LSB of the byte. * [in] commonWin 1/0:Infomation shared/ notshared for two channels * [in] audioObjectType audio object type indication. 1:main, 2:LC, 4: LTP * [in] predSfbMax maximum prediction scalefactor bands. For LC profile, set predSfbMax = 0 * for there is no predictors. * [out] pChanInfo pointer to the channel information structure * used as output only if != NULL * [out] pIcsInfo pointer to the ICS information structure * [out] pLtpInfo pointer to the array of pointers to the LTP information structures * */ OMXResult armACAAC_DecodeIcsInfoData( const OMX_U8 **ppBitStream, OMX_INT *pOffset, OMX_INT commonWin, OMX_INT audioObjectType, OMX_INT predSfbMax, OMXAACChanInfo *pChanInfo, OMXAACIcsInfo *pIcsInfo, OMXAACLtpInfoPtr *pLtpInfo);#endif /*_armACAAC_H_*//*End of file*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -