Searched refs:avg_energy (Results 1 – 2 of 2) sorted by relevance
54 int avg_energy = (int)(cpi->twopass_frame.mb_av_energy - 2); in av1_vaq_frame_setup() local56 if (avg_energy > 7) avg_energy = 7; in av1_vaq_frame_setup()57 if (avg_energy < 0) avg_energy = 0; in av1_vaq_frame_setup()58 avg_ratio = rate_ratio[avg_energy]; in av1_vaq_frame_setup()
67 FLOAT32 total_energy = 0, avg_energy = 0; in ixheaacd_mps_est_normalized_envelope() local121 avg_energy = self->guided_env_shaping.avg_energy_prev[ch + ch_offset]; in ixheaacd_mps_est_normalized_envelope()149 avg_energy = (1 - GES_BETA) * env[ii] + GES_BETA * avg_energy; in ixheaacd_mps_est_normalized_envelope()151 env[ii] = (FLOAT32)sqrt(env[ii] / (avg_energy + ABS_THR)); in ixheaacd_mps_est_normalized_envelope()158 self->guided_env_shaping.avg_energy_prev[ch + ch_offset] = avg_energy; in ixheaacd_mps_est_normalized_envelope()