Searched refs:pitch_index (Results 1 – 5 of 5) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
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 114 if (pitch_index < 197) in ff_decode_pitch_lag() 115 pitch_index += 59; in ff_decode_pitch_lag() 117 pitch_index = 3 * pitch_index - 335; in ff_decode_pitch_lag() 125 if (pitch_index < 4) { in ff_decode_pitch_lag() 127 pitch_index = 3 * (pitch_index + search_range_min) + 1; in ff_decode_pitch_lag() 128 } else if (pitch_index < 12) { in ff_decode_pitch_lag() 130 pitch_index += 3 * search_range_min + 7; in ff_decode_pitch_lag() 133 pitch_index = 3 * (pitch_index + search_range_min - 6) + 1; in ff_decode_pitch_lag() 137 pitch_index--; in ff_decode_pitch_lag() [all …]
|
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 260 if (pitch_index < 376) { in decode_pitch_lag_high() 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() 263 } else if (pitch_index < 440) { 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() 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() [all …]
|
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 376 if (pitch_index < 463) { in decode_pitch_lag_1_6() 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()
|
D | acelp_pitch_delay.h | 272 void ff_decode_pitch_lag(int *lag_int, int *lag_frac, int pitch_index,
|
/third_party/ffmpeg/libavfilter/ |
D | af_arnndn.c | 1043 int pitch_index; in compute_frame_features() local 1055 PITCH_MAX_PERIOD-3*PITCH_MIN_PERIOD, &pitch_index); in compute_frame_features() 1056 pitch_index = PITCH_MAX_PERIOD-pitch_index; in compute_frame_features() 1059 PITCH_FRAME_SIZE, &pitch_index, st->last_period, st->last_gain); in compute_frame_features() 1060 st->last_period = pitch_index; in compute_frame_features() 1064 p[i] = st->pitch_buf[PITCH_BUF_SIZE-WINDOW_SIZE-pitch_index+i]; in compute_frame_features() 1081 features[NB_BANDS+3*NB_DELTA_CEPS] = .01*(pitch_index-300); in compute_frame_features()
|