Lines Matching refs:subband_var
92 if (self->subband_var.init_flag == 0) { in ixheaacd_mps_temp_process_scale_calc()
94 self->subband_var.tp_scale_last[ch] = 1.0f; in ixheaacd_mps_temp_process_scale_calc()
95 self->subband_var.nrg_diff_prev[ch] = 32768 * 32768; in ixheaacd_mps_temp_process_scale_calc()
98 self->subband_var.nrg_dir_prev = 32768 * 32768; in ixheaacd_mps_temp_process_scale_calc()
99 self->subband_var.init_flag = 1; in ixheaacd_mps_temp_process_scale_calc()
102 if (self->subband_var.update_old_ener == STP_UPDATE_ENERGY_RATE) { in ixheaacd_mps_temp_process_scale_calc()
103 self->subband_var.update_old_ener = 1; in ixheaacd_mps_temp_process_scale_calc()
104 self->subband_var.nrg_dir_prev = self->subband_var.nrg_dir; in ixheaacd_mps_temp_process_scale_calc()
106 self->subband_var.nrg_diff_prev[ch] = self->subband_var.nrg_diff[ch]; in ixheaacd_mps_temp_process_scale_calc()
108 self->subband_var.update_old_ener++; in ixheaacd_mps_temp_process_scale_calc()
124 self->subband_var.nrg_dir = in ixheaacd_mps_temp_process_scale_calc()
125 (FLOAT32)(STP_LPF_COEFF1 * self->subband_var.nrg_dir + 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()
141 self->subband_var.nrg_diff[ch] = in ixheaacd_mps_temp_process_scale_calc()
142 (FLOAT32)(STP_LPF_COEFF1 * self->subband_var.nrg_diff[ch] + in ixheaacd_mps_temp_process_scale_calc()
144 diff_energy[ch] /= (self->subband_var.nrg_diff_prev[ch] + ABS_THR); in ixheaacd_mps_temp_process_scale_calc()
163 (1.0 - STP_LPF_COEFF2) * self->subband_var.tp_scale_last[ch]); in ixheaacd_mps_temp_process_scale_calc()
164 self->subband_var.tp_scale_last[ch] = scale[ch]; in ixheaacd_mps_temp_process_scale_calc()