• Home
  • Raw
  • Download

Lines Matching refs:usac_data

217     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()
265 usac_data->pstr_usac_winmap[1] = &usac_data->str_only_long_info; in ixheaacd_decode_init()
266 usac_data->pstr_usac_winmap[2] = &usac_data->str_eight_short_info; in ixheaacd_decode_init()
267 usac_data->pstr_usac_winmap[3] = &usac_data->str_only_long_info; in ixheaacd_decode_init()
268 usac_data->pstr_usac_winmap[4] = &usac_data->str_only_long_info; in ixheaacd_decode_init()
270 if ((usac_data->ccfl != 480) && (usac_data->ccfl != 512) && in ixheaacd_decode_init()
271 (usac_data->ccfl != 768) && (usac_data->ccfl != 960) && in ixheaacd_decode_init()
272 (usac_data->ccfl != 1024)) in ixheaacd_decode_init()
274 ixheaacd_info_init(&ixheaacd_samp_rate_info[usac_data->sampling_rate_idx], in ixheaacd_decode_init()
275 usac_data->ccfl, usac_data->pstr_usac_winmap[0], in ixheaacd_decode_init()
276 usac_data->pstr_usac_winmap[2], usac_data->sfb_width_short, in ixheaacd_decode_init()
277 usac_data->sfb_width_long); in ixheaacd_decode_init()
280 usac_data->str_tddec[i] = &usac_data->arr_str_tddec[i]; in ixheaacd_decode_init()
281 if (usac_data->ccfl == 768) in ixheaacd_decode_init()
282 usac_data->str_tddec[i]->fscale = pstr_stream_config->sampling_frequency; in ixheaacd_decode_init()
284 usac_data->str_tddec[i]->fscale = in ixheaacd_decode_init()
285 ((fscale)*usac_data->ccfl) / LEN_SUPERFRAME; in ixheaacd_decode_init()
286 usac_data->len_subfrm = usac_data->ccfl / 4; in ixheaacd_decode_init()
287 usac_data->num_subfrm = (MAX_NUM_SUBFR * usac_data->ccfl) / LEN_SUPERFRAME; in ixheaacd_decode_init()
289 ixheaacd_init_acelp_data(usac_data, usac_data->str_tddec[i]); in ixheaacd_decode_init()
291 usac_data->str_tddec[i]->fd_synth = in ixheaacd_decode_init()
292 &usac_data->str_tddec[i]->fd_synth_buf[LEN_FRAME]; in ixheaacd_decode_init()
303 if (usac_data->tw_mdct[ele_id]) { in ixheaacd_decode_init()
307 usac_data->noise_filling_config[ele_id] = in ixheaacd_decode_init()
320 usac_data->seed_value[chan] = 0x3039; in ixheaacd_decode_init()
330 usac_data->seed_value[chan] = 0x3039; in ixheaacd_decode_init()
333 usac_data->seed_value[chan] = 0x10932; in ixheaacd_decode_init()
369 ia_usac_data_struct *usac_data) { in ixheaacd_dec_data_init() argument
383 usac_data->window_shape_prev[0] = WIN_SEL_0; in ixheaacd_dec_data_init()
384 usac_data->window_shape_prev[1] = WIN_SEL_0; in ixheaacd_dec_data_init()
393 &usac_data->ccfl, &usac_data->output_samples, in ixheaacd_dec_data_init()
408 usac_data->tw_mdct[ele_id] = ptr_usac_ele_config->tw_mdct; in ixheaacd_dec_data_init()
416 usac_data->mps_pseudo_lr[ele_id] = in ixheaacd_dec_data_init()
421 usac_data->sbr_ratio_idx = sbr_ratio_idx; in ixheaacd_dec_data_init()
422 usac_data->esbr_bit_str[0].no_elements = 0; in ixheaacd_dec_data_init()
423 usac_data->esbr_bit_str[1].no_elements = 0; in ixheaacd_dec_data_init()
427 if (usac_data->ccfl == 768) in ixheaacd_dec_data_init()
432 usac_data->coef_fix[i] = &usac_data->arr_coef_fix[i][0]; in ixheaacd_dec_data_init()
433 usac_data->coef[i] = &usac_data->arr_coef[i][0]; in ixheaacd_dec_data_init()
434 usac_data->coef_save[i] = &usac_data->arr_coef_save[i][0]; in ixheaacd_dec_data_init()
435 usac_data->factors[i] = &usac_data->arr_factors[i][0]; in ixheaacd_dec_data_init()
436 usac_data->group_dis[i] = &usac_data->arr_group_dis[i][0]; in ixheaacd_dec_data_init()
437 usac_data->pstr_tns[i] = &usac_data->arr_str_tns[i]; in ixheaacd_dec_data_init()
438 usac_data->tw_ratio[i] = &usac_data->arr_tw_ratio[i][0]; in ixheaacd_dec_data_init()
439 usac_data->ms_used[i] = &usac_data->arr_ms_used[i][0]; in ixheaacd_dec_data_init()
440 usac_data->window_shape_prev[i] = WIN_SEL_0; in ixheaacd_dec_data_init()
442 usac_data->seed_value[i] = 0x0; in ixheaacd_dec_data_init()
444 usac_data->fac_data_present[i] = 0; in ixheaacd_dec_data_init()
449 usac_data, pstr_stream_config); in ixheaacd_dec_data_init()
453 if (usac_data->tw_mdct[0] == 1) { in ixheaacd_dec_data_init()
455 for (i = 0; i < 2 * usac_data->ccfl; i++) { in ixheaacd_dec_data_init()
456 usac_data->warp_cont_mem[i_ch][i] = 1.0; in ixheaacd_dec_data_init()
458 usac_data->warp_sum[i_ch][0] = usac_data->warp_sum[i_ch][1] = in ixheaacd_dec_data_init()
459 (FLOAT32)usac_data->ccfl; in ixheaacd_dec_data_init()