Loading tests/codec_be_on_mr_nonselection/test_param_file.py +5 −2 Original line number Diff line number Diff line Loading @@ -115,6 +115,7 @@ INPUT_FMT = [ (r"-ism_sba\s?2\s?2", "OSBA_2_2"), (r"-ism_sba\s?3\s?2", "OSBA_3_2"), (r"-ism_sba\s?4\s?2", "OSBA_4_2"), (r".*", "MONO"), ] PEAQ_SUPPORTED_FMT = [ Loading Loading @@ -474,6 +475,8 @@ def test_param_file_tests( metadata_input = None # Todo: This can be used for OMASA/OSBA rendering trj_file = findstr(r'-t\s+(\S+)', dec_opts) non_diegetic_pan = findstr(r'-non_diegetic_pan\s+(\S+)', dec_opts) if non_diegetic_pan is not None: output_config = "STEREO" name_extension = None refrot_file = findstr(r'-rf\s+(\S+)', dec_opts) rot_tmp_file = findstr(r'-rvf\s+(\S+)', dec_opts) Loading Loading @@ -951,8 +954,8 @@ def get_expected_md_files(ref_output_file, enc_opts, output_config): return md_files def findstr(exp, s, one_element=False): result = re.findall(exp, s) def findstr(exp, s, one_element=True): result = [SCRIPTS_DIR.joinpath(x) for x in re.findall(exp, s)] if len(result) == 0: return None if one_element: Loading Loading
tests/codec_be_on_mr_nonselection/test_param_file.py +5 −2 Original line number Diff line number Diff line Loading @@ -115,6 +115,7 @@ INPUT_FMT = [ (r"-ism_sba\s?2\s?2", "OSBA_2_2"), (r"-ism_sba\s?3\s?2", "OSBA_3_2"), (r"-ism_sba\s?4\s?2", "OSBA_4_2"), (r".*", "MONO"), ] PEAQ_SUPPORTED_FMT = [ Loading Loading @@ -474,6 +475,8 @@ def test_param_file_tests( metadata_input = None # Todo: This can be used for OMASA/OSBA rendering trj_file = findstr(r'-t\s+(\S+)', dec_opts) non_diegetic_pan = findstr(r'-non_diegetic_pan\s+(\S+)', dec_opts) if non_diegetic_pan is not None: output_config = "STEREO" name_extension = None refrot_file = findstr(r'-rf\s+(\S+)', dec_opts) rot_tmp_file = findstr(r'-rvf\s+(\S+)', dec_opts) Loading Loading @@ -951,8 +954,8 @@ def get_expected_md_files(ref_output_file, enc_opts, output_config): return md_files def findstr(exp, s, one_element=False): result = re.findall(exp, s) def findstr(exp, s, one_element=True): result = [SCRIPTS_DIR.joinpath(x) for x in re.findall(exp, s)] if len(result) == 0: return None if one_element: Loading