Commit 327f4818 authored by TYAGIRIS's avatar TYAGIRIS
Browse files

adding post renderer EXE support and updates to YML config files

parent d7e2c4d6
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -78,8 +78,9 @@ conditions_to_generate:
            fmt: "BINAURAL_SPLIT_CODED"
        split_rend:
            fmt: "BINAURAL"
            bitrate: 512000
            bitrate: 768000
            dof: 3
            hqmode: 1

################################################
### Post-processing
+2 −1
Original line number Diff line number Diff line
@@ -82,8 +82,9 @@ conditions_to_generate:
            fmt: "BINAURAL_SPLIT_CODED"
        split_rend:
            fmt: "BINAURAL"
            bitrate: 512000
            bitrate: 768000
            dof: 3
            hqmode: 1

################################################
### Post-processing
+2 −1
Original line number Diff line number Diff line
@@ -78,8 +78,9 @@ conditions_to_generate:
            fmt: "BINAURAL_SPLIT_CODED"
        split_rend:
            fmt: "BINAURAL"
            bitrate: 512000
            bitrate: 768000
            dof: 3
            hqmode: 1

################################################
### Post-processing
+2 −1
Original line number Diff line number Diff line
@@ -78,8 +78,9 @@ conditions_to_generate:
            fmt: "BINAURAL_SPLIT_CODED"
        split_rend:
            fmt: "BINAURAL"
            bitrate: 512000
            bitrate: 768000
            dof: 3
            hqmode: 1

################################################
### Post-processing
+8 −3
Original line number Diff line number Diff line
@@ -69,13 +69,18 @@ def merge_dicts(base: dict, other: dict) -> None:

def get_default_config_for_codecs(codec_name: str, ext_with_dot: str = "") -> dict:
    is_transcoding = "transcoding" in codec_name
    is_splitrend = "split_rend" in codec_name
    is_splitrend = "ISAR" in codec_name

    if is_splitrend:
        post_rend_name = codec_name.split(" ")[1]
        post_rend_bin = f"{post_rend_name}_post_rend{ext_with_dot}"

    codec_name = codec_name.split(" ")[0]
    cod_bin = f"{codec_name}_cod{ext_with_dot}"
    dec_bin = f"{codec_name}_dec{ext_with_dot}"
    rend_bin = f"{codec_name}_rend{ext_with_dot}"


    cfg = {
        "cod": {
            "bin": find_binary(cod_bin, raise_error=False),
@@ -93,7 +98,7 @@ def get_default_config_for_codecs(codec_name: str, ext_with_dot: str = "") -> di
        }
    if is_splitrend:
        cfg["split_rend"] = {
            "bin": find_binary(rend_bin, raise_error=False),
            "bin": find_binary(post_rend_bin, raise_error=False),
        }
    return cfg

@@ -273,7 +278,7 @@ class TestConfig:
                    )
            elif type.startswith("ivas_split_rend"):
                merged_cfg = get_default_config_for_codecs(
                    "IVAS split_rend", codec_bin_extension
                    "IVAS ISAR", codec_bin_extension
                )
                merge_dicts(merged_cfg, cond_cfg)
                cfg["conditions_to_generate"][cond_name] = merged_cfg
Loading