Commit d4135b90 authored by Ke Zhao's avatar Ke Zhao
Browse files

Add split rendering PLC tests using HOA3 and FastConv renderer

parent 0e1f1bbc
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ from pathlib import Path
""" Set up paths """
TESTS_DIR = Path(__file__).parent
RENDER_CFG_DIR = TESTS_DIR.joinpath("renderer_configs").resolve()
ERROR_PATTERNS_DIR = TESTS_DIR.joinpath("error_patterns").resolve()

OUTPUT_PATH_REF = TESTS_DIR.joinpath("ref")
OUTPUT_PATH_CUT = TESTS_DIR.joinpath("cut")
@@ -70,6 +71,9 @@ RENDERER_CONFIGS_LCLD_CODEC = [
RENDERER_CONFIGS_LC3PLUS_CODEC = [
    str(cfg.stem) for cfg in RENDER_CFG_DIR.glob("*_lc3plus.txt")
]
RENDERER_CONFIGS_FASTCONV_RENDERER = [
    str(cfg.stem) for cfg in RENDER_CFG_DIR.glob("*_fastconv.txt")
]

RENDERER_CONFIGS_TO_TEST_AMBI = (
    RENDERER_CONFIGS_DEFAULT_CODEC + RENDERER_CONFIGS_LC3PLUS_CODEC
@@ -83,6 +87,7 @@ RENDERER_CONFIGS_TO_TEST_ISM = (
RENDERER_CONFIGS_TO_TEST_MASA = (
    RENDERER_CONFIGS_DEFAULT_CODEC + RENDERER_CONFIGS_LC3PLUS_CODEC
)
RENDERER_CONFIGS_TO_TEST_PLC = RENDERER_CONFIGS_FASTCONV_RENDERER

""" IVAS specific constants """
FORMAT_TO_IVAS_COD_FORMAT = {
@@ -137,6 +142,9 @@ IVAS_MAX_ISM_BITRATE = {

INPUT_DURATION_SEC = 5

""" PLC constants """
PLC_ERROR_PATTERNS = [str(ep.stem) for ep in ERROR_PATTERNS_DIR.glob("*.ep")]

""" Encoder commandline template """
SPLIT_PRE_COD_CMD = [
    str(TESTS_DIR.parent.parent.joinpath("IVAS_cod")),
+1.91 MiB

File added.

No diff preview for this file type.

+1.91 MiB

File added.

No diff preview for this file type.

+1.91 MiB

File added.

No diff preview for this file type.

+1.91 MiB

File added.

No diff preview for this file type.

Loading