Searched refs:lag_int (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 261 *lag_int = (pitch_index + 137) >> 2; in decode_pitch_lag_high() 262 *lag_frac = pitch_index - (*lag_int << 2) + 136; in decode_pitch_lag_high() 264 *lag_int = (pitch_index + 257 - 376) >> 1; in decode_pitch_lag_high() 265 *lag_frac = (pitch_index - (*lag_int << 1) + 256 - 376) * 2; in decode_pitch_lag_high() 268 *lag_int = pitch_index - 280; in decode_pitch_lag_high() 272 *base_lag_int = av_clip(*lag_int - 8 - (*lag_frac < 0), in decode_pitch_lag_high() 278 *lag_int = (pitch_index + 1) >> 2; in decode_pitch_lag_high() 279 *lag_frac = pitch_index - (*lag_int << 2); in decode_pitch_lag_high() 280 *lag_int += *base_lag_int; in decode_pitch_lag_high() [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 147 *lag_int = pitch_index * 10923 >> 15; in ff_decode_pitch_lag() 148 *lag_frac = pitch_index - 3 * *lag_int - 1; in ff_decode_pitch_lag()
|
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 377 *lag_int = (pitch_index + 107) * 10923 >> 16; in decode_pitch_lag_1_6() 378 *lag_frac = pitch_index - *lag_int * 6 + 105; in decode_pitch_lag_1_6() 380 *lag_int = pitch_index - 368; in decode_pitch_lag_1_6() 384 *lag_int = ((pitch_index + 5) * 10923 >> 16) - 1; in decode_pitch_lag_1_6() 385 *lag_frac = pitch_index - *lag_int * 6 - 3; in decode_pitch_lag_1_6() 386 *lag_int += av_clip(prev_lag_int - 5, PITCH_LAG_MIN_MODE_12k2, in decode_pitch_lag_1_6()
|
D | acelp_pitch_delay.h | 272 void ff_decode_pitch_lag(int *lag_int, int *lag_frac, int pitch_index,
|