Home
last modified time | relevance | path

Searched refs:filtDelay (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/aec/
Decho_cancellation.c240 aecpc->filtDelay = -1; // -1 indicates an initialized state. in WebRtcAec_Init()
823 aecpc->filtDelay = aecpc->filtDelay < 0 ? 0 : aecpc->filtDelay; in EstBufDelayNormal()
824 aecpc->filtDelay = in EstBufDelayNormal()
825 WEBRTC_SPL_MAX(0, (short)(0.8 * aecpc->filtDelay + 0.2 * current_delay)); in EstBufDelayNormal()
827 delay_difference = aecpc->filtDelay - aecpc->knownDelay; in EstBufDelayNormal()
846 aecpc->knownDelay = WEBRTC_SPL_MAX((int)aecpc->filtDelay - 160, 0); in EstBufDelayNormal()
874 if (self->filtDelay == -1) { in EstBufDelayExtended()
875 self->filtDelay = WEBRTC_SPL_MAX(0, 0.5 * current_delay); in EstBufDelayExtended()
877 self->filtDelay = WEBRTC_SPL_MAX( in EstBufDelayExtended()
878 0, (short)(0.95 * self->filtDelay + 0.05 * current_delay)); in EstBufDelayExtended()
[all …]
Decho_cancellation_internal.h38 short filtDelay; // Filtered delay estimate. member
/external/webrtc/webrtc/modules/audio_processing/aecm/
Decho_control_mobile.c53 short filtDelay; member
176 aecm->filtDelay = 0; in WebRtcAecm_Init()
591 aecm->filtDelay = WEBRTC_SPL_MAX(0, (8 * aecm->filtDelay + 2 * delayNew) / 10); in WebRtcAecm_EstBufDelay()
593 diff = aecm->filtDelay - aecm->knownDelay; in WebRtcAecm_EstBufDelay()
620 aecm->knownDelay = WEBRTC_SPL_MAX((int)aecm->filtDelay - 160, 0); in WebRtcAecm_EstBufDelay()