pinebuds/services/multimedia/speech/inc/med_aec3_main_internal.h

94 lines
2.9 KiB
C
Raw Permalink Normal View History

2022-08-15 04:20:27 -05:00
/*****************************************************************************
1 <EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
*****************************************************************************/
#include "codec_typedefine.h"
#include "med_aec_comm.h"
#include "med_aec3_main.h"
#include "med_aec_hf_af.h"
#include "med_aec_hf_nlp.h"
#include "med_aec_hpf.h"
#include "med_emph_filter.h"
#include "med_aec_delay.h"
#ifndef _MED_AEC3_MAIN_INTERNAL_H_
#define _MED_AEC3_MAIN_INTERNAL_H_
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif
#endif
/* NS <20>ڲ<EFBFBD><DAB2><EFBFBD><E1B9B9> */
typedef struct
{
VOS_VOID *stNs;
NS_HANDLER_T swHandler;
} MED_AEC3_HF_NS_STRU;
/* AEC<45>ڲ<EFBFBD>״̬<D7B4>ṹ */
typedef struct
{
MED_OBJ_HEADER
VOS_BOOL shwIsEAecEnable;
VOS_BOOL shwIsHpfEnable;
VOS_BOOL shwIsPreEmpEnable;
VOS_BOOL shwIsAfEnable;
VOS_BOOL shwIsNsEnable;
VOS_INT16 shwFrameLength;
VOS_INT16 shwDelayLength;
MED_AEC_DELAY_STRU stEAecDelay;
MED_AEC_HF_AF_STRU stEAecHfAf;
MED_AEC_HPF_STRU stEAecMicHpf;
MED_AEC_HPF_STRU stEAecSpkHpf;
MED_AEC3_HF_NS_STRU stEAecNs;
#ifdef MED_AEC_PREEMPH_ENABLE
MED_PREEMPH_STRU stPreEmpMc;
MED_PREEMPH_STRU stPreEmpFar;
MED_DEEMPH_STRU stDeEmpMc;
#endif
} MED_AEC3_OBJ_STRU;
/*****************************************************************************
2 <EFBFBD><EFBFBD><EFBFBD>
*****************************************************************************/
/*****************************************************************************
3 ö<EFBFBD>ٶ<EFBFBD><EFBFBD><EFBFBD>
*****************************************************************************/
/*****************************************************************************
4 ȫ<EFBFBD>ֱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
*****************************************************************************/
/*****************************************************************************
5 STRUCT<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
*****************************************************************************/
/*****************************************************************************
6 UNION<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
*****************************************************************************/
/*****************************************************************************
7 OTHERS<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
*****************************************************************************/
/*****************************************************************************
8 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
*****************************************************************************/
#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif
#endif /* end of med_aec_main.h*/