////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
// All Rights Reserved.
// Confidential and Proprietary - Qualcomm Technologies, Inc.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// THIS IS AUTO-GENERATED CODE.  PLEASE DO NOT EDIT (File bug reports against tools).
///
/// Auto-generated by: Parameter Parser V5.5.1 (2411131018)
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// @file  dpp_1_1_1.cpp
/// @brief Auto-generated Chromatix parameter file
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

#include "dpp_1_1_1.h"
#include "parametersetmanager.h"

DPP_1_1_1_NAMESPACE_BEGIN

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// SetValue/GetValue Functions
/// Gets or sets the requested value
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatix_dpp11_reserveType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "reserved_param_1_tab") == 0)
    {
        __result = reserved_param_1_tab.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_2_tab") == 0)
    {
        __result = reserved_param_2_tab.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_3") == 0)
    {
        ParameterUtils::DoubleToString((double)reserved_param_3, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_4") == 0)
    {
        ParameterUtils::DoubleToString((double)reserved_param_4, __value, __size);
        __result = true;
    }

    return __result;
}

bool chromatix_dpp11_reserveType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "reserved_param_1_tab") == 0)
    {
        __result = reserved_param_1_tab.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_2_tab") == 0)
    {
        __result = reserved_param_2_tab.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_3") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            reserved_param_3 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_4") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            reserved_param_4 = (float)dblValue; 
        }
    }

    return __result;
}

bool chromatix_dpp11_reserveType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // reserved_param_1_tab
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("reserved_param_1_tab", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_1_tab") == 0)
    {
        __result = reserved_param_1_tab.GetInfo(&__path[__pos], __info);
    }

    // reserved_param_2_tab
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("reserved_param_2_tab", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_2_tab") == 0)
    {
        __result = reserved_param_2_tab.GetInfo(&__path[__pos], __info);
    }

    // reserved_param_3
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("reserved_param_3", ParameterParserDataType::Float, (double)reserved_param_3));
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_3") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)reserved_param_3));
    }

    // reserved_param_4
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("reserved_param_4", ParameterParserDataType::Float, (double)reserved_param_4));
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_4") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)reserved_param_4));
    }

    return __result;
}

bool chromatix_dpp11_reserveType::reserved_param_1_tabStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "reserved_param_1") == 0)
    {
        if (__index < 99)
        {
            ParameterUtils::DoubleToString((double)reserved_param_1[__index], __value, __size);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < 99; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)reserved_param_1[i], &__value[__valuePos], (INT32)(__size - __valuePos));
            }
            __result = true;
        }
    }

    return __result;
}

bool chromatix_dpp11_reserveType::reserved_param_1_tabStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "reserved_param_1") == 0)
    {
        if (__index < 99)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                reserved_param_1[__index] = (float)dblValue; 
            }
        }
        else
        {
            SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __pos = 0;

            __index = 0;
            while (__pos < __valueLen && __index < 99)
            {
                CHAR __valueStr[MAX_SIZE];

                __pos += ParameterUtils::GetSubString(&__value[__pos], ',', __valueStr, MAX_SIZE);
                __pos++;

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    reserved_param_1[__index] = (float)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }

    return __result;
}

bool chromatix_dpp11_reserveType::reserved_param_1_tabStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // reserved_param_1
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("reserved_param_1", ParameterParserDataType::Float, true, false, 99));
    }

    return __result;
}

bool chromatix_dpp11_reserveType::reserved_param_2_tabStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "reserved_param_2") == 0)
    {
        if (__index < 99)
        {
            ParameterUtils::DoubleToString((double)reserved_param_2[__index], __value, __size);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < 99; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)reserved_param_2[i], &__value[__valuePos], (INT32)(__size - __valuePos));
            }
            __result = true;
        }
    }

    return __result;
}

bool chromatix_dpp11_reserveType::reserved_param_2_tabStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "reserved_param_2") == 0)
    {
        if (__index < 99)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                reserved_param_2[__index] = (float)dblValue; 
            }
        }
        else
        {
            SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __pos = 0;

            __index = 0;
            while (__pos < __valueLen && __index < 99)
            {
                CHAR __valueStr[MAX_SIZE];

                __pos += ParameterUtils::GetSubString(&__value[__pos], ',', __valueStr, MAX_SIZE);
                __pos++;

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    reserved_param_2[__index] = (float)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }

    return __result;
}

bool chromatix_dpp11_reserveType::reserved_param_2_tabStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // reserved_param_2
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("reserved_param_2", ParameterParserDataType::Float, true, false, 99));
    }

    return __result;
}

bool dpp11_rgn_dataType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "reserved_param_5") == 0)
    {
        ParameterUtils::DoubleToString((double)reserved_param_5, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_6") == 0)
    {
        ParameterUtils::DoubleToString((double)reserved_param_6, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_7_tab") == 0)
    {
        __result = reserved_param_7_tab.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_8_tab") == 0)
    {
        __result = reserved_param_8_tab.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_9") == 0)
    {
        ParameterUtils::DoubleToString((double)reserved_param_9, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_10") == 0)
    {
        ParameterUtils::DoubleToString((double)reserved_param_10, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_11") == 0)
    {
        ParameterUtils::DoubleToString((double)reserved_param_11, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_12") == 0)
    {
        ParameterUtils::DoubleToString((double)reserved_param_12, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "common_params") == 0)
    {
        __result = common_params.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "holes_fill_and_spatial") == 0)
    {
        __result = holes_fill_and_spatial.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "tnr") == 0)
    {
        __result = tnr.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool dpp11_rgn_dataType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "reserved_param_5") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            reserved_param_5 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_6") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            reserved_param_6 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_7_tab") == 0)
    {
        __result = reserved_param_7_tab.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_8_tab") == 0)
    {
        __result = reserved_param_8_tab.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_9") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            reserved_param_9 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_10") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            reserved_param_10 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_11") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            reserved_param_11 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_12") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            reserved_param_12 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "common_params") == 0)
    {
        __result = common_params.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "holes_fill_and_spatial") == 0)
    {
        __result = holes_fill_and_spatial.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "tnr") == 0)
    {
        __result = tnr.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool dpp11_rgn_dataType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // reserved_param_5
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("reserved_param_5", ParameterParserDataType::Float, (double)reserved_param_5));
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_5") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)reserved_param_5));
    }

    // reserved_param_6
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("reserved_param_6", ParameterParserDataType::UInt32, (double)reserved_param_6, 0));
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_6") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)reserved_param_6, 0));
    }

    // reserved_param_7_tab
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("reserved_param_7_tab", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_7_tab") == 0)
    {
        __result = reserved_param_7_tab.GetInfo(&__path[__pos], __info);
    }

    // reserved_param_8_tab
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("reserved_param_8_tab", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_8_tab") == 0)
    {
        __result = reserved_param_8_tab.GetInfo(&__path[__pos], __info);
    }

    // reserved_param_9
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("reserved_param_9", ParameterParserDataType::UInt32, (double)reserved_param_9, 0));
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_9") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)reserved_param_9, 0));
    }

    // reserved_param_10
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("reserved_param_10", ParameterParserDataType::UInt32, (double)reserved_param_10, 0));
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_10") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)reserved_param_10, 0));
    }

    // reserved_param_11
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("reserved_param_11", ParameterParserDataType::Float, (double)reserved_param_11));
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_11") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)reserved_param_11));
    }

    // reserved_param_12
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("reserved_param_12", ParameterParserDataType::Float, (double)reserved_param_12));
    }
    else if (PARAMETER_STRCMP(__name, "reserved_param_12") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)reserved_param_12));
    }

    // common_params
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("common_params", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "common_params") == 0)
    {
        __result = common_params.GetInfo(&__path[__pos], __info);
    }

    // holes_fill_and_spatial
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("holes_fill_and_spatial", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "holes_fill_and_spatial") == 0)
    {
        __result = holes_fill_and_spatial.GetInfo(&__path[__pos], __info);
    }

    // tnr
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("tnr", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "tnr") == 0)
    {
        __result = tnr.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool dpp11_rgn_dataType::reserved_param_7_tabStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "reserved_param_7") == 0)
    {
        if (__index < 4)
        {
            ParameterUtils::DoubleToString((double)reserved_param_7[__index], __value, __size, 0);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < 4; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)reserved_param_7[i], &__value[__valuePos], (INT32)(__size - __valuePos), 0);
            }
            __result = true;
        }
    }

    return __result;
}

bool dpp11_rgn_dataType::reserved_param_7_tabStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "reserved_param_7") == 0)
    {
        if (__index < 4)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                reserved_param_7[__index] = (float)dblValue; 
            }
        }
        else
        {
            SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __pos = 0;

            __index = 0;
            while (__pos < __valueLen && __index < 4)
            {
                CHAR __valueStr[MAX_SIZE];

                __pos += ParameterUtils::GetSubString(&__value[__pos], ',', __valueStr, MAX_SIZE);
                __pos++;

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    reserved_param_7[__index] = (float)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }

    return __result;
}

bool dpp11_rgn_dataType::reserved_param_7_tabStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // reserved_param_7
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("reserved_param_7", ParameterParserDataType::UInt32, true, false, 4));
    }

    return __result;
}

bool dpp11_rgn_dataType::reserved_param_8_tabStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "reserved_param_8") == 0)
    {
        if (__index < 10)
        {
            ParameterUtils::DoubleToString((double)reserved_param_8[__index], __value, __size);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < 10; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)reserved_param_8[i], &__value[__valuePos], (INT32)(__size - __valuePos));
            }
            __result = true;
        }
    }

    return __result;
}

