Loading tests/codec_be_on_mr_nonselection/test_param_file.py +0 −58 Original line number Diff line number Diff line Loading @@ -189,23 +189,6 @@ def test_param_file_tests( enc_split, update_ref, ) else: print_encoder_commandline( dut_encoder_frontend, ref_encoder_frontend, reference_path, dut_base_path, bitrate, sampling_rate, testv_file, bitstream_file, enc_split, update_ref, ) if sba_br_switching_dtx == 1 and not keep_files: is_exist = os.path.exists(cut_file) if is_exist: os.remove(cut_file) # check for networkSimulator_g192 command line if sim_opts != "": Loading Loading @@ -450,47 +433,6 @@ def encode( add_option_list=enc_opts_list, ) def print_encoder_commandline( dut_encoder_frontend, ref_encoder_frontend, reference_path, dut_base_path, bitrate, sampling_rate, testv_file, bitstream_file, enc_opts_list, update_ref, ): """ Call REF and/or DUT encoder. """ # directories dut_out_dir = f"{dut_base_path}/param_file/enc" ref_out_dir = f"{reference_path}/param_file/enc" ref_out_file = f"{ref_out_dir}/{bitstream_file}" dut_out_file = f"{dut_out_dir}/{bitstream_file}" if update_ref == 1 or update_ref == 2: # call REF encoder ref_encoder_frontend.print_cmdline( bitrate, sampling_rate, testv_file, ref_out_file, add_option_list=enc_opts_list, ) if update_ref in [0, 2]: # call DUT encoder dut_encoder_frontend.print_cmdline( bitrate, sampling_rate, testv_file, dut_out_file, add_option_list=enc_opts_list, ) def simulate( reference_path, Loading Loading
tests/codec_be_on_mr_nonselection/test_param_file.py +0 −58 Original line number Diff line number Diff line Loading @@ -189,23 +189,6 @@ def test_param_file_tests( enc_split, update_ref, ) else: print_encoder_commandline( dut_encoder_frontend, ref_encoder_frontend, reference_path, dut_base_path, bitrate, sampling_rate, testv_file, bitstream_file, enc_split, update_ref, ) if sba_br_switching_dtx == 1 and not keep_files: is_exist = os.path.exists(cut_file) if is_exist: os.remove(cut_file) # check for networkSimulator_g192 command line if sim_opts != "": Loading Loading @@ -450,47 +433,6 @@ def encode( add_option_list=enc_opts_list, ) def print_encoder_commandline( dut_encoder_frontend, ref_encoder_frontend, reference_path, dut_base_path, bitrate, sampling_rate, testv_file, bitstream_file, enc_opts_list, update_ref, ): """ Call REF and/or DUT encoder. """ # directories dut_out_dir = f"{dut_base_path}/param_file/enc" ref_out_dir = f"{reference_path}/param_file/enc" ref_out_file = f"{ref_out_dir}/{bitstream_file}" dut_out_file = f"{dut_out_dir}/{bitstream_file}" if update_ref == 1 or update_ref == 2: # call REF encoder ref_encoder_frontend.print_cmdline( bitrate, sampling_rate, testv_file, ref_out_file, add_option_list=enc_opts_list, ) if update_ref in [0, 2]: # call DUT encoder dut_encoder_frontend.print_cmdline( bitrate, sampling_rate, testv_file, dut_out_file, add_option_list=enc_opts_list, ) def simulate( reference_path, Loading