Home
last modified time | relevance | path

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

/external/libxaac/decoder/
Dixheaacd_mps_temp_process.c80 FLOAT32 diff_energy[2]; in ixheaacd_mps_temp_process_scale_calc() local
125 diff_energy[ch] = 0; in ixheaacd_mps_temp_process_scale_calc()
131 diff_energy[ch] += temp * ixheaacd_bp[n] * ixheaacd_bp[n] * in ixheaacd_mps_temp_process_scale_calc()
137 (1.0 - STP_LPF_COEFF1) * diff_energy[ch]); in ixheaacd_mps_temp_process_scale_calc()
138 diff_energy[ch] /= (self->subband_var.nrg_diff_prev[ch] + ABS_THR); in ixheaacd_mps_temp_process_scale_calc()
141 scale[left_ch] = (FLOAT32)sqrt((dir_energy) / (diff_energy[left_ch] + 1e-9)); in ixheaacd_mps_temp_process_scale_calc()
143 (FLOAT32)sqrt((dir_energy) / (diff_energy[right_ch] + 1e-9)); in ixheaacd_mps_temp_process_scale_calc()