Commit 509f0c96 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[ci] add tests for mono/stereo spatial upmix split rendering

parent e939cce1
Loading
Loading
Loading
Loading
Loading
+25 −3
Original line number Diff line number Diff line
@@ -78,11 +78,31 @@ RENDERER_CONFIGS_LC3PLUS_CODEC = [
RENDERER_CONFIGS_FASTCONV_RENDERER = [
    str(cfg.stem) for cfg in RENDER_CFG_DIR.glob("*_fastconv.txt")
]
RENDERER_CONFIGS_DEFAULT_CODEC_UPMIX = [
    str(cfg.stem)
    for cfg in RENDER_CFG_DIR.joinpath("mono_stereo_upmix").glob("*_default.txt")
]
RENDERER_CONFIGS_LCLD_CODEC_UPMIX = [
    str(cfg.stem)
    for cfg in RENDER_CFG_DIR.joinpath("mono_stereo_upmix").glob("*_lcld.txt")
]

RENDERER_CONFIGS_FRAMING = [
    str(cfg.stem) for cfg in RENDER_FRAMING_CFG_DIR.glob("framing*.txt")
]

RENDERER_CONFIGS_TO_TEST_MONO = [
    cfg for cfg in RENDERER_CONFIGS_DEFAULT_CODEC_UPMIX if "mono_upmix" in cfg
] + [
    cfg for cfg in RENDERER_CONFIGS_LCLD_CODEC_UPMIX if "mono_upmix" in cfg
]

RENDERER_CONFIGS_TO_TEST_STEREO = [
    cfg for cfg in RENDERER_CONFIGS_DEFAULT_CODEC_UPMIX if "stereo_upmix" in cfg
] + [
    cfg for cfg in RENDERER_CONFIGS_LCLD_CODEC_UPMIX if "stereo_upmix" in cfg
]

RENDERER_CONFIGS_TO_TEST_AMBI = (
    RENDERER_CONFIGS_DEFAULT_CODEC + RENDERER_CONFIGS_LC3PLUS_CODEC
)
@@ -112,8 +132,8 @@ SPLIT_REND_HR_TRAJECTORIES_TO_TEST = [

""" IVAS specific constants """
FORMAT_TO_IVAS_COD_FORMAT = {
    "MONO": "",
    "STEREO": "-stereo",
    "MONO": [],
    "STEREO": ["-stereo"],
    "ISM1": ["-ism", "1"],
    "ISM2": ["-ism", "2"],
    "ISM3": ["-ism", "3"],
@@ -151,6 +171,7 @@ FORMAT_TO_IVAS_COD_FORMAT = {
}

INPUT_FORMATS_AMBI_SPLIT_REND = ["FOA", "HOA3"]
INPUT_FORMATS_MONO_STEREO_SPLIT_REND = ["MONO", "STEREO"]
INPUT_FORMATS_MC_SPLIT_REND = ["5_1", "7_1_4"]
INPUT_FORMATS_ISM_SPLIT_REND = ["ISM4"]
INPUT_FORMATS_MASA_SPLIT_REND = ["MASA1", "MASA2"]
@@ -161,6 +182,7 @@ INPUT_FORMATS_OSBA_SPLIT_REND = [
]

IVAS_BITRATES_AMBI = ["80000", "512000"]
IVAS_BITRATES_MONO_STEREO = ["32000"]
IVAS_BITRATES_MC = ["128000", "160000", "384000"]
IVAS_BITRATES_ISM = ["128000"]
IVAS_BITRATES_MASA = ["24400", "128000"]
+9 −0
Original line number Diff line number Diff line
[SPLITREND]
BITRATE = 256000;
DOF = 0;
HQMODE = 0;

[MSUPMIX]
AZIMUTH = [ 0, 0 ];
ELEVATION = [ 0, 0 ];
RADIUS = 1;
 No newline at end of file
+9 −0
Original line number Diff line number Diff line
[SPLITREND]
BITRATE = 320000;
DOF = 0;
HQMODE = 0;

[MSUPMIX]
AZIMUTH = [ 0, 0 ];
ELEVATION = [ 0, 0 ];
RADIUS = 1;
 No newline at end of file
+9 −0
Original line number Diff line number Diff line
[SPLITREND]
BITRATE = 384000;
DOF = 0;
HQMODE = 0;

[MSUPMIX]
AZIMUTH = [ 0, 0 ];
ELEVATION = [ 0, 0 ];
RADIUS = 1;
 No newline at end of file
+9 −0
Original line number Diff line number Diff line
[SPLITREND]
BITRATE = 512000;
DOF = 0;
HQMODE = 0;

[MSUPMIX]
AZIMUTH = [ 0, 0 ];
ELEVATION = [ 0, 0 ];
RADIUS = 1;
 No newline at end of file
Loading