Lines Matching refs:nrg
89 FLOAT32 *ptr_real_buf, *ptr_imag_buf, nrg = 0, p_ref, p_est, avg_gain, g_max, in ixheaacd_sbr_env_calc() local
285 for (nrg = 0, l = 0; l < rate; l++) { in ixheaacd_sbr_env_calc()
286 nrg += in ixheaacd_sbr_env_calc()
290 nrg_est_pvc[c][t] = nrg / rate; in ixheaacd_sbr_env_calc()
295 for (nrg = 0, k = c - (ui - li); k < c; k++) { in ixheaacd_sbr_env_calc()
296 nrg += nrg_est_pvc[k][t]; in ixheaacd_sbr_env_calc()
298 nrg /= (ui - li); in ixheaacd_sbr_env_calc()
305 nrg_est_pvc[c][t] = (!int_mode) ? nrg : nrg_est_pvc[c][t]; in ixheaacd_sbr_env_calc()
403 for (nrg = 0, l = 0; l < rate; l++) { in ixheaacd_sbr_env_calc()
404 nrg += in ixheaacd_sbr_env_calc()
408 nrg_est_pvc[c][t] = nrg / rate; in ixheaacd_sbr_env_calc()
413 for (nrg = 0, k = c - (ui - li); k < c; k++) { in ixheaacd_sbr_env_calc()
414 nrg += nrg_est_pvc[k][t]; in ixheaacd_sbr_env_calc()
416 nrg /= (ui - li); in ixheaacd_sbr_env_calc()
423 nrg_est_pvc[c][t] = (!int_mode) ? nrg : nrg_est_pvc[c][t]; in ixheaacd_sbr_env_calc()
592 for (nrg = 0, l = rate * p_frame_info->border_vec[i]; in ixheaacd_sbr_env_calc()
594 nrg += (input_real[l][k] * input_real[l][k]) + in ixheaacd_sbr_env_calc()
601 nrg_est[c++] = nrg / (rate * p_frame_info->border_vec[i + 1] - in ixheaacd_sbr_env_calc()
605 for (nrg = 0, k = c - (ui - li); k < c; k++) { in ixheaacd_sbr_env_calc()
606 nrg += nrg_est[k]; in ixheaacd_sbr_env_calc()
608 nrg /= (ui - li); in ixheaacd_sbr_env_calc()
617 nrg_est[c] = (!int_mode) ? nrg : nrg_est[c]; in ixheaacd_sbr_env_calc()