Loading tests/codec_be_on_mr_nonselection/test_sba_bs_enc.py +119 −102 Original line number Diff line number Diff line Loading @@ -104,6 +104,7 @@ def test_pca_enc( fs, get_mld, get_mld_lim, decoder_only, ): pca = True tag = tag + fs + "c" Loading @@ -114,6 +115,7 @@ def test_pca_enc( sba_order = "+1" output_config = "FOA" if not decoder_only: # enc sba_enc( dut_encoder_frontend, Loading Loading @@ -153,6 +155,7 @@ def test_pca_enc( update_ref, gain_flag, keep_files, decoder_only, get_mld=get_mld, get_mld_lim=get_mld_lim, pca=pca, Loading Loading @@ -186,6 +189,7 @@ def test_sba_enc_system( SID, get_mld, get_mld_lim, decoder_only, ): if dtx == "1" and ivas_br not in ["13200", "16400", "24400", "32000", "64000"]: # skip high bitrates for DTX until DTX issue is resolved Loading Loading @@ -215,6 +219,8 @@ def test_sba_enc_system( cut_gain = ".004" else: cut_gain = "1.0" if not decoder_only: # enc sba_enc( dut_encoder_frontend, Loading Loading @@ -255,6 +261,7 @@ def test_sba_enc_system( update_ref, gain_flag, keep_files, decoder_only, get_mld=get_mld, get_mld_lim=get_mld_lim, ) Loading @@ -278,6 +285,7 @@ def test_spar_hoa2_enc_system( tag, get_mld, get_mld_lim, decoder_only, ): fs = "48" dtx = "0" Loading @@ -288,6 +296,7 @@ def test_spar_hoa2_enc_system( sba_order = "+2" output_config = "HOA2" if not decoder_only: # enc sba_enc( dut_encoder_frontend, Loading Loading @@ -325,6 +334,7 @@ def test_spar_hoa2_enc_system( update_ref, gain_flag, keep_files, decoder_only, get_mld=get_mld, get_mld_lim=get_mld_lim, ) Loading @@ -348,6 +358,7 @@ def test_spar_hoa3_enc_system( tag, get_mld, get_mld_lim, decoder_only, ): fs = "48" dtx = "0" Loading @@ -358,6 +369,7 @@ def test_spar_hoa3_enc_system( sba_order = "+3" output_config = "HOA3" if not decoder_only: # enc sba_enc( dut_encoder_frontend, Loading Loading @@ -395,6 +407,7 @@ def test_spar_hoa3_enc_system( update_ref, gain_flag, keep_files, decoder_only, get_mld=get_mld, get_mld_lim=get_mld_lim, ) Loading Loading @@ -422,6 +435,7 @@ def test_sba_enc_BWforce_system( sample_rate_bw_idx, get_mld, get_mld_lim, decoder_only, ): if dtx == "1" and ivas_br not in ["32000", "64000"]: # skip high bitrates for DTX until DTX issue is resolved Loading @@ -437,6 +451,7 @@ def test_sba_enc_BWforce_system( sba_order = "+1" output_config = "FOA" if not decoder_only: # enc sba_enc( dut_encoder_frontend, Loading Loading @@ -475,6 +490,7 @@ def test_sba_enc_BWforce_system( update_ref, gain_flag, keep_files, decoder_only, get_mld=get_mld, get_mld_lim=get_mld_lim, ) Loading Loading @@ -642,6 +658,7 @@ def sba_dec( update_ref, gain_flag, keep_files, decoder_only, get_mld=False, get_mld_lim=0, pca=False, Loading Loading @@ -693,7 +710,7 @@ def sba_dec( decoder_frontend.run( output_config, sampling_rate, dut_in_pkt, dut_in_pkt if not decoder_only else ref_in_pkt, dut_out_raw, ) Loading Loading
tests/codec_be_on_mr_nonselection/test_sba_bs_enc.py +119 −102 Original line number Diff line number Diff line Loading @@ -104,6 +104,7 @@ def test_pca_enc( fs, get_mld, get_mld_lim, decoder_only, ): pca = True tag = tag + fs + "c" Loading @@ -114,6 +115,7 @@ def test_pca_enc( sba_order = "+1" output_config = "FOA" if not decoder_only: # enc sba_enc( dut_encoder_frontend, Loading Loading @@ -153,6 +155,7 @@ def test_pca_enc( update_ref, gain_flag, keep_files, decoder_only, get_mld=get_mld, get_mld_lim=get_mld_lim, pca=pca, Loading Loading @@ -186,6 +189,7 @@ def test_sba_enc_system( SID, get_mld, get_mld_lim, decoder_only, ): if dtx == "1" and ivas_br not in ["13200", "16400", "24400", "32000", "64000"]: # skip high bitrates for DTX until DTX issue is resolved Loading Loading @@ -215,6 +219,8 @@ def test_sba_enc_system( cut_gain = ".004" else: cut_gain = "1.0" if not decoder_only: # enc sba_enc( dut_encoder_frontend, Loading Loading @@ -255,6 +261,7 @@ def test_sba_enc_system( update_ref, gain_flag, keep_files, decoder_only, get_mld=get_mld, get_mld_lim=get_mld_lim, ) Loading @@ -278,6 +285,7 @@ def test_spar_hoa2_enc_system( tag, get_mld, get_mld_lim, decoder_only, ): fs = "48" dtx = "0" Loading @@ -288,6 +296,7 @@ def test_spar_hoa2_enc_system( sba_order = "+2" output_config = "HOA2" if not decoder_only: # enc sba_enc( dut_encoder_frontend, Loading Loading @@ -325,6 +334,7 @@ def test_spar_hoa2_enc_system( update_ref, gain_flag, keep_files, decoder_only, get_mld=get_mld, get_mld_lim=get_mld_lim, ) Loading @@ -348,6 +358,7 @@ def test_spar_hoa3_enc_system( tag, get_mld, get_mld_lim, decoder_only, ): fs = "48" dtx = "0" Loading @@ -358,6 +369,7 @@ def test_spar_hoa3_enc_system( sba_order = "+3" output_config = "HOA3" if not decoder_only: # enc sba_enc( dut_encoder_frontend, Loading Loading @@ -395,6 +407,7 @@ def test_spar_hoa3_enc_system( update_ref, gain_flag, keep_files, decoder_only, get_mld=get_mld, get_mld_lim=get_mld_lim, ) Loading Loading @@ -422,6 +435,7 @@ def test_sba_enc_BWforce_system( sample_rate_bw_idx, get_mld, get_mld_lim, decoder_only, ): if dtx == "1" and ivas_br not in ["32000", "64000"]: # skip high bitrates for DTX until DTX issue is resolved Loading @@ -437,6 +451,7 @@ def test_sba_enc_BWforce_system( sba_order = "+1" output_config = "FOA" if not decoder_only: # enc sba_enc( dut_encoder_frontend, Loading Loading @@ -475,6 +490,7 @@ def test_sba_enc_BWforce_system( update_ref, gain_flag, keep_files, decoder_only, get_mld=get_mld, get_mld_lim=get_mld_lim, ) Loading Loading @@ -642,6 +658,7 @@ def sba_dec( update_ref, gain_flag, keep_files, decoder_only, get_mld=False, get_mld_lim=0, pca=False, Loading Loading @@ -693,7 +710,7 @@ def sba_dec( decoder_frontend.run( output_config, sampling_rate, dut_in_pkt, dut_in_pkt if not decoder_only else ref_in_pkt, dut_out_raw, ) Loading