Home
last modified time | relevance | path

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

/external/libxaac/decoder/
Dixheaacd_ext_ch_ele.c152 ia_usac_data_struct *usac_data, in ixheaacd_cplx_pred_data() argument
164 WORD32(*alpha_q_re)[SFB_NUM_MAX] = usac_data->alpha_q_re; in ixheaacd_cplx_pred_data()
165 WORD32(*alpha_q_im)[SFB_NUM_MAX] = usac_data->alpha_q_im; in ixheaacd_cplx_pred_data()
166 WORD32 *alpha_q_re_prev = usac_data->alpha_q_re_prev; in ixheaacd_cplx_pred_data()
167 WORD32 *alpha_q_im_prev = usac_data->alpha_q_im_prev; in ixheaacd_cplx_pred_data()
168 UWORD8(*cplx_pred_used)[SFB_NUM_MAX] = usac_data->cplx_pred_used; in ixheaacd_cplx_pred_data()
197 if (usac_data->usac_independency_flg) in ixheaacd_cplx_pred_data()
203 if (usac_data->usac_independency_flg) in ixheaacd_cplx_pred_data()
259 ia_usac_data_struct *usac_data, in ixheaacd_read_ms_mask() argument
265 UWORD8 *sfb_group = usac_data->group_dis[chn]; in ixheaacd_read_ms_mask()
[all …]
Dixheaacd_create.c218 VOID *handle, WORD32 sample_rate, ia_usac_data_struct *usac_data, in ixheaacd_decode_init() argument
235 usac_data->huffman_code_book_scl = aac_dec_handle->huffman_code_book_scl; in ixheaacd_decode_init()
236 usac_data->huffman_code_book_scl_index = in ixheaacd_decode_init()
239 usac_data->tns_coeff3_32 = in ixheaacd_decode_init()
241 usac_data->tns_coeff4_32 = in ixheaacd_decode_init()
243 usac_data->tns_max_bands_tbl_usac = in ixheaacd_decode_init()
252 usac_data->sampling_rate_idx = i; in ixheaacd_decode_init()
257 usac_data->window_shape_prev[i] = 0; in ixheaacd_decode_init()
258 usac_data->window_shape[i] = 0; in ixheaacd_decode_init()
265 usac_data->pstr_usac_winmap[0] = &usac_data->str_only_long_info; in ixheaacd_decode_init()
[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()
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()
[all …]
Dixheaacd_imdct.c197 WORD8 ixheaacd_cal_fac_data(ia_usac_data_struct *usac_data, WORD32 i_ch, in ixheaacd_cal_fac_data() argument
206 FLOAT32 *last_lpc = usac_data->lpc_prev[i_ch]; in ixheaacd_cal_fac_data()
207 FLOAT32 *acelp_in = usac_data->acelp_in[i_ch]; in ixheaacd_cal_fac_data()
208 WORD32 *fac_data = usac_data->fac_data[i_ch]; in ixheaacd_cal_fac_data()
209 WORD32 *ptr_scratch = &usac_data->scratch_buffer[0]; in ixheaacd_cal_fac_data()
286 static WORD32 ixheaacd_fd_imdct_short(ia_usac_data_struct *usac_data, in ixheaacd_fd_imdct_short() argument
295 WORD32 *p_overlap_ibuffer = usac_data->overlap_data_ptr[i_ch]; in ixheaacd_fd_imdct_short()
296 WORD32 *p_in_ibuffer = usac_data->coef_fix[i_ch]; in ixheaacd_fd_imdct_short()
297 FLOAT32 *p_out_buffer = usac_data->time_sample_vector[i_ch]; in ixheaacd_fd_imdct_short()
298 WORD32 *p_out_ibuffer = usac_data->output_data_ptr[i_ch]; in ixheaacd_fd_imdct_short()
[all …]
Dixheaacd_spectrum_dec.c223 VOID ixheaacd_section_data(ia_usac_data_struct *usac_data, in ixheaacd_section_data() argument
236 const UWORD16 *hscf = usac_data->huffman_code_book_scl; in ixheaacd_section_data()
237 const UWORD32 *idx_tab = usac_data->huffman_code_book_scl_index; in ixheaacd_section_data()
334 ia_usac_data_struct *usac_data, in ixheaacd_fd_channel_stream() argument
357 WORD8 *ptr_code_book = (WORD8 *)&usac_data->scratch_buffer; in ixheaacd_fd_channel_stream()
371 err_code = ixheaacd_ics_info(usac_data, chn, max_sfb, it_bit_buff, in ixheaacd_fd_channel_stream()
376 info = usac_data->pstr_sfb_info[chn]; in ixheaacd_fd_channel_stream()
378 if (!pstr_core_coder->common_tw && usac_data->tw_mdct[0] == 1) { in ixheaacd_fd_channel_stream()
379 usac_data->tw_data_present[chn] = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_fd_channel_stream()
380 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 VOID ixheaacd_tcx_coding(ia_usac_data_struct *usac_data, pWORD32 quant, in ixheaacd_tcx_coding() argument
340 pstr_td_frame_data->tcx_lg[k] = usac_data->len_subfrm; in ixheaacd_tcx_coding()
343 pstr_td_frame_data->tcx_lg[k] = 2 * (usac_data->len_subfrm); in ixheaacd_tcx_coding()
346 pstr_td_frame_data->tcx_lg[k] = 4 * (usac_data->len_subfrm); in ixheaacd_tcx_coding()
351 if (usac_data->usac_independency_flg) { in ixheaacd_tcx_coding()
359 ixheaacd_arith_data(pstr_td_frame_data, quant, usac_data, it_bit_buff, in ixheaacd_tcx_coding()
363 WORD32 ixheaacd_lpd_channel_stream(ia_usac_data_struct *usac_data, in ixheaacd_lpd_channel_stream() argument
379 WORD32 chan = usac_data->present_chan; in ixheaacd_lpd_channel_stream()
[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 VOID 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.c139 WORD32 ixheaacd_tcx_mdct(ia_usac_data_struct *usac_data, in ixheaacd_tcx_mdct() argument
161 FLOAT32 *exc = &usac_data->exc_buf[usac_data->len_subfrm * frame_index + in ixheaacd_tcx_mdct()
164 &usac_data->synth_buf[usac_data->len_subfrm * frame_index + MAX_PITCH + in ixheaacd_tcx_mdct()
165 (((NUM_FRAMES * usac_data->num_subfrm) / 2) - 1) * in ixheaacd_tcx_mdct()
168 WORD32 *ptr_scratch = &usac_data->scratch_buffer[0]; in ixheaacd_tcx_mdct()
170 WORD32 fac_length = (usac_data->len_subfrm) / 2; in ixheaacd_tcx_mdct()
173 mode = lg / (usac_data->len_subfrm); in ixheaacd_tcx_mdct()
177 fac_length_prev = (usac_data->ccfl) / 16; in ixheaacd_tcx_mdct()
232 &(usac_data->seed_value[usac_data->present_chan])); in ixheaacd_tcx_mdct()
239 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.c1989 ia_usac_data_struct *usac_data, in ixheaacd_apply_scfs_and_nf() argument
1998 ia_sfb_info_struct *pstr_sfb_info = usac_data->pstr_sfb_info[ch]; in ixheaacd_apply_scfs_and_nf()
1999 WORD32 *coef = &usac_data->coef_fix[ch][0]; in ixheaacd_apply_scfs_and_nf()
2000 WORD16 *factors = usac_data->factors[ch]; in ixheaacd_apply_scfs_and_nf()
2001 UWORD32 *seed_value = &usac_data->seed_value[ch]; in ixheaacd_apply_scfs_and_nf()
2005 noise_filling_start_offset = (usac_data->ccfl == 768) in ixheaacd_apply_scfs_and_nf()
2077 WORD32 ixheaacd_ac_spectral_data(ia_usac_data_struct *usac_data, in ixheaacd_ac_spectral_data() argument
2086 WORD32 *x_ac_dec = usac_data->x_ac_dec; in ixheaacd_ac_spectral_data()
2090 const WORD32 max_win_len = usac_data->pstr_sfb_info[ch]->max_win_len; in ixheaacd_ac_spectral_data()
2091 WORD8 *c_prev = &usac_data->c_prev[ch][0]; in ixheaacd_ac_spectral_data()
[all …]
Dixheaacd_process.c108 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()
135 usac_data->sbr_mode = self->sbr_mode; in ixheaacd_esbr_process()
Dixheaacd_fwd_alias_cnx.c96 ia_usac_data_struct *usac_data, ia_td_frame_data_struct *pstr_td_frame_data, in ixheaacd_fwd_alias_cancel_tool() argument
104 WORD32 *ptr_scratch = &usac_data->scratch_buffer[0]; in ixheaacd_fwd_alias_cancel_tool()
105 WORD32 *fac_signal = &usac_data->x_ac_dec[16]; in ixheaacd_fwd_alias_cancel_tool()
109 &(usac_data->overlap_data_ptr[usac_data->present_chan] in ixheaacd_fwd_alias_cancel_tool()
110 [(usac_data->ccfl / 2) - fac_length]); in ixheaacd_fwd_alias_cancel_tool()
Dixheaacd_acelp_decode.c341 WORD32 ixheaacd_acelp_alias_cnx(ia_usac_data_struct *usac_data, in ixheaacd_acelp_alias_cnx() argument
365 WORD32 len_subfr = usac_data->len_subfrm; in ixheaacd_acelp_alias_cnx()
369 WORD32 *ptr_scratch = &usac_data->scratch_buffer[0]; in ixheaacd_acelp_alias_cnx()
370 WORD32 *int_xn2 = &usac_data->x_ac_dec[0]; in ixheaacd_acelp_alias_cnx()
374 &usac_data->synth_buf[len_subfr * k + MAX_PITCH + in ixheaacd_acelp_alias_cnx()
375 (((NUM_FRAMES * usac_data->num_subfrm) / 2) - 1) * in ixheaacd_acelp_alias_cnx()
378 &usac_data->exc_buf[len_subfr * k + MAX_PITCH + (INTER_LP_FIL_ORDER + 1)]; in ixheaacd_acelp_alias_cnx()
380 &usac_data->pitch_gain[k * usac_data->num_subfrm + in ixheaacd_acelp_alias_cnx()
381 (((NUM_FRAMES * usac_data->num_subfrm) / 2) - 1)]; in ixheaacd_acelp_alias_cnx()
383 &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,