Lines Matching refs:nrg_gain
104 FLOAT32 *nrg_gain = scratch_buff + 256; in ixheaacd_sbr_env_calc() local
622 nrg_gain[c] = (FLOAT32)sqrt(nrg_ref[c] * tmp / (nrg_est[c] + 1)); in ixheaacd_sbr_env_calc()
631 nrg_gain[c] = (FLOAT32)sqrt(nrg_ref[c] / (nrg_est[c] + 1)); in ixheaacd_sbr_env_calc()
633 nrg_gain[c] = in ixheaacd_sbr_env_calc()
656 if (g_max <= nrg_gain[k]) { in ixheaacd_sbr_env_calc()
657 noise_level[k] = noise_level[k] * (g_max / nrg_gain[k]); in ixheaacd_sbr_env_calc()
658 nrg_gain[k] = g_max; in ixheaacd_sbr_env_calc()
664 p_adj += nrg_gain[k] * nrg_gain[k] * nrg_est[k]; in ixheaacd_sbr_env_calc()
674 nrg_gain[k] *= boost_gain; in ixheaacd_sbr_env_calc()
682 memcpy((*e_gain)[n], nrg_gain, num_subbands * sizeof(FLOAT32)); in ixheaacd_sbr_env_calc()
696 (*e_gain)[4][k] = nrg_gain[k]; in ixheaacd_sbr_env_calc()