Searched refs:pitch_index (Results 1 - 5 of 5) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
H A 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 in ff_decode_pitch_lag() [all...] |
H A D | amrwbdec.c | 263 * @param[in] pitch_index Adaptive codebook pitch index 267 static void decode_pitch_lag_high(int *lag_int, int *lag_frac, int pitch_index, in decode_pitch_lag_high() argument 271 if (pitch_index < 376) { in decode_pitch_lag_high() 272 *lag_int = (pitch_index + 137) >> 2; in decode_pitch_lag_high() 273 *lag_frac = pitch_index - (*lag_int << 2) + 136; in decode_pitch_lag_high() 274 } else if (pitch_index < 440) { in decode_pitch_lag_high() 275 *lag_int = (pitch_index + 257 - 376) >> 1; in decode_pitch_lag_high() 276 *lag_frac = (pitch_index - (*lag_int << 1) + 256 - 376) * 2; in decode_pitch_lag_high() 279 *lag_int = pitch_index - 280; in decode_pitch_lag_high() 289 *lag_int = (pitch_index in decode_pitch_lag_high() 300 decode_pitch_lag_low(int *lag_int, int *lag_frac, int pitch_index, uint8_t *base_lag_int, int subframe, enum Mode mode) decode_pitch_lag_low() argument [all...] |
H A D | amrnbdec.c | 382 static void decode_pitch_lag_1_6(int *lag_int, int *lag_frac, int pitch_index, in decode_pitch_lag_1_6() argument 386 if (pitch_index < 463) { in decode_pitch_lag_1_6() 387 *lag_int = (pitch_index + 107) * 10923 >> 16; in decode_pitch_lag_1_6() 388 *lag_frac = pitch_index - *lag_int * 6 + 105; in decode_pitch_lag_1_6() 390 *lag_int = pitch_index - 368; in decode_pitch_lag_1_6() 394 *lag_int = ((pitch_index + 5) * 10923 >> 16) - 1; in decode_pitch_lag_1_6() 395 *lag_frac = pitch_index - *lag_int * 6 - 3; in decode_pitch_lag_1_6()
|
H A D | acelp_pitch_delay.h | 267 * @param pitch_index parsed adaptive codebook (pitch) index 272 void ff_decode_pitch_lag(int *lag_int, int *lag_frac, int pitch_index,
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_arnndn.c | 1031 int pitch_index; in compute_frame_features() local 1043 PITCH_MAX_PERIOD-3*PITCH_MIN_PERIOD, &pitch_index); in compute_frame_features() 1044 pitch_index = PITCH_MAX_PERIOD-pitch_index; in compute_frame_features() 1047 PITCH_FRAME_SIZE, &pitch_index, st->last_period, st->last_gain); in compute_frame_features() 1048 st->last_period = pitch_index; in compute_frame_features() 1052 p[i] = st->pitch_buf[PITCH_BUF_SIZE-WINDOW_SIZE-pitch_index+i]; in compute_frame_features() 1069 features[NB_BANDS+3*NB_DELTA_CEPS] = .01*(pitch_index-300); in compute_frame_features()
|
Completed in 9 milliseconds