⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hi_aenc.h

📁 嵌入式linux系统下hi3510平台的osd开发源码
💻 H
字号:
/******************************************************************************  Copyright (C), 2001-2011, Hisilicon Tech. Co., Ltd. ******************************************************************************  File Name             :   hi_adec.h  Version               :   Initial Draft  Author                :   Hisilicon multimedia software group  Created               :   2006/01/10  Last Modified         :  Description           :   Function List         :  History               :  1.Date                :   2006/01/10    Author              :   F47391    Modification        :   Created file******************************************************************************/#ifndef  __HI_AENC_H__#define  __HI_AENC_H__#include <hi_common.h>#ifdef __cplusplus#if __cplusplusextern "C"{#endif#endif /* End of #ifdef __cplusplus *//* Set the attribute of audio input channel */HI_S32 HI_AENC_SetAIAttr( AI_CHN ChanID, AUDIO_CH_ATTR_S *pAiAttr);/* Get the attribute of audio input channel */HI_S32 HI_AENC_GetAIAttr( AI_CHN ChanID, AUDIO_CH_ATTR_S *pAiAttr);/* Set the attribute of audio encoder channel */HI_S32 HI_AENC_SetCHAttr(AENC_CHN ChanID, AENC_CH_ATTR_S *pAattr);/* Get the attribute of audio encoder channel */HI_S32 HI_AENC_GetCHAttr(AENC_CHN ChanID, AENC_CH_ATTR_S *pAattr);/* Open the audio encoder */HI_S32  HI_AENC_Open(void);/* Close the audio encoder */HI_S32  HI_AENC_Close(void);/* Create one audio encoder channel */HI_S32 HI_AENC_CreateCH( AI_CHN ChanID,                          AUDIO_CODEC_FORMAT_E enType,                          HI_BOOL bFlag,                         AENC_CHN *pAencChn);/*** The exptend interface for audio encoder channel create.** More attribute can setted than HI_AENC_CreateCH interface.*/HI_S32 HI_AENC_CreateCHEx(AI_CHN ChanID, AUDIO_CODEC_FORMAT_E enType,                           HI_VOID *pConfig, AENC_CHN *pAencChn);/* Destroy the audio encoder channel */HI_S32 HI_AENC_DestroyCH(AENC_CHN ChanID, HI_BOOL bFlag);/* Start the audio encoder channel */HI_S32 HI_AENC_StartCH(AENC_CHN ChanID, HI_S32 s32Priority);/* Stop the audio encoder channel */HI_S32 HI_AENC_StopCH( AENC_CHN ChanID);/* Get the encoded audio stream. With the four bytes head. */HI_S32 HI_AENC_GetStream(AENC_CHN ChanID,AENC_STREAM_S *pStream);/* Get the encoded audio stream. Without the four bytes head.  */HI_S32 HI_AENC_GetStreamEx(AENC_CHN ChanID,AENC_STREAM_S *pStream);/* Release the audio stream buffer */HI_S32 HI_AENC_ReleaseStream(AENC_CHN ChanID,AENC_STREAM_S *pStream);/* Get the audio raw data */HI_S32 HI_AENC_GetRawData(AI_CHN ChanID, AUDIO_RAWDATA_S *pStream);/* Set the AEC attribute */HI_S32 HI_AENC_SetAECAttr(AI_CHN ai_ChanID, AENC_AEC_ATTR_S *pAttr);/* Get AEC attribute */HI_S32 HI_AENC_GetAECAttr(AI_CHN ai_ChanID, AENC_AEC_ATTR_S *pAttr);/* Enable the AEC(Acoustic Echo Canceler) function */HI_S32 HI_AENC_EnableAEC(AI_CHN ai_ChanID, AO_CHN ao_ChanID);/* Disable the AEC(Acoustic Echo Canceler) function */HI_S32 HI_AENC_DisableAEC(AI_CHN ai_ChanID, AO_CHN ao_ChanID);/* Enable the AI to AO local loop function */HI_S32 HI_AI_EnableAI2AO(AI_CHN ai_ChanID, AO_CHN ao_ChanID);/* Disable the AI to AO local loop function */HI_S32 HI_AI_DisableAI2AO(AI_CHN ai_ChanID, AO_CHN ao_ChanID);#ifdef __cplusplus#if __cplusplus}#endif #endif /* End of #ifdef __cplusplus */#endif/* End of #ifndef __HI_AENC_H__*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -