Searched refs:lag_frac (Results 1 – 4 of 4) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | amrwbdec.c | 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() [all …]
|
D | acelp_pitch_delay.c | 107 void ff_decode_pitch_lag(int *lag_int, int *lag_frac, int pitch_index, in ff_decode_pitch_lag() argument 148 *lag_frac = pitch_index - 3 * *lag_int - 1; in ff_decode_pitch_lag()
|
D | acelp_pitch_delay.h | 272 void ff_decode_pitch_lag(int *lag_int, int *lag_frac, int pitch_index,
|
D | amrnbdec.c | 372 static void decode_pitch_lag_1_6(int *lag_int, int *lag_frac, int pitch_index, in decode_pitch_lag_1_6() argument 378 *lag_frac = pitch_index - *lag_int * 6 + 105; in decode_pitch_lag_1_6() 381 *lag_frac = 0; in decode_pitch_lag_1_6() 385 *lag_frac = pitch_index - *lag_int * 6 - 3; in decode_pitch_lag_1_6()
|