bool dpp11_rgn_dataType::reserved_param_8_tabStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "reserved_param_8") == 0)
    {
        if (__index < 10)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                reserved_param_8[__index] = (float)dblValue; 
            }
        }
        else
        {
            SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __pos = 0;

            __index = 0;
            while (__pos < __valueLen && __index < 10)
            {
                CHAR __valueStr[MAX_SIZE];

                __pos += ParameterUtils::GetSubString(&__value[__pos], ',', __valueStr, MAX_SIZE);
                __pos++;

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    reserved_param_8[__index] = (float)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }

    return __result;
}

bool dpp11_rgn_dataType::reserved_param_8_tabStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // reserved_param_8
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("reserved_param_8", ParameterParserDataType::Float, true, false, 10));
    }

    return __result;
}

bool dpp11_rgn_dataType::common_paramsStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "focus_roi_disp_calc_mode") == 0)
    {
        ParameterUtils::DoubleToString((double)focus_roi_disp_calc_mode, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "focus_roi_disp_calc_param") == 0)
    {
        ParameterUtils::DoubleToString((double)focus_roi_disp_calc_param, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "disp_map_range_factor") == 0)
    {
        ParameterUtils::DoubleToString((double)disp_map_range_factor, __value, __size);
        __result = true;
    }

    return __result;
}

bool dpp11_rgn_dataType::common_paramsStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "focus_roi_disp_calc_mode") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            focus_roi_disp_calc_mode = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "focus_roi_disp_calc_param") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            focus_roi_disp_calc_param = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "disp_map_range_factor") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            disp_map_range_factor = (float)dblValue; 
        }
    }

    return __result;
}

bool dpp11_rgn_dataType::common_paramsStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // focus_roi_disp_calc_mode
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("focus_roi_disp_calc_mode", ParameterParserDataType::UInt32, (double)focus_roi_disp_calc_mode, 0));
    }
    else if (PARAMETER_STRCMP(__name, "focus_roi_disp_calc_mode") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)focus_roi_disp_calc_mode, 0));
    }

    // focus_roi_disp_calc_param
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("focus_roi_disp_calc_param", ParameterParserDataType::UInt32, (double)focus_roi_disp_calc_param, 0));
    }
    else if (PARAMETER_STRCMP(__name, "focus_roi_disp_calc_param") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)focus_roi_disp_calc_param, 0));
    }

    // disp_map_range_factor
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("disp_map_range_factor", ParameterParserDataType::Float, (double)disp_map_range_factor));
    }
    else if (PARAMETER_STRCMP(__name, "disp_map_range_factor") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)disp_map_range_factor));
    }

    return __result;
}

bool dpp11_rgn_dataType::holes_fill_and_spatialStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "spatial_filter_en") == 0)
    {
        ParameterUtils::DoubleToString((double)spatial_filter_en, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "spatial_filter_mode") == 0)
    {
        ParameterUtils::DoubleToString((double)spatial_filter_mode, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "spatial_filter_sigmas_tab") == 0)
    {
        __result = spatial_filter_sigmas_tab.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "spatial_filter_lambdas_tab") == 0)
    {
        __result = spatial_filter_lambdas_tab.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "spatial_filter_num_iterations") == 0)
    {
        ParameterUtils::DoubleToString((double)spatial_filter_num_iterations, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "post_spatial_filter_en") == 0)
    {
        ParameterUtils::DoubleToString((double)post_spatial_filter_en, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "post_spatial_filter_mode") == 0)
    {
        ParameterUtils::DoubleToString((double)post_spatial_filter_mode, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "hf_en") == 0)
    {
        ParameterUtils::DoubleToString((double)hf_en, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "hf_mode") == 0)
    {
        ParameterUtils::DoubleToString((double)hf_mode, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "hf_lambda") == 0)
    {
        ParameterUtils::DoubleToString((double)hf_lambda, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "hf_sigma") == 0)
    {
        ParameterUtils::DoubleToString((double)hf_sigma, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "hf_conf_low_thresh") == 0)
    {
        ParameterUtils::DoubleToString((double)hf_conf_low_thresh, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "hf_conf_high_thresh") == 0)
    {
        ParameterUtils::DoubleToString((double)hf_conf_high_thresh, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "hf_conf_hist_low") == 0)
    {
        ParameterUtils::DoubleToString((double)hf_conf_hist_low, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "hf_conf_hist_high") == 0)
    {
        ParameterUtils::DoubleToString((double)hf_conf_hist_high, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "hf_conf_hist_close_hor") == 0)
    {
        ParameterUtils::DoubleToString((double)hf_conf_hist_close_hor, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "hf_conf_hist_close_ver") == 0)
    {
        ParameterUtils::DoubleToString((double)hf_conf_hist_close_ver, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "hf_and_spatial_chroma_saturation_factor") == 0)
    {
        ParameterUtils::DoubleToString((double)hf_and_spatial_chroma_saturation_factor, __value, __size);
        __result = true;
    }

    return __result;
}

bool dpp11_rgn_dataType::holes_fill_and_spatialStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "spatial_filter_en") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            spatial_filter_en = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "spatial_filter_mode") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            spatial_filter_mode = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "spatial_filter_sigmas_tab") == 0)
    {
        __result = spatial_filter_sigmas_tab.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "spatial_filter_lambdas_tab") == 0)
    {
        __result = spatial_filter_lambdas_tab.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "spatial_filter_num_iterations") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            spatial_filter_num_iterations = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "post_spatial_filter_en") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            post_spatial_filter_en = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "post_spatial_filter_mode") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            post_spatial_filter_mode = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "hf_en") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            hf_en = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "hf_mode") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            hf_mode = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "hf_lambda") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            hf_lambda = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "hf_sigma") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            hf_sigma = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "hf_conf_low_thresh") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            hf_conf_low_thresh = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "hf_conf_high_thresh") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            hf_conf_high_thresh = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "hf_conf_hist_low") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            hf_conf_hist_low = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "hf_conf_hist_high") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            hf_conf_hist_high = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "hf_conf_hist_close_hor") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            hf_conf_hist_close_hor = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "hf_conf_hist_close_ver") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            hf_conf_hist_close_ver = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "hf_and_spatial_chroma_saturation_factor") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            hf_and_spatial_chroma_saturation_factor = (float)dblValue; 
        }
    }

    return __result;
}

bool dpp11_rgn_dataType::holes_fill_and_spatialStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // spatial_filter_en
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("spatial_filter_en", ParameterParserDataType::UInt32, (double)spatial_filter_en, 0));
    }
    else if (PARAMETER_STRCMP(__name, "spatial_filter_en") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)spatial_filter_en, 0));
    }

    // spatial_filter_mode
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("spatial_filter_mode", ParameterParserDataType::UInt32, (double)spatial_filter_mode, 0));
    }
    else if (PARAMETER_STRCMP(__name, "spatial_filter_mode") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)spatial_filter_mode, 0));
    }

    // spatial_filter_sigmas_tab
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("spatial_filter_sigmas_tab", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "spatial_filter_sigmas_tab") == 0)
    {
        __result = spatial_filter_sigmas_tab.GetInfo(&__path[__pos], __info);
    }

    // spatial_filter_lambdas_tab
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("spatial_filter_lambdas_tab", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "spatial_filter_lambdas_tab") == 0)
    {
        __result = spatial_filter_lambdas_tab.GetInfo(&__path[__pos], __info);
    }

    // spatial_filter_num_iterations
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("spatial_filter_num_iterations", ParameterParserDataType::UInt32, (double)spatial_filter_num_iterations, 0));
    }
    else if (PARAMETER_STRCMP(__name, "spatial_filter_num_iterations") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)spatial_filter_num_iterations, 0));
    }

    // post_spatial_filter_en
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("post_spatial_filter_en", ParameterParserDataType::UInt32, (double)post_spatial_filter_en, 0));
    }
    else if (PARAMETER_STRCMP(__name, "post_spatial_filter_en") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)post_spatial_filter_en, 0));
    }

    // post_spatial_filter_mode
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("post_spatial_filter_mode", ParameterParserDataType::UInt32, (double)post_spatial_filter_mode, 0));
    }
    else if (PARAMETER_STRCMP(__name, "post_spatial_filter_mode") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)post_spatial_filter_mode, 0));
    }

    // hf_en
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("hf_en", ParameterParserDataType::UInt32, (double)hf_en, 0));
    }
    else if (PARAMETER_STRCMP(__name, "hf_en") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)hf_en, 0));
    }

    // hf_mode
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("hf_mode", ParameterParserDataType::UInt32, (double)hf_mode, 0));
    }
    else if (PARAMETER_STRCMP(__name, "hf_mode") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)hf_mode, 0));
    }

    // hf_lambda
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("hf_lambda", ParameterParserDataType::Float, (double)hf_lambda));
    }
    else if (PARAMETER_STRCMP(__name, "hf_lambda") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)hf_lambda));
    }

    // hf_sigma
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("hf_sigma", ParameterParserDataType::Float, (double)hf_sigma));
    }
    else if (PARAMETER_STRCMP(__name, "hf_sigma") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)hf_sigma));
    }

    // hf_conf_low_thresh
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("hf_conf_low_thresh", ParameterParserDataType::UInt32, (double)hf_conf_low_thresh, 0));
    }
    else if (PARAMETER_STRCMP(__name, "hf_conf_low_thresh") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)hf_conf_low_thresh, 0));
    }

    // hf_conf_high_thresh
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("hf_conf_high_thresh", ParameterParserDataType::UInt32, (double)hf_conf_high_thresh, 0));
    }
    else if (PARAMETER_STRCMP(__name, "hf_conf_high_thresh") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)hf_conf_high_thresh, 0));
    }

    // hf_conf_hist_low
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("hf_conf_hist_low", ParameterParserDataType::Float, (double)hf_conf_hist_low));
    }
    else if (PARAMETER_STRCMP(__name, "hf_conf_hist_low") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)hf_conf_hist_low));
    }

    // hf_conf_hist_high
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("hf_conf_hist_high", ParameterParserDataType::Float, (double)hf_conf_hist_high));
    }
    else if (PARAMETER_STRCMP(__name, "hf_conf_hist_high") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)hf_conf_hist_high));
    }

    // hf_conf_hist_close_hor
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("hf_conf_hist_close_hor", ParameterParserDataType::UInt32, (double)hf_conf_hist_close_hor, 0));
    }
    else if (PARAMETER_STRCMP(__name, "hf_conf_hist_close_hor") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)hf_conf_hist_close_hor, 0));
    }

    // hf_conf_hist_close_ver
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("hf_conf_hist_close_ver", ParameterParserDataType::UInt32, (double)hf_conf_hist_close_ver, 0));
    }
    else if (PARAMETER_STRCMP(__name, "hf_conf_hist_close_ver") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)hf_conf_hist_close_ver, 0));
    }

    // hf_and_spatial_chroma_saturation_factor
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("hf_and_spatial_chroma_saturation_factor", ParameterParserDataType::Float, (double)hf_and_spatial_chroma_saturation_factor));
    }
    else if (PARAMETER_STRCMP(__name, "hf_and_spatial_chroma_saturation_factor") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)hf_and_spatial_chroma_saturation_factor));
    }

    return __result;
}

