• Home
  • Raw
  • Download

Lines Matching refs:aac_config

453           p_obj_exhaacplus_dec->aac_config.ui_pcm_wdsz = 16;  in ixheaacd_dec_api()
454 p_obj_exhaacplus_dec->aac_config.flag_downmix = 0; in ixheaacd_dec_api()
455 p_obj_exhaacplus_dec->aac_config.flag_08khz_out = 0; in ixheaacd_dec_api()
456 p_obj_exhaacplus_dec->aac_config.flag_16khz_out = 0; in ixheaacd_dec_api()
457 p_obj_exhaacplus_dec->aac_config.flag_to_stereo = 0; in ixheaacd_dec_api()
458 p_obj_exhaacplus_dec->aac_config.down_sample_flag = 0; in ixheaacd_dec_api()
459 p_obj_exhaacplus_dec->aac_config.header_dec_done = 0; in ixheaacd_dec_api()
460 p_obj_exhaacplus_dec->aac_config.frame_status = 1; in ixheaacd_dec_api()
461 p_obj_exhaacplus_dec->aac_config.ui_mp4_flag = 0; in ixheaacd_dec_api()
462 p_obj_exhaacplus_dec->aac_config.ui_disable_sync = 0; in ixheaacd_dec_api()
463 p_obj_exhaacplus_dec->aac_config.ui_auto_sbr_upsample = 1; in ixheaacd_dec_api()
464 p_obj_exhaacplus_dec->aac_config.ui_samp_freq = 0; in ixheaacd_dec_api()
465 p_obj_exhaacplus_dec->aac_config.ui_frame_size = 0; in ixheaacd_dec_api()
467 p_obj_exhaacplus_dec->aac_config.ui_n_channels = 2; in ixheaacd_dec_api()
468 p_obj_exhaacplus_dec->aac_config.i_channel_mask = 3; in ixheaacd_dec_api()
469 p_obj_exhaacplus_dec->aac_config.ui_channel_mode = 3; in ixheaacd_dec_api()
470 p_obj_exhaacplus_dec->aac_config.ui_sbr_mode = 0; in ixheaacd_dec_api()
471 p_obj_exhaacplus_dec->aac_config.ui_effect_type = 0; in ixheaacd_dec_api()
472 p_obj_exhaacplus_dec->aac_config.ui_target_loudness = -24; in ixheaacd_dec_api()
473 p_obj_exhaacplus_dec->aac_config.ui_loud_norm_flag = 0; in ixheaacd_dec_api()
474 p_obj_exhaacplus_dec->aac_config.ui_hq_esbr = 0; in ixheaacd_dec_api()
475 p_obj_exhaacplus_dec->aac_config.ui_enh_sbr = 1; in ixheaacd_dec_api()
476 p_obj_exhaacplus_dec->aac_config.ui_enh_sbr_ps = 0; in ixheaacd_dec_api()
477 p_obj_exhaacplus_dec->aac_config.ui_pce_found_in_hdr = 0; in ixheaacd_dec_api()
478 p_obj_exhaacplus_dec->aac_config.loas_present = 0; in ixheaacd_dec_api()
479 p_obj_exhaacplus_dec->aac_config.ld_decoder = 0; in ixheaacd_dec_api()
480 p_obj_exhaacplus_dec->aac_config.ui_drc_boost = 0; in ixheaacd_dec_api()
481 p_obj_exhaacplus_dec->aac_config.ui_drc_cut = 0; in ixheaacd_dec_api()
482 p_obj_exhaacplus_dec->aac_config.ui_drc_target_level = 108; in ixheaacd_dec_api()
483 p_obj_exhaacplus_dec->aac_config.ui_drc_set = 0; in ixheaacd_dec_api()
484 p_obj_exhaacplus_dec->aac_config.ui_flush_cmd = 0; in ixheaacd_dec_api()
485 p_obj_exhaacplus_dec->aac_config.output_level = -1; in ixheaacd_dec_api()
487 p_obj_exhaacplus_dec->aac_config.ui_max_channels = 6; in ixheaacd_dec_api()
489 p_obj_exhaacplus_dec->aac_config.ui_coupling_channel = 0; in ixheaacd_dec_api()
490 p_obj_exhaacplus_dec->aac_config.downmix = 0; in ixheaacd_dec_api()
492 p_obj_exhaacplus_dec->aac_config.ui_err_conceal = 0; in ixheaacd_dec_api()
510 p_obj_exhaacplus_dec->aac_config.ui_qmf_bands = 64; in ixheaacd_dec_api()
524 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal && err_code) { in ixheaacd_dec_api()
572 p_obj_exhaacplus_dec->aac_config.ui_samp_freq = *pui_value; in ixheaacd_dec_api()
579 p_obj_exhaacplus_dec->aac_config.ui_frame_size = *pui_value; in ixheaacd_dec_api()
584 p_obj_exhaacplus_dec->aac_config.ui_pcm_wdsz = 16; in ixheaacd_dec_api()
587 p_obj_exhaacplus_dec->aac_config.ui_pcm_wdsz = *pui_value; in ixheaacd_dec_api()
592 p_obj_exhaacplus_dec->aac_config.flag_downmix = 0; in ixheaacd_dec_api()
595 p_obj_exhaacplus_dec->aac_config.flag_downmix = *pui_value; in ixheaacd_dec_api()
596 p_obj_exhaacplus_dec->aac_config.downmix = *pui_value; in ixheaacd_dec_api()
602 p_obj_exhaacplus_dec->aac_config.flag_to_stereo = 1; in ixheaacd_dec_api()
605 p_obj_exhaacplus_dec->aac_config.flag_to_stereo = *pui_value; in ixheaacd_dec_api()
610 p_obj_exhaacplus_dec->aac_config.down_sample_flag = 0; in ixheaacd_dec_api()
613 p_obj_exhaacplus_dec->aac_config.down_sample_flag = *pui_value; in ixheaacd_dec_api()
619 p_obj_exhaacplus_dec->aac_config.ui_mp4_flag = 0; in ixheaacd_dec_api()
622 p_obj_exhaacplus_dec->aac_config.ui_mp4_flag = *pui_value; in ixheaacd_dec_api()
626 p_obj_exhaacplus_dec->aac_config.ui_drc_set = 1; in ixheaacd_dec_api()
628 p_obj_exhaacplus_dec->aac_config.ui_drc_cut = 0; in ixheaacd_dec_api()
631 p_obj_exhaacplus_dec->aac_config.ui_drc_cut = in ixheaacd_dec_api()
637 p_obj_exhaacplus_dec->aac_config.ui_drc_set = 1; in ixheaacd_dec_api()
639 p_obj_exhaacplus_dec->aac_config.ui_drc_boost = 0; in ixheaacd_dec_api()
642 p_obj_exhaacplus_dec->aac_config.ui_drc_boost = in ixheaacd_dec_api()
648 p_obj_exhaacplus_dec->aac_config.ui_drc_set = 1; in ixheaacd_dec_api()
649 p_obj_exhaacplus_dec->aac_config.i_loud_ref_level = *pui_value_signed; in ixheaacd_dec_api()
651 p_obj_exhaacplus_dec->aac_config.ui_drc_target_level = 108; in ixheaacd_dec_api()
654 p_obj_exhaacplus_dec->aac_config.ui_drc_target_level = *pui_value; in ixheaacd_dec_api()
658 p_obj_exhaacplus_dec->aac_config.ui_drc_set = 1; in ixheaacd_dec_api()
660 p_obj_exhaacplus_dec->aac_config.ui_drc_heavy_comp = 0; in ixheaacd_dec_api()
663 p_obj_exhaacplus_dec->aac_config.ui_drc_heavy_comp = *pui_value; in ixheaacd_dec_api()
668 p_obj_exhaacplus_dec->aac_config.ui_disable_sync = 0; in ixheaacd_dec_api()
671 p_obj_exhaacplus_dec->aac_config.ui_disable_sync = *pui_value; in ixheaacd_dec_api()
676 p_obj_exhaacplus_dec->aac_config.ui_auto_sbr_upsample = 0; in ixheaacd_dec_api()
679 p_obj_exhaacplus_dec->aac_config.ui_auto_sbr_upsample = *pui_value; in ixheaacd_dec_api()
684 p_obj_exhaacplus_dec->aac_config.ui_max_channels = 8; in ixheaacd_dec_api()
688 p_obj_exhaacplus_dec->aac_config.ui_max_channels = 2; in ixheaacd_dec_api()
691 p_obj_exhaacplus_dec->aac_config.ui_max_channels = *pui_value; in ixheaacd_dec_api()
696 p_obj_exhaacplus_dec->aac_config.framesize_480 = 1; in ixheaacd_dec_api()
698 p_obj_exhaacplus_dec->aac_config.framesize_480 = 0; in ixheaacd_dec_api()
707 p_obj_exhaacplus_dec->aac_config.ld_decoder = 1; in ixheaacd_dec_api()
709 p_obj_exhaacplus_dec->aac_config.ld_decoder = 0; in ixheaacd_dec_api()
718 p_obj_exhaacplus_dec->aac_config.ui_coupling_channel = 1; in ixheaacd_dec_api()
721 p_obj_exhaacplus_dec->aac_config.ui_coupling_channel = *pui_value; in ixheaacd_dec_api()
727 p_obj_exhaacplus_dec->aac_config.downmix = 0; in ixheaacd_dec_api()
730 p_obj_exhaacplus_dec->aac_config.downmix = *pui_value; in ixheaacd_dec_api()
736 p_obj_exhaacplus_dec->aac_config.ui_effect_type = -1; in ixheaacd_dec_api()
739 p_obj_exhaacplus_dec->aac_config.ui_effect_type = *pui_value_signed; in ixheaacd_dec_api()
744 p_obj_exhaacplus_dec->aac_config.ui_loud_norm_flag = 1; in ixheaacd_dec_api()
748 p_obj_exhaacplus_dec->aac_config.ui_target_loudness = 0; in ixheaacd_dec_api()
751 p_obj_exhaacplus_dec->aac_config.ui_target_loudness = in ixheaacd_dec_api()
757 p_obj_exhaacplus_dec->aac_config.ui_hq_esbr = 0; in ixheaacd_dec_api()
760 p_obj_exhaacplus_dec->aac_config.ui_hq_esbr = *pui_value_signed; in ixheaacd_dec_api()
765 p_obj_exhaacplus_dec->aac_config.ui_enh_sbr_ps = 0; in ixheaacd_dec_api()
768 p_obj_exhaacplus_dec->aac_config.ui_enh_sbr_ps = *pui_value_signed; in ixheaacd_dec_api()
773 p_obj_exhaacplus_dec->aac_config.peak_limiter_off = 0; in ixheaacd_dec_api()
776 p_obj_exhaacplus_dec->aac_config.peak_limiter_off = *pui_value_signed; in ixheaacd_dec_api()
781 p_obj_exhaacplus_dec->aac_config.ui_err_conceal = 0; in ixheaacd_dec_api()
784 p_obj_exhaacplus_dec->aac_config.ui_err_conceal = *pui_value_signed; in ixheaacd_dec_api()
795 (WORD32 *)(&p_obj_exhaacplus_dec->aac_config.ui_pcm_wdsz); in ixheaacd_dec_api()
918 if (p_obj_exhaacplus_dec->aac_config.ui_mp4_flag == 1) { in ixheaacd_dec_api()
941 *pui_value = p_obj_exhaacplus_dec->aac_config.output_level; in ixheaacd_dec_api()
1044 if (p_obj_exhaacplus_dec->aac_config.ui_flush_cmd == 0) { in ixheaacd_decoder_2_ga_hdr()
1045 p_obj_exhaacplus_dec->aac_config.ui_pcm_wdsz = 16; in ixheaacd_decoder_2_ga_hdr()
1046 p_obj_exhaacplus_dec->aac_config.flag_downmix = 0; in ixheaacd_decoder_2_ga_hdr()
1047 p_obj_exhaacplus_dec->aac_config.flag_08khz_out = 0; in ixheaacd_decoder_2_ga_hdr()
1048 p_obj_exhaacplus_dec->aac_config.flag_16khz_out = 0; in ixheaacd_decoder_2_ga_hdr()
1049 p_obj_exhaacplus_dec->aac_config.flag_to_stereo = 0; in ixheaacd_decoder_2_ga_hdr()
1050 p_obj_exhaacplus_dec->aac_config.down_sample_flag = 0; in ixheaacd_decoder_2_ga_hdr()
1051 p_obj_exhaacplus_dec->aac_config.header_dec_done = 0; in ixheaacd_decoder_2_ga_hdr()
1052 p_obj_exhaacplus_dec->aac_config.frame_status = 1; in ixheaacd_decoder_2_ga_hdr()
1053 p_obj_exhaacplus_dec->aac_config.ui_mp4_flag = 1; in ixheaacd_decoder_2_ga_hdr()
1054 p_obj_exhaacplus_dec->aac_config.ui_disable_sync = 0; in ixheaacd_decoder_2_ga_hdr()
1055 p_obj_exhaacplus_dec->aac_config.ui_auto_sbr_upsample = 1; in ixheaacd_decoder_2_ga_hdr()
1056 p_obj_exhaacplus_dec->aac_config.ui_samp_freq = 0; in ixheaacd_decoder_2_ga_hdr()
1057 p_obj_exhaacplus_dec->aac_config.ui_channel_mode = 3; in ixheaacd_decoder_2_ga_hdr()
1058 p_obj_exhaacplus_dec->aac_config.ui_sbr_mode = 2; in ixheaacd_decoder_2_ga_hdr()
1059 p_obj_exhaacplus_dec->aac_config.ui_pce_found_in_hdr = 0; in ixheaacd_decoder_2_ga_hdr()
1060 p_obj_exhaacplus_dec->aac_config.loas_present = 0; in ixheaacd_decoder_2_ga_hdr()
1061 p_obj_exhaacplus_dec->aac_config.ui_drc_boost = 0; in ixheaacd_decoder_2_ga_hdr()
1062 p_obj_exhaacplus_dec->aac_config.ui_drc_cut = 0; in ixheaacd_decoder_2_ga_hdr()
1063 p_obj_exhaacplus_dec->aac_config.ui_drc_target_level = 108; in ixheaacd_decoder_2_ga_hdr()
1064 p_obj_exhaacplus_dec->aac_config.ui_drc_set = 0; in ixheaacd_decoder_2_ga_hdr()
1065 p_obj_exhaacplus_dec->aac_config.ui_flush_cmd = 1; in ixheaacd_decoder_2_ga_hdr()
1067 p_obj_exhaacplus_dec->aac_config.ui_max_channels = 6; in ixheaacd_decoder_2_ga_hdr()
1069 p_obj_exhaacplus_dec->aac_config.ui_coupling_channel = 0; in ixheaacd_decoder_2_ga_hdr()
1070 p_obj_exhaacplus_dec->aac_config.downmix = 0; in ixheaacd_decoder_2_ga_hdr()
1087 p_obj_exhaacplus_dec->aac_config.ui_qmf_bands = 64; in ixheaacd_decoder_2_ga_hdr()
1092 p_obj_exhaacplus_dec->aac_config.ui_flush_cmd = 0; in ixheaacd_decoder_2_ga_hdr()
1095 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal && err_code) { in ixheaacd_decoder_2_ga_hdr()
1110 if (p_obj_exhaacplus_dec->aac_config.ui_flush_cmd == 0) { in ixheaacd_decoder_flush_api()
1130 memset(&(p_obj_exhaacplus_dec->aac_config), 0, in ixheaacd_decoder_flush_api()
1133 p_obj_exhaacplus_dec->aac_config.ui_pcm_wdsz = 16; in ixheaacd_decoder_flush_api()
1134 p_obj_exhaacplus_dec->aac_config.flag_downmix = 0; in ixheaacd_decoder_flush_api()
1135 p_obj_exhaacplus_dec->aac_config.flag_08khz_out = 0; in ixheaacd_decoder_flush_api()
1136 p_obj_exhaacplus_dec->aac_config.flag_16khz_out = 0; in ixheaacd_decoder_flush_api()
1137 p_obj_exhaacplus_dec->aac_config.flag_to_stereo = 0; in ixheaacd_decoder_flush_api()
1138 p_obj_exhaacplus_dec->aac_config.down_sample_flag = 0; in ixheaacd_decoder_flush_api()
1139 p_obj_exhaacplus_dec->aac_config.header_dec_done = 0; in ixheaacd_decoder_flush_api()
1140 p_obj_exhaacplus_dec->aac_config.frame_status = 1; in ixheaacd_decoder_flush_api()
1141 p_obj_exhaacplus_dec->aac_config.ui_mp4_flag = 1; in ixheaacd_decoder_flush_api()
1142 p_obj_exhaacplus_dec->aac_config.ui_disable_sync = 0; in ixheaacd_decoder_flush_api()
1143 p_obj_exhaacplus_dec->aac_config.ui_auto_sbr_upsample = 1; in ixheaacd_decoder_flush_api()
1144 p_obj_exhaacplus_dec->aac_config.ui_samp_freq = 0; in ixheaacd_decoder_flush_api()
1145 p_obj_exhaacplus_dec->aac_config.ui_channel_mode = 3; in ixheaacd_decoder_flush_api()
1146 p_obj_exhaacplus_dec->aac_config.ui_sbr_mode = 2; in ixheaacd_decoder_flush_api()
1147 p_obj_exhaacplus_dec->aac_config.ui_pce_found_in_hdr = 0; in ixheaacd_decoder_flush_api()
1148 p_obj_exhaacplus_dec->aac_config.loas_present = 0; in ixheaacd_decoder_flush_api()
1149 p_obj_exhaacplus_dec->aac_config.ui_drc_boost = 0; in ixheaacd_decoder_flush_api()
1150 p_obj_exhaacplus_dec->aac_config.ui_drc_cut = 0; in ixheaacd_decoder_flush_api()
1151 p_obj_exhaacplus_dec->aac_config.ui_drc_target_level = 108; in ixheaacd_decoder_flush_api()
1152 p_obj_exhaacplus_dec->aac_config.ui_drc_set = 0; in ixheaacd_decoder_flush_api()
1153 p_obj_exhaacplus_dec->aac_config.ui_flush_cmd = 1; in ixheaacd_decoder_flush_api()
1155 p_obj_exhaacplus_dec->aac_config.ui_max_channels = 6; in ixheaacd_decoder_flush_api()
1157 p_obj_exhaacplus_dec->aac_config.ui_coupling_channel = 0; in ixheaacd_decoder_flush_api()
1158 p_obj_exhaacplus_dec->aac_config.downmix = 0; in ixheaacd_decoder_flush_api()
1176 p_obj_exhaacplus_dec->aac_config.ui_qmf_bands = 64; in ixheaacd_decoder_flush_api()
1183 p_obj_exhaacplus_dec->aac_config.ui_flush_cmd = 0; in ixheaacd_decoder_flush_api()
1186 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal && err_code) { in ixheaacd_decoder_flush_api()
1284 if (p_obj_exhaacplus_dec->aac_config.ui_max_channels > 2) { in ixheaacd_fill_aac_mem_tables()
1285 num_channels = (p_obj_exhaacplus_dec->aac_config.ui_max_channels + 1); in ixheaacd_fill_aac_mem_tables()
1289 num_channels = p_obj_exhaacplus_dec->aac_config.ui_max_channels; in ixheaacd_fill_aac_mem_tables()
1542 if (p_obj_exhaacplus_dec->aac_config.ui_flush_cmd == 0) { in ixheaacd_dec_init()
1564 p_obj_exhaacplus_dec->aac_config.header_dec_done = 0; in ixheaacd_dec_init()
1567 if (p_obj_exhaacplus_dec->aac_config.header_dec_done == 0) { in ixheaacd_dec_init()
1571 &p_obj_exhaacplus_dec->aac_config; in ixheaacd_dec_init()
1577 if (p_obj_exhaacplus_dec->aac_config.ui_max_channels > 2) { in ixheaacd_dec_init()
1594 if (1 == p_obj_exhaacplus_dec->aac_config.ui_max_channels) in ixheaacd_dec_init()
1628 p_obj_exhaacplus_dec->aac_config.framesize_480; in ixheaacd_dec_init()
1634 p_state_enhaacplus_dec->ec_enable = p_obj_exhaacplus_dec->aac_config.ui_err_conceal; in ixheaacd_dec_init()
1654 p_obj_exhaacplus_dec->aac_config.header_dec_done = 1; in ixheaacd_dec_init()
1684 p_obj_exhaacplus_dec->aac_config.framesize_480; in ixheaacd_dec_init()
1690 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal) { in ixheaacd_dec_init()
1694 if (p_obj_exhaacplus_dec->aac_config.ui_samp_freq == 0) { in ixheaacd_dec_init()
1702 if (1 == p_obj_exhaacplus_dec->aac_config.ui_frame_size) { in ixheaacd_dec_init()
1751 WORD32 pcm_size = p_obj_exhaacplus_dec->aac_config.ui_pcm_wdsz; in ixheaacd_dec_init()
1771 p_obj_exhaacplus_dec->aac_config.ui_n_channels = in ixheaacd_dec_init()
1781 if (p_obj_exhaacplus_dec->aac_config.ui_flush_cmd == 0) { in ixheaacd_dec_init()
1793 p_obj_exhaacplus_dec->aac_config.down_sample_flag = 1; in ixheaacd_dec_init()
1797 p_obj_exhaacplus_dec->aac_config.down_sample_flag = 1; in ixheaacd_dec_init()
1805 p_obj_exhaacplus_dec->aac_config.ui_samp_freq; in ixheaacd_dec_init()
1807 if (1 == p_obj_exhaacplus_dec->aac_config.ui_frame_size) { in ixheaacd_dec_init()
1827 if (p_obj_exhaacplus_dec->aac_config.ld_decoder == 1) in ixheaacd_dec_init()
1839 if (p_obj_exhaacplus_dec->aac_config.eld_sbr_present == 1) { in ixheaacd_dec_init()
1843 if (p_obj_exhaacplus_dec->aac_config.framesize_480) in ixheaacd_dec_init()
1874 p_obj_exhaacplus_dec->aac_config.ui_drc_cut; in ixheaacd_dec_init()
1876 p_obj_exhaacplus_dec->aac_config.ui_drc_boost; in ixheaacd_dec_init()
1878 p_obj_exhaacplus_dec->aac_config.ui_drc_target_level; in ixheaacd_dec_init()
1880 p_obj_exhaacplus_dec->aac_config.ui_drc_target_level; in ixheaacd_dec_init()
1882 if (1 == p_obj_exhaacplus_dec->aac_config.ui_drc_set) { in ixheaacd_dec_init()
1883 if (p_obj_exhaacplus_dec->aac_config.ui_drc_heavy_comp == 1) { in ixheaacd_dec_init()
1919 p_obj_exhaacplus_dec->aac_config.element_type[i] = -1; in ixheaacd_dec_init()
1924 p_obj_exhaacplus_dec->aac_config.ui_sbr_mode = 0; in ixheaacd_dec_init()
1934 if (p_obj_exhaacplus_dec->aac_config.ui_mp4_flag) in ixheaacd_dec_init()
1952 if (p_obj_exhaacplus_dec->aac_config.ui_max_channels > 2) in ixheaacd_dec_init()
1979 if (p_obj_exhaacplus_dec->aac_config.framesize_480) in ixheaacd_dec_init()
2039 time_data, 1, p_obj_exhaacplus_dec->aac_config.ui_max_channels, in ixheaacd_dec_init()
2044 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal) { in ixheaacd_dec_init()
2045 p_obj_exhaacplus_dec->aac_config.first_frame = 1; in ixheaacd_dec_init()
2050 2, p_obj_exhaacplus_dec->aac_config.element_instance_order, 0, 1, 0, in ixheaacd_dec_init()
2051 p_obj_exhaacplus_dec->aac_config.ui_max_channels, 2, in ixheaacd_dec_init()
2059 p_obj_exhaacplus_dec->aac_config.first_frame); in ixheaacd_dec_init()
2062 if (p_obj_exhaacplus_dec->aac_config.i_loud_ref_level < 0) { in ixheaacd_dec_init()
2063 p_obj_exhaacplus_dec->aac_config.output_level = in ixheaacd_dec_init()
2066 p_obj_exhaacplus_dec->aac_config.output_level = in ixheaacd_dec_init()
2067 p_obj_exhaacplus_dec->aac_config.i_loud_ref_level; in ixheaacd_dec_init()
2097 if ((p_obj_exhaacplus_dec->aac_config.ui_max_channels <= 2) && in ixheaacd_dec_init()
2098 (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx] == 2)) { in ixheaacd_dec_init()
2105 p_obj_exhaacplus_dec->aac_config.ui_sbr_mode = 1; in ixheaacd_dec_init()
2132 if ((p_obj_exhaacplus_dec->aac_config.flag_16khz_out == 1) && in ixheaacd_dec_init()
2134 p_obj_exhaacplus_dec->aac_config.flag_16khz_out = 0; in ixheaacd_dec_init()
2139 (FLAG *)&p_obj_exhaacplus_dec->aac_config.down_sample_flag, in ixheaacd_dec_init()
2197 p_obj_exhaacplus_dec->aac_config.ui_err_conceal; in ixheaacd_dec_init()
2199 p_obj_exhaacplus_dec->aac_config.ui_hq_esbr; in ixheaacd_dec_init()
2201 p_obj_exhaacplus_dec->aac_config.ui_enh_sbr; in ixheaacd_dec_init()
2203 p_obj_exhaacplus_dec->aac_config.ui_enh_sbr_ps; in ixheaacd_dec_init()
2213 p_obj_exhaacplus_dec->aac_config.down_sample_flag, 0, in ixheaacd_dec_init()
2219 p_obj_exhaacplus_dec->aac_config.ui_err_conceal, in ixheaacd_dec_init()
2220 p_obj_exhaacplus_dec->aac_config.first_frame) != SBRDEC_OK) { in ixheaacd_dec_init()
2224 if (!p_obj_exhaacplus_dec->aac_config.down_sample_flag) { in ixheaacd_dec_init()
2245 if (p_obj_exhaacplus_dec->aac_config.flag_downmix) { in ixheaacd_dec_init()
2273 (FLAG *)&p_obj_exhaacplus_dec->aac_config.down_sample_flag, in ixheaacd_dec_init()
2320 WORD max_ch_num = p_obj_exhaacplus_dec->aac_config.ui_max_channels; in ixheaacd_dec_init()
2324 p_obj_exhaacplus_dec->aac_config.ui_n_channels = ch_idx; in ixheaacd_dec_init()
2325 while (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx_err] <= 3 && in ixheaacd_dec_init()
2326 p_obj_exhaacplus_dec->aac_config.element_type[ch_idx_err] >= 0) { in ixheaacd_dec_init()
2342 while (p_obj_exhaacplus_dec->aac_config.element_type[i] >= 0 && in ixheaacd_dec_init()
2343 p_obj_exhaacplus_dec->aac_config.element_type[i] <= 3) { in ixheaacd_dec_init()
2345 switch (p_obj_exhaacplus_dec->aac_config.element_type[i]) { in ixheaacd_dec_init()
2355 if (p_obj_exhaacplus_dec->aac_config.element_instance_order[i] != in ixheaacd_dec_init()
2356 p_obj_exhaacplus_dec->aac_config.ui_coupling_channel) { in ixheaacd_dec_init()
2377 if (p_obj_exhaacplus_dec->aac_config.element_type[i] != 2) { in ixheaacd_dec_init()
2420 (FLAG *)&p_obj_exhaacplus_dec->aac_config.down_sample_flag, in ixheaacd_dec_init()
2445 p_obj_exhaacplus_dec->aac_config.flag_to_stereo = 1; in ixheaacd_dec_init()
2461 p_obj_exhaacplus_dec->aac_config.ui_n_channels = in ixheaacd_dec_init()
2464 p_obj_exhaacplus_dec->aac_config.ui_sbr_mode = 1; in ixheaacd_dec_init()
2466 if (p_obj_exhaacplus_dec->aac_config.element_type[i + 1] >= 0 && in ixheaacd_dec_init()
2467 p_obj_exhaacplus_dec->aac_config.element_type[i + 1] <= 3) { in ixheaacd_dec_init()
2478 p_obj_exhaacplus_dec->aac_config.i_channel_mask = in ixheaacd_dec_init()
2484 while (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx] >= 0 && in ixheaacd_dec_init()
2485 p_obj_exhaacplus_dec->aac_config.element_type[ch_idx] <= 3) { in ixheaacd_dec_init()
2486 if (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx] == 0 || in ixheaacd_dec_init()
2487 p_obj_exhaacplus_dec->aac_config.element_type[ch_idx] == 3) in ixheaacd_dec_init()
2489 if (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx] == 1) in ixheaacd_dec_init()
2495 p_obj_exhaacplus_dec->aac_config.ui_channel_mode = 2; in ixheaacd_dec_init()
2499 p_obj_exhaacplus_dec->aac_config.ui_channel_mode = 0; in ixheaacd_dec_init()
2501 p_obj_exhaacplus_dec->aac_config.ui_channel_mode = 1; in ixheaacd_dec_init()
2507 if (1 == p_obj_exhaacplus_dec->aac_config.downmix) num_channels_1 = 2; in ixheaacd_dec_init()
2509 if (p_obj_exhaacplus_dec->aac_config.flag_downmix == 1) { in ixheaacd_dec_init()
2513 if ((p_obj_exhaacplus_dec->aac_config.flag_to_stereo == 1) && in ixheaacd_dec_init()
2518 p_obj_exhaacplus_dec->aac_config.ui_n_channels = num_channels_1; in ixheaacd_dec_init()
2519 p_obj_exhaacplus_dec->aac_config.ui_samp_freq = sample_rate; in ixheaacd_dec_init()
2610 p_obj_exhaacplus_dec->aac_config.ui_sbr_mode = 0; in ixheaacd_dec_execute()
2611 p_obj_exhaacplus_dec->aac_config.frame_status = 1; in ixheaacd_dec_execute()
2619 p_obj_exhaacplus_dec->aac_config.frame_status = 0; in ixheaacd_dec_execute()
2638 WORD32 pcm_size = p_obj_exhaacplus_dec->aac_config.ui_pcm_wdsz; in ixheaacd_dec_execute()
2683 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal) { in ixheaacd_dec_execute()
2684 p_obj_exhaacplus_dec->aac_config.frame_status = 0; in ixheaacd_dec_execute()
2725 p_obj_exhaacplus_dec->aac_config.ui_n_channels = in ixheaacd_dec_execute()
2732 while (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx1] <= 3 && in ixheaacd_dec_execute()
2733 p_obj_exhaacplus_dec->aac_config.element_type[ch_idx1] >= 0) { in ixheaacd_dec_execute()
2734 if (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx1] == 0 || in ixheaacd_dec_execute()
2735 p_obj_exhaacplus_dec->aac_config.element_type[ch_idx1] == 3) { in ixheaacd_dec_execute()
2739 if (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx1] == 1) { in ixheaacd_dec_execute()
2743 if (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx1] == 2) { in ixheaacd_dec_execute()
2749 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal) in ixheaacd_dec_execute()
2758 if (p_obj_exhaacplus_dec->aac_config.ui_max_channels > 2) { in ixheaacd_dec_execute()
2772 if (total_channels < (WORD)p_obj_exhaacplus_dec->aac_config.ui_n_channels) in ixheaacd_dec_execute()
2773 total_channels = p_obj_exhaacplus_dec->aac_config.ui_n_channels; in ixheaacd_dec_execute()
2815 if (p_obj_exhaacplus_dec->aac_config.dup_stereo_flag) { in ixheaacd_dec_execute()
2832 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal) { in ixheaacd_dec_execute()
2833 p_obj_exhaacplus_dec->aac_config.frame_status = 0; in ixheaacd_dec_execute()
2838 if (total_channels > (WORD)p_obj_exhaacplus_dec->aac_config.ui_max_channels) { in ixheaacd_dec_execute()
2840 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal) { in ixheaacd_dec_execute()
2841 p_obj_exhaacplus_dec->aac_config.frame_status = 0; in ixheaacd_dec_execute()
2849 if (p_obj_exhaacplus_dec->aac_config.ui_mp4_flag) in ixheaacd_dec_execute()
2854 if (p_obj_exhaacplus_dec->aac_config.ui_mp4_flag) in ixheaacd_dec_execute()
2875 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal) { in ixheaacd_dec_execute()
2876 p_obj_exhaacplus_dec->aac_config.frame_status = 0; in ixheaacd_dec_execute()
2890 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal) { in ixheaacd_dec_execute()
2891 p_obj_exhaacplus_dec->aac_config.frame_status = 0; in ixheaacd_dec_execute()
2921 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal) { in ixheaacd_dec_execute()
2922 p_obj_exhaacplus_dec->aac_config.frame_status = 0; in ixheaacd_dec_execute()
2940 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal) { in ixheaacd_dec_execute()
2941 p_obj_exhaacplus_dec->aac_config.frame_status = 0; in ixheaacd_dec_execute()
2956 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal) { in ixheaacd_dec_execute()
2957 p_obj_exhaacplus_dec->aac_config.frame_status = 0; in ixheaacd_dec_execute()
2969 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal) { in ixheaacd_dec_execute()
2970 p_obj_exhaacplus_dec->aac_config.frame_status = 0; in ixheaacd_dec_execute()
2991 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal) { in ixheaacd_dec_execute()
2992 p_obj_exhaacplus_dec->aac_config.frame_status = 0; in ixheaacd_dec_execute()
3015 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal) { in ixheaacd_dec_execute()
3041 p_obj_exhaacplus_dec->aac_config.element_instance_order, total_elements, element_used, in ixheaacd_dec_execute()
3056 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal) { in ixheaacd_dec_execute()
3057 p_obj_exhaacplus_dec->aac_config.frame_status = 0; in ixheaacd_dec_execute()
3058 if (p_obj_exhaacplus_dec->aac_config.element_type[0] == ID_SCE) in ixheaacd_dec_execute()
3067 if (p_obj_exhaacplus_dec->aac_config.element_type[0] == ID_SCE) in ixheaacd_dec_execute()
3073 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal && (error_code || ret_val)) { in ixheaacd_dec_execute()
3074 if (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx1] == 0 || in ixheaacd_dec_execute()
3075 p_obj_exhaacplus_dec->aac_config.element_type[ch_idx1] == 3) { in ixheaacd_dec_execute()
3080 if (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx1] == 1) { in ixheaacd_dec_execute()
3085 if (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx1] == 2) { in ixheaacd_dec_execute()
3086 if (p_obj_exhaacplus_dec->aac_config.ui_max_channels > 2) { in ixheaacd_dec_execute()
3087 if (!(p_obj_exhaacplus_dec->aac_config.element_instance_order[ch_idx1] != in ixheaacd_dec_execute()
3088 p_obj_exhaacplus_dec->aac_config.ui_coupling_channel)) { in ixheaacd_dec_execute()
3103 slot_ele = p_obj_exhaacplus_dec->aac_config.slot_element[ch_idx]; in ixheaacd_dec_execute()
3105 if (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx] == 2) { in ixheaacd_dec_execute()
3108 if (p_obj_exhaacplus_dec->aac_config.element_instance_order[ch_idx] != in ixheaacd_dec_execute()
3109 p_obj_exhaacplus_dec->aac_config.ui_coupling_channel) { in ixheaacd_dec_execute()
3141 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal) { in ixheaacd_dec_execute()
3142 p_obj_exhaacplus_dec->aac_config.frame_status = 0; in ixheaacd_dec_execute()
3151 if (p_obj_exhaacplus_dec->aac_config.element_type[1] < 3 && in ixheaacd_dec_execute()
3152 p_obj_exhaacplus_dec->aac_config.element_type[1] > 0 && in ixheaacd_dec_execute()
3153 p_obj_exhaacplus_dec->aac_config.ui_max_channels > 2) { in ixheaacd_dec_execute()
3169 time_data, channel, p_obj_exhaacplus_dec->aac_config.ui_max_channels, in ixheaacd_dec_execute()
3173 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal) { in ixheaacd_dec_execute()
3174 p_obj_exhaacplus_dec->aac_config.frame_status = 0; in ixheaacd_dec_execute()
3182 p_obj_exhaacplus_dec->aac_config.frame_status, &type, &ch_idx, 0, channel, in ixheaacd_dec_execute()
3184 p_obj_exhaacplus_dec->aac_config.ui_max_channels, total_channels, in ixheaacd_dec_execute()
3192 p_obj_exhaacplus_dec->aac_config.first_frame); in ixheaacd_dec_execute()
3217 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal) { in ixheaacd_dec_execute()
3218 p_obj_exhaacplus_dec->aac_config.frame_status = 0; in ixheaacd_dec_execute()
3245 p_obj_exhaacplus_dec->aac_config.ui_sbr_mode = 1; in ixheaacd_dec_execute()
3250 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal) { in ixheaacd_dec_execute()
3251 p_obj_exhaacplus_dec->aac_config.frame_status = 0; in ixheaacd_dec_execute()
3260 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal) { in ixheaacd_dec_execute()
3261 p_obj_exhaacplus_dec->aac_config.frame_status = 0; in ixheaacd_dec_execute()
3270 if (p_obj_exhaacplus_dec->aac_config.ui_auto_sbr_upsample == 0) { in ixheaacd_dec_execute()
3283 (FLAG *)&p_obj_exhaacplus_dec->aac_config.down_sample_flag, in ixheaacd_dec_execute()
3365 p_obj_exhaacplus_dec->aac_config.ui_hq_esbr; in ixheaacd_dec_execute()
3367 p_obj_exhaacplus_dec->aac_config.ui_enh_sbr; in ixheaacd_dec_execute()
3369 p_obj_exhaacplus_dec->aac_config.ui_enh_sbr_ps; in ixheaacd_dec_execute()
3379 p_obj_exhaacplus_dec->aac_config.frame_status, in ixheaacd_dec_execute()
3380 p_obj_exhaacplus_dec->aac_config.down_sample_flag, in ixheaacd_dec_execute()
3387 p_obj_exhaacplus_dec->aac_config.ui_err_conceal, in ixheaacd_dec_execute()
3388 p_obj_exhaacplus_dec->aac_config.first_frame) != SBRDEC_OK) { in ixheaacd_dec_execute()
3390 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal) { in ixheaacd_dec_execute()
3391 p_obj_exhaacplus_dec->aac_config.frame_status = 0; in ixheaacd_dec_execute()
3396 if (!p_obj_exhaacplus_dec->aac_config.down_sample_flag) { in ixheaacd_dec_execute()
3440 if (!p_obj_exhaacplus_dec->aac_config.first_frame) { in ixheaacd_dec_execute()
3442 if (error_code) p_obj_exhaacplus_dec->aac_config.frame_status = 0; in ixheaacd_dec_execute()
3465 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal && in ixheaacd_dec_execute()
3466 p_obj_exhaacplus_dec->aac_config.first_frame && in ixheaacd_dec_execute()
3472 p_obj_exhaacplus_dec->aac_config.ui_samp_freq = sample_rate; in ixheaacd_dec_execute()
3483 p_obj_exhaacplus_dec->aac_config.ui_pcm_wdsz, in ixheaacd_dec_execute()
3490 if (p_obj_exhaacplus_dec->aac_config.first_frame) { in ixheaacd_dec_execute()
3496 if (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx] != 2) { in ixheaacd_dec_execute()
3497 if (p_obj_exhaacplus_dec->aac_config.flag_to_stereo == 1 && in ixheaacd_dec_execute()
3500 p_obj_exhaacplus_dec->aac_config.dup_stereo_flag = 1; in ixheaacd_dec_execute()
3503 p_obj_exhaacplus_dec->aac_config.dup_stereo_flag = 0; in ixheaacd_dec_execute()
3506 p_obj_exhaacplus_dec->aac_config.ui_n_channels = 2; in ixheaacd_dec_execute()
3539 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal) { in ixheaacd_dec_execute()
3540 p_obj_exhaacplus_dec->aac_config.frame_status = 0; in ixheaacd_dec_execute()
3549 p_obj_exhaacplus_dec->aac_config.ui_n_channels = total_channels; in ixheaacd_dec_execute()
3567 if (p_obj_exhaacplus_dec->aac_config.flag_to_stereo == 1 && in ixheaacd_dec_execute()
3569 p_obj_exhaacplus_dec->aac_config.dup_stereo_flag == 1) { in ixheaacd_dec_execute()
3588 if (!p_obj_exhaacplus_dec->aac_config.peak_limiter_off) { in ixheaacd_dec_execute()
3625 p_obj_exhaacplus_dec->aac_config.frame_status; in ixheaacd_dec_execute()
3627 p_obj_exhaacplus_dec->aac_config.ui_err_conceal; in ixheaacd_dec_execute()
3637 (p_obj_exhaacplus_dec->aac_config.ui_pcm_wdsz >> 3)); in ixheaacd_dec_execute()
3641 if ((total_channels > 2) && (1 == p_obj_exhaacplus_dec->aac_config.downmix)) { in ixheaacd_dec_execute()
3650 if (p_obj_exhaacplus_dec->aac_config.flag_downmix && total_channels == 2) { in ixheaacd_dec_execute()
3653 if (p_obj_exhaacplus_dec->aac_config.flag_to_stereo == 1) { in ixheaacd_dec_execute()
3657 p_obj_exhaacplus_dec->aac_config.ui_n_channels = out_ch; in ixheaacd_dec_execute()
3690 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal && in ixheaacd_dec_execute()
3691 p_obj_exhaacplus_dec->aac_config.first_frame) { in ixheaacd_dec_execute()
3692 p_obj_exhaacplus_dec->aac_config.first_frame = 0; in ixheaacd_dec_execute()
3695 if (p_obj_exhaacplus_dec->aac_config.ui_err_conceal) { in ixheaacd_dec_execute()
3696 if (p_obj_exhaacplus_dec->aac_config.frame_status != 1) { in ixheaacd_dec_execute()