Home
last modified time | relevance | path

Searched refs:aec (Results 1 – 25 of 36) sorted by relevance

12

/external/webrtc/webrtc/modules/audio_processing/aec/
Daec_core.c270 static void OverdriveAndSuppress(AecCore* aec, in OverdriveAndSuppress() argument
281 hNl[i] = powf(hNl[i], aec->overDriveSm * WebRtcAec_overDriveCurve[i]); in OverdriveAndSuppress()
293 static int PartitionDelay(const AecCore* aec) { in PartitionDelay() argument
302 for (i = 0; i < aec->num_partitions; i++) { in PartitionDelay()
307 wfEn += aec->wfBuf[0][pos + j] * aec->wfBuf[0][pos + j] + in PartitionDelay()
308 aec->wfBuf[1][pos + j] * aec->wfBuf[1][pos + j]; in PartitionDelay()
331 static void SmoothedPSD(AecCore* aec, in SmoothedPSD() argument
337 const float* ptrGCoh = aec->extended_filter_enabled in SmoothedPSD()
338 ? WebRtcAec_kExtendedSmoothingCoefficients[aec->mult - 1] in SmoothedPSD()
339 : WebRtcAec_kNormalSmoothingCoefficients[aec->mult - 1]; in SmoothedPSD()
[all …]
Dsystem_delay_unittest.cc101 EXPECT_EQ(0, WebRtcAec_system_delay(self_->aec)); in Init()
128 WebRtcAec_system_delay(self_->aec)); in BufferFillUp()
139 if (WebRtcAec_delay_agnostic_enabled(self_->aec) == 1) { in RunStableStartup()
163 WebRtcAec_system_delay(self_->aec)); in RunStableStartup()
200 WebRtcAec_enable_extended_filter(self_->aec, extended_filter); in TEST_F()
201 EXPECT_EQ(extended_filter, WebRtcAec_extended_filter_enabled(self_->aec)); in TEST_F()
203 WebRtcAec_enable_delay_agnostic(self_->aec, da_aec); in TEST_F()
204 EXPECT_EQ(da_aec, WebRtcAec_delay_agnostic_enabled(self_->aec)); in TEST_F()
213 WebRtcAec_system_delay(self_->aec)); in TEST_F()
228 WebRtcAec_enable_extended_filter(self_->aec, extended_filter); in TEST_F()
[all …]
Daec_core_sse2.c369 static void OverdriveAndSuppressSSE2(AecCore* aec, in OverdriveAndSuppressSSE2() argument
377 const __m128 vec_overDriveSm = _mm_set1_ps(aec->overDriveSm); in OverdriveAndSuppressSSE2()
423 hNl[i] = powf(hNl[i], aec->overDriveSm * WebRtcAec_overDriveCurve[i]); in OverdriveAndSuppressSSE2()
443 static int PartitionDelaySSE2(const AecCore* aec) { in PartitionDelaySSE2() argument
452 for (i = 0; i < aec->num_partitions; i++) { in PartitionDelaySSE2()
459 const __m128 vec_wfBuf0 = _mm_loadu_ps(&aec->wfBuf[0][pos + j]); in PartitionDelaySSE2()
460 const __m128 vec_wfBuf1 = _mm_loadu_ps(&aec->wfBuf[1][pos + j]); in PartitionDelaySSE2()
468 wfEn += aec->wfBuf[0][pos + j] * aec->wfBuf[0][pos + j] + in PartitionDelaySSE2()
469 aec->wfBuf[1][pos + j] * aec->wfBuf[1][pos + j]; in PartitionDelaySSE2()
489 static void SmoothedPSD(AecCore* aec, in SmoothedPSD() argument
[all …]
Daec_core_neon.c382 static void OverdriveAndSuppressNEON(AecCore* aec, in OverdriveAndSuppressNEON() argument
390 const float32x4_t vec_overDriveSm = vmovq_n_f32(aec->overDriveSm); in OverdriveAndSuppressNEON()
444 hNl[i] = powf(hNl[i], aec->overDriveSm * WebRtcAec_overDriveCurve[i]); in OverdriveAndSuppressNEON()
456 static int PartitionDelayNEON(const AecCore* aec) { in PartitionDelayNEON() argument
465 for (i = 0; i < aec->num_partitions; i++) { in PartitionDelayNEON()
472 const float32x4_t vec_wfBuf0 = vld1q_f32(&aec->wfBuf[0][pos + j]); in PartitionDelayNEON()
473 const float32x4_t vec_wfBuf1 = vld1q_f32(&aec->wfBuf[1][pos + j]); in PartitionDelayNEON()
489 wfEn += aec->wfBuf[0][pos + j] * aec->wfBuf[0][pos + j] + in PartitionDelayNEON()
490 aec->wfBuf[1][pos + j] * aec->wfBuf[1][pos + j]; in PartitionDelayNEON()
510 static void SmoothedPSD(AecCore* aec, in SmoothedPSD() argument
[all …]
Decho_cancellation.c128 aecpc->aec = WebRtcAec_CreateAec(); in WebRtcAec_Create()
129 if (!aecpc->aec) { in WebRtcAec_Create()
181 WebRtcAec_FreeAec(aecpc->aec); in WebRtcAec_Free()
204 if (WebRtcAec_InitAec(aecpc->aec, aecpc->sampFreq) == -1) { in WebRtcAec_Init()
235 aecpc->startup_phase = WebRtcAec_extended_filter_enabled(aecpc->aec) || in WebRtcAec_Init()
236 !WebRtcAec_delay_agnostic_enabled(aecpc->aec); in WebRtcAec_Init()
315 aecpc->aec, WebRtcAec_system_delay(aecpc->aec) + (int)newNrOfSamples); in WebRtcAec_BufferFarend()
328 WebRtcAec_BufferFarendPartition(aecpc->aec, ptmp); in WebRtcAec_BufferFarend()
370 if (WebRtcAec_extended_filter_enabled(aecpc->aec)) { in WebRtcAec_Process()
390 int16_t far_buf_size_ms = (int16_t)(WebRtcAec_system_delay(aecpc->aec) / in WebRtcAec_Process()
[all …]
Daec_core.h57 void WebRtcAec_FreeAec(AecCore* aec);
58 int WebRtcAec_InitAec(AecCore* aec, int sampFreq);
67 void WebRtcAec_BufferFarendPartition(AecCore* aec, const float* farend);
68 void WebRtcAec_ProcessFrames(AecCore* aec,
78 int WebRtcAec_MoveFarReadPtr(AecCore* aec, int elements);
Daec_core_internal.h196 typedef void (*WebRtcAecOverdriveAndSuppress)(AecCore* aec,
202 typedef void (*WebRtcAecComfortNoise)(AecCore* aec,
209 typedef void (*WebRtcAecSubBandCoherence)(AecCore* aec,
219 typedef int (*WebRtcAecPartitionDelay)(const AecCore* aec);
Daec_core_mips.c26 void WebRtcAec_ComfortNoise_mips(AecCore* aec, in WebRtcAec_ComfortNoise_mips() argument
41 WebRtcSpl_RandUArray(randW16, PART_LEN, &aec->seed); in WebRtcAec_ComfortNoise_mips()
276 if (aec->num_bands > 1) { in WebRtcAec_ComfortNoise_mips()
646 void WebRtcAec_OverdriveAndSuppress_mips(AecCore* aec, in WebRtcAec_OverdriveAndSuppress_mips() argument
690 hNl[i] = powf(hNl[i], aec->overDriveSm * WebRtcAec_overDriveCurve[i]); in WebRtcAec_OverdriveAndSuppress_mips()
Decho_cancellation_internal.h62 AecCore* aec; member
/external/webrtc/webrtc/modules/audio_processing/
Daudio_processing.gypi35 'aec/aec_core.c',
36 'aec/aec_core.h',
37 'aec/aec_core_internal.h',
38 'aec/aec_rdft.c',
39 'aec/aec_rdft.h',
40 'aec/aec_resampler.c',
41 'aec/aec_resampler.h',
42 'aec/echo_cancellation.c',
43 'aec/echo_cancellation_internal.h',
44 'aec/echo_cancellation.h',
[all …]
DBUILD.gn25 "aec/aec_core.c",
26 "aec/aec_core.h",
27 "aec/aec_core_internal.h",
28 "aec/aec_rdft.c",
29 "aec/aec_rdft.h",
30 "aec/aec_resampler.c",
31 "aec/aec_resampler.h",
32 "aec/echo_cancellation.c",
33 "aec/echo_cancellation.h",
34 "aec/echo_cancellation_internal.h",
[all …]
DAndroid.mk53 $(LOCAL_PATH)/aec/include \
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioEffects.java54 private AcousticEchoCanceler aec = null; field in WebRtcAudioEffects
228 if (aec != null && (enable != shouldEnableAec)) { in setAEC()
276 assertTrue(aec == null); in enable()
294 aec = AcousticEchoCanceler.create(audioSession); in enable()
295 if (aec != null) { in enable()
296 boolean enabled = aec.getEnabled(); in enable()
298 if (aec.setEnabled(enable) != AudioEffect.SUCCESS) { in enable()
304 + (aec.getEnabled() ? "enabled" : "disabled")); in enable()
354 if (aec != null) { in release()
355 aec.release(); in release()
[all …]
/external/webrtc/webrtc/modules/audio_processing/test/
Ddebug_dump_test.cc527 EchoCancellation* aec = generator.apm()->echo_cancellation(); in TEST_F() local
528 EXPECT_EQ(AudioProcessing::kNoError, aec->Enable(!aec->is_enabled())); in TEST_F()
542 EchoCancellation* aec = generator.apm()->echo_cancellation(); in TEST_F() local
543 EXPECT_EQ(AudioProcessing::kNoError, aec->Enable(!aec->is_enabled())); in TEST_F()
553 EchoCancellation* aec = generator.apm()->echo_cancellation(); in TEST_F() local
554 EXPECT_EQ(AudioProcessing::kNoError, aec->Enable(true)); in TEST_F()
556 aec->set_suppression_level(EchoCancellation::kLowSuppression)); in TEST_F()
561 aec->set_suppression_level(EchoCancellation::kHighSuppression)); in TEST_F()
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 ' ...
Daudioproc_float.cc57 DEFINE_bool(aec, false, "Enable echo cancellation.");
/external/webrtc/webrtc/voice_engine/
Dvoe_audio_processing_impl.cc480 EchoCancellation* aec = _shared->audio_processing()->echo_cancellation(); in EnableDriftCompensation() local
481 if (aec->enable_drift_compensation(enable) != 0) { in EnableDriftCompensation()
492 EchoCancellation* aec = _shared->audio_processing()->echo_cancellation(); in DriftCompensationEnabled() local
493 return aec->is_drift_compensation_enabled(); in DriftCompensationEnabled()
Dtransmit_mixer.cc1254 EchoCancellation* aec = audioproc_->echo_cancellation(); in ProcessAudio() local
1255 if (aec->is_drift_compensation_enabled()) { in ProcessAudio()
1256 aec->set_stream_drift_samples(clock_drift); in ProcessAudio()
/external/webrtc/
DAndroid.mk117 include $(webrtc_path)/webrtc/modules/audio_processing/aec/Android.mk
/external/webrtc/webrtc/tools/agc/
Dagc_harness.cc47 DEFINE_bool(aec,
/external/webrtc/webrtc/modules/
Dmodules.gyp222 'audio_processing/aec/echo_cancellation_unittest.cc',
223 'audio_processing/aec/system_delay_unittest.cc',
/external/webrtc/webrtc/
DLICENSE_THIRD_PARTY17 modules/audio_processing/aec/aec_rdft.c
234 modules/audio_processing/aec/aec_rdft.c
/external/pdfium/testing/resources/
Dbug_555784.in45 …add /ade /adf /ae0 /ae1 /ae2 /ae3 /ae4 /ae5 /ae6 /ae7 /ae8 /ae9 /aea /aeb /aec /aed /aee /aef /af0…
/external/google-breakpad/src/processor/testdata/symbols/microdump/breakpad_unittests/D6D1FEC9A15DE7F38A236898871A2E770/
Dbreakpad_unittests.sym819 21aec c 325 25
1830 FUNC 23aec 14 0 ExceptionHandlerTest_ModuleInfo_Test::~ExceptionHandlerTest_ModuleInfo_Test
1831 23aec 14 806 6
2862 25aec 4 101 120
3338 26aec 4 239 121
7638 31aec c 324 136
8990 34aec 18 52 20
9458 35aec 8 90 25
9872 36aec 4 277 82
10666 38aec c 236 27
[all …]
/external/google-breakpad/src/processor/testdata/symbols/microdump/breakpad_unittests/DA7778FB66018A4E9B4110ED06E730D00/
Dbreakpad_unittests.sym2685 FUNC 16aec 1e 0 testing::internal::scoped_ptr<std::basic_stringstream<char, std::char_traits<char>,…
2686 16aec 2 1140 87
8192 20aec 6 85 79
11388 26aec c 205 121
16394 30aec a 163 46
17699 32aec 4 53 56
26451 40aec a 131 79
28891 44aec 4 124 10
31087 47aec 4 176 33
36963 51aec 4 373 109
[all …]

12