bool dpp11_rgn_dataType::holes_fill_and_spatialStruct::spatial_filter_sigmas_tabStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "spatial_filter_sigmas") == 0)
    {
        if (__index < 4)
        {
            ParameterUtils::DoubleToString((double)spatial_filter_sigmas[__index], __value, __size);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < 4; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)spatial_filter_sigmas[i], &__value[__valuePos], (INT32)(__size - __valuePos));
            }
            __result = true;
        }
    }

    return __result;
}

bool dpp11_rgn_dataType::holes_fill_and_spatialStruct::spatial_filter_sigmas_tabStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "spatial_filter_sigmas") == 0)
    {
        if (__index < 4)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                spatial_filter_sigmas[__index] = (float)dblValue; 
            }
        }
        else
        {
            SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __pos = 0;

            __index = 0;
            while (__pos < __valueLen && __index < 4)
            {
                CHAR __valueStr[MAX_SIZE];

                __pos += ParameterUtils::GetSubString(&__value[__pos], ',', __valueStr, MAX_SIZE);
                __pos++;

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    spatial_filter_sigmas[__index] = (float)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }

    return __result;
}

bool dpp11_rgn_dataType::holes_fill_and_spatialStruct::spatial_filter_sigmas_tabStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // spatial_filter_sigmas
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("spatial_filter_sigmas", ParameterParserDataType::Float, true, false, 4));
    }

    return __result;
}

bool dpp11_rgn_dataType::holes_fill_and_spatialStruct::spatial_filter_lambdas_tabStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "spatial_filter_lambdas") == 0)
    {
        if (__index < 4)
        {
            ParameterUtils::DoubleToString((double)spatial_filter_lambdas[__index], __value, __size);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < 4; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)spatial_filter_lambdas[i], &__value[__valuePos], (INT32)(__size - __valuePos));
            }
            __result = true;
        }
    }

    return __result;
}

bool dpp11_rgn_dataType::holes_fill_and_spatialStruct::spatial_filter_lambdas_tabStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "spatial_filter_lambdas") == 0)
    {
        if (__index < 4)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                spatial_filter_lambdas[__index] = (float)dblValue; 
            }
        }
        else
        {
            SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __pos = 0;

            __index = 0;
            while (__pos < __valueLen && __index < 4)
            {
                CHAR __valueStr[MAX_SIZE];

                __pos += ParameterUtils::GetSubString(&__value[__pos], ',', __valueStr, MAX_SIZE);
                __pos++;

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    spatial_filter_lambdas[__index] = (float)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }

    return __result;
}

bool dpp11_rgn_dataType::holes_fill_and_spatialStruct::spatial_filter_lambdas_tabStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // spatial_filter_lambdas
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("spatial_filter_lambdas", ParameterParserDataType::Float, true, false, 4));
    }

    return __result;
}

bool dpp11_rgn_dataType::tnrStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "tnr_en") == 0)
    {
        ParameterUtils::DoubleToString((double)tnr_en, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "tnr_mode") == 0)
    {
        ParameterUtils::DoubleToString((double)tnr_mode, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "alpha_lut_tab") == 0)
    {
        __result = alpha_lut_tab.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "luma_noise_low_thr_lut_tab") == 0)
    {
        __result = luma_noise_low_thr_lut_tab.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "luma_noise_high_thr_lut_tab") == 0)
    {
        __result = luma_noise_high_thr_lut_tab.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "alpha_post_calc_win_size") == 0)
    {
        ParameterUtils::DoubleToString((double)alpha_post_calc_win_size, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "alpha_post_calc_filter_sigma") == 0)
    {
        ParameterUtils::DoubleToString((double)alpha_post_calc_filter_sigma, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "diff_im_filter_win_size") == 0)
    {
        ParameterUtils::DoubleToString((double)diff_im_filter_win_size, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "diff_im_filter_sigma_luma") == 0)
    {
        ParameterUtils::DoubleToString((double)diff_im_filter_sigma_luma, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "diff_im_filter_sigma_chroma") == 0)
    {
        ParameterUtils::DoubleToString((double)diff_im_filter_sigma_chroma, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "chroma_noise_factor") == 0)
    {
        ParameterUtils::DoubleToString((double)chroma_noise_factor, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "boundary_treatment_mode") == 0)
    {
        ParameterUtils::DoubleToString((double)boundary_treatment_mode, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "luma_avg_filter_win_size") == 0)
    {
        ParameterUtils::DoubleToString((double)luma_avg_filter_win_size, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "tnr_chroma_saturation_factor") == 0)
    {
        ParameterUtils::DoubleToString((double)tnr_chroma_saturation_factor, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "diff_map_filter_win_size") == 0)
    {
        ParameterUtils::DoubleToString((double)diff_map_filter_win_size, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "diff_map_alpha_factor_max") == 0)
    {
        ParameterUtils::DoubleToString((double)diff_map_alpha_factor_max, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "diff_map_thr_low") == 0)
    {
        ParameterUtils::DoubleToString((double)diff_map_thr_low, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "diff_map_thr_high") == 0)
    {
        ParameterUtils::DoubleToString((double)diff_map_thr_high, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool dpp11_rgn_dataType::tnrStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "tnr_en") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            tnr_en = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "tnr_mode") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            tnr_mode = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "alpha_lut_tab") == 0)
    {
        __result = alpha_lut_tab.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "luma_noise_low_thr_lut_tab") == 0)
    {
        __result = luma_noise_low_thr_lut_tab.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "luma_noise_high_thr_lut_tab") == 0)
    {
        __result = luma_noise_high_thr_lut_tab.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "alpha_post_calc_win_size") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            alpha_post_calc_win_size = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "alpha_post_calc_filter_sigma") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            alpha_post_calc_filter_sigma = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "diff_im_filter_win_size") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            diff_im_filter_win_size = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "diff_im_filter_sigma_luma") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            diff_im_filter_sigma_luma = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "diff_im_filter_sigma_chroma") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            diff_im_filter_sigma_chroma = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "chroma_noise_factor") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            chroma_noise_factor = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "boundary_treatment_mode") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            boundary_treatment_mode = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "luma_avg_filter_win_size") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            luma_avg_filter_win_size = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "tnr_chroma_saturation_factor") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            tnr_chroma_saturation_factor = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "diff_map_filter_win_size") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            diff_map_filter_win_size = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "diff_map_alpha_factor_max") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            diff_map_alpha_factor_max = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "diff_map_thr_low") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            diff_map_thr_low = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "diff_map_thr_high") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            diff_map_thr_high = (float)dblValue; 
        }
    }

    return __result;
}

