Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dpitch_filter.c266 double old_lag, old_gain; in FilterFrame() local
298 old_lag = *filter_state->oldlagp; in FilterFrame()
302 if ((lags[0] > (PITCH_UPSTEP * old_lag)) || in FilterFrame()
303 (lags[0] < (PITCH_DOWNSTEP * old_lag))) { in FilterFrame()
304 old_lag = lags[0]; in FilterFrame()
317 lag_delta = (lags[m] - old_lag) / PITCH_GRAN_PER_SUBFRAME; in FilterFrame()
318 filter_parameters.lag = old_lag; in FilterFrame()
322 old_lag = lags[m]; in FilterFrame()
345 *filter_state->oldlagp = old_lag; in FilterFrame()
Dpitch_estimator.h32 const double old_lag,
Dpitch_estimator.c127 const double old_lag, in WebRtcIsac_InitializePitch() argument
184 log_lag = log(0.5 * old_lag); in WebRtcIsac_InitializePitch()
480 double old_lag, old_gain; in WebRtcIsac_PitchAnalysis() local
500 old_lag = State->PFstr_wght.oldlagp[0]; in WebRtcIsac_PitchAnalysis()
504 WebRtcIsac_InitializePitch(Weighted, old_lag, old_gain, State, lags); in WebRtcIsac_PitchAnalysis()
/external/webrtc/webrtc/modules/audio_processing/vad/
Dpitch_internal_unittest.cc25 double old_lag = 70; in TEST() local
41 kNumOutputParameters, &log_old_gain, &old_lag, in TEST()
48 EXPECT_NEAR(old_lag, expected_old_lag, 1e-6); in TEST()
Dpitch_internal.cc34 double* old_lag, in GetSubframesPitchParameters() argument
44 PitchInterpolation(*old_lag, lags, pitch_lag_hz); in GetSubframesPitchParameters()
45 *old_lag = lags[num_in_frames - 1]; in GetSubframesPitchParameters()
Dpitch_internal.h22 double* old_lag,