Lines Matching refs:ptr_sbr_dec
85 static WORD32 ixheaacd_sbr_dec_reset(ia_sbr_dec_struct *ptr_sbr_dec, in ixheaacd_sbr_dec_reset() argument
94 WORD32 num_time_slots = ptr_sbr_dec->str_codec_qmf_bank.num_time_slots; in ixheaacd_sbr_dec_reset()
104 ixheaacd_reset_sbrenvelope_calc(&ptr_sbr_dec->str_sbr_calc_env); in ixheaacd_sbr_dec_reset()
107 ptr_sbr_dec->str_synthesis_qmf_bank.lsb = new_lsb; in ixheaacd_sbr_dec_reset()
108 ptr_sbr_dec->str_synthesis_qmf_bank.usb = in ixheaacd_sbr_dec_reset()
111 old_lsb = ptr_sbr_dec->str_synthesis_qmf_bank.lsb; in ixheaacd_sbr_dec_reset()
112 ptr_sbr_dec->str_codec_qmf_bank.lsb = 0; in ixheaacd_sbr_dec_reset()
113 ptr_sbr_dec->str_codec_qmf_bank.usb = old_lsb; in ixheaacd_sbr_dec_reset()
117 &ptr_sbr_dec->str_hf_generator.lpc_filt_states_real[0][old_lsb]; in ixheaacd_sbr_dec_reset()
119 &ptr_sbr_dec->str_hf_generator.lpc_filt_states_real[1][old_lsb]; in ixheaacd_sbr_dec_reset()
122 &ptr_sbr_dec->str_hf_generator.lpc_filt_states_imag[0][old_lsb]; in ixheaacd_sbr_dec_reset()
124 &ptr_sbr_dec->str_hf_generator.lpc_filt_states_imag[1][old_lsb]; in ixheaacd_sbr_dec_reset()
146 ptr_sbr_dec->qmf_buf_real[l][k] = 0.0; in ixheaacd_sbr_dec_reset()
147 ptr_sbr_dec->qmf_buf_imag[l][k] = 0.0; in ixheaacd_sbr_dec_reset()
152 ptr_sbr_dec->qmf_buf_real[l][k] = 0.0; in ixheaacd_sbr_dec_reset()
153 ptr_sbr_dec->qmf_buf_imag[l][k] = 0.0; in ixheaacd_sbr_dec_reset()
157 if (hbe_flag && ptr_sbr_dec->p_hbe_txposer != NULL) { in ixheaacd_sbr_dec_reset()
160 ptr_sbr_dec->p_hbe_txposer, in ixheaacd_sbr_dec_reset()
174 memmove(ptr_sbr_dec->ph_vocod_qmf_real[i], in ixheaacd_sbr_dec_reset()
175 ptr_sbr_dec->ph_vocod_qmf_real[num_time_slots + i], in ixheaacd_sbr_dec_reset()
177 memmove(ptr_sbr_dec->ph_vocod_qmf_imag[i], in ixheaacd_sbr_dec_reset()
178 ptr_sbr_dec->ph_vocod_qmf_imag[num_time_slots + i], in ixheaacd_sbr_dec_reset()
183 ptr_sbr_dec->p_hbe_txposer, in ixheaacd_sbr_dec_reset()
184 ptr_sbr_dec->qmf_buf_real + op_delay + xpos_delay, in ixheaacd_sbr_dec_reset()
185 ptr_sbr_dec->qmf_buf_imag + op_delay + xpos_delay, num_time_slots, in ixheaacd_sbr_dec_reset()
186 ptr_sbr_dec->ph_vocod_qmf_real + op_delay, in ixheaacd_sbr_dec_reset()
187 ptr_sbr_dec->ph_vocod_qmf_imag + op_delay, pitch_in_bins); in ixheaacd_sbr_dec_reset()
191 ixheaacd_hbe_repl_spec(&ptr_sbr_dec->p_hbe_txposer->x_over_qmf[0], in ixheaacd_sbr_dec_reset()
192 ptr_sbr_dec->ph_vocod_qmf_real + op_delay, in ixheaacd_sbr_dec_reset()
193 ptr_sbr_dec->ph_vocod_qmf_imag + op_delay, in ixheaacd_sbr_dec_reset()
195 ptr_sbr_dec->p_hbe_txposer->max_stretch); in ixheaacd_sbr_dec_reset()
203 err |= ixheaacd_reset_hf_generator(&ptr_sbr_dec->str_hf_generator, in ixheaacd_sbr_dec_reset()
208 ptr_sbr_dec->str_hf_generator.pstr_settings->str_patch_param, in ixheaacd_sbr_dec_reset()
209 ptr_sbr_dec->str_hf_generator.pstr_settings->num_patches, in ixheaacd_sbr_dec_reset()