Home
last modified time | relevance | path

Searched refs:PART_LEN1 (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/src/modules/audio_processing/aec/
Daec_core.h25 #define PART_LEN1 (PART_LEN + 1) // Unique fft coefficients macro
86 float xPow[PART_LEN1];
87 float dPow[PART_LEN1];
88 float dMinPow[PART_LEN1];
89 float dInitMinPow[PART_LEN1];
92 float xfBuf[2][NR_PART * PART_LEN1]; // farend fft buffer
93 float wfBuf[2][NR_PART * PART_LEN1]; // filter fft
94 complex_t sde[PART_LEN1]; // cross-psd of nearend and error
95 complex_t sxd[PART_LEN1]; // cross-psd of farend and nearend
96 complex_t xfwBuf[NR_PART * PART_LEN1]; // farend windowed fft buffer
[all …]
Daec_core.c115 static void ComfortNoise(aec_t *aec, float efw[2][PART_LEN1],
121 static void UpdateLevel(power_level_t* level, float in[2][PART_LEN1]);
126 float freq_data[2][PART_LEN1],
189 sizeof(float) * 2 * PART_LEN1) == -1) { in WebRtcAec_CreateAec()
195 sizeof(float) * 2 * PART_LEN1) == -1) { in WebRtcAec_CreateAec()
209 PART_LEN1, in WebRtcAec_CreateAec()
243 static void FilterFar(aec_t *aec, float yf[2][PART_LEN1]) in FilterFar() argument
248 int xPos = (i + aec->xfBufBlockPos) * PART_LEN1; in FilterFar()
249 int pos = i * PART_LEN1; in FilterFar()
252 xPos -= NR_PART*(PART_LEN1); in FilterFar()
[all …]
Daec_core_sse2.c34 static void FilterFarSSE2(aec_t *aec, float yf[2][PART_LEN1]) in FilterFarSSE2() argument
39 int xPos = (i + aec->xfBufBlockPos) * PART_LEN1; in FilterFarSSE2()
40 int pos = i * PART_LEN1; in FilterFarSSE2()
43 xPos -= NR_PART*(PART_LEN1); in FilterFarSSE2()
47 for (j = 0; j + 3 < PART_LEN1; j += 4) { in FilterFarSSE2()
66 for (; j < PART_LEN1; j++) { in FilterFarSSE2()
75 static void ScaleErrorSignalSSE2(aec_t *aec, float ef[2][PART_LEN1]) in ScaleErrorSignalSSE2() argument
83 for (i = 0; i + 3 < PART_LEN1; i += 4) { in ScaleErrorSignalSSE2()
113 for (; i < (PART_LEN1); i++) { in ScaleErrorSignalSSE2()
131 static void FilterAdaptationSSE2(aec_t *aec, float *fft, float ef[2][PART_LEN1]) { in FilterAdaptationSSE2() argument
[all …]
/external/webrtc/src/modules/audio_processing/aecm/
Daecm_core.h38 #define PART_LEN1 (PART_LEN + 1) // Unique fft coefficients macro
130 uint16_t far_history[PART_LEN1 * MAX_DELAY];
152 WebRtc_Word16 channelStored_buf[PART_LEN1 + 8];
153 WebRtc_Word16 channelAdapt16_buf[PART_LEN1 + 8];
154 WebRtc_Word32 channelAdapt32_buf[PART_LEN1 + 8];
169 WebRtc_Word32 echoFilt[PART_LEN1];
170 WebRtc_Word16 nearFilt[PART_LEN1];
171 WebRtc_Word32 noiseEst[PART_LEN1];
172 int noiseEstTooLowCtr[PART_LEN1];
173 int noiseEstTooHighCtr[PART_LEN1];
Daecm_core.c81 static const WebRtc_Word16 kChannelStored8kHz[PART_LEN1] = {
94 static const WebRtc_Word16 kChannelStored16kHz[PART_LEN1] = {
226 memcpy(&(self->far_history[self->far_history_pos * PART_LEN1]), in UpdateFarHistory()
228 sizeof(uint16_t) * PART_LEN1); in UpdateFarHistory()
260 return &(self->far_history[buffer_position * PART_LEN1]); in AlignedFarend()
316 PART_LEN1, in WebRtcAecm_CreateCore()
345 memcpy(aecm->channelStored, echo_path, sizeof(WebRtc_Word16) * PART_LEN1); in WebRtcAecm_InitEchoPathCore()
347 memcpy(aecm->channelAdapt16, echo_path, sizeof(WebRtc_Word16) * PART_LEN1); in WebRtcAecm_InitEchoPathCore()
348 for (i = 0; i < PART_LEN1; i++) in WebRtcAecm_InitEchoPathCore()
491 for (i = 0; i < PART_LEN1; i++) in CalcLinearEnergiesC()
[all …]
Decho_control_mobile.c702 return (PART_LEN1 * sizeof(WebRtc_Word16)); in WebRtcAecm_echo_path_size_bytes()