• Home
  • Raw
  • Download

Lines Matching refs:aac_config

383           p_obj_exhaacplus_dec->aac_config.ui_pcm_wdsz = 16;  in ixheaacd_dec_api()
384 p_obj_exhaacplus_dec->aac_config.flag_downmix = 0; in ixheaacd_dec_api()
385 p_obj_exhaacplus_dec->aac_config.flag_08khz_out = 0; in ixheaacd_dec_api()
386 p_obj_exhaacplus_dec->aac_config.flag_16khz_out = 0; in ixheaacd_dec_api()
387 p_obj_exhaacplus_dec->aac_config.flag_to_stereo = 0; in ixheaacd_dec_api()
388 p_obj_exhaacplus_dec->aac_config.down_sample_flag = 0; in ixheaacd_dec_api()
389 p_obj_exhaacplus_dec->aac_config.header_dec_done = 0; in ixheaacd_dec_api()
390 p_obj_exhaacplus_dec->aac_config.frame_status = 1; in ixheaacd_dec_api()
391 p_obj_exhaacplus_dec->aac_config.ui_mp4_flag = 0; in ixheaacd_dec_api()
392 p_obj_exhaacplus_dec->aac_config.ui_disable_sync = 0; in ixheaacd_dec_api()
393 p_obj_exhaacplus_dec->aac_config.ui_auto_sbr_upsample = 1; in ixheaacd_dec_api()
394 p_obj_exhaacplus_dec->aac_config.ui_samp_freq = 0; in ixheaacd_dec_api()
395 p_obj_exhaacplus_dec->aac_config.ui_channel_mode = 3; in ixheaacd_dec_api()
396 p_obj_exhaacplus_dec->aac_config.ui_sbr_mode = 0; in ixheaacd_dec_api()
397 p_obj_exhaacplus_dec->aac_config.ui_effect_type = 0; in ixheaacd_dec_api()
398 p_obj_exhaacplus_dec->aac_config.ui_target_loudness = -24; in ixheaacd_dec_api()
399 p_obj_exhaacplus_dec->aac_config.ui_loud_norm_flag = 0; in ixheaacd_dec_api()
400 p_obj_exhaacplus_dec->aac_config.ui_pce_found_in_hdr = 0; in ixheaacd_dec_api()
401 p_obj_exhaacplus_dec->aac_config.loas_present = 0; in ixheaacd_dec_api()
402 p_obj_exhaacplus_dec->aac_config.ld_decoder = 0; in ixheaacd_dec_api()
403 p_obj_exhaacplus_dec->aac_config.ui_drc_enable = 1; in ixheaacd_dec_api()
404 p_obj_exhaacplus_dec->aac_config.ui_drc_boost = 0; in ixheaacd_dec_api()
405 p_obj_exhaacplus_dec->aac_config.ui_drc_cut = 0; in ixheaacd_dec_api()
406 p_obj_exhaacplus_dec->aac_config.ui_drc_target_level = 108; in ixheaacd_dec_api()
407 p_obj_exhaacplus_dec->aac_config.ui_drc_set = 0; in ixheaacd_dec_api()
408 p_obj_exhaacplus_dec->aac_config.ui_flush_cmd = 0; in ixheaacd_dec_api()
410 p_obj_exhaacplus_dec->aac_config.ui_max_channels = 6; in ixheaacd_dec_api()
412 p_obj_exhaacplus_dec->aac_config.ui_coupling_channel = 0; in ixheaacd_dec_api()
413 p_obj_exhaacplus_dec->aac_config.downmix = 0; in ixheaacd_dec_api()
414 p_obj_exhaacplus_dec->aac_config.ui_n_channels = 2; in ixheaacd_dec_api()
415 p_obj_exhaacplus_dec->aac_config.i_channel_mask = 3; in ixheaacd_dec_api()
433 p_obj_exhaacplus_dec->aac_config.ui_qmf_bands = 64; in ixheaacd_dec_api()
482 p_obj_exhaacplus_dec->aac_config.ui_samp_freq = *pui_value; in ixheaacd_dec_api()
487 p_obj_exhaacplus_dec->aac_config.ui_pcm_wdsz = 16; in ixheaacd_dec_api()
490 p_obj_exhaacplus_dec->aac_config.ui_pcm_wdsz = *pui_value; in ixheaacd_dec_api()
495 p_obj_exhaacplus_dec->aac_config.flag_downmix = 0; in ixheaacd_dec_api()
498 p_obj_exhaacplus_dec->aac_config.flag_downmix = *pui_value; in ixheaacd_dec_api()
499 p_obj_exhaacplus_dec->aac_config.downmix = *pui_value; in ixheaacd_dec_api()
505 p_obj_exhaacplus_dec->aac_config.flag_to_stereo = 1; in ixheaacd_dec_api()
508 p_obj_exhaacplus_dec->aac_config.flag_to_stereo = *pui_value; in ixheaacd_dec_api()
513 p_obj_exhaacplus_dec->aac_config.down_sample_flag = 0; in ixheaacd_dec_api()
516 p_obj_exhaacplus_dec->aac_config.down_sample_flag = *pui_value; in ixheaacd_dec_api()
522 p_obj_exhaacplus_dec->aac_config.frame_status = 1; in ixheaacd_dec_api()
525 p_obj_exhaacplus_dec->aac_config.frame_status = *pui_value; in ixheaacd_dec_api()
531 p_obj_exhaacplus_dec->aac_config.ui_mp4_flag = 0; in ixheaacd_dec_api()
534 p_obj_exhaacplus_dec->aac_config.ui_mp4_flag = *pui_value; in ixheaacd_dec_api()
539 p_obj_exhaacplus_dec->aac_config.loas_present = 0; in ixheaacd_dec_api()
542 p_obj_exhaacplus_dec->aac_config.loas_present = *pui_value; in ixheaacd_dec_api()
547 p_obj_exhaacplus_dec->aac_config.ui_drc_enable = 0; in ixheaacd_dec_api()
550 p_obj_exhaacplus_dec->aac_config.ui_drc_enable = *pui_value; in ixheaacd_dec_api()
554 p_obj_exhaacplus_dec->aac_config.ui_drc_set = 1; in ixheaacd_dec_api()
556 p_obj_exhaacplus_dec->aac_config.ui_drc_cut = 0; in ixheaacd_dec_api()
559 p_obj_exhaacplus_dec->aac_config.ui_drc_cut = in ixheaacd_dec_api()
565 p_obj_exhaacplus_dec->aac_config.ui_drc_set = 1; in ixheaacd_dec_api()
567 p_obj_exhaacplus_dec->aac_config.ui_drc_boost = 0; in ixheaacd_dec_api()
570 p_obj_exhaacplus_dec->aac_config.ui_drc_boost = in ixheaacd_dec_api()
576 p_obj_exhaacplus_dec->aac_config.ui_drc_set = 1; in ixheaacd_dec_api()
578 p_obj_exhaacplus_dec->aac_config.ui_drc_target_level = 108; in ixheaacd_dec_api()
581 p_obj_exhaacplus_dec->aac_config.ui_drc_target_level = *pui_value; in ixheaacd_dec_api()
585 p_obj_exhaacplus_dec->aac_config.ui_drc_set = 1; in ixheaacd_dec_api()
587 p_obj_exhaacplus_dec->aac_config.ui_drc_heavy_comp = 0; in ixheaacd_dec_api()
590 p_obj_exhaacplus_dec->aac_config.ui_drc_heavy_comp = *pui_value; in ixheaacd_dec_api()
595 p_obj_exhaacplus_dec->aac_config.ui_disable_sync = 0; in ixheaacd_dec_api()
598 p_obj_exhaacplus_dec->aac_config.ui_disable_sync = *pui_value; in ixheaacd_dec_api()
603 p_obj_exhaacplus_dec->aac_config.ui_auto_sbr_upsample = 0; in ixheaacd_dec_api()
606 p_obj_exhaacplus_dec->aac_config.ui_auto_sbr_upsample = *pui_value; in ixheaacd_dec_api()
611 p_obj_exhaacplus_dec->aac_config.ui_max_channels = 8; in ixheaacd_dec_api()
615 p_obj_exhaacplus_dec->aac_config.ui_max_channels = 2; in ixheaacd_dec_api()
618 p_obj_exhaacplus_dec->aac_config.ui_max_channels = *pui_value; in ixheaacd_dec_api()
623 p_obj_exhaacplus_dec->aac_config.framesize_480 = 1; in ixheaacd_dec_api()
625 p_obj_exhaacplus_dec->aac_config.framesize_480 = 0; in ixheaacd_dec_api()
634 p_obj_exhaacplus_dec->aac_config.ld_decoder = 1; in ixheaacd_dec_api()
636 p_obj_exhaacplus_dec->aac_config.ld_decoder = 0; in ixheaacd_dec_api()
645 p_obj_exhaacplus_dec->aac_config.eld_sbr_present = 1; in ixheaacd_dec_api()
647 p_obj_exhaacplus_dec->aac_config.eld_sbr_present = 0; in ixheaacd_dec_api()
655 p_obj_exhaacplus_dec->aac_config.ui_coupling_channel = 1; in ixheaacd_dec_api()
658 p_obj_exhaacplus_dec->aac_config.ui_coupling_channel = *pui_value; in ixheaacd_dec_api()
664 p_obj_exhaacplus_dec->aac_config.downmix = 0; in ixheaacd_dec_api()
667 p_obj_exhaacplus_dec->aac_config.downmix = *pui_value; in ixheaacd_dec_api()
673 p_obj_exhaacplus_dec->aac_config.ui_effect_type = -1; in ixheaacd_dec_api()
676 p_obj_exhaacplus_dec->aac_config.ui_effect_type = *pui_value_signed; in ixheaacd_dec_api()
681 p_obj_exhaacplus_dec->aac_config.ui_loud_norm_flag = 1; in ixheaacd_dec_api()
685 p_obj_exhaacplus_dec->aac_config.ui_target_loudness = 0; in ixheaacd_dec_api()
688 p_obj_exhaacplus_dec->aac_config.ui_target_loudness = in ixheaacd_dec_api()
700 (WORD32 *)(&p_obj_exhaacplus_dec->aac_config.ui_pcm_wdsz); in ixheaacd_dec_api()
857 if (p_obj_exhaacplus_dec->aac_config.ui_flush_cmd == 0) { in ixheaacd_decoder_2_ga_hdr()
858 p_obj_exhaacplus_dec->aac_config.ui_pcm_wdsz = 16; in ixheaacd_decoder_2_ga_hdr()
859 p_obj_exhaacplus_dec->aac_config.flag_downmix = 0; in ixheaacd_decoder_2_ga_hdr()
860 p_obj_exhaacplus_dec->aac_config.flag_08khz_out = 0; in ixheaacd_decoder_2_ga_hdr()
861 p_obj_exhaacplus_dec->aac_config.flag_16khz_out = 0; in ixheaacd_decoder_2_ga_hdr()
862 p_obj_exhaacplus_dec->aac_config.flag_to_stereo = 0; in ixheaacd_decoder_2_ga_hdr()
863 p_obj_exhaacplus_dec->aac_config.down_sample_flag = 0; in ixheaacd_decoder_2_ga_hdr()
864 p_obj_exhaacplus_dec->aac_config.header_dec_done = 0; in ixheaacd_decoder_2_ga_hdr()
865 p_obj_exhaacplus_dec->aac_config.frame_status = 1; in ixheaacd_decoder_2_ga_hdr()
866 p_obj_exhaacplus_dec->aac_config.ui_mp4_flag = 1; in ixheaacd_decoder_2_ga_hdr()
867 p_obj_exhaacplus_dec->aac_config.ui_disable_sync = 0; in ixheaacd_decoder_2_ga_hdr()
868 p_obj_exhaacplus_dec->aac_config.ui_auto_sbr_upsample = 1; in ixheaacd_decoder_2_ga_hdr()
869 p_obj_exhaacplus_dec->aac_config.ui_samp_freq = 0; in ixheaacd_decoder_2_ga_hdr()
870 p_obj_exhaacplus_dec->aac_config.ui_channel_mode = 3; in ixheaacd_decoder_2_ga_hdr()
871 p_obj_exhaacplus_dec->aac_config.ui_sbr_mode = 2; in ixheaacd_decoder_2_ga_hdr()
872 p_obj_exhaacplus_dec->aac_config.ui_pce_found_in_hdr = 0; in ixheaacd_decoder_2_ga_hdr()
873 p_obj_exhaacplus_dec->aac_config.loas_present = 0; in ixheaacd_decoder_2_ga_hdr()
875 p_obj_exhaacplus_dec->aac_config.ui_drc_enable = 1; in ixheaacd_decoder_2_ga_hdr()
876 p_obj_exhaacplus_dec->aac_config.ui_drc_boost = 0; in ixheaacd_decoder_2_ga_hdr()
877 p_obj_exhaacplus_dec->aac_config.ui_drc_cut = 0; in ixheaacd_decoder_2_ga_hdr()
878 p_obj_exhaacplus_dec->aac_config.ui_drc_target_level = 108; in ixheaacd_decoder_2_ga_hdr()
879 p_obj_exhaacplus_dec->aac_config.ui_drc_set = 0; in ixheaacd_decoder_2_ga_hdr()
880 p_obj_exhaacplus_dec->aac_config.ui_flush_cmd = 1; in ixheaacd_decoder_2_ga_hdr()
882 p_obj_exhaacplus_dec->aac_config.ui_max_channels = 6; in ixheaacd_decoder_2_ga_hdr()
884 p_obj_exhaacplus_dec->aac_config.ui_coupling_channel = 0; in ixheaacd_decoder_2_ga_hdr()
885 p_obj_exhaacplus_dec->aac_config.downmix = 0; in ixheaacd_decoder_2_ga_hdr()
902 p_obj_exhaacplus_dec->aac_config.ui_qmf_bands = 64; in ixheaacd_decoder_2_ga_hdr()
907 p_obj_exhaacplus_dec->aac_config.ui_flush_cmd = 0; in ixheaacd_decoder_2_ga_hdr()
916 if (p_obj_exhaacplus_dec->aac_config.ui_flush_cmd == 0) { in ixheaacd_decoder_flush_api()
936 memset(&(p_obj_exhaacplus_dec->aac_config), 0, in ixheaacd_decoder_flush_api()
939 p_obj_exhaacplus_dec->aac_config.ui_pcm_wdsz = 16; in ixheaacd_decoder_flush_api()
940 p_obj_exhaacplus_dec->aac_config.flag_downmix = 0; in ixheaacd_decoder_flush_api()
941 p_obj_exhaacplus_dec->aac_config.flag_08khz_out = 0; in ixheaacd_decoder_flush_api()
942 p_obj_exhaacplus_dec->aac_config.flag_16khz_out = 0; in ixheaacd_decoder_flush_api()
943 p_obj_exhaacplus_dec->aac_config.flag_to_stereo = 0; in ixheaacd_decoder_flush_api()
944 p_obj_exhaacplus_dec->aac_config.down_sample_flag = 0; in ixheaacd_decoder_flush_api()
945 p_obj_exhaacplus_dec->aac_config.header_dec_done = 0; in ixheaacd_decoder_flush_api()
946 p_obj_exhaacplus_dec->aac_config.frame_status = 1; in ixheaacd_decoder_flush_api()
947 p_obj_exhaacplus_dec->aac_config.ui_mp4_flag = 1; in ixheaacd_decoder_flush_api()
948 p_obj_exhaacplus_dec->aac_config.ui_disable_sync = 0; in ixheaacd_decoder_flush_api()
949 p_obj_exhaacplus_dec->aac_config.ui_auto_sbr_upsample = 1; in ixheaacd_decoder_flush_api()
950 p_obj_exhaacplus_dec->aac_config.ui_samp_freq = 0; in ixheaacd_decoder_flush_api()
951 p_obj_exhaacplus_dec->aac_config.ui_channel_mode = 3; in ixheaacd_decoder_flush_api()
952 p_obj_exhaacplus_dec->aac_config.ui_sbr_mode = 2; in ixheaacd_decoder_flush_api()
953 p_obj_exhaacplus_dec->aac_config.ui_pce_found_in_hdr = 0; in ixheaacd_decoder_flush_api()
954 p_obj_exhaacplus_dec->aac_config.loas_present = 0; in ixheaacd_decoder_flush_api()
956 p_obj_exhaacplus_dec->aac_config.ui_drc_enable = 1; in ixheaacd_decoder_flush_api()
957 p_obj_exhaacplus_dec->aac_config.ui_drc_boost = 0; in ixheaacd_decoder_flush_api()
958 p_obj_exhaacplus_dec->aac_config.ui_drc_cut = 0; in ixheaacd_decoder_flush_api()
959 p_obj_exhaacplus_dec->aac_config.ui_drc_target_level = 108; in ixheaacd_decoder_flush_api()
960 p_obj_exhaacplus_dec->aac_config.ui_drc_set = 0; in ixheaacd_decoder_flush_api()
961 p_obj_exhaacplus_dec->aac_config.ui_flush_cmd = 1; in ixheaacd_decoder_flush_api()
963 p_obj_exhaacplus_dec->aac_config.ui_max_channels = 6; in ixheaacd_decoder_flush_api()
965 p_obj_exhaacplus_dec->aac_config.ui_coupling_channel = 0; in ixheaacd_decoder_flush_api()
966 p_obj_exhaacplus_dec->aac_config.downmix = 0; in ixheaacd_decoder_flush_api()
983 p_obj_exhaacplus_dec->aac_config.ui_qmf_bands = 64; in ixheaacd_decoder_flush_api()
991 p_obj_exhaacplus_dec->aac_config.ui_flush_cmd = 0; in ixheaacd_decoder_flush_api()
1086 if (p_obj_exhaacplus_dec->aac_config.ui_max_channels > 2) { in ixheaacd_fill_aac_mem_tables()
1087 num_channels = (p_obj_exhaacplus_dec->aac_config.ui_max_channels + 1); in ixheaacd_fill_aac_mem_tables()
1091 num_channels = p_obj_exhaacplus_dec->aac_config.ui_max_channels; in ixheaacd_fill_aac_mem_tables()
1286 if (p_obj_exhaacplus_dec->aac_config.ui_flush_cmd == 0) { in ixheaacd_dec_init()
1304 if (p_obj_exhaacplus_dec->aac_config.header_dec_done == 0) { in ixheaacd_dec_init()
1308 &p_obj_exhaacplus_dec->aac_config; in ixheaacd_dec_init()
1314 if (p_obj_exhaacplus_dec->aac_config.ui_max_channels > 2) { in ixheaacd_dec_init()
1331 if (1 == p_obj_exhaacplus_dec->aac_config.ui_max_channels) in ixheaacd_dec_init()
1354 p_obj_exhaacplus_dec->aac_config.framesize_480; in ixheaacd_dec_init()
1379 p_obj_exhaacplus_dec->aac_config.header_dec_done = 1; in ixheaacd_dec_init()
1406 p_obj_exhaacplus_dec->aac_config.framesize_480; in ixheaacd_dec_init()
1413 if (p_obj_exhaacplus_dec->aac_config.ui_samp_freq == 0) { in ixheaacd_dec_init()
1460 WORD32 pcm_size = p_obj_exhaacplus_dec->aac_config.ui_pcm_wdsz; in ixheaacd_dec_init()
1479 p_obj_exhaacplus_dec->aac_config.ui_n_channels = in ixheaacd_dec_init()
1489 if (p_obj_exhaacplus_dec->aac_config.ui_flush_cmd == 0) { in ixheaacd_dec_init()
1501 p_obj_exhaacplus_dec->aac_config.down_sample_flag = 1; in ixheaacd_dec_init()
1505 p_obj_exhaacplus_dec->aac_config.down_sample_flag = 1; in ixheaacd_dec_init()
1513 p_obj_exhaacplus_dec->aac_config.ui_samp_freq; in ixheaacd_dec_init()
1527 if (p_obj_exhaacplus_dec->aac_config.ld_decoder == 1) in ixheaacd_dec_init()
1539 if (p_obj_exhaacplus_dec->aac_config.eld_sbr_present == 1) { in ixheaacd_dec_init()
1543 if (p_obj_exhaacplus_dec->aac_config.framesize_480) in ixheaacd_dec_init()
1574 p_obj_exhaacplus_dec->aac_config.ui_drc_cut; in ixheaacd_dec_init()
1576 p_obj_exhaacplus_dec->aac_config.ui_drc_boost; in ixheaacd_dec_init()
1578 p_obj_exhaacplus_dec->aac_config.ui_drc_target_level; in ixheaacd_dec_init()
1580 p_obj_exhaacplus_dec->aac_config.ui_drc_target_level; in ixheaacd_dec_init()
1582 if (1 == p_obj_exhaacplus_dec->aac_config.ui_drc_set) { in ixheaacd_dec_init()
1583 if (p_obj_exhaacplus_dec->aac_config.ui_drc_heavy_comp == 1) { in ixheaacd_dec_init()
1619 p_obj_exhaacplus_dec->aac_config.element_type[i] = -1; in ixheaacd_dec_init()
1624 p_obj_exhaacplus_dec->aac_config.ui_sbr_mode = 0; in ixheaacd_dec_init()
1634 if (p_obj_exhaacplus_dec->aac_config.ui_mp4_flag) in ixheaacd_dec_init()
1652 if (p_obj_exhaacplus_dec->aac_config.ui_max_channels > 2) in ixheaacd_dec_init()
1679 if (p_obj_exhaacplus_dec->aac_config.framesize_480) in ixheaacd_dec_init()
1739 time_data, 1, p_obj_exhaacplus_dec->aac_config.ui_max_channels, in ixheaacd_dec_init()
1748 p_obj_exhaacplus_dec->aac_config.element_instance_order, 0, 1, 0, in ixheaacd_dec_init()
1749 p_obj_exhaacplus_dec->aac_config.ui_max_channels, 2, in ixheaacd_dec_init()
1788 if ((p_obj_exhaacplus_dec->aac_config.ui_max_channels <= 2) && in ixheaacd_dec_init()
1789 (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx] == 2)) { in ixheaacd_dec_init()
1796 p_obj_exhaacplus_dec->aac_config.ui_sbr_mode = 1; in ixheaacd_dec_init()
1822 if ((p_obj_exhaacplus_dec->aac_config.flag_16khz_out == 1) && in ixheaacd_dec_init()
1824 p_obj_exhaacplus_dec->aac_config.flag_16khz_out = 0; in ixheaacd_dec_init()
1829 (FLAG *)&p_obj_exhaacplus_dec->aac_config.down_sample_flag, in ixheaacd_dec_init()
1854 p_obj_exhaacplus_dec->aac_config.down_sample_flag, 0, in ixheaacd_dec_init()
1861 if (!p_obj_exhaacplus_dec->aac_config.down_sample_flag) { in ixheaacd_dec_init()
1866 if (p_obj_exhaacplus_dec->aac_config.flag_downmix) { in ixheaacd_dec_init()
1891 (FLAG *)&p_obj_exhaacplus_dec->aac_config.down_sample_flag, in ixheaacd_dec_init()
1932 WORD max_ch_num = p_obj_exhaacplus_dec->aac_config.ui_max_channels; in ixheaacd_dec_init()
1935 p_obj_exhaacplus_dec->aac_config.ui_n_channels = ch_idx; in ixheaacd_dec_init()
1936 while (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx_err] <= 3 && in ixheaacd_dec_init()
1937 p_obj_exhaacplus_dec->aac_config.element_type[ch_idx_err] >= 0) { in ixheaacd_dec_init()
1953 while (p_obj_exhaacplus_dec->aac_config.element_type[i] >= 0 && in ixheaacd_dec_init()
1954 p_obj_exhaacplus_dec->aac_config.element_type[i] <= 3) { in ixheaacd_dec_init()
1956 if (p_obj_exhaacplus_dec->aac_config.element_type[i] == 0 || in ixheaacd_dec_init()
1957 p_obj_exhaacplus_dec->aac_config.element_type[i] == 3) { in ixheaacd_dec_init()
1961 if (p_obj_exhaacplus_dec->aac_config.element_type[i] == 1) { in ixheaacd_dec_init()
1965 if (p_obj_exhaacplus_dec->aac_config.element_type[i] == 2) { in ixheaacd_dec_init()
1967 if (p_obj_exhaacplus_dec->aac_config.element_instance_order[i] != in ixheaacd_dec_init()
1968 p_obj_exhaacplus_dec->aac_config.ui_coupling_channel) { in ixheaacd_dec_init()
1984 if (p_obj_exhaacplus_dec->aac_config.element_type[i] != 2) { in ixheaacd_dec_init()
2027 (FLAG *)&p_obj_exhaacplus_dec->aac_config.down_sample_flag, in ixheaacd_dec_init()
2041 p_obj_exhaacplus_dec->aac_config.i_channel_mask = in ixheaacd_dec_init()
2047 while (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx] >= 0 && in ixheaacd_dec_init()
2048 p_obj_exhaacplus_dec->aac_config.element_type[ch_idx] <= 3) { in ixheaacd_dec_init()
2049 if (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx] == 0 || in ixheaacd_dec_init()
2050 p_obj_exhaacplus_dec->aac_config.element_type[ch_idx] == 3) in ixheaacd_dec_init()
2052 if (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx] == 1) in ixheaacd_dec_init()
2058 p_obj_exhaacplus_dec->aac_config.ui_channel_mode = 2; in ixheaacd_dec_init()
2062 p_obj_exhaacplus_dec->aac_config.ui_channel_mode = 0; in ixheaacd_dec_init()
2064 p_obj_exhaacplus_dec->aac_config.ui_channel_mode = 1; in ixheaacd_dec_init()
2070 if (1 == p_obj_exhaacplus_dec->aac_config.downmix) num_channels_1 = 2; in ixheaacd_dec_init()
2072 if (p_obj_exhaacplus_dec->aac_config.flag_downmix == 1) { in ixheaacd_dec_init()
2076 if ((p_obj_exhaacplus_dec->aac_config.flag_to_stereo == 1) && in ixheaacd_dec_init()
2081 p_obj_exhaacplus_dec->aac_config.ui_n_channels = num_channels_1; in ixheaacd_dec_init()
2082 p_obj_exhaacplus_dec->aac_config.ui_samp_freq = sample_rate; in ixheaacd_dec_init()
2171 p_obj_exhaacplus_dec->aac_config.ui_sbr_mode = 0; in ixheaacd_dec_execute()
2196 WORD32 pcm_size = p_obj_exhaacplus_dec->aac_config.ui_pcm_wdsz; in ixheaacd_dec_execute()
2219 p_obj_exhaacplus_dec->aac_config.ui_n_channels = in ixheaacd_dec_execute()
2225 while (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx1] <= 3 && in ixheaacd_dec_execute()
2226 p_obj_exhaacplus_dec->aac_config.element_type[ch_idx1] >= 0) { in ixheaacd_dec_execute()
2227 if (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx1] == 0 || in ixheaacd_dec_execute()
2228 p_obj_exhaacplus_dec->aac_config.element_type[ch_idx1] == 3) { in ixheaacd_dec_execute()
2232 if (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx1] == 1) { in ixheaacd_dec_execute()
2236 if (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx1] == 2) { in ixheaacd_dec_execute()
2245 if (p_obj_exhaacplus_dec->aac_config.ui_max_channels > 2) { in ixheaacd_dec_execute()
2259 if (total_channels < (WORD)p_obj_exhaacplus_dec->aac_config.ui_n_channels) in ixheaacd_dec_execute()
2260 total_channels = p_obj_exhaacplus_dec->aac_config.ui_n_channels; in ixheaacd_dec_execute()
2275 if (total_channels > (WORD)p_obj_exhaacplus_dec->aac_config.ui_max_channels) { in ixheaacd_dec_execute()
2282 if (p_obj_exhaacplus_dec->aac_config.ui_mp4_flag) in ixheaacd_dec_execute()
2420 p_obj_exhaacplus_dec->aac_config.element_instance_order, in ixheaacd_dec_execute()
2432 if (p_obj_exhaacplus_dec->aac_config.element_type[0] == ID_SCE) in ixheaacd_dec_execute()
2439 slot_ele = p_obj_exhaacplus_dec->aac_config.slot_element[ch_idx]; in ixheaacd_dec_execute()
2441 if (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx] == 2) { in ixheaacd_dec_execute()
2444 if (p_obj_exhaacplus_dec->aac_config.element_instance_order[ch_idx] != in ixheaacd_dec_execute()
2445 p_obj_exhaacplus_dec->aac_config.ui_coupling_channel) { in ixheaacd_dec_execute()
2486 if (p_obj_exhaacplus_dec->aac_config.element_type[1] < 3 && in ixheaacd_dec_execute()
2487 p_obj_exhaacplus_dec->aac_config.element_type[1] > 0 && in ixheaacd_dec_execute()
2488 p_obj_exhaacplus_dec->aac_config.ui_max_channels > 2) { in ixheaacd_dec_execute()
2503 time_data, channel, p_obj_exhaacplus_dec->aac_config.ui_max_channels, in ixheaacd_dec_execute()
2511 p_obj_exhaacplus_dec->aac_config.frame_status, &type, &ch_idx, 0, in ixheaacd_dec_execute()
2513 p_obj_exhaacplus_dec->aac_config.ui_max_channels, total_channels, in ixheaacd_dec_execute()
2555 p_obj_exhaacplus_dec->aac_config.ui_sbr_mode = 1; in ixheaacd_dec_execute()
2570 if (p_obj_exhaacplus_dec->aac_config.ui_auto_sbr_upsample == 0) { in ixheaacd_dec_execute()
2583 (FLAG *)&p_obj_exhaacplus_dec->aac_config.down_sample_flag, in ixheaacd_dec_execute()
2608 p_obj_exhaacplus_dec->aac_config.frame_status, in ixheaacd_dec_execute()
2609 p_obj_exhaacplus_dec->aac_config.down_sample_flag, in ixheaacd_dec_execute()
2617 if (!p_obj_exhaacplus_dec->aac_config.down_sample_flag) { in ixheaacd_dec_execute()
2628 p_obj_exhaacplus_dec->aac_config.ui_samp_freq = sample_rate; in ixheaacd_dec_execute()
2634 if (p_obj_exhaacplus_dec->aac_config.element_type[ch_idx] != 2) in ixheaacd_dec_execute()
2637 if (p_obj_exhaacplus_dec->aac_config.flag_to_stereo == 1 && in ixheaacd_dec_execute()
2647 p_obj_exhaacplus_dec->aac_config.ui_n_channels = num_ch; in ixheaacd_dec_execute()
2669 p_obj_exhaacplus_dec->aac_config.ui_n_channels = total_channels; in ixheaacd_dec_execute()
2679 if ((total_channels > 2) && (1 == p_obj_exhaacplus_dec->aac_config.downmix)) { in ixheaacd_dec_execute()
2688 if (p_obj_exhaacplus_dec->aac_config.flag_downmix && total_channels == 2) { in ixheaacd_dec_execute()
2691 if (p_obj_exhaacplus_dec->aac_config.flag_to_stereo == 1) { in ixheaacd_dec_execute()
2695 p_obj_exhaacplus_dec->aac_config.ui_n_channels = out_ch; in ixheaacd_dec_execute()