Home
last modified time | relevance | path

Searched refs:pitch_lag (Results 1 – 2 of 2) sorted by relevance

/external/libxaac/decoder/
Dixheaacd_acelp_decode.c316 static VOID ixheaacd_cb_exc_calc(FLOAT32 xcitation_curr[], WORD32 pitch_lag, in ixheaacd_cb_exc_calc() argument
322 x0 = &xcitation_curr[-pitch_lag]; in ixheaacd_cb_exc_calc()
348 WORD32 pitch_lag, pitch_lag_frac, index, pitch_flag, pitch_lag_max; in ixheaacd_acelp_alias_cnx() local
462 pitch_lag = pitch_min + (index / 4); in ixheaacd_acelp_alias_cnx()
463 pitch_lag_frac = index - (pitch_lag - pitch_min) * 4; in ixheaacd_acelp_alias_cnx()
467 pitch_lag = pitch_fr2 + (index / 2); in ixheaacd_acelp_alias_cnx()
468 pitch_lag_frac = index - (pitch_lag - pitch_fr2) * 2; in ixheaacd_acelp_alias_cnx()
471 pitch_lag = index + pitch_fr1 - ((pitch_fr2 - pitch_min) * 4) - in ixheaacd_acelp_alias_cnx()
475 pitch_lag_min = pitch_lag - 8; in ixheaacd_acelp_alias_cnx()
484 pitch_lag = pitch_lag_min + index / 4; in ixheaacd_acelp_alias_cnx()
[all …]
Dixheaacd_lpc.c221 WORD32 i, j, sf, num_subfr, pitch_lag, lg; in ixheaacd_bass_post_filter() local
236 pitch_lag = pitch[sf]; in ixheaacd_bass_post_filter()
238 if (((pitch_lag >> 1) + 96 - num_subfr) > MAX_PITCH) return -1; in ixheaacd_bass_post_filter()
243 y = &synth_sig[num_subfr - pitch_lag / 2 - 96]; in ixheaacd_bass_post_filter()
256 if (norm_corr > 0.95f) pitch_lag >>= 1; in ixheaacd_bass_post_filter()
258 lg = len_fr + len2 - pitch_lag - num_subfr; in ixheaacd_bass_post_filter()
270 energy += synth_sig[i + num_subfr + pitch_lag] * in ixheaacd_bass_post_filter()
271 synth_sig[i + num_subfr + pitch_lag]; in ixheaacd_bass_post_filter()
280 0.5f * synth_sig[i + num_subfr - pitch_lag] - in ixheaacd_bass_post_filter()
281 0.5f * synth_sig[i + num_subfr + pitch_lag]); in ixheaacd_bass_post_filter()
[all …]