Home
last modified time | relevance | path

Searched refs:knownDelay (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/aec/
Decho_cancellation.c242 aecpc->knownDelay = 0; in WebRtcAec_Init()
394 &aecpc->knownDelay, sizeof(aecpc->knownDelay), 1, aecpc->delayFile); in WebRtcAec_Process()
713 aecpc->knownDelay, in ProcessNormal()
786 WEBRTC_SPL_MAX(0, self->knownDelay + delay_diff_offset); in ProcessExtended()
827 delay_difference = aecpc->filtDelay - aecpc->knownDelay; in EstBufDelayNormal()
834 } else if (delay_difference < 96 && aecpc->knownDelay > 0) { in EstBufDelayNormal()
846 aecpc->knownDelay = WEBRTC_SPL_MAX((int)aecpc->filtDelay - 160, 0); in EstBufDelayNormal()
881 delay_difference = self->filtDelay - self->knownDelay; in EstBufDelayExtended()
888 } else if (delay_difference < 128 && self->knownDelay > 0) { in EstBufDelayExtended()
900 self->knownDelay = WEBRTC_SPL_MAX((int)self->filtDelay - 256, 0); in EstBufDelayExtended()
Decho_cancellation_internal.h25 int knownDelay; member
Daec_core.h72 int knownDelay,
Daec_core_internal.h55 int knownDelay; member
Daec_core.c1665 aec->knownDelay = 0; in WebRtcAec_InitAec()
1757 int knownDelay, in WebRtcAec_ProcessFrames() argument
1820 int move_elements = (aec->knownDelay - knownDelay - 32) / PART_LEN; in WebRtcAec_ProcessFrames()
1823 aec->knownDelay -= moved_elements * PART_LEN; in WebRtcAec_ProcessFrames()
/external/webrtc/webrtc/modules/audio_processing/aecm/
Decho_control_mobile.c39 int knownDelay; member
178 aecm->knownDelay = 0; in WebRtcAecm_Init()
430 fwrite(&(aecm->knownDelay), sizeof(aecm->knownDelay), 1, aecm->delayFile); in WebRtcAecm_Process()
593 diff = aecm->filtDelay - aecm->knownDelay; in WebRtcAecm_EstBufDelay()
603 } else if (diff < 96 && aecm->knownDelay > 0) in WebRtcAecm_EstBufDelay()
620 aecm->knownDelay = WEBRTC_SPL_MAX((int)aecm->filtDelay - 160, 0); in WebRtcAecm_EstBufDelay()
Daecm_core.h37 int knownDelay; member
262 const int knownDelay);
Daecm_core.c413 aecm->knownDelay = 0; in WebRtcAecm_InitCore()
568 WebRtcAecm_FetchFarFrame(aecm, farFrame, FRAME_LEN, aecm->knownDelay); in WebRtcAecm_ProcessFrame()
1199 const int knownDelay) { in WebRtcAecm_FetchFarFrame() argument
1202 int delayChange = knownDelay - aecm->lastKnownDelay; in WebRtcAecm_FetchFarFrame()
1216 aecm->lastKnownDelay = knownDelay; in WebRtcAecm_FetchFarFrame()