Home
last modified time | relevance | path

Searched refs:last_delay (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/utility/
Ddelay_estimator.c97 const int max_hits_for_slow_change = (candidate_delay < self->last_delay) ? in UpdateRobustValidationStatistics()
135 int is_in_last_set = (i >= self->last_delay - 2) && in UpdateRobustValidationStatistics()
136 (i <= self->last_delay + 1) && (i != candidate_delay); in UpdateRobustValidationStatistics()
174 const int delay_difference = candidate_delay - self->last_delay; in HistogramBasedValidation()
244 is_robust = (self->last_delay < 0) && in RobustValidation()
494 self->last_delay = -2; in WebRtc_InitBinaryDelayEstimator()
627 if (candidate_delay != self->last_delay) { in WebRtc_ProcessBinarySpectrum()
638 self->last_delay = candidate_delay; in WebRtc_ProcessBinarySpectrum()
642 self->compare_delay = self->last_delay; in WebRtc_ProcessBinarySpectrum()
645 return self->last_delay; in WebRtc_ProcessBinarySpectrum()
[all …]
Ddelay_estimator_unittest.cc133 EXPECT_EQ(-2, binary_->last_delay); in InitBinary()
160 EXPECT_EQ(-2, binary1->last_delay); in RunBinarySpectra()
161 EXPECT_EQ(-2, binary2->last_delay); in RunBinarySpectra()
431 int last_delay = 0; in TEST_F() local
437 last_delay = WebRtc_DelayEstimatorProcessFloat(handle_, near_f_, in TEST_F()
439 if (last_delay != -2) { in TEST_F()
440 EXPECT_EQ(last_delay, WebRtc_last_delay(handle_)); in TEST_F()
457 last_delay = WebRtc_DelayEstimatorProcessFix(handle_, near_u16_, in TEST_F()
459 if (last_delay != -2) { in TEST_F()
460 EXPECT_EQ(last_delay, WebRtc_last_delay(handle_)); in TEST_F()
Ddelay_estimator.h46 int last_delay; member
/external/webrtc/webrtc/modules/audio_processing/aec/
Daec_core.c852 int last_delay = -2; in SignalBasedDelayCorrection() local
875 last_delay = WebRtc_last_delay(self->delay_estimator); in SignalBasedDelayCorrection()
876 if ((last_delay >= 0) && in SignalBasedDelayCorrection()
877 (last_delay != self->previous_delay) && in SignalBasedDelayCorrection()
880 int delay = last_delay - WebRtc_lookahead(self->delay_estimator); in SignalBasedDelayCorrection()
904 self->previous_delay = last_delay; in SignalBasedDelayCorrection()