bool dpp11_rgn_dataType::tnrStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // tnr_en
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("tnr_en", ParameterParserDataType::UInt32, (double)tnr_en, 0));
    }
    else if (PARAMETER_STRCMP(__name, "tnr_en") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)tnr_en, 0));
    }

    // tnr_mode
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("tnr_mode", ParameterParserDataType::UInt32, (double)tnr_mode, 0));
    }
    else if (PARAMETER_STRCMP(__name, "tnr_mode") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)tnr_mode, 0));
    }

    // alpha_lut_tab
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("alpha_lut_tab", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "alpha_lut_tab") == 0)
    {
        __result = alpha_lut_tab.GetInfo(&__path[__pos], __info);
    }

    // luma_noise_low_thr_lut_tab
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("luma_noise_low_thr_lut_tab", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "luma_noise_low_thr_lut_tab") == 0)
    {
        __result = luma_noise_low_thr_lut_tab.GetInfo(&__path[__pos], __info);
    }

    // luma_noise_high_thr_lut_tab
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("luma_noise_high_thr_lut_tab", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "luma_noise_high_thr_lut_tab") == 0)
    {
        __result = luma_noise_high_thr_lut_tab.GetInfo(&__path[__pos], __info);
    }

    // alpha_post_calc_win_size
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("alpha_post_calc_win_size", ParameterParserDataType::UInt32, (double)alpha_post_calc_win_size, 0));
    }
    else if (PARAMETER_STRCMP(__name, "alpha_post_calc_win_size") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)alpha_post_calc_win_size, 0));
    }

    // alpha_post_calc_filter_sigma
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("alpha_post_calc_filter_sigma", ParameterParserDataType::Float, (double)alpha_post_calc_filter_sigma));
    }
    else if (PARAMETER_STRCMP(__name, "alpha_post_calc_filter_sigma") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)alpha_post_calc_filter_sigma));
    }

    // diff_im_filter_win_size
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("diff_im_filter_win_size", ParameterParserDataType::UInt32, (double)diff_im_filter_win_size, 0));
    }
    else if (PARAMETER_STRCMP(__name, "diff_im_filter_win_size") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)diff_im_filter_win_size, 0));
    }

    // diff_im_filter_sigma_luma
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("diff_im_filter_sigma_luma", ParameterParserDataType::Float, (double)diff_im_filter_sigma_luma));
    }
    else if (PARAMETER_STRCMP(__name, "diff_im_filter_sigma_luma") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)diff_im_filter_sigma_luma));
    }

    // diff_im_filter_sigma_chroma
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("diff_im_filter_sigma_chroma", ParameterParserDataType::Float, (double)diff_im_filter_sigma_chroma));
    }
    else if (PARAMETER_STRCMP(__name, "diff_im_filter_sigma_chroma") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)diff_im_filter_sigma_chroma));
    }

    // chroma_noise_factor
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("chroma_noise_factor", ParameterParserDataType::Float, (double)chroma_noise_factor));
    }
    else if (PARAMETER_STRCMP(__name, "chroma_noise_factor") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)chroma_noise_factor));
    }

    // boundary_treatment_mode
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("boundary_treatment_mode", ParameterParserDataType::UInt32, (double)boundary_treatment_mode, 0));
    }
    else if (PARAMETER_STRCMP(__name, "boundary_treatment_mode") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)boundary_treatment_mode, 0));
    }

    // luma_avg_filter_win_size
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("luma_avg_filter_win_size", ParameterParserDataType::UInt32, (double)luma_avg_filter_win_size, 0));
    }
    else if (PARAMETER_STRCMP(__name, "luma_avg_filter_win_size") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)luma_avg_filter_win_size, 0));
    }

    // tnr_chroma_saturation_factor
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("tnr_chroma_saturation_factor", ParameterParserDataType::Float, (double)tnr_chroma_saturation_factor));
    }
    else if (PARAMETER_STRCMP(__name, "tnr_chroma_saturation_factor") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)tnr_chroma_saturation_factor));
    }

    // diff_map_filter_win_size
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("diff_map_filter_win_size", ParameterParserDataType::UInt32, (double)diff_map_filter_win_size, 0));
    }
    else if (PARAMETER_STRCMP(__name, "diff_map_filter_win_size") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)diff_map_filter_win_size, 0));
    }

    // diff_map_alpha_factor_max
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("diff_map_alpha_factor_max", ParameterParserDataType::Float, (double)diff_map_alpha_factor_max));
    }
    else if (PARAMETER_STRCMP(__name, "diff_map_alpha_factor_max") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)diff_map_alpha_factor_max));
    }

    // diff_map_thr_low
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("diff_map_thr_low", ParameterParserDataType::UInt32, (double)diff_map_thr_low, 0));
    }
    else if (PARAMETER_STRCMP(__name, "diff_map_thr_low") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)diff_map_thr_low, 0));
    }

    // diff_map_thr_high
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("diff_map_thr_high", ParameterParserDataType::UInt32, (double)diff_map_thr_high, 0));
    }
    else if (PARAMETER_STRCMP(__name, "diff_map_thr_high") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::UInt32, (double)diff_map_thr_high, 0));
    }

    return __result;
}

bool dpp11_rgn_dataType::tnrStruct::alpha_lut_tabStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "alpha_lut") == 0)
    {
        if (__index < 65)
        {
            ParameterUtils::DoubleToString((double)alpha_lut[__index], __value, __size);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < 65; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)alpha_lut[i], &__value[__valuePos], (INT32)(__size - __valuePos));
            }
            __result = true;
        }
    }

    return __result;
}

bool dpp11_rgn_dataType::tnrStruct::alpha_lut_tabStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "alpha_lut") == 0)
    {
        if (__index < 65)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                alpha_lut[__index] = (float)dblValue; 
            }
        }
        else
        {
            SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __pos = 0;

            __index = 0;
            while (__pos < __valueLen && __index < 65)
            {
                CHAR __valueStr[MAX_SIZE];

                __pos += ParameterUtils::GetSubString(&__value[__pos], ',', __valueStr, MAX_SIZE);
                __pos++;

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    alpha_lut[__index] = (float)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }

    return __result;
}

bool dpp11_rgn_dataType::tnrStruct::alpha_lut_tabStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // alpha_lut
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("alpha_lut", ParameterParserDataType::Float, true, false, 65));
    }

    return __result;
}

bool dpp11_rgn_dataType::tnrStruct::luma_noise_low_thr_lut_tabStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "luma_noise_low_thr_lut") == 0)
    {
        if (__index < 17)
        {
            ParameterUtils::DoubleToString((double)luma_noise_low_thr_lut[__index], __value, __size);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < 17; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)luma_noise_low_thr_lut[i], &__value[__valuePos], (INT32)(__size - __valuePos));
            }
            __result = true;
        }
    }

    return __result;
}

bool dpp11_rgn_dataType::tnrStruct::luma_noise_low_thr_lut_tabStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "luma_noise_low_thr_lut") == 0)
    {
        if (__index < 17)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                luma_noise_low_thr_lut[__index] = (float)dblValue; 
            }
        }
        else
        {
            SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __pos = 0;

            __index = 0;
            while (__pos < __valueLen && __index < 17)
            {
                CHAR __valueStr[MAX_SIZE];

                __pos += ParameterUtils::GetSubString(&__value[__pos], ',', __valueStr, MAX_SIZE);
                __pos++;

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    luma_noise_low_thr_lut[__index] = (float)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }

    return __result;
}

bool dpp11_rgn_dataType::tnrStruct::luma_noise_low_thr_lut_tabStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // luma_noise_low_thr_lut
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("luma_noise_low_thr_lut", ParameterParserDataType::Float, true, false, 17));
    }

    return __result;
}

bool dpp11_rgn_dataType::tnrStruct::luma_noise_high_thr_lut_tabStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "luma_noise_high_thr_lut") == 0)
    {
        if (__index < 17)
        {
            ParameterUtils::DoubleToString((double)luma_noise_high_thr_lut[__index], __value, __size);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < 17; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)luma_noise_high_thr_lut[i], &__value[__valuePos], (INT32)(__size - __valuePos));
            }
            __result = true;
        }
    }

    return __result;
}

bool dpp11_rgn_dataType::tnrStruct::luma_noise_high_thr_lut_tabStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "luma_noise_high_thr_lut") == 0)
    {
        if (__index < 17)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                luma_noise_high_thr_lut[__index] = (float)dblValue; 
            }
        }
        else
        {
            SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __pos = 0;

            __index = 0;
            while (__pos < __valueLen && __index < 17)
            {
                CHAR __valueStr[MAX_SIZE];

                __pos += ParameterUtils::GetSubString(&__value[__pos], ',', __valueStr, MAX_SIZE);
                __pos++;

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    luma_noise_high_thr_lut[__index] = (float)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }

    return __result;
}

bool dpp11_rgn_dataType::tnrStruct::luma_noise_high_thr_lut_tabStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // luma_noise_high_thr_lut
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("luma_noise_high_thr_lut", ParameterParserDataType::Float, true, false, 17));
    }

    return __result;
}

bool triggerType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "start") == 0)
    {
        ParameterUtils::DoubleToString((double)start, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "end") == 0)
    {
        ParameterUtils::DoubleToString((double)end, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "trigger") == 0)
    {
        if (__index < triggerCount)
        {
            __result = trigger[__index].GetValue(&__path[__pos], __value, __size);
        }
    }
    else if (PARAMETER_STRCMP(__name, "region") == 0)
    {
        if (__index < regionCount)
        {
            __result = region[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool triggerType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "start") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            start = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "end") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            end = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "trigger") == 0)
    {
        if (__index < triggerCount)
        {
            __result = trigger[__index].SetValue(&__path[__pos], __value);
        }
    }
    else if (PARAMETER_STRCMP(__name, "region") == 0)
    {
        if (__index < regionCount)
        {
            __result = region[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool triggerType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // start
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("start", ParameterParserDataType::Float, (double)start));
    }
    else if (PARAMETER_STRCMP(__name, "start") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)start));
    }

    // end
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("end", ParameterParserDataType::Float, (double)end));
    }
    else if (PARAMETER_STRCMP(__name, "end") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)end));
    }

    // trigger
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("trigger", ParameterParserDataType::Structure, true, false, triggerCount));
    }
    else if (PARAMETER_STRCMP(__name, "trigger") == 0)
    {
        if (__index < triggerCount)
        {
            __result = trigger[__index].GetInfo(&__path[__pos], __info);
        }
        else
        {
            __result = true;
            __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Structure, true, false, triggerCount));
        }
    }

    // region
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("region", ParameterParserDataType::Structure, true, false, regionCount));
    }
    else if (PARAMETER_STRCMP(__name, "region") == 0)
    {
        if (__index < regionCount)
        {
            __result = region[__index].GetInfo(&__path[__pos], __info);
        }
        else
        {
            __result = true;
            __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Structure, true, false, regionCount));
        }
    }

    return __result;
}

