Home
last modified time | relevance | path

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

/external/libaom/libaom/av1/encoder/
Daq_variance.c53 int avg_energy = (int)(cpi->twopass.mb_av_energy - 2); in av1_vaq_frame_setup() local
55 if (avg_energy > 7) avg_energy = 7; in av1_vaq_frame_setup()
56 if (avg_energy < 0) avg_energy = 0; in av1_vaq_frame_setup()
57 avg_ratio = rate_ratio[avg_energy]; in av1_vaq_frame_setup()
/external/libxaac/decoder/
Dixheaacd_mps_temp_reshape.c62 FLOAT32 total_energy = 0, avg_energy = 0; in ixheaacd_mps_est_normalized_envelope() local
104 avg_energy = self->guided_env_shaping.avg_energy_prev[ch + ch_offset]; in ixheaacd_mps_est_normalized_envelope()
132 avg_energy = (1 - GES_BETA) * env[ii] + GES_BETA * avg_energy; in ixheaacd_mps_est_normalized_envelope()
134 env[ii] = (FLOAT32)sqrt(env[ii] / (avg_energy + ABS_THR)); in ixheaacd_mps_est_normalized_envelope()
141 self->guided_env_shaping.avg_energy_prev[ch + ch_offset] = avg_energy; in ixheaacd_mps_est_normalized_envelope()