Searched refs:peak_diff (Results 1 – 2 of 2) sorted by relevance
460 WORD32 peak_diff, nrg; in ixheaacd_decorrelation_dec() local572 peak_diff = ixheaacd_add32_sat( in ixheaacd_decorrelation_dec()579 ptr_ps_dec->peak_decay_diff_prev[bin] = peak_diff; in ixheaacd_decorrelation_dec()586 peak_diff = ixheaacd_add32_sat(peak_diff, (peak_diff >> 1)); in ixheaacd_decorrelation_dec()588 if (peak_diff <= nrg) { in ixheaacd_decorrelation_dec()592 ixheaacd_extract16l((*ixheaacd_divide16_pos)(nrg, peak_diff)); in ixheaacd_decorrelation_dec()
523 FLOAT32 peak_diff, nrg, trans_ratio; in ixheaacd_esbr_ps_de_correlate() local642 peak_diff = ptr_ps_dec->prev_peak_diff_bin[bin]; in ixheaacd_esbr_ps_de_correlate()643 peak_diff += INIT_FILT_COEFF * (ptr_ps_dec->peak_decay_fast_bin[bin] - in ixheaacd_esbr_ps_de_correlate()646 ptr_ps_dec->prev_peak_diff_bin[bin] = peak_diff; in ixheaacd_esbr_ps_de_correlate()651 if (q * peak_diff <= nrg) { in ixheaacd_esbr_ps_de_correlate()654 trans_ratio_arr[k][bin] = nrg / (q * peak_diff); in ixheaacd_esbr_ps_de_correlate()