Home
last modified time | relevance | path

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

/external/libxaac/decoder/
Dixheaacd_mps_temp_process.c85 FLOAT32 dir_energy; in ixheaacd_mps_temp_process_scale_calc() local
110 dir_energy = 0; in ixheaacd_mps_temp_process_scale_calc()
120 dir_energy += temp * ixheaacd_bp[n] * ixheaacd_bp[n] * ixheaacd_gf[n] * in ixheaacd_mps_temp_process_scale_calc()
126 (1.0 - STP_LPF_COEFF1) * dir_energy); in ixheaacd_mps_temp_process_scale_calc()
128 dir_energy /= (self->subband_var.nrg_dir_prev + ABS_THR); in ixheaacd_mps_temp_process_scale_calc()
147 scale[left_ch] = (FLOAT32)sqrt((dir_energy) / (diff_energy[left_ch] + 1e-9)); in ixheaacd_mps_temp_process_scale_calc()
149 (FLOAT32)sqrt((dir_energy) / (diff_energy[right_ch] + 1e-9)); in ixheaacd_mps_temp_process_scale_calc()
Dixheaacd_mps_temp_reshape.c145 FLOAT32 dir_energy[MAX_TIME_SLOTS]; in ixheaacd_mps_time_env_shaping() local
161 ixheaacd_mps_est_normalized_envelope(self, DIR_DIFF_IN, ch, dir_energy); in ixheaacd_mps_time_env_shaping()
166 (dir_energy[time_slot] + 1e-9f); in ixheaacd_mps_time_env_shaping()