Commit 81750fdb authored by sagnowski's avatar sagnowski
Browse files

Reintroduce new pytest conditions

This reverts commit 5236c1e7.
parent 7e3127de
Loading
Loading
Loading
Loading
Loading
+16 −3
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@ from tests.renderer.constants import (
""" Set up paths """
TESTS_DIR = Path(__file__).parent
RENDER_CFG_DIR = TESTS_DIR.joinpath("renderer_configs").resolve()
RENDER_FRAMING_CFG_DIR = TESTS_DIR.joinpath("renderer_configs").joinpath("framing").resolve()
ERROR_PATTERNS_DIR = TESTS_DIR.joinpath("error_patterns").resolve()

OUTPUT_PATH_REF = TESTS_DIR.joinpath("ref")
@@ -69,6 +70,10 @@ RENDERER_CONFIGS_FASTCONV_RENDERER = [
    str(cfg.stem) for cfg in RENDER_CFG_DIR.glob("*_fastconv.txt")
]

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

RENDERER_CONFIGS_TO_TEST_AMBI = (
    RENDERER_CONFIGS_DEFAULT_CODEC + RENDERER_CONFIGS_LC3PLUS_CODEC
)
@@ -159,6 +164,8 @@ IVAS_MAX_ISM_BITRATE = {
}

RENDERER_FORMATS = ["BINAURAL_SPLIT_CODED", "BINAURAL_SPLIT_PCM"]
SPLIT_RENDERER_PRE_FRAMINGS = ["5", "10", "20"]
SPLIT_RENDERER_POST_FRAMINGS = ["5", "10", "20"]

INPUT_DURATION_SEC = 5

@@ -181,10 +188,12 @@ SPLIT_PRE_DEC_CMD = [
    "",  # 2 -> pre-trajectory file
    "-render_config",
    "",  # 4 -> render config file
    "",  # 5 -> renderer format
    "-fr",
    "",  # 6 -> pre_rend_fs
    "",  # 7 -> renderer format
    "48",
    "",  # 7 -> encoder bitstream
    "",  # 8 -> split rendering bitstream
    "",  # 9 -> encoder bitstream
    "",  # 10 -> split rendering bitstream
]

""" Split-pre Renderer commandline template """
@@ -204,6 +213,8 @@ SPLIT_PRE_REND_CMD = [
    "",  # 12 -> renderer format
    "-T",
    "",  # 14 -> post-trajectory file
    "-fr",
    "",  # 16 -> pre rend framing
]

""" Split-post Renderer commandline template """
@@ -219,4 +230,6 @@ SPLIT_POST_REND_CMD = [
    "",  # 8 -> output file
    "-T",
    "",  # 10 -> post-trajectory file
    "-fr",
    "",  # 12 -> frame size
]
+6 −0
Original line number Diff line number Diff line
[SPLITREND]
BITRATE = 256000;
DOF = 0;
HQMODE = 0;
FRAMESIZE = 10;
CODEC = LC3PLUS;
+6 −0
Original line number Diff line number Diff line
[SPLITREND]
BITRATE = 256000;
DOF = 0;
HQMODE = 0;
FRAMESIZE = 5;
CODEC = LC3PLUS;
+7 −0
Original line number Diff line number Diff line
[SPLITREND]
BITRATE = 384000;
DOF = 1;
HQMODE = 0;
FRAMESIZE = 10;
CODEC = LC3PLUS;
+7 −0
Original line number Diff line number Diff line
[SPLITREND]
BITRATE = 384000;
DOF = 1;
HQMODE = 0;
FRAMESIZE = 5;
CODEC = LC3PLUS;
Loading