Loading tests/split_rendering/test_split_rendering.py +114 −32 Original line number Diff line number Diff line Loading @@ -37,12 +37,7 @@ from tests.split_rendering.utils import * """ Ambisonics """ <<<<<<< HEAD ======= @pytest.mark.parametrize("delay_profile", DELAY_PROFILES) >>>>>>> main @pytest.mark.parametrize("trajectory", SPLIT_REND_HR_TRAJECTORIES_TO_TEST) @pytest.mark.parametrize("render_config", RENDERER_CONFIGS_TO_TEST_AMBI) @pytest.mark.parametrize("bitrate", IVAS_BITRATES_AMBI) Loading @@ -55,7 +50,12 @@ def test_ambisonics_full_chain_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, bitrate, render_config, trajectory test_info, in_fmt, bitrate, render_config, trajectory, delay_profile ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading @@ -75,6 +75,7 @@ def test_ambisonics_full_chain_split( get_ssnr=get_ssnr, get_odg=get_odg, get_odg_bin=get_odg_bin, delay_profile=SCRIPTS_DIR / "dly_error_profiles" / f"{delay_profile}.dat" if delay_profile else None, ) Loading @@ -90,7 +91,11 @@ def test_ambisonics_external_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, render_config, trajectory): test_info, in_fmt, render_config, trajectory ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading @@ -115,6 +120,7 @@ def test_ambisonics_external_split( @pytest.mark.parametrize("delay_profile", DELAY_PROFILES) @pytest.mark.parametrize("trajectory", SPLIT_REND_HR_TRAJECTORIES_TO_TEST) @pytest.mark.parametrize("render_config", RENDERER_CONFIGS_TO_TEST_MC) @pytest.mark.parametrize("bitrate", IVAS_BITRATES_MC) Loading @@ -127,7 +133,12 @@ def test_multichannel_full_chain_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, bitrate, render_config, trajectory test_info, in_fmt, bitrate, render_config, trajectory, delay_profile ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading @@ -147,6 +158,7 @@ def test_multichannel_full_chain_split( get_ssnr=get_ssnr, get_odg=get_odg, get_odg_bin=get_odg_bin, delay_profile=SCRIPTS_DIR / "dly_error_profiles" / f"{delay_profile}.dat" if delay_profile else None, ) Loading @@ -162,7 +174,11 @@ def test_multichannel_external_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, render_config, trajectory): test_info, in_fmt, render_config, trajectory ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading @@ -187,6 +203,7 @@ test_info, in_fmt, render_config, trajectory): @pytest.mark.parametrize("delay_profile", DELAY_PROFILES) @pytest.mark.parametrize("trajectory", SPLIT_REND_HR_TRAJECTORIES_TO_TEST) @pytest.mark.parametrize("render_config", RENDERER_CONFIGS_TO_TEST_ISM) @pytest.mark.parametrize("bitrate", IVAS_BITRATES_ISM) Loading @@ -199,7 +216,13 @@ def test_ism_full_chain_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, bitrate, render_config, trajectory): test_info, in_fmt, bitrate, render_config, trajectory, delay_profile ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading @@ -218,6 +241,7 @@ test_info, in_fmt, bitrate, render_config, trajectory): get_ssnr=get_ssnr, get_odg=get_odg, get_odg_bin=get_odg_bin, delay_profile=SCRIPTS_DIR / "dly_error_profiles" / f"{delay_profile}.dat" if delay_profile else None, ) Loading @@ -233,7 +257,11 @@ def test_ism_external_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, render_config, trajectory): test_info, in_fmt, render_config, trajectory ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading @@ -258,6 +286,7 @@ test_info, in_fmt, render_config, trajectory): @pytest.mark.parametrize("delay_profile", DELAY_PROFILES) @pytest.mark.parametrize("trajectory", SPLIT_REND_HR_TRAJECTORIES_TO_TEST) @pytest.mark.parametrize("render_config", RENDERER_CONFIGS_TO_TEST_MASA) @pytest.mark.parametrize("bitrate", IVAS_BITRATES_MASA) Loading @@ -270,7 +299,14 @@ def test_masa_full_chain_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, bitrate, render_config, trajectory): test_info, in_fmt, bitrate, render_config, trajectory, delay_profile ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading @@ -289,6 +325,7 @@ test_info, in_fmt, bitrate, render_config, trajectory): get_ssnr=get_ssnr, get_odg=get_odg, get_odg_bin=get_odg_bin, delay_profile=SCRIPTS_DIR / "dly_error_profiles" / f"{delay_profile}.dat" if delay_profile else None, ) Loading @@ -304,7 +341,11 @@ def test_masa_external_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, render_config, trajectory): test_info, in_fmt, render_config, trajectory ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading @@ -329,6 +370,7 @@ test_info, in_fmt, render_config, trajectory): @pytest.mark.parametrize("delay_profile", DELAY_PROFILES) @pytest.mark.parametrize("trajectory", SPLIT_REND_HR_TRAJECTORIES_TO_TEST) @pytest.mark.parametrize("render_config", RENDERER_CONFIGS_TO_TEST_OMASA) @pytest.mark.parametrize("bitrate", IVAS_BITRATES_OMASA) Loading @@ -341,7 +383,13 @@ def test_omasa_full_chain_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, bitrate, render_config, trajectory): test_info, in_fmt, bitrate, render_config, trajectory, delay_profile ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading Loading @@ -404,6 +452,7 @@ def test_omasa_external_split( @pytest.mark.parametrize("delay_profile", DELAY_PROFILES) @pytest.mark.parametrize("trajectory", SPLIT_REND_HR_TRAJECTORIES_TO_TEST) @pytest.mark.parametrize("render_config", RENDERER_CONFIGS_TO_TEST_OSBA) @pytest.mark.parametrize("bitrate", IVAS_BITRATES_OSBA) Loading @@ -416,7 +465,12 @@ def test_osba_full_chain_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, bitrate, render_config, trajectory): test_info, in_fmt, bitrate, render_config, trajectory ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading Loading @@ -491,7 +545,12 @@ def test_post_rend_plc( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, render_config, trajectory, error_pattern): test_info, in_fmt, render_config, trajectory, error_pattern ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading Loading @@ -525,6 +584,7 @@ full_chain_split_pcm_params = [ @pytest.mark.parametrize("delay_profile", DELAY_PROFILES) @pytest.mark.parametrize("in_fmt,bitrate,render_config", full_chain_split_pcm_params) def test_full_chain_split_pcm( record_property, Loading @@ -534,7 +594,11 @@ def test_full_chain_split_pcm( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, bitrate, render_config): test_info, in_fmt, bitrate, render_config ): 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 @@ -555,6 +619,7 @@ test_info, in_fmt, bitrate, render_config): get_ssnr=get_ssnr, get_odg=get_odg, get_odg_bin=get_odg_bin, delay_profile=SCRIPTS_DIR / "dly_error_profiles" / f"{delay_profile}.dat" if delay_profile else None, ) Loading @@ -575,7 +640,10 @@ def test_external_split_pcm( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, render_config): test_info, in_fmt, render_config ): 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 @@ -611,7 +679,13 @@ def test_framing_combinations_external_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, render_config, trajectory, post_rend_fr, pre_rend_fr): test_info, in_fmt, render_config, trajectory, post_rend_fr, pre_rend_fr ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading @@ -633,6 +707,7 @@ test_info, in_fmt, render_config, trajectory, post_rend_fr, pre_rend_fr): get_odg_bin=get_odg_bin, ) @pytest.mark.parametrize("delay_profile", DELAY_PROFILES) @pytest.mark.parametrize("trajectory", SPLIT_REND_HR_TRAJECTORIES_TO_TEST) @pytest.mark.parametrize("render_config", RENDERER_CONFIGS_FRAMING) @pytest.mark.parametrize("in_fmt", ["5_1"]) Loading @@ -646,7 +721,13 @@ def test_framing_combinations_full_chain_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, render_config, trajectory, post_rend_fr, pre_rend_fr test_info, in_fmt, render_config, trajectory, post_rend_fr, pre_rend_fr, delay_profile ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading @@ -668,4 +749,5 @@ def test_framing_combinations_full_chain_split( get_ssnr=get_ssnr, get_odg=get_odg, get_odg_bin=get_odg_bin, delay_profile=SCRIPTS_DIR / "dly_error_profiles" / f"{delay_profile}.dat" if delay_profile else None, ) Loading
tests/split_rendering/test_split_rendering.py +114 −32 Original line number Diff line number Diff line Loading @@ -37,12 +37,7 @@ from tests.split_rendering.utils import * """ Ambisonics """ <<<<<<< HEAD ======= @pytest.mark.parametrize("delay_profile", DELAY_PROFILES) >>>>>>> main @pytest.mark.parametrize("trajectory", SPLIT_REND_HR_TRAJECTORIES_TO_TEST) @pytest.mark.parametrize("render_config", RENDERER_CONFIGS_TO_TEST_AMBI) @pytest.mark.parametrize("bitrate", IVAS_BITRATES_AMBI) Loading @@ -55,7 +50,12 @@ def test_ambisonics_full_chain_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, bitrate, render_config, trajectory test_info, in_fmt, bitrate, render_config, trajectory, delay_profile ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading @@ -75,6 +75,7 @@ def test_ambisonics_full_chain_split( get_ssnr=get_ssnr, get_odg=get_odg, get_odg_bin=get_odg_bin, delay_profile=SCRIPTS_DIR / "dly_error_profiles" / f"{delay_profile}.dat" if delay_profile else None, ) Loading @@ -90,7 +91,11 @@ def test_ambisonics_external_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, render_config, trajectory): test_info, in_fmt, render_config, trajectory ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading @@ -115,6 +120,7 @@ def test_ambisonics_external_split( @pytest.mark.parametrize("delay_profile", DELAY_PROFILES) @pytest.mark.parametrize("trajectory", SPLIT_REND_HR_TRAJECTORIES_TO_TEST) @pytest.mark.parametrize("render_config", RENDERER_CONFIGS_TO_TEST_MC) @pytest.mark.parametrize("bitrate", IVAS_BITRATES_MC) Loading @@ -127,7 +133,12 @@ def test_multichannel_full_chain_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, bitrate, render_config, trajectory test_info, in_fmt, bitrate, render_config, trajectory, delay_profile ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading @@ -147,6 +158,7 @@ def test_multichannel_full_chain_split( get_ssnr=get_ssnr, get_odg=get_odg, get_odg_bin=get_odg_bin, delay_profile=SCRIPTS_DIR / "dly_error_profiles" / f"{delay_profile}.dat" if delay_profile else None, ) Loading @@ -162,7 +174,11 @@ def test_multichannel_external_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, render_config, trajectory): test_info, in_fmt, render_config, trajectory ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading @@ -187,6 +203,7 @@ test_info, in_fmt, render_config, trajectory): @pytest.mark.parametrize("delay_profile", DELAY_PROFILES) @pytest.mark.parametrize("trajectory", SPLIT_REND_HR_TRAJECTORIES_TO_TEST) @pytest.mark.parametrize("render_config", RENDERER_CONFIGS_TO_TEST_ISM) @pytest.mark.parametrize("bitrate", IVAS_BITRATES_ISM) Loading @@ -199,7 +216,13 @@ def test_ism_full_chain_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, bitrate, render_config, trajectory): test_info, in_fmt, bitrate, render_config, trajectory, delay_profile ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading @@ -218,6 +241,7 @@ test_info, in_fmt, bitrate, render_config, trajectory): get_ssnr=get_ssnr, get_odg=get_odg, get_odg_bin=get_odg_bin, delay_profile=SCRIPTS_DIR / "dly_error_profiles" / f"{delay_profile}.dat" if delay_profile else None, ) Loading @@ -233,7 +257,11 @@ def test_ism_external_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, render_config, trajectory): test_info, in_fmt, render_config, trajectory ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading @@ -258,6 +286,7 @@ test_info, in_fmt, render_config, trajectory): @pytest.mark.parametrize("delay_profile", DELAY_PROFILES) @pytest.mark.parametrize("trajectory", SPLIT_REND_HR_TRAJECTORIES_TO_TEST) @pytest.mark.parametrize("render_config", RENDERER_CONFIGS_TO_TEST_MASA) @pytest.mark.parametrize("bitrate", IVAS_BITRATES_MASA) Loading @@ -270,7 +299,14 @@ def test_masa_full_chain_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, bitrate, render_config, trajectory): test_info, in_fmt, bitrate, render_config, trajectory, delay_profile ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading @@ -289,6 +325,7 @@ test_info, in_fmt, bitrate, render_config, trajectory): get_ssnr=get_ssnr, get_odg=get_odg, get_odg_bin=get_odg_bin, delay_profile=SCRIPTS_DIR / "dly_error_profiles" / f"{delay_profile}.dat" if delay_profile else None, ) Loading @@ -304,7 +341,11 @@ def test_masa_external_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, render_config, trajectory): test_info, in_fmt, render_config, trajectory ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading @@ -329,6 +370,7 @@ test_info, in_fmt, render_config, trajectory): @pytest.mark.parametrize("delay_profile", DELAY_PROFILES) @pytest.mark.parametrize("trajectory", SPLIT_REND_HR_TRAJECTORIES_TO_TEST) @pytest.mark.parametrize("render_config", RENDERER_CONFIGS_TO_TEST_OMASA) @pytest.mark.parametrize("bitrate", IVAS_BITRATES_OMASA) Loading @@ -341,7 +383,13 @@ def test_omasa_full_chain_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, bitrate, render_config, trajectory): test_info, in_fmt, bitrate, render_config, trajectory, delay_profile ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading Loading @@ -404,6 +452,7 @@ def test_omasa_external_split( @pytest.mark.parametrize("delay_profile", DELAY_PROFILES) @pytest.mark.parametrize("trajectory", SPLIT_REND_HR_TRAJECTORIES_TO_TEST) @pytest.mark.parametrize("render_config", RENDERER_CONFIGS_TO_TEST_OSBA) @pytest.mark.parametrize("bitrate", IVAS_BITRATES_OSBA) Loading @@ -416,7 +465,12 @@ def test_osba_full_chain_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, bitrate, render_config, trajectory): test_info, in_fmt, bitrate, render_config, trajectory ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading Loading @@ -491,7 +545,12 @@ def test_post_rend_plc( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, render_config, trajectory, error_pattern): test_info, in_fmt, render_config, trajectory, error_pattern ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading Loading @@ -525,6 +584,7 @@ full_chain_split_pcm_params = [ @pytest.mark.parametrize("delay_profile", DELAY_PROFILES) @pytest.mark.parametrize("in_fmt,bitrate,render_config", full_chain_split_pcm_params) def test_full_chain_split_pcm( record_property, Loading @@ -534,7 +594,11 @@ def test_full_chain_split_pcm( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, bitrate, render_config): test_info, in_fmt, bitrate, render_config ): 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 @@ -555,6 +619,7 @@ test_info, in_fmt, bitrate, render_config): get_ssnr=get_ssnr, get_odg=get_odg, get_odg_bin=get_odg_bin, delay_profile=SCRIPTS_DIR / "dly_error_profiles" / f"{delay_profile}.dat" if delay_profile else None, ) Loading @@ -575,7 +640,10 @@ def test_external_split_pcm( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, render_config): test_info, in_fmt, render_config ): 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 @@ -611,7 +679,13 @@ def test_framing_combinations_external_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, render_config, trajectory, post_rend_fr, pre_rend_fr): test_info, in_fmt, render_config, trajectory, post_rend_fr, pre_rend_fr ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading @@ -633,6 +707,7 @@ test_info, in_fmt, render_config, trajectory, post_rend_fr, pre_rend_fr): get_odg_bin=get_odg_bin, ) @pytest.mark.parametrize("delay_profile", DELAY_PROFILES) @pytest.mark.parametrize("trajectory", SPLIT_REND_HR_TRAJECTORIES_TO_TEST) @pytest.mark.parametrize("render_config", RENDERER_CONFIGS_FRAMING) @pytest.mark.parametrize("in_fmt", ["5_1"]) Loading @@ -646,7 +721,13 @@ def test_framing_combinations_full_chain_split( get_ssnr, get_odg, get_odg_bin, test_info, in_fmt, render_config, trajectory, post_rend_fr, pre_rend_fr test_info, in_fmt, render_config, trajectory, post_rend_fr, pre_rend_fr, delay_profile ): post_trajectory = HR_TRAJECTORY_DIR.joinpath(f"{trajectory}.csv") pre_trajectory = post_trajectory.with_stem(f"{post_trajectory.stem}_delayed") Loading @@ -668,4 +749,5 @@ def test_framing_combinations_full_chain_split( get_ssnr=get_ssnr, get_odg=get_odg, get_odg_bin=get_odg_bin, delay_profile=SCRIPTS_DIR / "dly_error_profiles" / f"{delay_profile}.dat" if delay_profile else None, )