Lines Matching refs:lag_frac
256 static void decode_pitch_lag_high(int *lag_int, int *lag_frac, int pitch_index, in decode_pitch_lag_high() argument
262 *lag_frac = pitch_index - (*lag_int << 2) + 136; in decode_pitch_lag_high()
265 *lag_frac = (pitch_index - (*lag_int << 1) + 256 - 376) * 2; in decode_pitch_lag_high()
269 *lag_frac = 0; in decode_pitch_lag_high()
272 *base_lag_int = av_clip(*lag_int - 8 - (*lag_frac < 0), in decode_pitch_lag_high()
279 *lag_frac = pitch_index - (*lag_int << 2); in decode_pitch_lag_high()
289 static void decode_pitch_lag_low(int *lag_int, int *lag_frac, int pitch_index, in decode_pitch_lag_low() argument
295 *lag_frac = (pitch_index - (*lag_int << 1) + 68) * 2; in decode_pitch_lag_low()
298 *lag_frac = 0; in decode_pitch_lag_low()
301 *base_lag_int = av_clip(*lag_int - 8 - (*lag_frac < 0), in decode_pitch_lag_low()
305 *lag_frac = (pitch_index - (*lag_int << 1)) * 2; in decode_pitch_lag_low()