/external/webrtc/src/modules/audio_processing/aec/ |
aec_core.c | 12 * The core AEC algorithm, which is presented with time-aligned signals. 108 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); [all...] |
aec_core.h | 12 * Specifies the interface for the AEC core. 115 int system_delay; // Current system delay buffered in AEC. 156 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); [all...] |
echo_cancellation.c | 12 * Contains the API functions for the AEC. 60 short initFlag; // indicates if AEC has been initialized 95 aec_t *aec; member in struct:__anon18322 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) [all...] |
aec_core_sse2.c | 12 * The core AEC algorithm, SSE2 version of speed-critical functions. 34 static void FilterFarSSE2(aec_t *aec, float yf[2][PART_LEN1]) 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] [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
AcousticEchoCanceler.java | 22 * Acoustic Echo Canceler (AEC). 23 * <p>Acoustic Echo Canceler (AEC) is an audio pre-processing which removes the contribution of the 25 * <p>AEC is used by voice communication applications (voice chat, video conferencing, SIP calls) 27 * is highly disturbing. AEC is often used in conjunction with noise suppression (NS). 28 * <p>An application creates an AcousticEchoCanceler object to instantiate and control an AEC 34 * <p>On some devices, an AEC can be inserted by default in the capture path by the platform 36 * call AcousticEchoCanceler.getEnable() after creating the AEC to check the default AEC activation 59 * @return AcousticEchoCanceler created or null if the device does not implement AEC. 62 AcousticEchoCanceler aec = null local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
AudioPreProcessingTest.java | 101 //Test case 2.1: test AEC creation and release 108 AcousticEchoCanceler aec = AcousticEchoCanceler.create(ar.getAudioSessionId()); local 109 assertTrue("AEC not available but created or available and not created", 110 isAvailable == (aec != null)); 111 if (aec != null) { 112 aec.release(); 118 // 2.2 - AEC Enable/disable 121 //Test case 2.2: test AEC setEnabled() and getEnabled() 130 AcousticEchoCanceler aec = AcousticEchoCanceler.create(ar.getAudioSessionId()); local 131 assertNotNull("could not create AcousticEchoCanceler", aec); [all...] |
/device/samsung/manta/ |
audio_effects.conf | 86 aec { 133 aec {}
|
/device/asus/flo/ |
audio_effects.conf | 89 aec { 102 # aec {
|
/device/lge/mako/ |
audio_effects.conf | 82 aec {
|
/device/samsung/tuna/ |
audio_effects.conf | 86 aec {
|
/external/webrtc/src/modules/audio_processing/test/ |
apmtest.m | 14 % '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 ' ...
|
/frameworks/opt/net/voip/src/jni/rtp/ |
AudioGroup.cpp | 830 AudioEffect *aec = NULL; local 833 aec = new AudioEffect(FX_IID_AEC, 840 status_t status = aec->initCheck(); 842 aec->setEnabled(true); 844 delete aec; 845 aec = NULL; 848 // Create local echo suppressor if platform AEC cannot be used. 849 if (aec == NULL) { 924 delete aec;
|
/frameworks/av/media/libeffects/preprocessing/ |
PreProcessing.cpp | 426 // Acoustic Echo Canceler (AEC) 436 webrtc::EchoControlMobile *aec = static_cast<webrtc::EchoControlMobile *>(effect->engine); local 437 aec->set_routing_mode(kAecDefaultMode); 438 aec->enable_comfort_noise(kAecDefaultComfortNoise); 444 webrtc::EchoControlMobile *aec = effect->session->apm->echo_control_mobile(); local 445 ALOGV("AecCreate got aec %p", aec); 446 if (aec == NULL) { 450 effect->engine = static_cast<preproc_fx_handle_t>(aec); 502 webrtc::EchoControlMobile *aec = static_cast<webrtc::EchoControlMobile *>(effect->engine) local 510 webrtc::EchoControlMobile *aec = static_cast<webrtc::EchoControlMobile *>(effect->engine); local 517 webrtc::EchoControlMobile *aec = static_cast<webrtc::EchoControlMobile *>(effect->engine); local [all...] |
/external/webrtc/ |
Android.mk | 17 include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/aec/Android.mk
|
/external/webrtc/src/modules/audio_processing/ |
Android.mk | 42 $(LOCAL_PATH)/aec/interface \
|
/external/dropbear/libtommath/mtest/ |
mpi.c | 2631 int aec = (ec < 0) ? -ec : ec; local [all...] |
/hardware/qcom/msm8960/kernel-headers/media/ |
msm_camera.h | 724 struct stats_buff aec; member in struct:msm_stats_buf [all...] |
/hardware/qcom/msm8960/original-kernel-headers/media/ |
msm_camera.h | 572 MSM_STATS_TYPE_AEC, /* legacy based AEC */ 746 struct stats_buff aec; member in struct:msm_stats_buf [all...] |