Loading tests/split_rendering/constants.py +3 −0 Original line number Diff line number Diff line Loading @@ -180,6 +180,9 @@ INPUT_DURATION_SEC = 5 """ PLC constants """ PLC_ERROR_PATTERNS = [str(ep.stem) for ep in ERROR_PATTERNS_DIR.glob("*.ep")] """ Delay profiles for testing VoIP mode """ DELAY_PROFILES = [None, "dly_error_profile_5"] """ Encoder commandline template """ SPLIT_PRE_COD_CMD = [ str(TESTS_DIR.parent.parent.joinpath("IVAS_cod")), Loading tests/split_rendering/test_split_rendering.py +27 −3 Original line number Diff line number Diff line Loading @@ -57,6 +57,9 @@ def test_ambisonics_full_chain_split( trajectory, delay_profile ): if delay_profile is not None: pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None") post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading Loading @@ -140,6 +143,9 @@ def test_multichannel_full_chain_split( trajectory, delay_profile ): if delay_profile is not None: pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None") post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading Loading @@ -223,6 +229,9 @@ def test_ism_full_chain_split( trajectory, delay_profile ): if delay_profile is not None: pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None") post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading Loading @@ -306,6 +315,8 @@ def test_masa_full_chain_split( trajectory, delay_profile ): if delay_profile is not None: pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None") post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading Loading @@ -390,6 +401,9 @@ def test_omasa_full_chain_split( trajectory, delay_profile ): if delay_profile is not None: pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None") post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading Loading @@ -471,6 +485,9 @@ def test_osba_full_chain_split( render_config, trajectory ): if delay_profile is not None: pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None") post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading Loading @@ -597,8 +614,12 @@ def test_full_chain_split_pcm( test_info, in_fmt, bitrate, render_config render_config, delay_profile ): if delay_profile is not None: pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None") trajectory = SPLIT_REND_HR_TRAJECTORIES_TO_TEST[0] post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading Loading @@ -729,6 +750,9 @@ def test_framing_combinations_full_chain_split( pre_rend_fr, delay_profile ): if delay_profile is not None: pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None") post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading Loading
tests/split_rendering/constants.py +3 −0 Original line number Diff line number Diff line Loading @@ -180,6 +180,9 @@ INPUT_DURATION_SEC = 5 """ PLC constants """ PLC_ERROR_PATTERNS = [str(ep.stem) for ep in ERROR_PATTERNS_DIR.glob("*.ep")] """ Delay profiles for testing VoIP mode """ DELAY_PROFILES = [None, "dly_error_profile_5"] """ Encoder commandline template """ SPLIT_PRE_COD_CMD = [ str(TESTS_DIR.parent.parent.joinpath("IVAS_cod")), Loading
tests/split_rendering/test_split_rendering.py +27 −3 Original line number Diff line number Diff line Loading @@ -57,6 +57,9 @@ def test_ambisonics_full_chain_split( trajectory, delay_profile ): if delay_profile is not None: pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None") post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading Loading @@ -140,6 +143,9 @@ def test_multichannel_full_chain_split( trajectory, delay_profile ): if delay_profile is not None: pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None") post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading Loading @@ -223,6 +229,9 @@ def test_ism_full_chain_split( trajectory, delay_profile ): if delay_profile is not None: pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None") post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading Loading @@ -306,6 +315,8 @@ def test_masa_full_chain_split( trajectory, delay_profile ): if delay_profile is not None: pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None") post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading Loading @@ -390,6 +401,9 @@ def test_omasa_full_chain_split( trajectory, delay_profile ): if delay_profile is not None: pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None") post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading Loading @@ -471,6 +485,9 @@ def test_osba_full_chain_split( render_config, trajectory ): if delay_profile is not None: pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None") post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading Loading @@ -597,8 +614,12 @@ def test_full_chain_split_pcm( test_info, in_fmt, bitrate, render_config render_config, delay_profile ): if delay_profile is not None: pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None") trajectory = SPLIT_REND_HR_TRAJECTORIES_TO_TEST[0] post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading Loading @@ -729,6 +750,9 @@ def test_framing_combinations_full_chain_split( pre_rend_fr, delay_profile ): if delay_profile is not None: pytest.skip("BASOP-TEMPORARY: Skipping all delay profiles except None") post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading