Home
last modified time | relevance | path

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

/external/libaom/av1/encoder/
Daq_variance.c54 int avg_energy = (int)(cpi->twopass_frame.mb_av_energy - 2); in av1_vaq_frame_setup() local
56 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()
/external/libxaac/decoder/
Dixheaacd_mps_temp_reshape.c67 FLOAT32 total_energy = 0, avg_energy = 0; in ixheaacd_mps_est_normalized_envelope() local
121 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()