Home
last modified time | relevance | path

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

/external/libxaac/decoder/
Dixheaacd_create.c217 VOID *handle, WORD32 sample_rate, ia_usac_data_struct *usac_data, in ixheaacd_decode_init() argument
234 usac_data->huffman_code_book_scl = aac_dec_handle->huffman_code_book_scl; in ixheaacd_decode_init()
235 usac_data->huffman_code_book_scl_index = in ixheaacd_decode_init()
238 usac_data->tns_coeff3_32 = in ixheaacd_decode_init()
240 usac_data->tns_coeff4_32 = in ixheaacd_decode_init()
242 usac_data->tns_max_bands_tbl_usac = in ixheaacd_decode_init()
251 usac_data->sampling_rate_idx = i; in ixheaacd_decode_init()
256 usac_data->window_shape_prev[i] = 0; in ixheaacd_decode_init()
257 usac_data->window_shape[i] = 0; in ixheaacd_decode_init()
264 usac_data->pstr_usac_winmap[0] = &usac_data->str_only_long_info; in ixheaacd_decode_init()
[all …]
Dixheaacd_ext_ch_ele.c151 ia_usac_data_struct *usac_data, in ixheaacd_cplx_pred_data() argument
163 WORD32(*alpha_q_re)[SFB_NUM_MAX] = usac_data->alpha_q_re; in ixheaacd_cplx_pred_data()
164 WORD32(*alpha_q_im)[SFB_NUM_MAX] = usac_data->alpha_q_im; in ixheaacd_cplx_pred_data()
165 WORD32 *alpha_q_re_prev = usac_data->alpha_q_re_prev; in ixheaacd_cplx_pred_data()
166 WORD32 *alpha_q_im_prev = usac_data->alpha_q_im_prev; in ixheaacd_cplx_pred_data()
167 UWORD8(*cplx_pred_used)[SFB_NUM_MAX] = usac_data->cplx_pred_used; in ixheaacd_cplx_pred_data()
196 if (usac_data->usac_independency_flg) in ixheaacd_cplx_pred_data()
202 if (usac_data->usac_independency_flg) in ixheaacd_cplx_pred_data()
258 ia_usac_data_struct *usac_data, in ixheaacd_read_ms_mask() argument
264 UWORD8 *sfb_group = usac_data->group_dis[chn]; in ixheaacd_read_ms_mask()
[all …]
Dixheaacd_lpc.c93 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()
142 for (i = 0; i < (usac_data->len_subfrm) / 2 - fac_length; i++) { in ixheaacd_reset_acelp_data_fix()
146 st->exc_prev[(usac_data->len_subfrm) / 2 - fac_length + i] = in ixheaacd_reset_acelp_data_fix()
147 ptr_overlap_buf[i + usac_data->ccfl / 2 - fac_length - 1] / in ixheaacd_reset_acelp_data_fix()
[all …]
Dixheaacd_spectrum_dec.c219 VOID ixheaacd_section_data(ia_usac_data_struct *usac_data, in ixheaacd_section_data() argument
232 const UWORD16 *hscf = usac_data->huffman_code_book_scl; in ixheaacd_section_data()
233 const UWORD32 *idx_tab = usac_data->huffman_code_book_scl_index; in ixheaacd_section_data()
330 ia_usac_data_struct *usac_data, in ixheaacd_fd_channel_stream() argument
353 WORD8 *ptr_code_book = (WORD8 *)&usac_data->scratch_buffer; in ixheaacd_fd_channel_stream()
367 err_code = ixheaacd_ics_info(usac_data, chn, max_sfb, it_bit_buff, in ixheaacd_fd_channel_stream()
372 info = usac_data->pstr_sfb_info[chn]; in ixheaacd_fd_channel_stream()
374 if (!pstr_core_coder->common_tw && usac_data->tw_mdct[0] == 1) { in ixheaacd_fd_channel_stream()
375 usac_data->tw_data_present[chn] = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_fd_channel_stream()
376 if (usac_data->tw_data_present[chn]) { in ixheaacd_fd_channel_stream()
[all …]
Dixheaacd_acelp_bitparse.c271 VOID ixheaacd_acelp_decoding(WORD32 k, ia_usac_data_struct *usac_data, in ixheaacd_acelp_decoding() argument
275 WORD32 nb_subfr = usac_data->num_subfrm; in ixheaacd_acelp_decoding()
328 IA_ERRORCODE ixheaacd_tcx_coding(ia_usac_data_struct *usac_data, pWORD32 quant, in ixheaacd_tcx_coding() argument
342 pstr_td_frame_data->tcx_lg[k] = usac_data->len_subfrm; in ixheaacd_tcx_coding()
345 pstr_td_frame_data->tcx_lg[k] = 2 * (usac_data->len_subfrm); in ixheaacd_tcx_coding()
348 pstr_td_frame_data->tcx_lg[k] = 4 * (usac_data->len_subfrm); in ixheaacd_tcx_coding()
353 if (usac_data->usac_independency_flg) { in ixheaacd_tcx_coding()
361 err = ixheaacd_arith_data(pstr_td_frame_data, quant, usac_data, it_bit_buff, in ixheaacd_tcx_coding()
368 WORD32 ixheaacd_lpd_channel_stream(ia_usac_data_struct *usac_data, in ixheaacd_lpd_channel_stream() argument
384 WORD32 chan = usac_data->present_chan; in ixheaacd_lpd_channel_stream()
[all …]
Dixheaacd_imdct.c202 IA_ERRORCODE ixheaacd_cal_fac_data(ia_usac_data_struct *usac_data, WORD32 i_ch, in ixheaacd_cal_fac_data() argument
217 FLOAT32 *last_lpc = usac_data->lpc_prev[i_ch]; in ixheaacd_cal_fac_data()
218 FLOAT32 *acelp_in = usac_data->acelp_in[i_ch]; in ixheaacd_cal_fac_data()
219 WORD32 *fac_data = usac_data->fac_data[i_ch]; in ixheaacd_cal_fac_data()
220 WORD32 *ptr_scratch = &usac_data->scratch_buffer[0]; in ixheaacd_cal_fac_data()
300 static IA_ERRORCODE ixheaacd_fd_imdct_short(ia_usac_data_struct *usac_data, in ixheaacd_fd_imdct_short() argument
309 WORD32 *p_overlap_ibuffer = usac_data->overlap_data_ptr[i_ch]; in ixheaacd_fd_imdct_short()
310 WORD32 *p_in_ibuffer = usac_data->coef_fix[i_ch]; in ixheaacd_fd_imdct_short()
311 FLOAT32 *p_out_buffer = usac_data->time_sample_vector[i_ch]; in ixheaacd_fd_imdct_short()
312 WORD32 *p_out_ibuffer = usac_data->output_data_ptr[i_ch]; in ixheaacd_fd_imdct_short()
[all …]
Dixheaacd_bit_extract.h42 WORD32 ixheaacd_ics_info(ia_usac_data_struct *usac_data, WORD32 widx,
52 WORD32 ixheaacd_core_coder_data(WORD32 id, ia_usac_data_struct *usac_data,
57 VOID usac_past_tw(ia_usac_data_struct *usac_data, WORD32 mod0, WORD32 i,
60 VOID usac_td2buffer(FLOAT32 p_in_data[], ia_usac_data_struct *usac_data,
63 WORD32 ixheaacd_lpd_channel_stream(ia_usac_data_struct *usac_data,
68 VOID ixheaacd_acelp_decoding(WORD32 k, ia_usac_data_struct *usac_data,
72 IA_ERRORCODE ixheaacd_tcx_coding(ia_usac_data_struct *usac_data, WORD32 *quant,
81 ia_usac_data_struct *usac_data,
Dixheaacd_func_def.h38 WORD32 ixheaacd_lpd_dec(ia_usac_data_struct *usac_data,
45 ia_usac_data_struct *usac_data, WORD32 i_ch);
47 VOID ixheaacd_acelp_update(ia_usac_data_struct *usac_data, FLOAT32 signal_out[],
50 VOID ixheaacd_init_acelp_data(ia_usac_data_struct *usac_data,
53 VOID ixheaacd_reset_acelp_data(ia_usac_data_struct *usac_data,
58 WORD32 ixheaacd_acelp_alias_cnx(ia_usac_data_struct *usac_data,
63 WORD32 ixheaacd_tcx_mdct(ia_usac_data_struct *usac_data,
89 WORD32 ixheaacd_reset_acelp_tw_data(ia_usac_data_struct *usac_data, WORD32 i,
92 WORD32 ixheaacd_tw_frame_process(ia_usac_data_struct *usac_data, WORD32 ch);
Dixheaacd_tcx_fwd_alcnx.c138 WORD32 ixheaacd_tcx_mdct(ia_usac_data_struct *usac_data, in ixheaacd_tcx_mdct() argument
160 FLOAT32 *exc = &usac_data->exc_buf[usac_data->len_subfrm * frame_index + in ixheaacd_tcx_mdct()
163 &usac_data->synth_buf[usac_data->len_subfrm * frame_index + MAX_PITCH + in ixheaacd_tcx_mdct()
164 (((NUM_FRAMES * usac_data->num_subfrm) / 2) - 1) * in ixheaacd_tcx_mdct()
167 WORD32 *ptr_scratch = &usac_data->scratch_buffer[0]; in ixheaacd_tcx_mdct()
169 WORD32 fac_length = (usac_data->len_subfrm) / 2; in ixheaacd_tcx_mdct()
172 mode = lg / (usac_data->len_subfrm); in ixheaacd_tcx_mdct()
176 fac_length_prev = (usac_data->ccfl) / 16; in ixheaacd_tcx_mdct()
231 &(usac_data->seed_value[usac_data->present_chan])); in ixheaacd_tcx_mdct()
238 err = ixheaacd_lpc_to_td(i_ap, ORDER, gain1, usac_data->len_subfrm / 4); in ixheaacd_tcx_mdct()
[all …]
Dixheaacd_main.h183 IA_ERRORCODE ixheaacd_tns_apply(ia_usac_data_struct *usac_data, WORD32 *spec,
194 WORD32 ixheaacd_tw_buff_update(ia_usac_data_struct *usac_data, WORD32 i,
197 VOID ixheaacd_fix2flt_data(ia_usac_data_struct *usac_data,
200 VOID ixheaacd_td_frm_dec(ia_usac_data_struct *usac_data, WORD32 k, WORD32 mod0);
202 WORD32 ixheaacd_tw_frame_dec(ia_usac_data_struct *usac_data, WORD32 i_ch,
206 WORD32 ixheaacd_fd_frm_dec(ia_usac_data_struct *usac_data, WORD32 i_ch);
211 WORD32 ixheaacd_acelp_mdct_main(ia_usac_data_struct *usac_data, WORD32 *x,
221 ia_usac_data_struct *usac_data, ia_td_frame_data_struct *pstr_td_frame_data,
224 WORD32 ixheaacd_lpd_bpf_fix(ia_usac_data_struct *usac_data, WORD32 is_short,
228 VOID ixheaacd_reset_acelp_data_fix(ia_usac_data_struct *usac_data,
Dixheaacd_tns.c51 static VOID ixheaacd_tns_dec_coef_usac(ia_usac_data_struct *usac_data, in ixheaacd_tns_dec_coef_usac() argument
62 tns_coeff_ptr = usac_data->tns_coeff3_32; in ixheaacd_tns_dec_coef_usac()
64 tns_coeff_ptr = usac_data->tns_coeff4_32; in ixheaacd_tns_dec_coef_usac()
181 IA_ERRORCODE ixheaacd_tns_apply(ia_usac_data_struct *usac_data, WORD32 *spec, in ixheaacd_tns_apply() argument
203 ptr_spec = &usac_data->scratch_buffer[0]; in ixheaacd_tns_apply()
227 ixheaacd_tns_dec_coef_usac(usac_data, filt, coef_res, in ixheaacd_tns_apply()
233 tmp = (*usac_data->tns_max_bands_tbl_usac)[usac_data->sampling_rate_idx] in ixheaacd_tns_apply()
271 usac_data->x_ac_dec); in ixheaacd_tns_apply()
288 usac_data->x_ac_dec); in ixheaacd_tns_apply()
Dixheaacd_arith_dec.c1979 ia_usac_data_struct *usac_data, in ixheaacd_apply_scfs_and_nf() argument
1988 ia_sfb_info_struct *pstr_sfb_info = usac_data->pstr_sfb_info[ch]; in ixheaacd_apply_scfs_and_nf()
1989 WORD32 *coef = &usac_data->coef_fix[ch][0]; in ixheaacd_apply_scfs_and_nf()
1990 WORD16 *factors = usac_data->factors[ch]; in ixheaacd_apply_scfs_and_nf()
1991 UWORD32 *seed_value = &usac_data->seed_value[ch]; in ixheaacd_apply_scfs_and_nf()
1995 noise_filling_start_offset = (usac_data->ccfl == 768) in ixheaacd_apply_scfs_and_nf()
2067 WORD32 ixheaacd_ac_spectral_data(ia_usac_data_struct *usac_data, in ixheaacd_ac_spectral_data() argument
2076 WORD32 *x_ac_dec = usac_data->x_ac_dec; in ixheaacd_ac_spectral_data()
2080 const WORD32 max_win_len = usac_data->pstr_sfb_info[ch]->max_win_len; in ixheaacd_ac_spectral_data()
2081 WORD8 *c_prev = &usac_data->c_prev[ch][0]; in ixheaacd_ac_spectral_data()
[all …]
Dixheaacd_process.c107 IA_ERRORCODE ixheaacd_esbr_process(ia_usac_data_struct *usac_data, in ixheaacd_esbr_process() argument
114 ia_aac_dec_sbr_bitstream_struct *esbr_bit_str = &usac_data->esbr_bit_str[0]; in ixheaacd_esbr_process()
115 ia_handle_sbr_dec_inst_struct self = usac_data->pstr_esbr_dec; in ixheaacd_esbr_process()
119 usac_data->sbr_scratch_mem_base, NULL, 2, 1, in ixheaacd_esbr_process()
122 self->usac_independency_flag = usac_data->usac_independency_flg; in ixheaacd_esbr_process()
124 self->time_sample_buf[0] = usac_data->time_sample_vector[0]; in ixheaacd_esbr_process()
125 self->time_sample_buf[1] = usac_data->time_sample_vector[1]; in ixheaacd_esbr_process()
128 self->sbr_mode = usac_data->sbr_mode; in ixheaacd_esbr_process()
129 self->aot_usac_flag = usac_data->usac_flag; in ixheaacd_esbr_process()
142 usac_data->sbr_mode = self->sbr_mode; in ixheaacd_esbr_process()
Dixheaacd_fwd_alias_cnx.c95 ia_usac_data_struct *usac_data, ia_td_frame_data_struct *pstr_td_frame_data, in ixheaacd_fwd_alias_cancel_tool() argument
103 WORD32 *ptr_scratch = &usac_data->scratch_buffer[0]; in ixheaacd_fwd_alias_cancel_tool()
104 WORD32 *fac_signal = &usac_data->x_ac_dec[16]; in ixheaacd_fwd_alias_cancel_tool()
108 &(usac_data->overlap_data_ptr[usac_data->present_chan] in ixheaacd_fwd_alias_cancel_tool()
109 [(usac_data->ccfl / 2) - fac_length]); in ixheaacd_fwd_alias_cancel_tool()
Dixheaacd_acelp_decode.c342 WORD32 ixheaacd_acelp_alias_cnx(ia_usac_data_struct *usac_data, in ixheaacd_acelp_alias_cnx() argument
366 WORD32 len_subfr = usac_data->len_subfrm; in ixheaacd_acelp_alias_cnx()
370 WORD32 *ptr_scratch = &usac_data->scratch_buffer[0]; in ixheaacd_acelp_alias_cnx()
371 WORD32 *int_xn2 = &usac_data->x_ac_dec[0]; in ixheaacd_acelp_alias_cnx()
375 &usac_data->synth_buf[len_subfr * k + MAX_PITCH + in ixheaacd_acelp_alias_cnx()
376 (((NUM_FRAMES * usac_data->num_subfrm) / 2) - 1) * in ixheaacd_acelp_alias_cnx()
379 &usac_data->exc_buf[len_subfr * k + MAX_PITCH + (INTER_LP_FIL_ORDER + 1)]; in ixheaacd_acelp_alias_cnx()
381 &usac_data->pitch_gain[k * usac_data->num_subfrm + in ixheaacd_acelp_alias_cnx()
382 (((NUM_FRAMES * usac_data->num_subfrm) / 2) - 1)]; in ixheaacd_acelp_alias_cnx()
384 &usac_data->pitch[k * usac_data->num_subfrm + in ixheaacd_acelp_alias_cnx()
[all …]
Dixheaacd_arith_dec.h23 WORD32 ixheaacd_ac_spectral_data(ia_usac_data_struct *usac_data,
31 WORD32 *quant, ia_usac_data_struct *usac_data,
Dixheaacd_acelp_mdct.c220 WORD32 ixheaacd_acelp_mdct_main(ia_usac_data_struct *usac_data, WORD32 *in, in ixheaacd_acelp_mdct_main() argument
224 WORD32 *ptr_scratch = &usac_data->scratch_buffer[0]; in ixheaacd_acelp_mdct_main()
225 WORD32 *output_buffer = &usac_data->x_ac_dec[0]; in ixheaacd_acelp_mdct_main()
Dixheaacd_process.h27 VOID ixheaacd_dec_data_delete(VOID* handle, ia_usac_data_struct* usac_data);
Dixheaacd_dec_main.h25 ia_usac_data_struct *usac_data, WORD32 profile,