Home
last modified time | relevance | path

Searched refs:pitch_lag_int (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavcodec/
Damrnbdec.c114 uint8_t pitch_lag_int; ///< integer part of pitch lag from current subframe member
395 int pitch_lag_int, pitch_lag_frac; in decode_pitch_vector() local
399 decode_pitch_lag_1_6(&pitch_lag_int, &pitch_lag_frac, in decode_pitch_vector()
400 amr_subframe->p_lag, p->pitch_lag_int, in decode_pitch_vector()
403 ff_decode_pitch_lag(&pitch_lag_int, &pitch_lag_frac, in decode_pitch_vector()
405 p->pitch_lag_int, subframe, in decode_pitch_vector()
411 p->pitch_lag_int = pitch_lag_int; // store previous lag in a uint8_t in decode_pitch_vector()
413 pitch_lag_int += pitch_lag_frac > 0; in decode_pitch_vector()
418 p->excitation + 1 - pitch_lag_int, in decode_pitch_vector()
561 fixed_sparse->pitch_lag = p->pitch_lag_int; in pitch_sharpening()
Damrwbdec.c60 …uint8_t pitch_lag_int; ///< integer part of pitch lag of the previous subfr… member
322 int pitch_lag_int, pitch_lag_frac; in decode_pitch_vector() local
328 decode_pitch_lag_low(&pitch_lag_int, &pitch_lag_frac, amr_subframe->adap, in decode_pitch_vector()
331 decode_pitch_lag_high(&pitch_lag_int, &pitch_lag_frac, amr_subframe->adap, in decode_pitch_vector()
334 ctx->pitch_lag_int = pitch_lag_int; in decode_pitch_vector()
335 pitch_lag_int += pitch_lag_frac > 0; in decode_pitch_vector()
340 exc + 1 - pitch_lag_int, in decode_pitch_vector()
590 for (i = ctx->pitch_lag_int; i < AMRWB_SFR_SIZE; i++) in pitch_sharpening()
591 fixed_vector[i] += fixed_vector[i - ctx->pitch_lag_int] * 0.85; in pitch_sharpening()
Dsipr.c179 static void pitch_sharpening(int pitch_lag_int, float beta, in pitch_sharpening() argument
184 for (i = pitch_lag_int; i < SUBFR_SIZE; i++) in pitch_sharpening()
185 fixed_vector[i] += beta * fixed_vector[i - pitch_lag_int]; in pitch_sharpening()