Lines Matching refs:usac_data
93 void ixheaacd_reset_acelp_data_fix(ia_usac_data_struct *usac_data, in ixheaacd_reset_acelp_data_fix() argument
116 fac_length = (usac_data->ccfl) / 16; in ixheaacd_reset_acelp_data_fix()
118 fac_length = (usac_data->len_subfrm) / 2; in ixheaacd_reset_acelp_data_fix()
132 ptr_overlap_buf[(usac_data->ccfl) / 2 - fac_length + i] = in ixheaacd_reset_acelp_data_fix()
134 ptr_overlap_buf[(usac_data->ccfl) / 2 - fac_length + i], in ixheaacd_reset_acelp_data_fix()
137 for (i = 0; i < (usac_data->ccfl) / 2 - fac_length; i++) { in ixheaacd_reset_acelp_data_fix()
138 ptr_overlap_buf[(usac_data->ccfl) / 2 + fac_length + i] = 0; in ixheaacd_reset_acelp_data_fix()
145 VOID ixheaacd_fix2flt_data(ia_usac_data_struct *usac_data, in ixheaacd_fix2flt_data() argument
149 WORD32 window_sequence_last = usac_data->window_sequence_last[k]; in ixheaacd_fix2flt_data()
150 WORD32 *p_ola_buffer = usac_data->overlap_data_ptr[k]; in ixheaacd_fix2flt_data()
152 fac_length = (usac_data->ccfl) / 16; in ixheaacd_fix2flt_data()
154 fac_length = (usac_data->len_subfrm) / 2; in ixheaacd_fix2flt_data()
166 for (i = 0; i < (usac_data->len_subfrm) / 2 - fac_length; i++) { in ixheaacd_fix2flt_data()
170 st->exc_prev[(usac_data->len_subfrm) / 2 - fac_length + i] = (FLOAT32)( in ixheaacd_fix2flt_data()
171 p_ola_buffer[i + usac_data->ccfl / 2 - fac_length - 1] / 16384.0); in ixheaacd_fix2flt_data()
180 void ixheaacd_init_acelp_data(ia_usac_data_struct *usac_data, in ixheaacd_init_acelp_data() argument
182 ixheaacd_reset_acelp_data_fix(usac_data, st, NULL, 0, 0); in ixheaacd_init_acelp_data()
317 WORD32 ixheaacd_lpd_dec(ia_usac_data_struct *usac_data, in ixheaacd_lpd_dec() argument
322 FLOAT32 *synth_buf = usac_data->synth_buf; in ixheaacd_lpd_dec()
323 FLOAT32 *xcitation_buff = usac_data->exc_buf; in ixheaacd_lpd_dec()
326 FLOAT32 *lp_flt_coff_a = usac_data->lp_flt_coff; in ixheaacd_lpd_dec()
328 WORD32 *pitch = usac_data->pitch; in ixheaacd_lpd_dec()
329 FLOAT32 *pitch_gain = usac_data->pitch_gain; in ixheaacd_lpd_dec()
345 WORD32 *ptr_scratch = &usac_data->scratch_buffer[0]; in ixheaacd_lpd_dec()
350 len_fr = usac_data->ccfl; in ixheaacd_lpd_dec()
351 len_subfrm = usac_data->len_subfrm; in ixheaacd_lpd_dec()
352 num_subfr = usac_data->num_subfrm; in ixheaacd_lpd_dec()
430 err = ixheaacd_fwd_alias_cancel_tool(usac_data, pstr_td_frame_data, in ixheaacd_lpd_dec()
435 &usac_data->overlap_data_ptr[usac_data->present_chan][(len_fr / 2)], in ixheaacd_lpd_dec()
441 (FLOAT32)usac_data->overlap_data_ptr[usac_data->present_chan][i] / in ixheaacd_lpd_dec()
508 ixheaacd_acelp_alias_cnx(usac_data, pstr_td_frame_data, k, lp_flt_coff_a, in ixheaacd_lpd_dec()
536 ixheaacd_tcx_mdct(usac_data, pstr_td_frame_data, k, lp_flt_coff_a, in ixheaacd_lpd_dec()
600 ia_usac_data_struct *usac_data, WORD32 i_ch) { in ixheaacd_lpd_dec_update() argument
603 WORD32 *ptr_overlap = &usac_data->overlap_data_ptr[i_ch][0]; in ixheaacd_lpd_dec_update()
606 if (usac_data->tw_mdct[0]) in ixheaacd_lpd_dec_update()
607 ptr_overlap = &usac_data->overlap_data_ptr[i_ch][usac_data->ccfl / 2]; in ixheaacd_lpd_dec_update()
609 len_fr = usac_data->ccfl; in ixheaacd_lpd_dec_update()
610 lpd_sbf_len = (NUM_FRAMES * usac_data->num_subfrm) / 2; in ixheaacd_lpd_dec_update()
614 fac_length = (usac_data->len_subfrm) / 2; in ixheaacd_lpd_dec_update()
625 ptr_overlap = &usac_data->overlap_data_ptr[i_ch][lpd_delay + fac_length]; in ixheaacd_lpd_dec_update()
629 usac_data->window_shape[i_ch] = WIN_SEL_0; in ixheaacd_lpd_dec_update()
630 usac_data->window_sequence_last[i_ch] = EIGHT_SHORT_SEQUENCE; in ixheaacd_lpd_dec_update()
631 usac_data->td_frame_prev[i_ch] = 1; in ixheaacd_lpd_dec_update()
634 memmove(usac_data->lpc_prev[i_ch], &tddec->lp_flt_coeff_a_prev[ORDER + 1], in ixheaacd_lpd_dec_update()
636 memmove(usac_data->acelp_in[i_ch], tddec->exc_prev, in ixheaacd_lpd_dec_update()
643 WORD32 ixheaacd_lpd_bpf_fix(ia_usac_data_struct *usac_data, in ixheaacd_lpd_bpf_fix() argument
655 len_fr = usac_data->ccfl; in ixheaacd_lpd_bpf_fix()
656 lpd_sbf_len = (NUM_FRAMES * usac_data->num_subfrm) / 2; in ixheaacd_lpd_bpf_fix()
660 fac_length = (usac_data->len_subfrm) / 2; in ixheaacd_lpd_bpf_fix()