Loading .gitlab-ci.yml +0 −3 Original line number Diff line number Diff line Loading @@ -247,7 +247,6 @@ branch-is-up-to-date-with-main-post: - python3 ci/remove_unsupported_testcases.py scripts/config/self_test.prm scripts/config/self_test_ltv.prm - python3 tests/create_short_testvectors.py - python3 scripts/prepare_combined_format_inputs.py - python3 scripts/prepare_truncated_inputs.py - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/update-ltv-repo.sh - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/copy-ltv-files-to-testv-dir.sh Loading Loading @@ -1308,7 +1307,6 @@ ivas-conformance: # Reference creation - python scripts/prepare_combined_format_inputs.py - python3 scripts/prepare_truncated_inputs.py - $TEST_SET = "tests/codec_be_on_mr_nonselection", "tests/renderer_short/test_renderer.py", "tests/split_rendering/test_split_rendering.py" - python -m pytest -q $TEST_SET -v -n auto --update_ref 1 --create_ref --keep_files --html=report_cmd.html --self-contained-html - python scripts/parse_commands.py report_cmd.html Readme_IVAS.txt Loading Loading @@ -1405,7 +1403,6 @@ ivas-conformance-linux: # Reference creation - python3 scripts/prepare_combined_format_inputs.py - python3 scripts/prepare_truncated_inputs.py - TEST_SET="tests/codec_be_on_mr_nonselection tests/renderer_short/test_renderer.py tests/split_rendering/test_split_rendering.py" - python3 -m pytest -q $TEST_SET -v -n auto --update_ref 1 --create_ref --keep_files --html=report_cmd.html --self-contained-html - python3 scripts/parse_commands.py report_cmd.html Readme_IVAS.txt Loading tests/split_rendering/utils.py +0 −23 Original line number Diff line number Diff line Loading @@ -147,25 +147,6 @@ def check_xfail( "unsupported framing: LCLD codec doesn't support aggregation. Pre-renderer (ISAR) frame size must match LCLD frame size." ) def truncate_signal( in_file: Path, out_file: Path, ) -> None: """ Truncate the signal in in_file to maximum INPUT_DURATION_SEC seconds, and write the truncated signal to out_file """ data, fs = readfile(in_file) if data.ndim == 1: data_out = data[: INPUT_DURATION_SEC * fs] elif data.ndim == 2: data_out = data[: INPUT_DURATION_SEC * fs, :] else: raise ValueError(f"Cannot truncate data with dimension of {data.ndim}") writefile(out_file, data_out, fs) def run_full_chain_split_rendering( record_property, props_to_record, Loading Loading @@ -244,8 +225,6 @@ def run_full_chain_split_rendering( if test_info.config.option.create_ref or test_info.config.option.create_cut: in_file = FORMAT_TO_FILE_COMPARETEST[in_fmt] cut_in_file = in_file.with_stem(in_file.stem + "_cut") if not path.exists(cut_in_file): truncate_signal(in_file, cut_in_file) enc_cmd[3] = str(cut_in_file) else: enc_cmd[3] = str(FORMAT_TO_FILE_SMOKETEST[in_fmt]) Loading Loading @@ -416,8 +395,6 @@ def run_external_split_rendering( if test_info.config.option.create_ref or test_info.config.option.create_cut: in_file = FORMAT_TO_FILE_COMPARETEST[in_fmt] cut_in_file = in_file.with_stem(in_file.stem + "_cut") if not path.exists(cut_in_file): truncate_signal(in_file, cut_in_file) split_pre_cmd[6] = str(cut_in_file) else: split_pre_cmd[6] = str(FORMAT_TO_FILE_SMOKETEST[in_fmt]) Loading Loading
.gitlab-ci.yml +0 −3 Original line number Diff line number Diff line Loading @@ -247,7 +247,6 @@ branch-is-up-to-date-with-main-post: - python3 ci/remove_unsupported_testcases.py scripts/config/self_test.prm scripts/config/self_test_ltv.prm - python3 tests/create_short_testvectors.py - python3 scripts/prepare_combined_format_inputs.py - python3 scripts/prepare_truncated_inputs.py - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/update-ltv-repo.sh - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/copy-ltv-files-to-testv-dir.sh Loading Loading @@ -1308,7 +1307,6 @@ ivas-conformance: # Reference creation - python scripts/prepare_combined_format_inputs.py - python3 scripts/prepare_truncated_inputs.py - $TEST_SET = "tests/codec_be_on_mr_nonselection", "tests/renderer_short/test_renderer.py", "tests/split_rendering/test_split_rendering.py" - python -m pytest -q $TEST_SET -v -n auto --update_ref 1 --create_ref --keep_files --html=report_cmd.html --self-contained-html - python scripts/parse_commands.py report_cmd.html Readme_IVAS.txt Loading Loading @@ -1405,7 +1403,6 @@ ivas-conformance-linux: # Reference creation - python3 scripts/prepare_combined_format_inputs.py - python3 scripts/prepare_truncated_inputs.py - TEST_SET="tests/codec_be_on_mr_nonselection tests/renderer_short/test_renderer.py tests/split_rendering/test_split_rendering.py" - python3 -m pytest -q $TEST_SET -v -n auto --update_ref 1 --create_ref --keep_files --html=report_cmd.html --self-contained-html - python3 scripts/parse_commands.py report_cmd.html Readme_IVAS.txt Loading
tests/split_rendering/utils.py +0 −23 Original line number Diff line number Diff line Loading @@ -147,25 +147,6 @@ def check_xfail( "unsupported framing: LCLD codec doesn't support aggregation. Pre-renderer (ISAR) frame size must match LCLD frame size." ) def truncate_signal( in_file: Path, out_file: Path, ) -> None: """ Truncate the signal in in_file to maximum INPUT_DURATION_SEC seconds, and write the truncated signal to out_file """ data, fs = readfile(in_file) if data.ndim == 1: data_out = data[: INPUT_DURATION_SEC * fs] elif data.ndim == 2: data_out = data[: INPUT_DURATION_SEC * fs, :] else: raise ValueError(f"Cannot truncate data with dimension of {data.ndim}") writefile(out_file, data_out, fs) def run_full_chain_split_rendering( record_property, props_to_record, Loading Loading @@ -244,8 +225,6 @@ def run_full_chain_split_rendering( if test_info.config.option.create_ref or test_info.config.option.create_cut: in_file = FORMAT_TO_FILE_COMPARETEST[in_fmt] cut_in_file = in_file.with_stem(in_file.stem + "_cut") if not path.exists(cut_in_file): truncate_signal(in_file, cut_in_file) enc_cmd[3] = str(cut_in_file) else: enc_cmd[3] = str(FORMAT_TO_FILE_SMOKETEST[in_fmt]) Loading Loading @@ -416,8 +395,6 @@ def run_external_split_rendering( if test_info.config.option.create_ref or test_info.config.option.create_cut: in_file = FORMAT_TO_FILE_COMPARETEST[in_fmt] cut_in_file = in_file.with_stem(in_file.stem + "_cut") if not path.exists(cut_in_file): truncate_signal(in_file, cut_in_file) split_pre_cmd[6] = str(cut_in_file) else: split_pre_cmd[6] = str(FORMAT_TO_FILE_SMOKETEST[in_fmt]) Loading