bool chromatix_dpp11_coreType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "mod_dpp11_trigger_data") == 0)
    {
        if (__index < mod_dpp11_trigger_dataCount)
        {
            __result = mod_dpp11_trigger_data[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool chromatix_dpp11_coreType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "mod_dpp11_trigger_data") == 0)
    {
        if (__index < mod_dpp11_trigger_dataCount)
        {
            __result = mod_dpp11_trigger_data[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool chromatix_dpp11_coreType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // mod_dpp11_trigger_data
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("mod_dpp11_trigger_data", ParameterParserDataType::Structure, true, false, mod_dpp11_trigger_dataCount));
    }
    else if (PARAMETER_STRCMP(__name, "mod_dpp11_trigger_data") == 0)
    {
        if (__index < mod_dpp11_trigger_dataCount)
        {
            __result = mod_dpp11_trigger_data[__index].GetInfo(&__path[__pos], __info);
        }
        else
        {
            __result = true;
            __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Structure, true, false, mod_dpp11_trigger_dataCount));
        }
    }

    return __result;
}

bool chromatix_dpp11Type::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "enable_section") == 0)
    {
        __result = enable_section.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "module_version") == 0)
    {
        __result = module_version.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "parameter_version") == 0)
    {
        __result = parameter_version.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "control_variables") == 0)
    {
        __result = control_variables.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "private_information") == 0)
    {
        __result = private_information.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "chromatix_dpp11_reserve") == 0)
    {
        __result = chromatix_dpp11_reserve.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "chromatix_dpp11_core") == 0)
    {
        __result = chromatix_dpp11_core.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool chromatix_dpp11Type::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "enable_section") == 0)
    {
        __result = enable_section.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "module_version") == 0)
    {
        __result = module_version.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "parameter_version") == 0)
    {
        __result = parameter_version.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "control_variables") == 0)
    {
        __result = control_variables.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "private_information") == 0)
    {
        __result = private_information.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "chromatix_dpp11_reserve") == 0)
    {
        __result = chromatix_dpp11_reserve.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "chromatix_dpp11_core") == 0)
    {
        __result = chromatix_dpp11_core.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool chromatix_dpp11Type::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // enable_section
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("enable_section", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "enable_section") == 0)
    {
        __result = enable_section.GetInfo(&__path[__pos], __info);
    }

    // module_version
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("module_version", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "module_version") == 0)
    {
        __result = module_version.GetInfo(&__path[__pos], __info);
    }

    // parameter_version
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("parameter_version", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "parameter_version") == 0)
    {
        __result = parameter_version.GetInfo(&__path[__pos], __info);
    }

    // control_variables
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("control_variables", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "control_variables") == 0)
    {
        __result = control_variables.GetInfo(&__path[__pos], __info);
    }

    // private_information
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("private_information", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "private_information") == 0)
    {
        __result = private_information.GetInfo(&__path[__pos], __info);
    }

    // chromatix_dpp11_reserve
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("chromatix_dpp11_reserve", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "chromatix_dpp11_reserve") == 0)
    {
        __result = chromatix_dpp11_reserve.GetInfo(&__path[__pos], __info);
    }

    // chromatix_dpp11_core
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("chromatix_dpp11_core", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "chromatix_dpp11_core") == 0)
    {
        __result = chromatix_dpp11_core.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool chromatix_dpp11Type::enable_sectionStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "depth_processing_en") == 0)
    {
        ParameterUtils::DoubleToString((double)depth_processing_en, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool chromatix_dpp11Type::enable_sectionStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "depth_processing_en") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            depth_processing_en = (globalelements::enable_flag_type)dblValue; 
        }
    }

    return __result;
}

bool chromatix_dpp11Type::enable_sectionStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // depth_processing_en
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("depth_processing_en", ParameterParserDataType::Int32, (double)depth_processing_en, 0));
    }
    else if (PARAMETER_STRCMP(__name, "depth_processing_en") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)depth_processing_en, 0));
    }

    return __result;
}

bool chromatix_dpp11Type::module_versionStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "major_revision") == 0)
    {
        ParameterUtils::DoubleToString((double)major_revision, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "minor_revision") == 0)
    {
        ParameterUtils::DoubleToString((double)minor_revision, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "incr_revision") == 0)
    {
        ParameterUtils::DoubleToString((double)incr_revision, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool chromatix_dpp11Type::module_versionStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "major_revision") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            major_revision = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "minor_revision") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            minor_revision = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "incr_revision") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            incr_revision = (INT32)dblValue; 
        }
    }

    return __result;
}

bool chromatix_dpp11Type::module_versionStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // major_revision
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("major_revision", ParameterParserDataType::Int32, (double)major_revision, 0));
    }
    else if (PARAMETER_STRCMP(__name, "major_revision") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)major_revision, 0));
    }

    // minor_revision
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("minor_revision", ParameterParserDataType::Int32, (double)minor_revision, 0));
    }
    else if (PARAMETER_STRCMP(__name, "minor_revision") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)minor_revision, 0));
    }

    // incr_revision
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("incr_revision", ParameterParserDataType::Int32, (double)incr_revision, 0));
    }
    else if (PARAMETER_STRCMP(__name, "incr_revision") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)incr_revision, 0));
    }

    return __result;
}

bool chromatix_dpp11Type::parameter_versionStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "revision") == 0)
    {
        PARAMETER_STRCPY(__value, __size, revision);
        __result = true;
    }

    return __result;
}

bool chromatix_dpp11Type::parameter_versionStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const /*__value*/)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "revision") == 0)
    {
        // Cannot modify strings, risk of memory leaks or corruption
    }

    return __result;
}

bool chromatix_dpp11Type::parameter_versionStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // revision
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("revision", ParameterParserDataType::String, revision));
    }
    else if (PARAMETER_STRCMP(__name, "revision") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::String, revision));
    }

    return __result;
}

bool chromatix_dpp11Type::control_variablesStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "control_var_type") == 0)
    {
        if (__index < control_var_typeCount)
        {
            ParameterUtils::DoubleToString((double)(UINT32)control_var_type[__index], __value, __size, 0);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < control_var_typeCount; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)(UINT32)control_var_type[i], &__value[__valuePos], (INT32)(__size - __valuePos), 0);
            }
            __result = true;
        }
    }

    return __result;
}

bool chromatix_dpp11Type::control_variablesStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "control_var_type") == 0)
    {
        if (__index < control_var_typeCount)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                control_var_type[__index] = (ispglobalelements::trigger_types)(UINT32)dblValue; 
            }
        }
        else
        {
            SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __pos = 0;

            __index = 0;
            while (__pos < __valueLen && __index < control_var_typeCount)
            {
                CHAR __valueStr[MAX_SIZE];

                __pos += ParameterUtils::GetSubString(&__value[__pos], ',', __valueStr, MAX_SIZE);
                __pos++;

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    control_var_type[__index] = (ispglobalelements::trigger_types)(UINT32)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }

    return __result;
}

bool chromatix_dpp11Type::control_variablesStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // control_var_type
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("control_var_type", ParameterParserDataType::Enum, true, false, control_var_typeCount));
    }

    return __result;
}

bool chromatix_dpp11Type::private_informationStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "led_sensitivity_trigger") == 0)
    {
        __result = led_sensitivity_trigger.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool chromatix_dpp11Type::private_informationStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "led_sensitivity_trigger") == 0)
    {
        __result = led_sensitivity_trigger.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool chromatix_dpp11Type::private_informationStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // led_sensitivity_trigger
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("led_sensitivity_trigger", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "led_sensitivity_trigger") == 0)
    {
        __result = led_sensitivity_trigger.GetInfo(&__path[__pos], __info);
    }

    return __result;
}


