8 #include "aec_defines.h"
#define AEC_LIB_MAX_PHASES
Maximum total number of phases supported in the AEC library This is the maximum number of total phase...
Definition: aec_defines.h:84
#define AEC_LIB_MAX_Y_CHANNELS
Maximum number of microphone input channels supported in the library. Microphone input to the AEC ref...
Definition: aec_defines.h:30
#define AEC_LIB_MAX_X_CHANNELS
Maximum number of reference input channels supported in the library. Reference input to the AEC refer...
Definition: aec_defines.h:45
shadow_state_e
Definition: aec_state.h:36
aec_adaption_e
Definition: aec_state.h:27
@ LOW_REF
Not much reference so no point in acting on AEC filter logic.
Definition: aec_state.h:37
@ ERROR
something has gone wrong, zero shadow filter
Definition: aec_state.h:38
@ RESET
copy main filter to shadow filter
Definition: aec_state.h:40
@ EQUAL
main filter and shadow filter are similar
Definition: aec_state.h:41
@ COPY
shadow filter much better, copy to main
Definition: aec_state.h:43
@ SIGMA
shadow filter bit better than main, reset sigma_xx for faster convergence
Definition: aec_state.h:42
@ ZERO
shadow filter has been reset multiple times, zero shadow filter
Definition: aec_state.h:39
@ AEC_ADAPTION_FORCE_OFF
Filter adaption always OFF.
Definition: aec_state.h:30
@ AEC_ADAPTION_AUTO
Compute filter adaption config every frame.
Definition: aec_state.h:28
@ AEC_ADAPTION_FORCE_ON
Filter adaption always ON.
Definition: aec_state.h:29
int32_t fixed_s32_t
A 32-bit fixed-point scalar.
Definition: xs3_math_types.h:128
AEC control parameters.
Definition: aec_state.h:128
shadow_filt_config_params_t shadow_filt_conf
Definition: aec_state.h:132
aec_core_config_params_t aec_core_conf
Definition: aec_state.h:134
coherence_mu_config_params_t coh_mu_conf
Definition: aec_state.h:130
Definition: aec_state.h:104
int bypass
Definition: aec_state.h:106
int gamma_log2
Definition: aec_state.h:109
float_s32_t delta_min
Definition: aec_state.h:115
fixed_s32_t ema_alpha_q30
Definition: aec_state.h:119
float_s32_t delta_adaption_force_on
Definition: aec_state.h:113
uint32_t coeff_index
Definition: aec_state.h:117
uint32_t sigma_xx_shift
Definition: aec_state.h:111
AEC shared state structure.
Definition: aec_state.h:168
unsigned num_x_channels
Definition: aec_state.h:246
aec_config_params_t config_params
Definition: aec_state.h:238
unsigned num_y_channels
Definition: aec_state.h:242
shadow_filter_params_t shadow_filter_params
Definition: aec_state.h:234
[aec_shared_state_t]
Definition: aec_state.h:259
float_s32_t delta_scale
Definition: aec_state.h:332
float_s32_t delta
Definition: aec_state.h:335
aec_shared_state_t * shared_state
Definition: aec_state.h:338
unsigned num_phases
Definition: aec_state.h:343
[bfp_s16_t]
Definition: xs3_math_types.h:340
A block floating-point vector of 32-bit elements.
Definition: xs3_math_types.h:276
Definition: aec_state.h:49
float_s32_t coh_thresh_slow
Definition: aec_state.h:55
unsigned mu_shad_time
Definition: aec_state.h:69
unsigned mu_coh_time
Definition: aec_state.h:67
aec_adaption_e adaption_config
Definition: aec_state.h:71
float_s32_t thresh_minus20dB
Definition: aec_state.h:63
float_s32_t coh_thresh_abs
Definition: aec_state.h:57
float_s32_t coh_alpha
Definition: aec_state.h:51
int32_t force_adaption_mu_q30
Definition: aec_state.h:73
float_s32_t mu_scalar
Definition: aec_state.h:59
float_s32_t eps
Definition: aec_state.h:61
float_s32_t coh_slow_alpha
Definition: aec_state.h:53
float_s32_t x_energy_thresh
Definition: aec_state.h:65
Definition: aec_state.h:140
float_s32_t coh_slow
Slow moving average coherence.
Definition: aec_state.h:142
int32_t mu_shad_count
Counter for tracking number of frames shadow filter has been used in.
Definition: aec_state.h:145
int32_t mu_coh_count
Counter for tracking number of frames coherence has been low for.
Definition: aec_state.h:144
float_s32_t coh
Moving average coherence.
Definition: aec_state.h:141
A floating-point scalar with a 32-bit mantissa.
Definition: xs3_math_types.h:167
Definition: aec_state.h:79
float_s32_t shadow_reset_thresh
Definition: aec_state.h:85
float_s32_t x_energy_thresh
Definition: aec_state.h:90
int32_t shadow_reset_timer
Definition: aec_state.h:98
float_s32_t shadow_sigma_thresh
Definition: aec_state.h:81
int32_t shadow_better_thresh
Definition: aec_state.h:94
float_s32_t shadow_delay_thresh
Definition: aec_state.h:87
int32_t shadow_zero_thresh
Definition: aec_state.h:96
float_s32_t shadow_copy_thresh
Definition: aec_state.h:83
float_s32_t shadow_mu
Definition: aec_state.h:92
Definition: aec_state.h:153