Home
last modified time | relevance | path

Searched refs:delay_difference (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/aec/
Decho_cancellation.c800 int delay_difference = 0; in EstBufDelayNormal() local
827 delay_difference = aecpc->filtDelay - aecpc->knownDelay; in EstBufDelayNormal()
828 if (delay_difference > 224) { in EstBufDelayNormal()
834 } else if (delay_difference < 96 && aecpc->knownDelay > 0) { in EstBufDelayNormal()
843 aecpc->lastDelayDiff = delay_difference; in EstBufDelayNormal()
853 int delay_difference = 0; in EstBufDelayExtended() local
881 delay_difference = self->filtDelay - self->knownDelay; in EstBufDelayExtended()
882 if (delay_difference > 384) { in EstBufDelayExtended()
888 } else if (delay_difference < 128 && self->knownDelay > 0) { in EstBufDelayExtended()
897 self->lastDelayDiff = delay_difference; in EstBufDelayExtended()
/external/webrtc/webrtc/modules/audio_processing/utility/
Ddelay_estimator.c174 const int delay_difference = candidate_delay - self->last_delay; in HistogramBasedValidation() local
195 if (delay_difference > self->allowed_offset) { in HistogramBasedValidation()
196 fraction = 1.f - kFractionSlope * (delay_difference - self->allowed_offset); in HistogramBasedValidation()
199 } else if (delay_difference < 0) { in HistogramBasedValidation()
201 kFractionSlope * delay_difference; in HistogramBasedValidation()