////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Default Constructor
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
chromatix_dpp11TypeClass::chromatix_dpp11TypeClass(
    const CHAR* const name)
    : ParameterModule(name, MAJOR, MINOR, PATCH, nullptr)
{
    PARAMETER_INITIALIZE(SymbolTableID);
    PARAMETER_INITIALIZE(enable_section);
    PARAMETER_INITIALIZE(module_version);
    PARAMETER_INITIALIZE(parameter_version);
    PARAMETER_INITIALIZE(control_variables);
    PARAMETER_INITIALIZE(private_information);
    PARAMETER_INITIALIZE(chromatix_dpp11_reserve);
    PARAMETER_INITIALIZE(chromatix_dpp11_core);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Constructor
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
chromatix_dpp11TypeClass::chromatix_dpp11TypeClass(
    const CHAR* const name,
    ModuleData* const moduleData)
    : ParameterModule(name, MAJOR, MINOR, PATCH, moduleData)
{
    PARAMETER_INITIALIZE(SymbolTableID);
    PARAMETER_INITIALIZE(enable_section);
    PARAMETER_INITIALIZE(module_version);
    PARAMETER_INITIALIZE(parameter_version);
    PARAMETER_INITIALIZE(control_variables);
    PARAMETER_INITIALIZE(private_information);
    PARAMETER_INITIALIZE(chromatix_dpp11_reserve);
    PARAMETER_INITIALIZE(chromatix_dpp11_core);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Destructor
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
chromatix_dpp11TypeClass::~chromatix_dpp11TypeClass()
{
    if (Loaded)
    {
        UnloadModule();
    }
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// GetName
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
const CHAR* chromatix_dpp11TypeClass::GetName(
    const CHAR* const type)
{
    const CHAR* name = type;
    CHAR temp[ParameterFileSymbolTableEntry::TYPE_LEN + 1];
    if (PARAMETER_STRCMP(type, ModuleData::GetType(temp, "dpp11_eva_v2")) == 0)
    {
        name = "dpp11_eva_v2";
    }
    return name;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_dpp11_reserveType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatix_dpp11_reserveType::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(reserved_param_1_tab);
    PARAMETER_INITIALIZE(reserved_param_2_tab);
    PARAMETER_INITIALIZE(reserved_param_3);
    PARAMETER_INITIALIZE(reserved_param_4);

    result = reserved_param_1_tab.Load(entry, alignment);
    if (result)
    {
        result = reserved_param_2_tab.Load(entry, alignment);
    }
    SYMBOL_TABLE_ENTRY_READ(entry, result, reserved_param_3, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, reserved_param_4, alignment)

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_dpp11_reserveType_reserved_param_1_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatix_dpp11_reserveType::reserved_param_1_tabStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(reserved_param_1);

    result = entry->ReadArray(reserved_param_1, 99, alignment);

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_dpp11_reserveType_reserved_param_2_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatix_dpp11_reserveType::reserved_param_2_tabStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(reserved_param_2);

    result = entry->ReadArray(reserved_param_2, 99, alignment);

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load dpp11_rgn_dataType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool dpp11_rgn_dataType::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(reserved_param_5);
    PARAMETER_INITIALIZE(reserved_param_6);
    PARAMETER_INITIALIZE(reserved_param_7_tab);
    PARAMETER_INITIALIZE(reserved_param_8_tab);
    PARAMETER_INITIALIZE(reserved_param_9);
    PARAMETER_INITIALIZE(reserved_param_10);
    PARAMETER_INITIALIZE(reserved_param_11);
    PARAMETER_INITIALIZE(reserved_param_12);
    PARAMETER_INITIALIZE(common_params);
    PARAMETER_INITIALIZE(holes_fill_and_spatial);
    PARAMETER_INITIALIZE(tnr);

    SYMBOL_TABLE_ENTRY_READ(entry, result, reserved_param_5, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, reserved_param_6, alignment)
    if (result)
    {
        result = reserved_param_7_tab.Load(entry, alignment);
    }
    if (result)
    {
        result = reserved_param_8_tab.Load(entry, alignment);
    }
    SYMBOL_TABLE_ENTRY_READ(entry, result, reserved_param_9, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, reserved_param_10, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, reserved_param_11, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, reserved_param_12, alignment)
    if (result)
    {
        result = common_params.Load(entry, alignment);
    }
    if (result)
    {
        result = holes_fill_and_spatial.Load(entry, alignment);
    }
    if (result)
    {
        result = tnr.Load(entry, alignment);
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load dpp11_rgn_dataType_reserved_param_7_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool dpp11_rgn_dataType::reserved_param_7_tabStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(reserved_param_7);

    result = entry->ReadArray(reserved_param_7, 4, alignment);

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load dpp11_rgn_dataType_reserved_param_8_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool dpp11_rgn_dataType::reserved_param_8_tabStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(reserved_param_8);

    result = entry->ReadArray(reserved_param_8, 10, alignment);

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load dpp11_rgn_dataType_common_paramsStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool dpp11_rgn_dataType::common_paramsStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(focus_roi_disp_calc_mode);
    PARAMETER_INITIALIZE(focus_roi_disp_calc_param);
    PARAMETER_INITIALIZE(disp_map_range_factor);

    SYMBOL_TABLE_ENTRY_READ(entry, result, focus_roi_disp_calc_mode, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, focus_roi_disp_calc_param, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, disp_map_range_factor, alignment)

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load dpp11_rgn_dataType_holes_fill_and_spatialStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool dpp11_rgn_dataType::holes_fill_and_spatialStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(spatial_filter_en);
    PARAMETER_INITIALIZE(spatial_filter_mode);
    PARAMETER_INITIALIZE(spatial_filter_sigmas_tab);
    PARAMETER_INITIALIZE(spatial_filter_lambdas_tab);
    PARAMETER_INITIALIZE(spatial_filter_num_iterations);
    PARAMETER_INITIALIZE(post_spatial_filter_en);
    PARAMETER_INITIALIZE(post_spatial_filter_mode);
    PARAMETER_INITIALIZE(hf_en);
    PARAMETER_INITIALIZE(hf_mode);
    PARAMETER_INITIALIZE(hf_lambda);
    PARAMETER_INITIALIZE(hf_sigma);
    PARAMETER_INITIALIZE(hf_conf_low_thresh);
    PARAMETER_INITIALIZE(hf_conf_high_thresh);
    PARAMETER_INITIALIZE(hf_conf_hist_low);
    PARAMETER_INITIALIZE(hf_conf_hist_high);
    PARAMETER_INITIALIZE(hf_conf_hist_close_hor);
    PARAMETER_INITIALIZE(hf_conf_hist_close_ver);
    PARAMETER_INITIALIZE(hf_and_spatial_chroma_saturation_factor);

    SYMBOL_TABLE_ENTRY_READ(entry, result, spatial_filter_en, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, spatial_filter_mode, alignment)
    if (result)
    {
        result = spatial_filter_sigmas_tab.Load(entry, alignment);
    }
    if (result)
    {
        result = spatial_filter_lambdas_tab.Load(entry, alignment);
    }
    SYMBOL_TABLE_ENTRY_READ(entry, result, spatial_filter_num_iterations, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, post_spatial_filter_en, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, post_spatial_filter_mode, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, hf_en, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, hf_mode, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, hf_lambda, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, hf_sigma, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, hf_conf_low_thresh, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, hf_conf_high_thresh, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, hf_conf_hist_low, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, hf_conf_hist_high, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, hf_conf_hist_close_hor, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, hf_conf_hist_close_ver, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, hf_and_spatial_chroma_saturation_factor, alignment)

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load dpp11_rgn_dataType_holes_fill_and_spatialStruct_spatial_filter_sigmas_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool dpp11_rgn_dataType::holes_fill_and_spatialStruct::spatial_filter_sigmas_tabStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(spatial_filter_sigmas);

    result = entry->ReadArray(spatial_filter_sigmas, 4, alignment);

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load dpp11_rgn_dataType_holes_fill_and_spatialStruct_spatial_filter_lambdas_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool dpp11_rgn_dataType::holes_fill_and_spatialStruct::spatial_filter_lambdas_tabStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(spatial_filter_lambdas);

    result = entry->ReadArray(spatial_filter_lambdas, 4, alignment);

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load dpp11_rgn_dataType_tnrStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool dpp11_rgn_dataType::tnrStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(tnr_en);
    PARAMETER_INITIALIZE(tnr_mode);
    PARAMETER_INITIALIZE(alpha_lut_tab);
    PARAMETER_INITIALIZE(luma_noise_low_thr_lut_tab);
    PARAMETER_INITIALIZE(luma_noise_high_thr_lut_tab);
    PARAMETER_INITIALIZE(alpha_post_calc_win_size);
    PARAMETER_INITIALIZE(alpha_post_calc_filter_sigma);
    PARAMETER_INITIALIZE(diff_im_filter_win_size);
    PARAMETER_INITIALIZE(diff_im_filter_sigma_luma);
    PARAMETER_INITIALIZE(diff_im_filter_sigma_chroma);
    PARAMETER_INITIALIZE(chroma_noise_factor);
    PARAMETER_INITIALIZE(boundary_treatment_mode);
    PARAMETER_INITIALIZE(luma_avg_filter_win_size);
    PARAMETER_INITIALIZE(tnr_chroma_saturation_factor);
    PARAMETER_INITIALIZE(diff_map_filter_win_size);
    PARAMETER_INITIALIZE(diff_map_alpha_factor_max);
    PARAMETER_INITIALIZE(diff_map_thr_low);
    PARAMETER_INITIALIZE(diff_map_thr_high);

    SYMBOL_TABLE_ENTRY_READ(entry, result, tnr_en, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, tnr_mode, alignment)
    if (result)
    {
        result = alpha_lut_tab.Load(entry, alignment);
    }
    if (result)
    {
        result = luma_noise_low_thr_lut_tab.Load(entry, alignment);
    }
    if (result)
    {
        result = luma_noise_high_thr_lut_tab.Load(entry, alignment);
    }
    SYMBOL_TABLE_ENTRY_READ(entry, result, alpha_post_calc_win_size, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, alpha_post_calc_filter_sigma, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, diff_im_filter_win_size, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, diff_im_filter_sigma_luma, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, diff_im_filter_sigma_chroma, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, chroma_noise_factor, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, boundary_treatment_mode, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, luma_avg_filter_win_size, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, tnr_chroma_saturation_factor, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, diff_map_filter_win_size, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, diff_map_alpha_factor_max, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, diff_map_thr_low, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, diff_map_thr_high, alignment)

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load dpp11_rgn_dataType_tnrStruct_alpha_lut_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool dpp11_rgn_dataType::tnrStruct::alpha_lut_tabStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(alpha_lut);

    result = entry->ReadArray(alpha_lut, 65, alignment);

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load dpp11_rgn_dataType_tnrStruct_luma_noise_low_thr_lut_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool dpp11_rgn_dataType::tnrStruct::luma_noise_low_thr_lut_tabStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(luma_noise_low_thr_lut);

    result = entry->ReadArray(luma_noise_low_thr_lut, 17, alignment);

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load dpp11_rgn_dataType_tnrStruct_luma_noise_high_thr_lut_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool dpp11_rgn_dataType::tnrStruct::luma_noise_high_thr_lut_tabStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(luma_noise_high_thr_lut);

    result = entry->ReadArray(luma_noise_high_thr_lut, 17, alignment);

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load triggerType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool triggerType::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(controlIndex);
    PARAMETER_INITIALIZE(type);
    PARAMETER_INITIALIZE(start);
    PARAMETER_INITIALIZE(end);
    PARAMETER_INITIALIZE(trigger);
    PARAMETER_INITIALIZE(region);

    SYMBOL_TABLE_ENTRY_READ(entry, result, start, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, end, alignment)

    // Reading Array trigger from symbol table
    // Do not check result value here because the count value needs to be initialized in this block
    {
        triggerCount = 0;
        SYMBOL_TABLE_ENTRY_READ(entry, result, triggerCount, alignment)
        constexpr const CHAR* const file {__FILE__};
        constexpr INT32 line {LINE_CONST};
        ParameterFileSymbolTableEntry  pointerEntryCls;
        ParameterFileSymbolTableEntry* const pointerEntry = &pointerEntryCls;
        if (result)
        {
            result = entry->Table->ReadPointerEntry(pointerEntryCls, entry, alignment);
        }

        if (result)
        {
            triggerID = pointerEntry->ID;
            DupObjInfo* triggerDupInfo = pointerEntry->GetDupObject(triggerCount, file, line);
            if (triggerDupInfo != nullptr && triggerDupInfo->Object != nullptr)
            {
                trigger = (triggerType*)triggerDupInfo->Object;
                if (trigger == nullptr)
                {
                    if (triggerDupInfo->File != nullptr)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "trigger duplicate found but object is nullptr: %s:%d, RefCount: %d\n",
                            triggerDupInfo->File, triggerDupInfo->Line, triggerDupInfo->RefCount);
                    }
                    else
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "trigger duplicate found but Object is nullptr: <nullptr file ptr>:%d, RefCount: %d\n",
                            triggerDupInfo->Line, triggerDupInfo->RefCount);
                    }
                }
            }

            if (trigger == nullptr)
            {
                if (result && triggerCount > 0)
                {
                    trigger = PARAMETER_NEW triggerType[triggerCount];
                    (void)pointerEntry->SetDupObject(trigger, triggerCount, file, line);
                }
                if (!result || trigger == nullptr)
                {
                    if (triggerCount > 0)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "Failed to allocate trigger\n");
                    }
                    triggerCount = 0;
                }
                for (UINT32 i = 0; result && i < triggerCount; i++)
                {
                    result = trigger[i].Load(pointerEntry, alignment);
                }
            }
        }
        if (trigger == nullptr)
        {
            triggerCount = 0;
        }
    }

    // Reading Optional parameter region from symbol table
    // Do not check result value here because the count value needs to be initialized in this block
    {
        regionCount = 0;
        SYMBOL_TABLE_ENTRY_READ(entry, result, regionCount, alignment)
        constexpr const CHAR* const file {__FILE__};
        constexpr INT32 line {LINE_CONST};
        ParameterFileSymbolTableEntry  pointerEntryCls;
        ParameterFileSymbolTableEntry* const pointerEntry = &pointerEntryCls;
        if (result)
        {
            result = entry->Table->ReadPointerEntry(pointerEntryCls, entry, alignment);
        }

        if (result)
        {
            regionID = pointerEntry->ID;
            DupObjInfo* regionDupInfo = pointerEntry->GetDupObject(regionCount, file, line);
            if (regionDupInfo != nullptr && regionDupInfo->Object != nullptr)
            {
                region = (dpp11_rgn_dataType*)regionDupInfo->Object;
                if (region == nullptr)
                {
                    if (regionDupInfo->File != nullptr)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "region duplicate found but object is nullptr: %s:%d, RefCount: %d\n",
                            regionDupInfo->File, regionDupInfo->Line, regionDupInfo->RefCount);
                    }
                    else
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "region duplicate found but Object is nullptr: <nullptr file ptr>:%d, RefCount: %d\n",
                            regionDupInfo->Line, regionDupInfo->RefCount);
                    }
                }
            }

            if (region == nullptr)
            {
                if (result && regionCount > 0)
                {
                    region = PARAMETER_NEW dpp11_rgn_dataType[regionCount];
                    (void)pointerEntry->SetDupObject(region, regionCount, file, line);
                }
                if (!result || region == nullptr)
                {
                    if (regionCount > 0)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "Failed to allocate region\n");
                    }
                    regionCount = 0;
                }
                for (UINT32 i = 0; result && i < regionCount; i++)
                {
                    result = region[i].Load(pointerEntry, alignment);
                }
            }
        }
        if (region == nullptr)
        {
            regionCount = 0;
        }
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_dpp11_coreType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatix_dpp11_coreType::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(mod_dpp11_trigger_data);


    // Reading Array mod_dpp11_trigger_data from symbol table
    // Do not check result value here because the count value needs to be initialized in this block
    {
        mod_dpp11_trigger_dataCount = 0;
        SYMBOL_TABLE_ENTRY_READ(entry, result, mod_dpp11_trigger_dataCount, alignment)
        constexpr const CHAR* const file {__FILE__};
        constexpr INT32 line {LINE_CONST};
        ParameterFileSymbolTableEntry  pointerEntryCls;
        ParameterFileSymbolTableEntry* const pointerEntry = &pointerEntryCls;
        if (result)
        {
            result = entry->Table->ReadPointerEntry(pointerEntryCls, entry, alignment);
        }

        if (result)
        {
            mod_dpp11_trigger_dataID = pointerEntry->ID;
            DupObjInfo* mod_dpp11_trigger_dataDupInfo = pointerEntry->GetDupObject(mod_dpp11_trigger_dataCount, file, line);
            if (mod_dpp11_trigger_dataDupInfo != nullptr && mod_dpp11_trigger_dataDupInfo->Object != nullptr)
            {
                mod_dpp11_trigger_data = (triggerType*)mod_dpp11_trigger_dataDupInfo->Object;
                if (mod_dpp11_trigger_data == nullptr)
                {
                    if (mod_dpp11_trigger_dataDupInfo->File != nullptr)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "mod_dpp11_trigger_data duplicate found but object is nullptr: %s:%d, RefCount: %d\n",
                            mod_dpp11_trigger_dataDupInfo->File, mod_dpp11_trigger_dataDupInfo->Line, mod_dpp11_trigger_dataDupInfo->RefCount);
                    }
                    else
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "mod_dpp11_trigger_data duplicate found but Object is nullptr: <nullptr file ptr>:%d, RefCount: %d\n",
                            mod_dpp11_trigger_dataDupInfo->Line, mod_dpp11_trigger_dataDupInfo->RefCount);
                    }
                }
            }

            if (mod_dpp11_trigger_data == nullptr)
            {
                if (result && mod_dpp11_trigger_dataCount > 0)
                {
                    mod_dpp11_trigger_data = PARAMETER_NEW triggerType[mod_dpp11_trigger_dataCount];
                    (void)pointerEntry->SetDupObject(mod_dpp11_trigger_data, mod_dpp11_trigger_dataCount, file, line);
                }
                if (!result || mod_dpp11_trigger_data == nullptr)
                {
                    if (mod_dpp11_trigger_dataCount > 0)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "Failed to allocate mod_dpp11_trigger_data\n");
                    }
                    mod_dpp11_trigger_dataCount = 0;
                }
                for (UINT32 i = 0; result && i < mod_dpp11_trigger_dataCount; i++)
                {
                    result = mod_dpp11_trigger_data[i].Load(pointerEntry, alignment);
                }
            }
        }
        if (mod_dpp11_trigger_data == nullptr)
        {
            mod_dpp11_trigger_dataCount = 0;
        }
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_dpp11Type
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatix_dpp11Type::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(enable_section);
    PARAMETER_INITIALIZE(module_version);
    PARAMETER_INITIALIZE(parameter_version);
    PARAMETER_INITIALIZE(control_variables);
    PARAMETER_INITIALIZE(private_information);
    PARAMETER_INITIALIZE(chromatix_dpp11_reserve);
    PARAMETER_INITIALIZE(chromatix_dpp11_core);

    result = enable_section.Load(entry, alignment);
    if (result)
    {
        result = module_version.Load(entry, alignment);
    }
    if (result)
    {
        result = parameter_version.Load(entry, alignment);
    }
    if (result)
    {
        result = control_variables.Load(entry, alignment);
    }
    if (result)
    {
        result = private_information.Load(entry, alignment);
    }
    if (result)
    {
        result = chromatix_dpp11_reserve.Load(entry, alignment);
    }
    if (result)
    {
        result = chromatix_dpp11_core.Load(entry, alignment);
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load enable_sectionStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatix_dpp11Type::enable_sectionStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(depth_processing_en);

    SYMBOL_TABLE_ENTRY_READ(entry, result, depth_processing_en, alignment)

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load module_versionStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatix_dpp11Type::module_versionStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(major_revision);
    PARAMETER_INITIALIZE(minor_revision);
    PARAMETER_INITIALIZE(incr_revision);

    SYMBOL_TABLE_ENTRY_READ(entry, result, major_revision, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, minor_revision, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, incr_revision, alignment)

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load parameter_versionStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatix_dpp11Type::parameter_versionStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(revision);


    // Reading String revision from symbol table
    {
        UINT32 count = 0;
        SYMBOL_TABLE_ENTRY_READ(entry, result, count, alignment)
        ParameterFileSymbolTableEntry stringPointerEntryCls;
        ParameterFileSymbolTableEntry* const stringPointerEntry = &stringPointerEntryCls;
        if (result)
        {
            result = entry->Table->ReadPointerEntry(stringPointerEntryCls, entry, alignment);
        }
        SYMBOL_TABLE_ENTRY_READ_STRING(stringPointerEntry, result, revision, count, alignment)
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load control_variablesStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatix_dpp11Type::control_variablesStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(control_var_type);


    // Reading Array control_var_type from symbol table
    // Do not check result value here because the count value needs to be initialized in this block
    {
        control_var_typeCount = 0;
        SYMBOL_TABLE_ENTRY_READ(entry, result, control_var_typeCount, alignment)
        constexpr const CHAR* const file {__FILE__};
        constexpr INT32 line {LINE_CONST};
        ParameterFileSymbolTableEntry  pointerEntryCls;
        ParameterFileSymbolTableEntry* const pointerEntry = &pointerEntryCls;
        if (result)
        {
            result = entry->Table->ReadPointerEntry(pointerEntryCls, entry, alignment);
        }

        if (result)
        {
            control_var_typeID = pointerEntry->ID;
            DupObjInfo* control_var_typeDupInfo = pointerEntry->GetDupObject(control_var_typeCount, file, line);
            if (control_var_typeDupInfo != nullptr && control_var_typeDupInfo->Object != nullptr)
            {
                control_var_type = (ispglobalelements::trigger_types*)control_var_typeDupInfo->Object;
                if (control_var_type == nullptr)
                {
                    if (control_var_typeDupInfo->File != nullptr)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "control_var_type duplicate found but object is nullptr: %s:%d, RefCount: %d\n",
                            control_var_typeDupInfo->File, control_var_typeDupInfo->Line, control_var_typeDupInfo->RefCount);
                    }
                    else
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "control_var_type duplicate found but Object is nullptr: <nullptr file ptr>:%d, RefCount: %d\n",
                            control_var_typeDupInfo->Line, control_var_typeDupInfo->RefCount);
                    }
                }
            }

            if (control_var_type == nullptr)
            {
                if (result && control_var_typeCount > 0)
                {
                    control_var_type = PARAMETER_NEW ispglobalelements::trigger_types[control_var_typeCount];
                    (void)pointerEntry->SetDupObject(control_var_type, control_var_typeCount, file, line);
                }
                if (!result || control_var_type == nullptr)
                {
                    if (control_var_typeCount > 0)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "Failed to allocate control_var_type\n");
                    }
                    control_var_typeCount = 0;
                }
                for (UINT32 i = 0; result && i < control_var_typeCount; i++)
                {
                    result = ispglobalelements::ReadEnum_trigger_types(pointerEntry, control_var_type[i], alignment);
                }
            }
        }
        if (control_var_type == nullptr)
        {
            control_var_typeCount = 0;
        }
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load private_informationStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatix_dpp11Type::private_informationStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(led_sensitivity_trigger);

    result = led_sensitivity_trigger.Load(entry, alignment);

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload triggerType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void triggerType::Unload(ParameterFileSymbolTable* const __table)
{
    for (UINT32 i = 0; i < triggerCount; i++)
    {
        trigger[i].Unload(__table);
    }
    if (__table != nullptr && __table->ReleaseDupObject(trigger))
    {
        PARAMETER_DELETE[] trigger;
    }
    trigger = nullptr;
    if (__table != nullptr && __table->ReleaseDupObject(region))
    {
        PARAMETER_DELETE[] region;
    }
    region = nullptr;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload chromatix_dpp11_coreType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_dpp11_coreType::Unload(ParameterFileSymbolTable* const __table)
{
    for (UINT32 i = 0; i < mod_dpp11_trigger_dataCount; i++)
    {
        mod_dpp11_trigger_data[i].Unload(__table);
    }
    if (__table != nullptr && __table->ReleaseDupObject(mod_dpp11_trigger_data))
    {
        PARAMETER_DELETE[] mod_dpp11_trigger_data;
    }
    mod_dpp11_trigger_data = nullptr;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload chromatix_dpp11Type
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_dpp11Type::Unload(ParameterFileSymbolTable* const __table)
{
    parameter_version.Unload(__table);
    control_variables.Unload(__table);
    chromatix_dpp11_core.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload parameter_versionStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_dpp11Type::parameter_versionStruct::Unload(ParameterFileSymbolTable* const __table)
{
    if (__table != nullptr && __table->ReleaseDupObject(revision))
    {
        PARAMETER_DELETE[] revision;
    }
    revision = nullptr;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload control_variablesStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_dpp11Type::control_variablesStruct::Unload(ParameterFileSymbolTable* const __table)
{
    if (__table != nullptr && __table->ReleaseDupObject(control_var_type))
    {
        PARAMETER_DELETE[] control_var_type;
    }
    control_var_type = nullptr;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Update the trigger type values
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_dpp11TypeClass::UpdateTriggerType(
    control_variablesStruct* const control,
    triggerType* trigger,
    UINT32 const depth)
{
    if (depth < control->control_var_typeCount)
    {
        trigger->controlIndex = depth;
        trigger->type         = control->control_var_type[depth];

        for (UINT32 i = 0; i < trigger->triggerCount; i++)
        {
            UpdateTriggerType(control, &trigger->trigger[i], depth + 1);
        }
    }
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Release the ParameterModule object
/// Requires that this object was created via a ParameterSetManager::GetModule call
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_dpp11Type::Release()
{
    ((chromatix_dpp11TypeClass*)this)->Release();
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Returns the ParameterModule::Modified value
/// The Modified value is incremented when the module's data or pointer values change
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
UINT32 chromatix_dpp11Type::GetModified()
{
    return ((chromatix_dpp11TypeClass*)this)->Modified;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Create module, and return a new object
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
ParameterModule* chromatix_dpp11TypeClass::Create(
    ModuleData*    moduleData,
    DefaultModule* const defModule) const
{
    chromatix_dpp11TypeClass* cls = nullptr;

    if (PARAMETER_STRCMP(Type, moduleData->Type) == 0 && Version.Value == moduleData->Version.Value)
    {
        const UINT32 id = moduleData->DuplicateID > 0 ? moduleData->DuplicateID : moduleData->ID;

        ParameterModule* const module = defModule->Find(id);
        if (module != nullptr)
        {
            cls = (chromatix_dpp11TypeClass*)module;
        }
        else
        {
            cls = PARAMETER_NEW chromatix_dpp11TypeClass(GetName(moduleData->Type), moduleData);
            cls->SymbolTableID = id;
            defModule->AddModule((ParameterModule*)cls);
        }
    }
    else if (Version.Value != moduleData->Version.Value)
    {
        PARAMETER_LOG_ERROR(moduleData->SetManager, "Unable to create chromatix_dpp11TypeClass, binary version (%lld) does not match source version (%lld)\n",
            moduleData->Version.Value, Version.Value);
    }
    else
    {
        PARAMETER_LOG_ERROR(moduleData->SetManager, "Unable to create chromatix_dpp11TypeClass, binary name (%s) does not match source name (%s)\n",
            moduleData->Type, Type);
    }

    return (ParameterModule*)cls;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load module data, return true is successful
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatix_dpp11TypeClass::LoadModule(
    ParameterFileSymbolTable* const table)
{
    bool result = true;

    if (!Loaded)
    {
        BYTE const alignment = table->Alignment;
        chromatix_dpp11TypeClass* const cls = this;

        ParameterFileSymbolTableEntry  entryObj;
        ParameterFileSymbolTableEntry* const entry = &entryObj;
        // With EzTune enabled, the unused upper byte of SymbolTableID value can change, so clear it
        result = table->Find(entryObj, SymbolTableID & 0x00ffffff);

        if (!result)
        {
            PARAMETER_LOG_ERROR(entry->SetManager, "chromatix_dpp11TypeClass::LoadModule Failed to find module ID (%d) in Symbol Table\n", SymbolTableID);
        }

        if (result)
        {
            result = cls->Load(entry, alignment);
        }

        if (result)
        {
            for (UINT32 i = 0; i < cls->chromatix_dpp11_core.mod_dpp11_trigger_dataCount; i++)
            {
                UpdateTriggerType(&cls->control_variables, &cls->chromatix_dpp11_core.mod_dpp11_trigger_data[i], 0);
            }
        }
        Modified++;
        Loaded = true;
    }

    if (!result)
    {
        /// Module failed to fully load, unload it
        UnloadModule();
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload module data
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_dpp11TypeClass::UnloadModule()
{
    if (Loaded)
    {
        if (Data != nullptr && Data->SymbolTable != nullptr)
        {
            Unload(Data->SymbolTable);
        }
        else
        {
            PARAMETER_LOG_ERROR(Data != nullptr ? Data->SetManager : nullptr, "UnloadModule %s called with nullptr "
                "Data->SymbolTable object\n", Name);
            Unload(nullptr);
        }
        Loaded = false;
    }
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// /// Release the ParameterModule object
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_dpp11TypeClass::Release()
{
    ParameterModule::Release();
}

DPP_1_1_1_NAMESPACE_END
