/external/webrtc/src/modules/audio_processing/aec/main/source/ |
aec_core.c | 12 * The core AEC algorithm, which is presented with time-aligned signals. 119 static void ProcessBlock(aec_t *aec, const short *farend, 123 static void BufferFar(aec_t *aec, const short *farend, int farLen); 124 static void FetchFar(aec_t *aec, short *farend, int farLen, int knownDelay); 126 static void NonLinearProcessing(aec_t *aec, short *output, short *outputH); 131 static void ComfortNoise(aec_t *aec, float efw[2][PART_LEN1], 138 static void UpdateMetrics(aec_t *aec); 160 aec_t *aec = malloc(sizeof(aec_t)); local 161 *aecInst = aec; 162 if (aec == NULL) [all...] |
echo_cancellation.c | 12 * Contains the API functions for the AEC. 55 short initFlag; // indicates if AEC has been initialized 91 aec_t *aec; member in struct:__anon13799 114 if (WebRtcAec_CreateAec(&aecpc->aec) == -1) { 136 aecpc->aec->farFile = fopen("aecFar.pcm","wb"); 137 aecpc->aec->nearFile = fopen("aecNear.pcm","wb"); 138 aecpc->aec->outFile = fopen("aecOut.pcm","wb"); 139 aecpc->aec->outLpFile = fopen("aecOutLp.pcm","wb"); 160 fclose(aecpc->aec->farFile); 161 fclose(aecpc->aec->nearFile) [all...] |
aec_core_sse2.c | 12 * The core AEC algorithm, SSE2 version of speed-critical functions. 32 static void FilterFarSSE2(aec_t *aec, float yf[2][PART_LEN1]) 37 int xPos = (i + aec->xfBufBlockPos) * PART_LEN1; 40 if (i + aec->xfBufBlockPos >= NR_PART) { 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->wfBuf[0][pos + j]); 49 const __m128 wfBuf_im = _mm_loadu_ps(&aec->wfBuf[1][pos + j]); 65 yf[0][j] += MulRe(aec->xfBuf[0][xPos + j], aec->xfBuf[1][xPos + j] [all...] |
aec_core.h | 12 * Specifies the interface for the AEC core. 168 typedef void (*WebRtcAec_FilterFar_t)(aec_t *aec, float yf[2][PART_LEN1]); 170 typedef void (*WebRtcAec_ScaleErrorSignal_t)(aec_t *aec, float ef[2][PART_LEN1]); 175 (aec_t *aec, float *fft, float ef[2][PART_LEN1]); 178 (aec_t *aec, float hNl[PART_LEN1], const float hNlFb, float efw[2][PART_LEN1]); 181 int WebRtcAec_CreateAec(aec_t **aec); 182 int WebRtcAec_FreeAec(aec_t *aec); 183 int WebRtcAec_InitAec(aec_t *aec, int sampFreq); 186 void WebRtcAec_InitMetrics(aec_t *aec); 187 void WebRtcAec_ProcessFrame(aec_t *aec, const short *farend [all...] |
/frameworks/base/media/libeffects/data/ |
audio_effects.conf | 79 aec {
|
/external/webrtc/src/modules/audio_processing/main/test/process_test/ |
apmtest.m | 14 % 'aec' The AEC test set. 61 tests = {'apm','apmm','aec','aecm','agc','ns','vad'}; 105 ' -aec --drift_compensation -agc --fixed_digital' ... 117 ' -aec --drift_compensation -agc --adaptive_digital' ... 123 opt = ['-aec --drift_compensation -agc --fixed_digital -hpf -ns ' ...
|
/external/webrtc/ |
Android.mk | 18 include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/aec/main/source/Android.mk
|
/external/webrtc/src/modules/audio_processing/main/source/ |
Android.mk | 53 $(LOCAL_PATH)/../../aec/main/interface \
|
/frameworks/base/voip/jni/rtp/ |
AudioGroup.cpp | 831 AudioEffect *aec = NULL; local 834 aec = new AudioEffect(FX_IID_AEC, 841 status_t status = aec->initCheck(); 843 aec->setEnabled(true); 845 delete aec; 846 aec = NULL; 849 // Create local echo suppressor if platform AEC cannot be used. 850 if (aec == NULL) { 925 delete aec;
|
/frameworks/base/media/libeffects/preprocessing/ |
PreProcessing.cpp | 385 // Acoustic Echo Canceler (AEC) 395 webrtc::EchoControlMobile *aec = static_cast<webrtc::EchoControlMobile *>(effect->engine); local 396 aec->set_routing_mode(kAecDefaultMode); 397 aec->enable_comfort_noise(kAecDefaultComfortNoise); 403 webrtc::EchoControlMobile *aec = effect->session->apm->echo_control_mobile(); local 404 LOGV("AecCreate got aec %p", aec); 405 if (aec == NULL) { 409 effect->engine = static_cast<preproc_fx_handle_t>(aec); 461 webrtc::EchoControlMobile *aec = static_cast<webrtc::EchoControlMobile *>(effect->engine) local 469 webrtc::EchoControlMobile *aec = static_cast<webrtc::EchoControlMobile *>(effect->engine); local 476 webrtc::EchoControlMobile *aec = static_cast<webrtc::EchoControlMobile *>(effect->engine); local [all...] |
/external/dropbear/libtommath/mtest/ |
mpi.c | 2631 int aec = (ec < 0) ? -ec : ec; local [all...] |