Home
last modified time | relevance | path

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

/external/libxaac/decoder/
Dixheaacd_acelp_decode.c315 static VOID ixheaacd_cb_exc_calc(FLOAT32 xcitation_curr[], WORD32 pitch_lag, in ixheaacd_cb_exc_calc() argument
321 x0 = &xcitation_curr[-pitch_lag]; in ixheaacd_cb_exc_calc()
347 WORD32 pitch_lag, pitch_lag_frac, index, pitch_flag, pitch_lag_max; in ixheaacd_acelp_alias_cnx() local
461 pitch_lag = pitch_min + (index / 4); in ixheaacd_acelp_alias_cnx()
462 pitch_lag_frac = index - (pitch_lag - pitch_min) * 4; in ixheaacd_acelp_alias_cnx()
466 pitch_lag = pitch_fr2 + (index / 2); in ixheaacd_acelp_alias_cnx()
467 pitch_lag_frac = index - (pitch_lag - pitch_fr2) * 2; in ixheaacd_acelp_alias_cnx()
470 pitch_lag = index + pitch_fr1 - ((pitch_fr2 - pitch_min) * 4) - in ixheaacd_acelp_alias_cnx()
474 pitch_lag_min = pitch_lag - 8; in ixheaacd_acelp_alias_cnx()
483 pitch_lag = pitch_lag_min + index / 4; in ixheaacd_acelp_alias_cnx()
[all …]
Dixheaacd_lpc.c209 WORD32 i, j, sf, num_subfr, pitch_lag, lg; in ixheaacd_bass_post_filter() local
224 pitch_lag = pitch[sf]; in ixheaacd_bass_post_filter()
226 if (((pitch_lag >> 1) + 96 - num_subfr) > MAX_PITCH) return -1; in ixheaacd_bass_post_filter()
231 y = &synth_sig[num_subfr - pitch_lag / 2 - 96]; in ixheaacd_bass_post_filter()
244 if (norm_corr > 0.95f) pitch_lag >>= 1; in ixheaacd_bass_post_filter()
246 lg = len_fr + len2 - pitch_lag - num_subfr; in ixheaacd_bass_post_filter()
258 energy += synth_sig[i + num_subfr + pitch_lag] * in ixheaacd_bass_post_filter()
259 synth_sig[i + num_subfr + pitch_lag]; in ixheaacd_bass_post_filter()
268 0.5f * synth_sig[i + num_subfr - pitch_lag] - in ixheaacd_bass_post_filter()
269 0.5f * synth_sig[i + num_subfr + pitch_lag]); in ixheaacd_bass_post_filter()
[all …]