Searched refs:aec (Results 1 - 25 of 38) sorted by relevance

12

/external/chromium_org/third_party/webrtc/modules/audio_processing/aec/
H A Daec_core.c15 #include "webrtc/modules/audio_processing/aec/aec_core.h"
24 #include "webrtc/modules/audio_processing/aec/aec_core_internal.h"
25 #include "webrtc/modules/audio_processing/aec/aec_rdft.h"
117 static void ProcessBlock(AecCore* aec);
119 static void NonLinearProcessing(AecCore* aec, float* output, float* outputH);
124 static void ComfortNoise(AecCore* aec,
132 static void InitMetrics(AecCore* aec);
134 static void UpdateMetrics(AecCore* aec);
157 AecCore* aec = malloc(sizeof(AecCore)); local
158 *aecInst = aec;
244 WebRtcAec_FreeAec(AecCore* aec) argument
271 FilterFar(AecCore* aec, float yf[2][PART_LEN1]) argument
295 ScaleErrorSignal(AecCore* aec, float ef[2][PART_LEN1]) argument
345 FilterAdaptation(AecCore* aec, float* fft, float ef[2][PART_LEN1]) argument
395 OverdriveAndSuppress(AecCore* aec, float hNl[PART_LEN1], const float hNlFb, float efw[2][PART_LEN1]) argument
424 WebRtcAec_InitAec(AecCore* aec, int sampFreq) argument
594 WebRtcAec_BufferFarendPartition(AecCore* aec, const float* farend) argument
613 WebRtcAec_MoveFarReadPtr(AecCore* aec, int elements) argument
623 WebRtcAec_ProcessFrame(AecCore* aec, const float* nearend, const float* nearendH, int knownDelay, float* out, float* outH) argument
819 ProcessBlock(AecCore* aec) argument
1026 NonLinearProcessing(AecCore* aec, float* output, float* outputH) argument
1389 ComfortNoise(AecCore* aec, float efw[2][PART_LEN1], complex_t* comfortNoiseHband, const float* noisePow, const float* lambda) argument
1572 UpdateMetrics(AecCore* aec) argument
[all...]
H A Daec_core.h53 int WebRtcAec_CreateAec(AecCore** aec);
54 int WebRtcAec_FreeAec(AecCore* aec);
55 int WebRtcAec_InitAec(AecCore* aec, int sampFreq);
64 void WebRtcAec_BufferFarendPartition(AecCore* aec, const float* farend);
65 void WebRtcAec_ProcessFrame(AecCore* aec,
75 int WebRtcAec_MoveFarReadPtr(AecCore* aec, int elements);
H A Dsystem_delay_unittest.cc13 #include "webrtc/modules/audio_processing/aec/aec_core.h"
15 #include "webrtc/modules/audio_processing/aec/echo_cancellation_internal.h"
16 #include "webrtc/modules/audio_processing/aec/include/echo_cancellation.h"
122 EXPECT_EQ(buffer_size, WebRtcAec_system_delay(self_->aec));
146 EXPECT_GE(buffer_size, WebRtcAec_system_delay(self_->aec));
185 EXPECT_EQ(j * samples_per_frame_, WebRtcAec_system_delay(self_->aec));
204 EXPECT_GE(average_reported_delay, WebRtcAec_system_delay(self_->aec));
206 WebRtcAec_system_delay(self_->aec));
240 EXPECT_GE(buffer_size, WebRtcAec_system_delay(self_->aec));
245 WebRtcAec_system_delay(self_->aec));
[all...]
H A Daec_core_sse2.c15 #include "webrtc/modules/audio_processing/aec/aec_core.h"
21 #include "webrtc/modules/audio_processing/aec/aec_core_internal.h"
22 #include "webrtc/modules/audio_processing/aec/aec_rdft.h"
32 static void FilterFarSSE2(AecCore* aec, float yf[2][PART_LEN1]) { argument
34 const int num_partitions = aec->num_partitions;
37 int xPos = (i + aec->xfBufBlockPos) * PART_LEN1;
40 if (i + aec->xfBufBlockPos >= num_partitions) {
46 const __m128 xfBuf_re = _mm_loadu_ps(&aec->xfBuf[0][xPos + j]);
47 const __m128 xfBuf_im = _mm_loadu_ps(&aec->xfBuf[1][xPos + j]);
48 const __m128 wfBuf_re = _mm_loadu_ps(&aec
77 ScaleErrorSignalSSE2(AecCore* aec, float ef[2][PART_LEN1]) argument
142 FilterAdaptationSSE2(AecCore* aec, float* fft, float ef[2][PART_LEN1]) argument
360 OverdriveAndSuppressSSE2(AecCore* aec, float hNl[PART_LEN1], const float hNlFb, float efw[2][PART_LEN1]) argument
[all...]
H A Daec_core_mips.c15 #include "webrtc/modules/audio_processing/aec/aec_core.h"
20 #include "webrtc/modules/audio_processing/aec/aec_core_internal.h"
21 #include "webrtc/modules/audio_processing/aec/aec_rdft.h"
27 void WebRtcAec_ComfortNoise_mips(AecCore* aec, argument
42 WebRtcSpl_RandUArray(randW16, PART_LEN, &aec->seed);
278 if (aec->sampFreq == 32000 && flagHbandCn == 1) {
324 void WebRtcAec_FilterFar_mips(AecCore *aec, float yf[2][PART_LEN1]) { argument
326 for (i = 0; i < aec->num_partitions; i++) {
327 int xPos = (i + aec->xfBufBlockPos) * PART_LEN1;
330 if (i + aec
437 WebRtcAec_FilterAdaptation_mips(AecCore *aec, float *fft, float ef[2][PART_LEN1]) argument
636 WebRtcAec_OverdriveAndSuppress_mips(AecCore *aec, float hNl[PART_LEN1], const float hNlFb, float efw[2][PART_LEN1]) argument
701 WebRtcAec_ScaleErrorSignal_mips(AecCore *aec, float ef[2][PART_LEN1]) argument
[all...]
H A Daec_core_neon.c17 #include "webrtc/modules/audio_processing/aec/aec_core.h"
23 #include "webrtc/modules/audio_processing/aec/aec_core_internal.h"
24 #include "webrtc/modules/audio_processing/aec/aec_rdft.h"
33 static void FilterAdaptationNEON(AecCore* aec, argument
37 const int num_partitions = aec->num_partitions;
39 int xPos = (i + aec->xfBufBlockPos) * PART_LEN1;
43 if (i + aec->xfBufBlockPos >= num_partitions) {
50 const float32x4_t xfBuf_re = vld1q_f32(&aec->xfBuf[0][xPos + j]);
51 const float32x4_t xfBuf_im = vld1q_f32(&aec->xfBuf[1][xPos + j]);
68 fft[1] = MulRe(aec
226 OverdriveAndSuppressNEON(AecCore* aec, float hNl[PART_LEN1], const float hNlFb, float efw[2][PART_LEN1]) argument
[all...]
H A Daec_core_internal.h18 #include "webrtc/modules/audio_processing/aec/aec_core.h"
151 typedef void (*WebRtcAec_FilterFar_t)(AecCore* aec, float yf[2][PART_LEN1]);
153 typedef void (*WebRtcAec_ScaleErrorSignal_t)(AecCore* aec,
156 typedef void (*WebRtcAec_FilterAdaptation_t)(AecCore* aec,
160 typedef void (*WebRtcAec_OverdriveAndSuppress_t)(AecCore* aec,
166 typedef void (*WebRtcAec_ComfortNoise_t)(AecCore* aec,
H A Decho_cancellation_internal.h14 #include "webrtc/modules/audio_processing/aec/aec_core.h"
65 AecCore* aec; member in struct:__anon15182
H A Decho_cancellation.c14 #include "webrtc/modules/audio_processing/aec/include/echo_cancellation.h"
24 #include "webrtc/modules/audio_processing/aec/aec_core.h"
25 #include "webrtc/modules/audio_processing/aec/aec_resampler.h"
26 #include "webrtc/modules/audio_processing/aec/echo_cancellation_internal.h"
135 if (WebRtcAec_CreateAec(&aecpc->aec) == -1) {
199 WebRtcAec_FreeAec(aecpc->aec);
223 if (WebRtcAec_InitAec(aecpc->aec, aecpc->sampFreq) == -1) {
257 aecpc->startup_phase = WebRtcAec_reported_delay_enabled(aecpc->aec);
339 WebRtcAec_SetSystemDelay(aecpc->aec,
340 WebRtcAec_system_delay(aecpc->aec)
[all...]
/external/webrtc/src/modules/audio_processing/aec/
H A Daec_core.c108 static void ProcessBlock(aec_t* aec);
110 static void NonLinearProcessing(aec_t *aec, short *output, short *outputH);
115 static void ComfortNoise(aec_t *aec, float efw[2][PART_LEN1],
122 static void UpdateMetrics(aec_t *aec);
149 aec_t *aec = malloc(sizeof(aec_t)); local
150 *aecInst = aec;
151 if (aec == NULL) {
155 if (WebRtc_CreateBuffer(&aec->nearFrBuf,
158 WebRtcAec_FreeAec(aec);
159 aec
220 WebRtcAec_FreeAec(aec_t *aec) argument
243 FilterFar(aec_t *aec, float yf[2][PART_LEN1]) argument
264 ScaleErrorSignal(aec_t *aec, float ef[2][PART_LEN1]) argument
311 FilterAdaptation(aec_t *aec, float *fft, float ef[2][PART_LEN1]) argument
358 OverdriveAndSuppress(aec_t *aec, float hNl[PART_LEN1], const float hNlFb, float efw[2][PART_LEN1]) argument
385 WebRtcAec_InitAec(aec_t *aec, int sampFreq) argument
529 WebRtcAec_InitMetrics(aec_t *aec) argument
544 WebRtcAec_BufferFarendPartition(aec_t *aec, const float* farend) argument
568 WebRtcAec_ProcessFrame(aec_t *aec, const short *nearend, const short *nearendH, int knownDelay) argument
634 ProcessBlock(aec_t* aec) argument
852 NonLinearProcessing(aec_t *aec, short *output, short *outputH) argument
1205 ComfortNoise(aec_t *aec, float efw[2][PART_LEN1], complex_t *comfortNoiseHband, const float *noisePow, const float *lambda) argument
1375 UpdateMetrics(aec_t *aec) argument
[all...]
H A Daec_core.h156 typedef void (*WebRtcAec_FilterFar_t)(aec_t *aec, float yf[2][PART_LEN1]);
158 typedef void (*WebRtcAec_ScaleErrorSignal_t)(aec_t *aec, float ef[2][PART_LEN1]);
161 (aec_t *aec, float *fft, float ef[2][PART_LEN1]);
164 (aec_t *aec, float hNl[PART_LEN1], const float hNlFb, float efw[2][PART_LEN1]);
167 int WebRtcAec_CreateAec(aec_t **aec);
168 int WebRtcAec_FreeAec(aec_t *aec);
169 int WebRtcAec_InitAec(aec_t *aec, int sampFreq);
172 void WebRtcAec_InitMetrics(aec_t *aec);
173 void WebRtcAec_BufferFarendPartition(aec_t *aec, const float* farend);
174 void WebRtcAec_ProcessFrame(aec_t* aec,
[all...]
H A Decho_cancellation.c95 aec_t *aec; member in struct:__anon32593
115 if (WebRtcAec_CreateAec(&aecpc->aec) == -1) {
151 aecpc->aec->farFile = fopen(filename, "wb");
153 aecpc->aec->nearFile = fopen(filename, "wb");
155 aecpc->aec->outFile = fopen(filename, "wb");
157 aecpc->aec->outLinearFile = fopen(filename, "wb");
183 fclose(aecpc->aec->farFile);
184 fclose(aecpc->aec->nearFile);
185 fclose(aecpc->aec->outFile);
186 fclose(aecpc->aec
[all...]
H A Daec_core_sse2.c34 static void FilterFarSSE2(aec_t *aec, float yf[2][PART_LEN1]) argument
39 int xPos = (i + aec->xfBufBlockPos) * PART_LEN1;
42 if (i + aec->xfBufBlockPos >= NR_PART) {
48 const __m128 xfBuf_re = _mm_loadu_ps(&aec->xfBuf[0][xPos + j]);
49 const __m128 xfBuf_im = _mm_loadu_ps(&aec->xfBuf[1][xPos + j]);
50 const __m128 wfBuf_re = _mm_loadu_ps(&aec->wfBuf[0][pos + j]);
51 const __m128 wfBuf_im = _mm_loadu_ps(&aec->wfBuf[1][pos + j]);
67 yf[0][j] += MulRe(aec->xfBuf[0][xPos + j], aec->xfBuf[1][xPos + j],
68 aec
75 ScaleErrorSignalSSE2(aec_t *aec, float ef[2][PART_LEN1]) argument
131 FilterAdaptationSSE2(aec_t *aec, float *fft, float ef[2][PART_LEN1]) argument
344 OverdriveAndSuppressSSE2(aec_t *aec, float hNl[PART_LEN1], const float hNlFb, float efw[2][PART_LEN1]) argument
[all...]
/external/chromium_org/third_party/webrtc/modules/
H A Daudio_processing.target.darwin-mips.mk28 third_party/webrtc/modules/audio_processing/aec/echo_cancellation.c \
29 third_party/webrtc/modules/audio_processing/aec/aec_core.c \
30 third_party/webrtc/modules/audio_processing/aec/aec_rdft.c \
31 third_party/webrtc/modules/audio_processing/aec/aec_resampler.c \
55 third_party/webrtc/modules/audio_processing/aec/aec_core_mips.c \
56 third_party/webrtc/modules/audio_processing/aec/aec_rdft_mips.c
H A Daudio_processing.target.linux-mips.mk28 third_party/webrtc/modules/audio_processing/aec/echo_cancellation.c \
29 third_party/webrtc/modules/audio_processing/aec/aec_core.c \
30 third_party/webrtc/modules/audio_processing/aec/aec_rdft.c \
31 third_party/webrtc/modules/audio_processing/aec/aec_resampler.c \
55 third_party/webrtc/modules/audio_processing/aec/aec_core_mips.c \
56 third_party/webrtc/modules/audio_processing/aec/aec_rdft_mips.c
H A Daudio_processing.target.darwin-arm.mk28 third_party/webrtc/modules/audio_processing/aec/echo_cancellation.c \
29 third_party/webrtc/modules/audio_processing/aec/aec_core.c \
30 third_party/webrtc/modules/audio_processing/aec/aec_rdft.c \
31 third_party/webrtc/modules/audio_processing/aec/aec_resampler.c \
H A Daudio_processing.target.darwin-arm64.mk28 third_party/webrtc/modules/audio_processing/aec/echo_cancellation.c \
29 third_party/webrtc/modules/audio_processing/aec/aec_core.c \
30 third_party/webrtc/modules/audio_processing/aec/aec_rdft.c \
31 third_party/webrtc/modules/audio_processing/aec/aec_resampler.c \
H A Daudio_processing.target.darwin-x86.mk28 third_party/webrtc/modules/audio_processing/aec/echo_cancellation.c \
29 third_party/webrtc/modules/audio_processing/aec/aec_core.c \
30 third_party/webrtc/modules/audio_processing/aec/aec_rdft.c \
31 third_party/webrtc/modules/audio_processing/aec/aec_resampler.c \
H A Daudio_processing.target.darwin-x86_64.mk28 third_party/webrtc/modules/audio_processing/aec/echo_cancellation.c \
29 third_party/webrtc/modules/audio_processing/aec/aec_core.c \
30 third_party/webrtc/modules/audio_processing/aec/aec_rdft.c \
31 third_party/webrtc/modules/audio_processing/aec/aec_resampler.c \
H A Daudio_processing.target.linux-arm.mk28 third_party/webrtc/modules/audio_processing/aec/echo_cancellation.c \
29 third_party/webrtc/modules/audio_processing/aec/aec_core.c \
30 third_party/webrtc/modules/audio_processing/aec/aec_rdft.c \
31 third_party/webrtc/modules/audio_processing/aec/aec_resampler.c \
H A Daudio_processing.target.linux-arm64.mk28 third_party/webrtc/modules/audio_processing/aec/echo_cancellation.c \
29 third_party/webrtc/modules/audio_processing/aec/aec_core.c \
30 third_party/webrtc/modules/audio_processing/aec/aec_rdft.c \
31 third_party/webrtc/modules/audio_processing/aec/aec_resampler.c \
H A Daudio_processing.target.linux-x86.mk28 third_party/webrtc/modules/audio_processing/aec/echo_cancellation.c \
29 third_party/webrtc/modules/audio_processing/aec/aec_core.c \
30 third_party/webrtc/modules/audio_processing/aec/aec_rdft.c \
31 third_party/webrtc/modules/audio_processing/aec/aec_resampler.c \
H A Daudio_processing.target.linux-x86_64.mk28 third_party/webrtc/modules/audio_processing/aec/echo_cancellation.c \
29 third_party/webrtc/modules/audio_processing/aec/aec_core.c \
30 third_party/webrtc/modules/audio_processing/aec/aec_rdft.c \
31 third_party/webrtc/modules/audio_processing/aec/aec_resampler.c \
/external/chromium_org/third_party/webrtc/modules/audio_processing/test/
H A Dapmtest.m14 % 'aec' The AEC test set.
60 tests = {'apm','apmm','aec','aecm','agc','ns','vad'};
104 ' -aec --drift_compensation -agc --fixed_digital' ...
116 ' -aec --drift_compensation -agc --adaptive_digital' ...
122 opt = ['-aec --drift_compensation -agc --fixed_digital -hpf -ns ' ...
/external/webrtc/src/modules/audio_processing/test/
H A Dapmtest.m14 % 'aec' The AEC test set.
60 tests = {'apm','apmm','aec','aecm','agc','ns','vad'};
104 ' -aec --drift_compensation -agc --fixed_digital' ...
116 ' -aec --drift_compensation -agc --adaptive_digital' ...
122 opt = ['-aec --drift_compensation -agc --fixed_digital -hpf -ns ' ...

Completed in 625 milliseconds

12