Home
last modified time | relevance | path

Searched refs:PART_LEN2 (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/src/modules/audio_processing/aec/
Daec_core.h26 #define PART_LEN2 (PART_LEN * 2) // Length of partition * 2 macro
81 float dBuf[PART_LEN2]; // nearend
82 float eBuf[PART_LEN2]; // error
84 float dBufH[PART_LEN2]; // nearend
Daec_core.c125 static void TimeToFrequency(float time_data[PART_LEN2],
341 float scale = 2.0f / PART_LEN2; in FilterAdaptation()
545 float fft[PART_LEN2]; in WebRtcAec_BufferFarendPartition()
558 memcpy(fft, farend, sizeof(float) * PART_LEN2); in WebRtcAec_BufferFarendPartition()
563 memcpy(fft, farend, sizeof(float) * PART_LEN2); in WebRtcAec_BufferFarendPartition()
639 float fft[PART_LEN2]; in ProcessBlock()
698 memcpy(fft, aec->dBuf, sizeof(float) * PART_LEN2); in ProcessBlock()
787 scale = 2.0f / PART_LEN2; in ProcessBlock()
856 float fft[PART_LEN2]; in NonLinearProcessing()
1131 scale = 2.0f / PART_LEN2; in NonLinearProcessing()
[all …]
Decho_cancellation.c130 PART_LEN2 + kResamplerBufferSize, in WebRtcAec_Create()
142 PART_LEN2 + kResamplerBufferSize, in WebRtcAec_Create()
351 while (WebRtc_available_read(aecpc->far_pre_buf) >= PART_LEN2) { in WebRtcAec_BufferFarend()
354 PART_LEN2); in WebRtcAec_BufferFarend()
362 PART_LEN2); in WebRtcAec_BufferFarend()
Daec_core_sse2.c174 float scale = 2.0f / PART_LEN2; in FilterAdaptationSSE2()
/external/webrtc/src/modules/audio_processing/aecm/
Daecm_core_neon.c73 __asm__("vst2.16 {d20, d21}, [%0, :128]" : : "r"(&fft[PART_LEN2 + j]) : "q10"); in WindowAndFFTNeon()
80 for (i = 0, j = 0; j < PART_LEN2; i += 8, j += 16) { in WindowAndFFTNeon()
110 fft[PART_LEN2] = efw[PART_LEN].real; in InverseFFTAndWindowNeon()
111 fft[PART_LEN2 + 1] = -efw[PART_LEN].imag; in InverseFFTAndWindowNeon()
118 for (i = 0, j = 0; i < PART_LEN2; i += 8, j += 16) { in InverseFFTAndWindowNeon()
Daecm_core.h39 #define PART_LEN2 (PART_LEN << 1) // Length of partition * 2 macro
155 WebRtc_Word16 xBuf_buf[PART_LEN2 + 16]; // farend
156 WebRtc_Word16 dBufClean_buf[PART_LEN2 + 16]; // nearend
157 WebRtc_Word16 dBufNoisy_buf[PART_LEN2 + 16]; // nearend
Daecm_core.c378 fft[PART_LEN2 + j] = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT( in WindowAndFFTC()
390 for (i = 0, j = 0; j < PART_LEN2; i += 1, j += 2) in WindowAndFFTC()
424 fft[PART_LEN2] = efw[PART_LEN].real; in InverseFFTAndWindowC()
425 fft[PART_LEN2 + 1] = -efw[PART_LEN].imag; in InverseFFTAndWindowC()
432 for (i = 0; i < PART_LEN2; i++) in InverseFFTAndWindowC()
1406 tmp16no1 = WebRtcSpl_MaxAbsValueW16(time_signal, PART_LEN2); in TimeToFrequencyDomain()
1415 freq_signal[PART_LEN].real = fft[PART_LEN2]; in TimeToFrequencyDomain()