• Home
  • Raw
  • Download

Lines Matching refs:pstr_usac_conf

496                        ia_usac_config_struct *pstr_usac_conf, UINT32 *chan) {  in ixheaacd_config()  argument
500 pstr_usac_conf->usac_sampling_frequency_index = in ixheaacd_config()
503 if (pstr_usac_conf->usac_sampling_frequency_index == 0x1f) { in ixheaacd_config()
504 pstr_usac_conf->usac_sampling_frequency = in ixheaacd_config()
507 if (pstr_usac_conf->usac_sampling_frequency > USAC_MAX_SAMPLE_RATE) { in ixheaacd_config()
518 pstr_usac_conf->usac_sampling_frequency = in ixheaacd_config()
519 sampling_rate_tbl[pstr_usac_conf->usac_sampling_frequency_index]; in ixheaacd_config()
522 pstr_usac_conf->core_sbr_framelength_index = in ixheaacd_config()
525 if (pstr_usac_conf->core_sbr_framelength_index > MAX_CORE_SBR_FRAME_LEN_IDX) in ixheaacd_config()
528 pstr_usac_conf->channel_configuration_index = in ixheaacd_config()
530 if (pstr_usac_conf->channel_configuration_index >= 3) return -1; in ixheaacd_config()
532 if (pstr_usac_conf->channel_configuration_index == 0) { in ixheaacd_config()
536 (UWORD32 *)(&(pstr_usac_conf->num_out_channels)), in ixheaacd_config()
538 if (BS_MAX_NUM_OUT_CHANNELS < pstr_usac_conf->num_out_channels) { in ixheaacd_config()
541 for (i = 0; i < pstr_usac_conf->num_out_channels; i++) in ixheaacd_config()
542 pstr_usac_conf->output_channel_pos[i] = in ixheaacd_config()
546 ixheaacd_get_usac_chan_conf(pstr_usac_conf, in ixheaacd_config()
547 pstr_usac_conf->channel_configuration_index); in ixheaacd_config()
551 it_bit_buff, &(pstr_usac_conf->str_usac_dec_config), in ixheaacd_config()
552 ixheaacd_sbr_ratio(pstr_usac_conf->core_sbr_framelength_index), chan); in ixheaacd_config()
559 &pstr_usac_conf->str_usac_dec_config); in ixheaacd_config()
566 VOID ixheaacd_conf_default(ia_usac_config_struct *pstr_usac_conf) { in ixheaacd_conf_default() argument
569 pstr_usac_conf->num_out_channels = 0; in ixheaacd_conf_default()
572 pstr_usac_conf->output_channel_pos[i] = BS_OUTPUT_CHANNEL_POS_NA; in ixheaacd_conf_default()
574 pstr_usac_conf->str_usac_dec_config.num_elements = 0; in ixheaacd_conf_default()
577 pstr_usac_conf->str_usac_dec_config.usac_element_type[i] = ID_USAC_INVALID; in ixheaacd_conf_default()