Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dpitch_estimator.c189 ratio = log((double) (k + (PITCH_MIN_LAG/2-2))) - log_lag; in WebRtcIsac_InitializePitch()
341 lags1[k] = (double) ((peak - row * (PITCH_LAG_SPAN2+4)) + PITCH_MIN_LAG/2 - 4); in WebRtcIsac_InitializePitch()
422 if (lags1[peak] < (double) PITCH_MIN_LAG) lags1[peak] = (double) PITCH_MIN_LAG; in WebRtcIsac_InitializePitch()
423 if (lags2[peak] < (double) PITCH_MIN_LAG) lags2[peak] = (double) PITCH_MIN_LAG; in WebRtcIsac_InitializePitch()
436 lags1[0] = (double) ((max_ind - row * (PITCH_LAG_SPAN2+4)) + PITCH_MIN_LAG/2 - 4); in WebRtcIsac_InitializePitch()
439 if (lags1[0] < (double) PITCH_MIN_LAG) lags1[0] = (double) PITCH_MIN_LAG; in WebRtcIsac_InitializePitch()
440 if (lags2[0] < (double) PITCH_MIN_LAG) lags2[0] = (double) PITCH_MIN_LAG; in WebRtcIsac_InitializePitch()
Dsettings.h115 #define PITCH_MIN_LAG 20 /* 400 Hz */ macro
119 #define PITCH_LAG_SPAN2 (PITCH_MAX_LAG/2-PITCH_MIN_LAG/2+5)
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dsettings.h152 #define PITCH_MIN_LAG 20 /* 400 Hz */ macro
Dpitch_estimator.c218 tmp32b = WebRtcIsacfix_Log2Q8((uint32_t) (k + (PITCH_MIN_LAG/2-2))); in WebRtcIsacfix_InitialPitch()