Lines Matching refs:ton_state
48 ia_mps_dec_tonality_state_struct *ton_state = pstr_mps_state->mps_persistent_mem.ton_state; in ixheaacd_init_tonality() local
52 memset(ton_state->spec_prev_real, 0, cnt * sizeof(ton_state->spec_prev_real[0])); in ixheaacd_init_tonality()
53 memset(ton_state->spec_prev_imag, 0, cnt * sizeof(ton_state->spec_prev_imag[0])); in ixheaacd_init_tonality()
54 memset(ton_state->p_cross_real, 0, cnt * sizeof(ton_state->p_cross_real[0])); in ixheaacd_init_tonality()
55 memset(ton_state->p_cross_imag, 0, cnt * sizeof(ton_state->p_cross_imag[0])); in ixheaacd_init_tonality()
56 memset(ton_state->p_sum, 0, cnt * sizeof(ton_state->p_sum[0])); in ixheaacd_init_tonality()
57 memset(ton_state->p_sum_prev, 0, cnt * sizeof(ton_state->p_sum_prev[0])); in ixheaacd_init_tonality()
59 memset(ton_state->buf_real, 0, qmf_bands * 6 * sizeof(ton_state->buf_real[0][0])); in ixheaacd_init_tonality()
60 memset(ton_state->buf_imag, 0, qmf_bands * 6 * sizeof(ton_state->buf_imag[0][0])); in ixheaacd_init_tonality()
61 memset(ton_state->win_buf_real, 0, qmf_bands * 16 * sizeof(ton_state->win_buf_real[0][0])); in ixheaacd_init_tonality()
62 memset(ton_state->win_buf_imag, 0, qmf_bands * 16 * sizeof(ton_state->win_buf_imag[0][0])); in ixheaacd_init_tonality()
168 ia_mps_dec_tonality_state_struct *ton_state = pstr_mps_state->mps_persistent_mem.ton_state; in ixheaacd_measure_tonality() local
176 WORD32 *spec_prev_real = ton_state->spec_prev_real; in ixheaacd_measure_tonality()
177 WORD32 *spec_prev_imag = ton_state->spec_prev_imag; in ixheaacd_measure_tonality()
179 WORD32 *p_cross_real = ton_state->p_cross_real; in ixheaacd_measure_tonality()
180 WORD32 *p_cross_imag = ton_state->p_cross_imag; in ixheaacd_measure_tonality()
182 WORD32 *p_sum = ton_state->p_sum; in ixheaacd_measure_tonality()
183 WORD32 *p_sum_prev = ton_state->p_sum_prev; in ixheaacd_measure_tonality()
290 *qmf_real++ = ton_state->buf_real[q][s + 6 - time_slots]; in ixheaacd_measure_tonality()
291 *qmf_imag++ = ton_state->buf_imag[q][s + 6 - time_slots]; in ixheaacd_measure_tonality()
293 ton_state->buf_real[q][s + 6 - time_slots] = tmp_real; in ixheaacd_measure_tonality()
294 ton_state->buf_imag[q][s + 6 - time_slots] = tmp_imag; in ixheaacd_measure_tonality()
332 ton_state->win_buf_real[q][i] = ton_state->win_buf_real[q][16 + nstart + i]; in ixheaacd_measure_tonality()
333 ton_state->win_buf_imag[q][i] = ton_state->win_buf_imag[q][16 + nstart + i]; in ixheaacd_measure_tonality()
335 ton_state->win_buf_real[q][i] = qmf_real[nstart + i]; in ixheaacd_measure_tonality()
336 ton_state->win_buf_imag[q][i] = qmf_imag[nstart + i]; in ixheaacd_measure_tonality()
344 ixheaacd_zoom_fft16(&(ton_state->win_buf_real[q][0]), &(ton_state->win_buf_imag[q][0]), in ixheaacd_measure_tonality()