Home
last modified time | relevance | path

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

/external/webrtc/src/modules/audio_processing/aecm/main/source/
Decho_control_mobile.c45 int knownDelay; member
214 aecm->knownDelay = 0; in WebRtcAecm_Init()
515 fwrite(&(aecm->knownDelay), sizeof(aecm->knownDelay), 1, aecm->delayFile); in WebRtcAecm_Process()
679 diff = aecm->filtDelay - aecm->knownDelay; in WebRtcAecm_EstBufDelay()
689 } else if (diff < 96 && aecm->knownDelay > 0) in WebRtcAecm_EstBufDelay()
706 aecm->knownDelay = WEBRTC_SPL_MAX((int)aecm->filtDelay - 160, 0); in WebRtcAecm_EstBufDelay()
Daecm_core.h110 int knownDelay; member
336 const int farLen, const int knownDelay);
Daecm_core.c285 aecm->knownDelay = 0; in WebRtcAecm_InitCore()
668 WebRtcAecm_FetchFarFrame(aecm, farFrame, FRAME_LEN, aecm->knownDelay); in WebRtcAecm_ProcessFrame()
2499 const int farLen, const int knownDelay) in WebRtcAecm_FetchFarFrame() argument
2503 int delayChange = knownDelay - aecm->lastKnownDelay; in WebRtcAecm_FetchFarFrame()
2517 aecm->lastKnownDelay = knownDelay; in WebRtcAecm_FetchFarFrame()
/external/webrtc/src/modules/audio_processing/aec/main/source/
Decho_cancellation.c51 int knownDelay; member
243 aecpc->knownDelay = 0; in WebRtcAec_Init()
516 &out[FRAME_LEN * i], &outH[FRAME_LEN * i], aecpc->knownDelay); in WebRtcAec_Process()
523 fwrite(&(aecpc->knownDelay), sizeof(aecpc->knownDelay), 1, aecpc->delayFile); in WebRtcAec_Process()
767 diff = aecpc->filtDelay - aecpc->knownDelay; in EstBufDelay()
776 else if (diff < 96 && aecpc->knownDelay > 0) { in EstBufDelay()
790 aecpc->knownDelay = WEBRTC_SPL_MAX((int)aecpc->filtDelay - 160, 0); in EstBufDelay()
Daec_core.h75 int knownDelay; member
190 int knownDelay);
Daec_core.c124 static void FetchFar(aec_t *aec, short *farend, int farLen, int knownDelay);
396 aec->knownDelay = 0; in WebRtcAec_InitAec()
498 int knownDelay) in WebRtcAec_ProcessFrame() argument
514 FetchFar(aec, farFr, FRAME_LEN, knownDelay); in WebRtcAec_ProcessFrame()
1241 static void FetchFar(aec_t *aec, short *farend, int farLen, int knownDelay) in FetchFar() argument
1243 int readLen = farLen, readPos = 0, delayChange = knownDelay - aec->knownDelay; in FetchFar()
1255 aec->knownDelay = knownDelay; in FetchFar()