Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/aec/
Daec_core_internal.h70 float xPow[PART_LEN1];
71 float dPow[PART_LEN1];
72 float dMinPow[PART_LEN1];
73 float dInitMinPow[PART_LEN1];
76 float xfBuf[2][kExtendedNumPartitions * PART_LEN1]; // farend fft buffer
77 float wfBuf[2][kExtendedNumPartitions * PART_LEN1]; // filter fft
78 complex_t sde[PART_LEN1]; // cross-psd of nearend and error
79 complex_t sxd[PART_LEN1]; // cross-psd of farend and nearend
81 complex_t xfwBuf[kExtendedNumPartitions * PART_LEN1];
83 float sx[PART_LEN1], sd[PART_LEN1], se[PART_LEN1]; // far, near, error psd
[all …]
Daec_core_mips.c27 float efw[2][PART_LEN1], in WebRtcAec_ComfortNoise_mips() argument
28 float comfortNoiseHband[2][PART_LEN1], in WebRtcAec_ComfortNoise_mips() argument
35 complex_t u[PART_LEN1]; in WebRtcAec_ComfortNoise_mips()
95 for (i = 1; i < PART_LEN1; i+=4) { in WebRtcAec_ComfortNoise_mips()
284 for (i = PART_LEN1 >> 1; i < PART_LEN1; i++) { in WebRtcAec_ComfortNoise_mips()
294 for (i = PART_LEN1 >> 1; i < PART_LEN1; i++) { in WebRtcAec_ComfortNoise_mips()
305 for (i = 1; i < PART_LEN1; i++) { in WebRtcAec_ComfortNoise_mips()
314 for (i = 0; i < PART_LEN1; i++) { in WebRtcAec_ComfortNoise_mips()
321 2 * PART_LEN1 * sizeof(comfortNoiseHband[0][0])); in WebRtcAec_ComfortNoise_mips()
328 float x_fft_buf[2][kExtendedNumPartitions * PART_LEN1], in WebRtcAec_FilterFar_mips() argument
[all …]
Daec_core.c159 float x_fft_buf[2][kExtendedNumPartitions * PART_LEN1], in FilterFar() argument
160 float h_fft_buf[2][kExtendedNumPartitions * PART_LEN1], in FilterFar() argument
161 float y_fft[2][PART_LEN1]) { in FilterFar() argument
165 int xPos = (i + x_fft_buf_block_pos) * PART_LEN1; in FilterFar()
166 int pos = i * PART_LEN1; in FilterFar()
169 xPos -= num_partitions * (PART_LEN1); in FilterFar()
172 for (j = 0; j < PART_LEN1; j++) { in FilterFar()
188 float x_pow[PART_LEN1], in ScaleErrorSignal() argument
189 float ef[2][PART_LEN1]) { in ScaleErrorSignal() argument
196 for (i = 0; i < (PART_LEN1); i++) { in ScaleErrorSignal()
[all …]
Daec_core_neon.c40 float x_fft_buf[2][kExtendedNumPartitions * PART_LEN1], in FilterFarNEON() argument
41 float h_fft_buf[2][kExtendedNumPartitions * PART_LEN1], in FilterFarNEON() argument
42 float y_fft[2][PART_LEN1]) { in FilterFarNEON() argument
46 int xPos = (i + x_fft_buf_block_pos) * PART_LEN1; in FilterFarNEON()
47 int pos = i * PART_LEN1; in FilterFarNEON()
50 xPos -= num_partitions * PART_LEN1; in FilterFarNEON()
54 for (j = 0; j + 3 < PART_LEN1; j += 4) { in FilterFarNEON()
71 for (; j < PART_LEN1; j++) { in FilterFarNEON()
132 float x_pow[PART_LEN1], in ScaleErrorSignalNEON() argument
133 float ef[2][PART_LEN1]) { in ScaleErrorSignalNEON() argument
[all …]
Daec_core_sse2.c35 float x_fft_buf[2][kExtendedNumPartitions * PART_LEN1], in FilterFarSSE2() argument
36 float h_fft_buf[2][kExtendedNumPartitions * PART_LEN1], in FilterFarSSE2() argument
37 float y_fft[2][PART_LEN1]) { in FilterFarSSE2() argument
42 int xPos = (i + x_fft_buf_block_pos) * PART_LEN1; in FilterFarSSE2()
43 int pos = i * PART_LEN1; in FilterFarSSE2()
46 xPos -= num_partitions * (PART_LEN1); in FilterFarSSE2()
50 for (j = 0; j + 3 < PART_LEN1; j += 4) { in FilterFarSSE2()
69 for (; j < PART_LEN1; j++) { in FilterFarSSE2()
85 float x_pow[PART_LEN1], in ScaleErrorSignalSSE2() argument
86 float ef[2][PART_LEN1]) { in ScaleErrorSignalSSE2() argument
[all …]
Daec_core.h24 #define PART_LEN1 (PART_LEN + 1) // Unique fft coefficients macro
/external/webrtc/webrtc/modules/audio_processing/aecm/
Daecm_core.h57 uint16_t far_history[PART_LEN1 * MAX_DELAY];
80 int16_t channelStored_buf[PART_LEN1 + 8];
81 int16_t channelAdapt16_buf[PART_LEN1 + 8];
82 int32_t channelAdapt32_buf[PART_LEN1 + 8];
97 int32_t echoFilt[PART_LEN1];
98 int16_t nearFilt[PART_LEN1];
99 int32_t noiseEst[PART_LEN1];
100 int noiseEstTooLowCtr[PART_LEN1];
101 int noiseEstTooHighCtr[PART_LEN1];
Daecm_core_c.c295 uint16_t xfa[PART_LEN1]; in WebRtcAecm_ProcessBlock()
296 uint16_t dfaNoisy[PART_LEN1]; in WebRtcAecm_ProcessBlock()
297 uint16_t dfaClean[PART_LEN1]; in WebRtcAecm_ProcessBlock()
304 int32_t echoEst32_buf[PART_LEN1 + 8]; in WebRtcAecm_ProcessBlock()
313 int16_t hnl[PART_LEN1]; in WebRtcAecm_ProcessBlock()
392 PART_LEN1, in WebRtcAecm_ProcessBlock()
398 PART_LEN1, in WebRtcAecm_ProcessBlock()
451 for (i = 0; i < PART_LEN1; i++) in WebRtcAecm_ProcessBlock()
558 for (i = 0; i < PART_LEN1; i++) in WebRtcAecm_ProcessBlock()
570 for (i = kMaxPrefBand; i < PART_LEN1; i++) in WebRtcAecm_ProcessBlock()
[all …]
Daecm_core.c122 static const int16_t kChannelStored8kHz[PART_LEN1] = {
135 static const int16_t kChannelStored16kHz[PART_LEN1] = {
166 memcpy(&(self->far_history[self->far_history_pos * PART_LEN1]), in WebRtcAecm_UpdateFarHistory()
168 sizeof(uint16_t) * PART_LEN1); in WebRtcAecm_UpdateFarHistory()
202 return &(self->far_history[buffer_position * PART_LEN1]); in WebRtcAecm_AlignedFarend()
245 aecm->delay_estimator_farend = WebRtc_CreateDelayEstimatorFarend(PART_LEN1, in WebRtcAecm_CreateCore()
287 memcpy(aecm->channelStored, echo_path, sizeof(int16_t) * PART_LEN1); in WebRtcAecm_InitEchoPathCore()
289 memcpy(aecm->channelAdapt16, echo_path, sizeof(int16_t) * PART_LEN1); in WebRtcAecm_InitEchoPathCore()
290 for (i = 0; i < PART_LEN1; i++) in WebRtcAecm_InitEchoPathCore()
312 for (i = 0; i < PART_LEN1; i++) in CalcLinearEnergiesC()
[all …]
Daecm_core_mips.c537 sizeof(int16_t) * PART_LEN1); in WebRtcAecm_StoreAdaptiveChannel_mips()
584 sizeof(int16_t) * PART_LEN1); in WebRtcAecm_ResetAdaptiveChannel_mips()
809 uint16_t xfa[PART_LEN1]; in WebRtcAecm_ProcessBlock()
810 uint16_t dfaNoisy[PART_LEN1]; in WebRtcAecm_ProcessBlock()
811 uint16_t dfaClean[PART_LEN1]; in WebRtcAecm_ProcessBlock()
817 int32_t echoEst32_buf[PART_LEN1 + 8]; in WebRtcAecm_ProcessBlock()
826 int16_t hnl[PART_LEN1]; in WebRtcAecm_ProcessBlock()
911 if (WebRtc_AddFarSpectrumFix(aecm->delay_estimator_farend, xfa, PART_LEN1, in WebRtcAecm_ProcessBlock()
917 PART_LEN1, in WebRtcAecm_ProcessBlock()
966 for (i = 0; i < PART_LEN1; i++) { in WebRtcAecm_ProcessBlock()
[all …]
Daecm_defines.h22 #define PART_LEN1 (PART_LEN + 1) /* Unique fft coefficients. */ macro
Decho_control_mobile.c572 return (PART_LEN1 * sizeof(int16_t)); in WebRtcAecm_echo_path_size_bytes()