////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// 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 V7.4.1 (8cca6579792b9fcef3bc725ff070c5ec453c7c85)
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

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

#include "modawbfaceassistv1.h"
#include "parametersetmanager.h"

MODAWBFACEASSISTV1_NAMESPACE_BEGIN

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// SetValue/GetValue Functions
/// Gets or sets the requested value
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool modFaceAssistV1TargetDataType::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, "triggerType") == 0)
    {
        if (__index < triggerTypeFixedCount)
        {
            ParameterUtils::DoubleToString((double)(UINT32)triggerType[__index], __value, __size, 0);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < triggerTypeFixedCount; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)(UINT32)triggerType[i], &__value[__valuePos], (INT32)(__size - __valuePos), 0);
            }
            __result = true;
        }
    }
    else if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool modFaceAssistV1TargetDataType::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, "triggerType") == 0)
    {
        if (__index < triggerTypeFixedCount)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                triggerType[__index] = (awbFaceSATriggerCtrlType)(UINT32)dblValue; 
            }
        }
        else
        {
            const SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __valuePos = 0;

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

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

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    triggerType[__index] = (awbFaceSATriggerCtrlType)(UINT32)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }
    else if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool modFaceAssistV1TargetDataType::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);

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

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

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

    return __result;
}

bool modFaceAssistV1ConfidenceDataType::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, "triggerType") == 0)
    {
        if (__index < triggerTypeFixedCount)
        {
            ParameterUtils::DoubleToString((double)(UINT32)triggerType[__index], __value, __size, 0);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < triggerTypeFixedCount; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)(UINT32)triggerType[i], &__value[__valuePos], (INT32)(__size - __valuePos), 0);
            }
            __result = true;
        }
    }
    else if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool modFaceAssistV1ConfidenceDataType::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, "triggerType") == 0)
    {
        if (__index < triggerTypeFixedCount)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                triggerType[__index] = (awbFaceSATriggerCtrlType)(UINT32)dblValue; 
            }
        }
        else
        {
            const SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __valuePos = 0;

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

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

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    triggerType[__index] = (awbFaceSATriggerCtrlType)(UINT32)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }
    else if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool modFaceAssistV1ConfidenceDataType::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);

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

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

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

    return __result;
}

bool modFaceAssistV1StatThresholdDataType::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, "triggerPt") == 0)
    {
        __result = triggerPt.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool modFaceAssistV1StatThresholdDataType::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, "triggerPt") == 0)
    {
        __result = triggerPt.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool modFaceAssistV1StatThresholdDataType::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);

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

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

    return __result;
}

bool modFaceAssistV1FaceDetectCtrlType::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;

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

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

    return __result;
}

bool modFaceAssistV1FaceDetectCtrlType::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;

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

    if (PARAMETER_STRCMP(__name, "detectCntThreshold") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            detectCntThreshold = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "detectCntThresForConvChange") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            detectCntThresForConvChange = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "nonDetectCntThreshold") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            nonDetectCntThreshold = (INT32)dblValue; 
        }
    }

    return __result;
}

bool modFaceAssistV1FaceDetectCtrlType::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;

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

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

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

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

    return __result;
}

bool modFaceAssistV1FaceROICtrlType::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;

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

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

    return __result;
}

bool modFaceAssistV1FaceROICtrlType::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;

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

    if (PARAMETER_STRCMP(__name, "ROIXScale") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            ROIXScale = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "ROIYScale") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            ROIYScale = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "FaceSelectThreshold") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            FaceSelectThreshold = (float)dblValue; 
        }
    }

    return __result;
}

bool modFaceAssistV1FaceROICtrlType::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;

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

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

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

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

    return __result;
}

bool modFaceAssistV1CbCrDataType::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, "triggerType") == 0)
    {
        if (__index < triggerTypeFixedCount)
        {
            ParameterUtils::DoubleToString((double)(UINT32)triggerType[__index], __value, __size, 0);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < triggerTypeFixedCount; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)(UINT32)triggerType[i], &__value[__valuePos], (INT32)(__size - __valuePos), 0);
            }
            __result = true;
        }
    }
    else if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool modFaceAssistV1CbCrDataType::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, "triggerType") == 0)
    {
        if (__index < triggerTypeFixedCount)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                triggerType[__index] = (awbFaceSATriggerCtrlType)(UINT32)dblValue; 
            }
        }
        else
        {
            const SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __valuePos = 0;

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

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

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    triggerType[__index] = (awbFaceSATriggerCtrlType)(UINT32)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }
    else if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool modFaceAssistV1CbCrDataType::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);

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

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

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

    return __result;
}

bool modFaceAssistV1CbCrDiffDataType::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, "triggerType") == 0)
    {
        if (__index < triggerTypeFixedCount)
        {
            ParameterUtils::DoubleToString((double)(UINT32)triggerType[__index], __value, __size, 0);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < triggerTypeFixedCount; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)(UINT32)triggerType[i], &__value[__valuePos], (INT32)(__size - __valuePos), 0);
            }
            __result = true;
        }
    }
    else if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool modFaceAssistV1CbCrDiffDataType::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, "triggerType") == 0)
    {
        if (__index < triggerTypeFixedCount)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                triggerType[__index] = (awbFaceSATriggerCtrlType)(UINT32)dblValue; 
            }
        }
        else
        {
            const SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __valuePos = 0;

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

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

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    triggerType[__index] = (awbFaceSATriggerCtrlType)(UINT32)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }
    else if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool modFaceAssistV1CbCrDiffDataType::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);

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

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

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

    return __result;
}

bool modFaceAssistV1OutlierDistType::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, "triggerType") == 0)
    {
        if (__index < triggerTypeFixedCount)
        {
            ParameterUtils::DoubleToString((double)(UINT32)triggerType[__index], __value, __size, 0);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < triggerTypeFixedCount; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)(UINT32)triggerType[i], &__value[__valuePos], (INT32)(__size - __valuePos), 0);
            }
            __result = true;
        }
    }
    else if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool modFaceAssistV1OutlierDistType::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, "triggerType") == 0)
    {
        if (__index < triggerTypeFixedCount)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                triggerType[__index] = (awbFaceSATriggerCtrlType)(UINT32)dblValue; 
            }
        }
        else
        {
            const SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __valuePos = 0;

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

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

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    triggerType[__index] = (awbFaceSATriggerCtrlType)(UINT32)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }
    else if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool modFaceAssistV1OutlierDistType::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);

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

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

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

    return __result;
}

bool modFaceAssistV1AWBGainLockCtrlType::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;

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

    if (PARAMETER_STRCMP(__name, "AWBGainLockEnable") == 0)
    {
        ParameterUtils::DoubleToString((double)AWBGainLockEnable, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "RGainPctDev") == 0)
    {
        ParameterUtils::DoubleToString((double)RGainPctDev, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "BGainPctDev") == 0)
    {
        ParameterUtils::DoubleToString((double)BGainPctDev, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "AWBGainStableCount") == 0)
    {
        ParameterUtils::DoubleToString((double)AWBGainStableCount, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "AWBGainLockCount") == 0)
    {
        ParameterUtils::DoubleToString((double)AWBGainLockCount, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool modFaceAssistV1AWBGainLockCtrlType::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;

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

    if (PARAMETER_STRCMP(__name, "AWBGainLockEnable") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            AWBGainLockEnable = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "RGainPctDev") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            RGainPctDev = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "BGainPctDev") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            BGainPctDev = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "AWBGainStableCount") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            AWBGainStableCount = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "AWBGainLockCount") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            AWBGainLockCount = (INT32)dblValue; 
        }
    }

    return __result;
}

bool modFaceAssistV1AWBGainLockCtrlType::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;

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

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

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

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

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

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

    return __result;
}

bool modFaceAssistV1SkinStatsScreeningType::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, "StatsOutlierDistanceFilterEnable") == 0)
    {
        ParameterUtils::DoubleToString((double)StatsOutlierDistanceFilterEnable, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "LockDecisionOutlierDistanceFilterEnable") == 0)
    {
        ParameterUtils::DoubleToString((double)LockDecisionOutlierDistanceFilterEnable, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "StatsOutlierDistanceScreening") == 0)
    {
        __result = StatsOutlierDistanceScreening.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "lockDecisionPointOutlierDistanceScreening") == 0)
    {
        __result = lockDecisionPointOutlierDistanceScreening.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "ChromaFilterEnable") == 0)
    {
        ParameterUtils::DoubleToString((double)ChromaFilterEnable, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "CrCbDiffForChromaFilter") == 0)
    {
        __result = CrCbDiffForChromaFilter.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool modFaceAssistV1SkinStatsScreeningType::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, "StatsOutlierDistanceFilterEnable") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            StatsOutlierDistanceFilterEnable = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "LockDecisionOutlierDistanceFilterEnable") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            LockDecisionOutlierDistanceFilterEnable = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "StatsOutlierDistanceScreening") == 0)
    {
        __result = StatsOutlierDistanceScreening.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "lockDecisionPointOutlierDistanceScreening") == 0)
    {
        __result = lockDecisionPointOutlierDistanceScreening.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "ChromaFilterEnable") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            ChromaFilterEnable = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "CrCbDiffForChromaFilter") == 0)
    {
        __result = CrCbDiffForChromaFilter.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool modFaceAssistV1SkinStatsScreeningType::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);

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

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

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

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

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

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

    return __result;
}

bool modFaceSARefIlluConfidenceDataType::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, "triggerType") == 0)
    {
        if (__index < triggerTypeFixedCount)
        {
            ParameterUtils::DoubleToString((double)(UINT32)triggerType[__index], __value, __size, 0);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < triggerTypeFixedCount; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)(UINT32)triggerType[i], &__value[__valuePos], (INT32)(__size - __valuePos), 0);
            }
            __result = true;
        }
    }
    else if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool modFaceSARefIlluConfidenceDataType::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, "triggerType") == 0)
    {
        if (__index < triggerTypeFixedCount)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                triggerType[__index] = (awbFaceSARefIlluTriggerCtrlType)(UINT32)dblValue; 
            }
        }
        else
        {
            const SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __valuePos = 0;

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

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

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    triggerType[__index] = (awbFaceSARefIlluTriggerCtrlType)(UINT32)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }
    else if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool modFaceSARefIlluConfidenceDataType::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);

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

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

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

    return __result;
}

bool modReferenceCCTType::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;

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

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

    return __result;
}

bool modReferenceCCTType::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;

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

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

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

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

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

    return __result;
}

bool modReferenceCCTType::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;

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

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

    return __result;
}

bool modRefIlluCtrlType::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, "refIlluEnable") == 0)
    {
        ParameterUtils::DoubleToString((double)refIlluEnable, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "referenceCCTs") == 0)
    {
        if (__index < referenceCCTsCount)
        {
            __result = referenceCCTs[__index].GetValue(&__path[__pos], __value, __size);
        }
    }
    else if (PARAMETER_STRCMP(__name, "activateExceedFaceStatsCntPercentage") == 0)
    {
        ParameterUtils::DoubleToString((double)activateExceedFaceStatsCntPercentage, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "dynamicSkipFrameCnt") == 0)
    {
        ParameterUtils::DoubleToString((double)dynamicSkipFrameCnt, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "refIlluConfidenceLevel") == 0)
    {
        if (__index < refIlluConfidenceLevelCount)
        {
            __result = refIlluConfidenceLevel[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool modRefIlluCtrlType::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, "refIlluEnable") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            refIlluEnable = (awbglobalelements::enableFlagType)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "referenceCCTs") == 0)
    {
        if (__index < referenceCCTsCount)
        {
            __result = referenceCCTs[__index].SetValue(&__path[__pos], __value);
        }
    }
    else if (PARAMETER_STRCMP(__name, "activateExceedFaceStatsCntPercentage") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            activateExceedFaceStatsCntPercentage = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "dynamicSkipFrameCnt") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            dynamicSkipFrameCnt = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "refIlluConfidenceLevel") == 0)
    {
        if (__index < refIlluConfidenceLevelCount)
        {
            __result = refIlluConfidenceLevel[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool modRefIlluCtrlType::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);

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

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

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

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

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

    return __result;
}

bool modSubRgnChromaDiffThDataType::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, "triggerPt") == 0)
    {
        __result = triggerPt.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool modSubRgnChromaDiffThDataType::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, "triggerPt") == 0)
    {
        __result = triggerPt.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool modSubRgnChromaDiffThDataType::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);

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

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

    return __result;
}

bool modSubRgnChormaAssistType::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, "chromaDiffThreshold") == 0)
    {
        __result = chromaDiffThreshold.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "AECFaceROIUpdate") == 0)
    {
        __result = AECFaceROIUpdate.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "referenceIlluminant") == 0)
    {
        __result = referenceIlluminant.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool modSubRgnChormaAssistType::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, "chromaDiffThreshold") == 0)
    {
        __result = chromaDiffThreshold.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "AECFaceROIUpdate") == 0)
    {
        __result = AECFaceROIUpdate.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "referenceIlluminant") == 0)
    {
        __result = referenceIlluminant.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool modSubRgnChormaAssistType::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);

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

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

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

    return __result;
}

bool modSubRgnChormaAssistType::AECFaceROIUpdateStruct::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;

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

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

    return __result;
}

bool modSubRgnChormaAssistType::AECFaceROIUpdateStruct::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;

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

    if (PARAMETER_STRCMP(__name, "enableFlag") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enableFlag = (awbglobalelements::enableFlagType)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "hysteresisPerc") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            hysteresisPerc = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "hysteresisFrameCnt") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            hysteresisFrameCnt = (INT32)dblValue; 
        }
    }

    return __result;
}

bool modSubRgnChormaAssistType::AECFaceROIUpdateStruct::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;

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

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

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

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

    return __result;
}

bool modSubRgnChormaAssistType::referenceIlluminantStruct::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;

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

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

    return __result;
}

bool modSubRgnChormaAssistType::referenceIlluminantStruct::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;

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

    if (PARAMETER_STRCMP(__name, "enableFlag") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enableFlag = (awbglobalelements::enableFlagType)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "useCase") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            useCase = (refIlluSubRgnUseCaseType)(UINT32)dblValue; 
        }
    }

    return __result;
}

bool modSubRgnChormaAssistType::referenceIlluminantStruct::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;

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

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

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

    return __result;
}

bool modContourFilterType::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;

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

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

    return __result;
}

bool modContourFilterType::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;

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

    if (PARAMETER_STRCMP(__name, "enableFlag") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enableFlag = (awbglobalelements::enableFlagType)dblValue; 
        }
    }

    return __result;
}

bool modContourFilterType::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;

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

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

    return __result;
}

bool modFaceDecisionTree::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;

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

    if (PARAMETER_STRCMP(__name, "enableFlag") == 0)
    {
        ParameterUtils::DoubleToString((double)enableFlag, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "ROISizeRatioThreshold") == 0)
    {
        ParameterUtils::DoubleToString((double)ROISizeRatioThreshold, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "eyeAngleDiffThreshold") == 0)
    {
        ParameterUtils::DoubleToString((double)eyeAngleDiffThreshold, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "faceAngleDiffThreshold") == 0)
    {
        ParameterUtils::DoubleToString((double)faceAngleDiffThreshold, __value, __size);
        __result = true;
    }

    return __result;
}

bool modFaceDecisionTree::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;

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

    if (PARAMETER_STRCMP(__name, "enableFlag") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enableFlag = (awbglobalelements::enableFlagType)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "ROISizeRatioThreshold") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            ROISizeRatioThreshold = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "eyeAngleDiffThreshold") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            eyeAngleDiffThreshold = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "faceAngleDiffThreshold") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            faceAngleDiffThreshold = (float)dblValue; 
        }
    }

    return __result;
}

bool modFaceDecisionTree::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;

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

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

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

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

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

    return __result;
}

bool chromatixAWBFaceAssistV1Type::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, "moduleID") == 0)
    {
        __result = moduleID.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, "enableFlag") == 0)
    {
        ParameterUtils::DoubleToString((double)enableFlag, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "faceAssistSAWeight") == 0)
    {
        ParameterUtils::DoubleToString((double)faceAssistSAWeight, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "FaceROICtrl") == 0)
    {
        __result = FaceROICtrl.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "faceDetectCtrl") == 0)
    {
        __result = faceDetectCtrl.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "ConvSpeed") == 0)
    {
        ParameterUtils::DoubleToString((double)ConvSpeed, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "darkThresholdData") == 0)
    {
        __result = darkThresholdData.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "SatThresholdData") == 0)
    {
        __result = SatThresholdData.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "confidenceLevel") == 0)
    {
        if (__index < confidenceLevelCount)
        {
            __result = confidenceLevel[__index].GetValue(&__path[__pos], __value, __size);
        }
    }
    else if (PARAMETER_STRCMP(__name, "darkSkinTargetPt") == 0)
    {
        __result = darkSkinTargetPt.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "lightSkinTargetPt") == 0)
    {
        __result = lightSkinTargetPt.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "skinTypeInterpWeight") == 0)
    {
        if (__index < skinTypeInterpWeightCount)
        {
            __result = skinTypeInterpWeight[__index].GetValue(&__path[__pos], __value, __size);
        }
    }
    else if (PARAMETER_STRCMP(__name, "AWBGainLockCtrl") == 0)
    {
        __result = AWBGainLockCtrl.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "CbCrHighThreshold") == 0)
    {
        __result = CbCrHighThreshold.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "CbCrLowThreshold") == 0)
    {
        __result = CbCrLowThreshold.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "SkinStatsScreening") == 0)
    {
        __result = SkinStatsScreening.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "RefIlluFace") == 0)
    {
        __result = RefIlluFace.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "SubRegionChormaAssist") == 0)
    {
        __result = SubRegionChormaAssist.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "ContourFilter") == 0)
    {
        __result = ContourFilter.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "FaceDecisionTree") == 0)
    {
        __result = FaceDecisionTree.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool chromatixAWBFaceAssistV1Type::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, "moduleID") == 0)
    {
        __result = moduleID.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "module_version") == 0)
    {
        __result = module_version.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "enableFlag") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enableFlag = (awbglobalelements::enableFlagType)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "faceAssistSAWeight") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            faceAssistSAWeight = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "FaceROICtrl") == 0)
    {
        __result = FaceROICtrl.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "faceDetectCtrl") == 0)
    {
        __result = faceDetectCtrl.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "ConvSpeed") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            ConvSpeed = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "darkThresholdData") == 0)
    {
        __result = darkThresholdData.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "SatThresholdData") == 0)
    {
        __result = SatThresholdData.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "confidenceLevel") == 0)
    {
        if (__index < confidenceLevelCount)
        {
            __result = confidenceLevel[__index].SetValue(&__path[__pos], __value);
        }
    }
    else if (PARAMETER_STRCMP(__name, "darkSkinTargetPt") == 0)
    {
        __result = darkSkinTargetPt.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "lightSkinTargetPt") == 0)
    {
        __result = lightSkinTargetPt.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "skinTypeInterpWeight") == 0)
    {
        if (__index < skinTypeInterpWeightCount)
        {
            __result = skinTypeInterpWeight[__index].SetValue(&__path[__pos], __value);
        }
    }
    else if (PARAMETER_STRCMP(__name, "AWBGainLockCtrl") == 0)
    {
        __result = AWBGainLockCtrl.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "CbCrHighThreshold") == 0)
    {
        __result = CbCrHighThreshold.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "CbCrLowThreshold") == 0)
    {
        __result = CbCrLowThreshold.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "SkinStatsScreening") == 0)
    {
        __result = SkinStatsScreening.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "RefIlluFace") == 0)
    {
        __result = RefIlluFace.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "SubRegionChormaAssist") == 0)
    {
        __result = SubRegionChormaAssist.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "ContourFilter") == 0)
    {
        __result = ContourFilter.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "FaceDecisionTree") == 0)
    {
        __result = FaceDecisionTree.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool chromatixAWBFaceAssistV1Type::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);

    // moduleID
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("moduleID", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "moduleID") == 0)
    {
        __result = moduleID.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);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    return __result;
}

bool chromatixAWBFaceAssistV1Type::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;

    (void)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 chromatixAWBFaceAssistV1Type::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;

    (void)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 chromatixAWBFaceAssistV1Type::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;

    (void)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;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Default Constructor
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
chromatixAWBFaceAssistV1TypeClass::chromatixAWBFaceAssistV1TypeClass(
    const CHAR* name)
    : ParameterModule(name, MAJOR, MINOR, PATCH, nullptr)
{
    PARAMETER_INITIALIZE(SymbolTableID);
    PARAMETER_INITIALIZE(moduleID);
    PARAMETER_INITIALIZE(module_version);
    PARAMETER_INITIALIZE(enableFlag);
    PARAMETER_INITIALIZE(faceAssistSAWeight);
    PARAMETER_INITIALIZE(FaceROICtrl);
    PARAMETER_INITIALIZE(faceDetectCtrl);
    PARAMETER_INITIALIZE(ConvSpeed);
    PARAMETER_INITIALIZE(darkThresholdData);
    PARAMETER_INITIALIZE(SatThresholdData);
    PARAMETER_INITIALIZE(confidenceLevelCount);
    PARAMETER_INITIALIZE(confidenceLevel);
    PARAMETER_INITIALIZE(darkSkinTargetPt);
    PARAMETER_INITIALIZE(lightSkinTargetPt);
    PARAMETER_INITIALIZE(skinTypeInterpWeightCount);
    PARAMETER_INITIALIZE(skinTypeInterpWeight);
    PARAMETER_INITIALIZE(AWBGainLockCtrl);
    PARAMETER_INITIALIZE(CbCrHighThreshold);
    PARAMETER_INITIALIZE(CbCrLowThreshold);
    PARAMETER_INITIALIZE(SkinStatsScreening);
    PARAMETER_INITIALIZE(RefIlluFace);
    PARAMETER_INITIALIZE(SubRegionChormaAssist);
    PARAMETER_INITIALIZE(ContourFilter);
    PARAMETER_INITIALIZE(FaceDecisionTree);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Constructor
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
chromatixAWBFaceAssistV1TypeClass::chromatixAWBFaceAssistV1TypeClass(
    const CHAR*       name,
    ModuleData* const moduleData)
    : ParameterModule(name, MAJOR, MINOR, PATCH, moduleData)
{
    PARAMETER_INITIALIZE(SymbolTableID);
    PARAMETER_INITIALIZE(moduleID);
    PARAMETER_INITIALIZE(module_version);
    PARAMETER_INITIALIZE(enableFlag);
    PARAMETER_INITIALIZE(faceAssistSAWeight);
    PARAMETER_INITIALIZE(FaceROICtrl);
    PARAMETER_INITIALIZE(faceDetectCtrl);
    PARAMETER_INITIALIZE(ConvSpeed);
    PARAMETER_INITIALIZE(darkThresholdData);
    PARAMETER_INITIALIZE(SatThresholdData);
    PARAMETER_INITIALIZE(confidenceLevel);
    PARAMETER_INITIALIZE(darkSkinTargetPt);
    PARAMETER_INITIALIZE(lightSkinTargetPt);
    PARAMETER_INITIALIZE(skinTypeInterpWeight);
    PARAMETER_INITIALIZE(AWBGainLockCtrl);
    PARAMETER_INITIALIZE(CbCrHighThreshold);
    PARAMETER_INITIALIZE(CbCrLowThreshold);
    PARAMETER_INITIALIZE(SkinStatsScreening);
    PARAMETER_INITIALIZE(RefIlluFace);
    PARAMETER_INITIALIZE(SubRegionChormaAssist);
    PARAMETER_INITIALIZE(ContourFilter);
    PARAMETER_INITIALIZE(FaceDecisionTree);
}

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


////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load modFaceAssistV1TargetDataType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modFaceAssistV1TargetDataType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(triggerType);
    PARAMETER_INITIALIZE(triggerPt);
    PARAMETER_INITIALIZE(triggerDataCount);
    PARAMETER_INITIALIZE(triggerData);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0x8eed18ac845832a6;
        entry->ReadEnumFixedArray(triggerType, triggerTypeFixedCount,
            localParams);
        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xcb944a716851ffce;
        triggerPt.Load(localParams);
        localParams.NameHash = 0xd5dc9fcb428af073;
        entry->ReadStructureArray(triggerData, triggerDataCount, triggerDataID, 1, localParams, __COUNTER__);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void modFaceAssistV1TargetDataType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        modFaceAssistV1TargetDataType* arrayPtr = (modFaceAssistV1TargetDataType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* modFaceAssistV1TargetDataType::AllocArray(
    UINT32 __count)
{
    modFaceAssistV1TargetDataType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW modFaceAssistV1TargetDataType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load modFaceAssistV1ConfidenceDataType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modFaceAssistV1ConfidenceDataType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(triggerType);
    PARAMETER_INITIALIZE(triggerPt);
    PARAMETER_INITIALIZE(triggerDataCount);
    PARAMETER_INITIALIZE(triggerData);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0x8eed18ac845832a6;
        entry->ReadEnumFixedArray(triggerType, triggerTypeFixedCount,
            localParams);
        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xcb944a716851ffce;
        triggerPt.Load(localParams);
        localParams.NameHash = 0xd5dc9fcb428af073;
        entry->ReadStructureArray(triggerData, triggerDataCount, triggerDataID, 1, localParams, __COUNTER__);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void modFaceAssistV1ConfidenceDataType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        modFaceAssistV1ConfidenceDataType* arrayPtr = (modFaceAssistV1ConfidenceDataType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* modFaceAssistV1ConfidenceDataType::AllocArray(
    UINT32 __count)
{
    modFaceAssistV1ConfidenceDataType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW modFaceAssistV1ConfidenceDataType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load modFaceAssistV1StatThresholdDataType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modFaceAssistV1StatThresholdDataType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(triggerPt);
    PARAMETER_INITIALIZE(triggerDataCount);
    PARAMETER_INITIALIZE(triggerData);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xcb944a716851ffce;
        triggerPt.Load(localParams);
        localParams.NameHash = 0xd5dc9fcb428af073;
        entry->ReadStructureArray(triggerData, triggerDataCount, triggerDataID, 1, localParams, __COUNTER__);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void modFaceAssistV1StatThresholdDataType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        modFaceAssistV1StatThresholdDataType* arrayPtr = (modFaceAssistV1StatThresholdDataType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* modFaceAssistV1StatThresholdDataType::AllocArray(
    UINT32 __count)
{
    modFaceAssistV1StatThresholdDataType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW modFaceAssistV1StatThresholdDataType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load modFaceAssistV1FaceDetectCtrlType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modFaceAssistV1FaceDetectCtrlType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(detectCntThreshold);
    PARAMETER_INITIALIZE(detectCntThresForConvChange);
    PARAMETER_INITIALIZE(nonDetectCntThreshold);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xb88950c667ec4056;
        entry->ReadSimpleTypeFixedArray(&detectCntThreshold, 1, localParams);
        localParams.NameHash = 0xee352c490fceb2b1;
        entry->ReadSimpleTypeFixedArray(&detectCntThresForConvChange, 1, localParams);
        localParams.NameHash = 0xc0dd40370f5c6486;
        entry->ReadSimpleTypeFixedArray(&nonDetectCntThreshold, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void modFaceAssistV1FaceDetectCtrlType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        modFaceAssistV1FaceDetectCtrlType* arrayPtr = (modFaceAssistV1FaceDetectCtrlType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* modFaceAssistV1FaceDetectCtrlType::AllocArray(
    UINT32 __count)
{
    modFaceAssistV1FaceDetectCtrlType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW modFaceAssistV1FaceDetectCtrlType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load modFaceAssistV1FaceROICtrlType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modFaceAssistV1FaceROICtrlType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(ROIXScale);
    PARAMETER_INITIALIZE(ROIYScale);
    PARAMETER_INITIALIZE(FaceSelectThreshold);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xc5f99ccab2227bda;
        entry->ReadSimpleTypeFixedArray(&ROIXScale, 1, localParams);
        localParams.NameHash = 0xa1600f444d4e0403;
        entry->ReadSimpleTypeFixedArray(&ROIYScale, 1, localParams);
        localParams.NameHash = 0xde78a0c966d28cc8;
        entry->ReadSimpleTypeFixedArray(&FaceSelectThreshold, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void modFaceAssistV1FaceROICtrlType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        modFaceAssistV1FaceROICtrlType* arrayPtr = (modFaceAssistV1FaceROICtrlType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* modFaceAssistV1FaceROICtrlType::AllocArray(
    UINT32 __count)
{
    modFaceAssistV1FaceROICtrlType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW modFaceAssistV1FaceROICtrlType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load modFaceAssistV1CbCrDataType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modFaceAssistV1CbCrDataType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(triggerType);
    PARAMETER_INITIALIZE(triggerPt);
    PARAMETER_INITIALIZE(triggerDataCount);
    PARAMETER_INITIALIZE(triggerData);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0x8eed18ac845832a6;
        entry->ReadEnumFixedArray(triggerType, triggerTypeFixedCount,
            localParams);
        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xcb944a716851ffce;
        triggerPt.Load(localParams);
        localParams.NameHash = 0xd5dc9fcb428af073;
        entry->ReadStructureArray(triggerData, triggerDataCount, triggerDataID, 1, localParams, __COUNTER__);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void modFaceAssistV1CbCrDataType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        modFaceAssistV1CbCrDataType* arrayPtr = (modFaceAssistV1CbCrDataType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* modFaceAssistV1CbCrDataType::AllocArray(
    UINT32 __count)
{
    modFaceAssistV1CbCrDataType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW modFaceAssistV1CbCrDataType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load modFaceAssistV1CbCrDiffDataType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modFaceAssistV1CbCrDiffDataType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(triggerType);
    PARAMETER_INITIALIZE(triggerPt);
    PARAMETER_INITIALIZE(triggerDataCount);
    PARAMETER_INITIALIZE(triggerData);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0x8eed18ac845832a6;
        entry->ReadEnumFixedArray(triggerType, triggerTypeFixedCount,
            localParams);
        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xcb944a716851ffce;
        triggerPt.Load(localParams);
        localParams.NameHash = 0xd5dc9fcb428af073;
        entry->ReadStructureArray(triggerData, triggerDataCount, triggerDataID, 1, localParams, __COUNTER__);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void modFaceAssistV1CbCrDiffDataType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        modFaceAssistV1CbCrDiffDataType* arrayPtr = (modFaceAssistV1CbCrDiffDataType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* modFaceAssistV1CbCrDiffDataType::AllocArray(
    UINT32 __count)
{
    modFaceAssistV1CbCrDiffDataType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW modFaceAssistV1CbCrDiffDataType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load modFaceAssistV1OutlierDistType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modFaceAssistV1OutlierDistType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(triggerType);
    PARAMETER_INITIALIZE(triggerPt);
    PARAMETER_INITIALIZE(triggerDataCount);
    PARAMETER_INITIALIZE(triggerData);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0x8eed18ac845832a6;
        entry->ReadEnumFixedArray(triggerType, triggerTypeFixedCount,
            localParams);
        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xcb944a716851ffce;
        triggerPt.Load(localParams);
        localParams.NameHash = 0xd5dc9fcb428af073;
        entry->ReadStructureArray(triggerData, triggerDataCount, triggerDataID, 1, localParams, __COUNTER__);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void modFaceAssistV1OutlierDistType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        modFaceAssistV1OutlierDistType* arrayPtr = (modFaceAssistV1OutlierDistType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* modFaceAssistV1OutlierDistType::AllocArray(
    UINT32 __count)
{
    modFaceAssistV1OutlierDistType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW modFaceAssistV1OutlierDistType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load modFaceAssistV1AWBGainLockCtrlType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modFaceAssistV1AWBGainLockCtrlType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(AWBGainLockEnable);
    PARAMETER_INITIALIZE(RGainPctDev);
    PARAMETER_INITIALIZE(BGainPctDev);
    PARAMETER_INITIALIZE(AWBGainStableCount);
    PARAMETER_INITIALIZE(AWBGainLockCount);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xfe0ba41f125ecb9e;
        entry->ReadSimpleTypeFixedArray(&AWBGainLockEnable, 1, localParams);
        localParams.NameHash = 0x923f4165e1553955;
        entry->ReadSimpleTypeFixedArray(&RGainPctDev, 1, localParams);
        localParams.NameHash = 0xb69d2ab29b915f51;
        entry->ReadSimpleTypeFixedArray(&BGainPctDev, 1, localParams);
        localParams.NameHash = 0xe01419e3f42112de;
        entry->ReadSimpleTypeFixedArray(&AWBGainStableCount, 1, localParams);
        localParams.NameHash = 0xc750a0b7fd9c4b29;
        entry->ReadSimpleTypeFixedArray(&AWBGainLockCount, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void modFaceAssistV1AWBGainLockCtrlType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        modFaceAssistV1AWBGainLockCtrlType* arrayPtr = (modFaceAssistV1AWBGainLockCtrlType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* modFaceAssistV1AWBGainLockCtrlType::AllocArray(
    UINT32 __count)
{
    modFaceAssistV1AWBGainLockCtrlType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW modFaceAssistV1AWBGainLockCtrlType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load modFaceAssistV1SkinStatsScreeningType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modFaceAssistV1SkinStatsScreeningType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(StatsOutlierDistanceFilterEnable);
    PARAMETER_INITIALIZE(LockDecisionOutlierDistanceFilterEnable);
    PARAMETER_INITIALIZE(StatsOutlierDistanceScreening);
    PARAMETER_INITIALIZE(lockDecisionPointOutlierDistanceScreening);
    PARAMETER_INITIALIZE(ChromaFilterEnable);
    PARAMETER_INITIALIZE(CrCbDiffForChromaFilter);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xc165c74481b535de;
        entry->ReadSimpleTypeFixedArray(&StatsOutlierDistanceFilterEnable, 1, localParams);
        localParams.NameHash = 0xf18f92f82306c86a;
        entry->ReadSimpleTypeFixedArray(&LockDecisionOutlierDistanceFilterEnable, 1, localParams);
        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xbcbada231cf5d92d;
        StatsOutlierDistanceScreening.Load(localParams);
        localParams.NameHash        = 0xf7197ae5f25734d8;
        lockDecisionPointOutlierDistanceScreening.Load(localParams);
        localParams.NameHash = 0x8719a316989486b7;
        entry->ReadSimpleTypeFixedArray(&ChromaFilterEnable, 1, localParams);
        localParams.NameHash        = 0xbda6f65c893824ef;
        CrCbDiffForChromaFilter.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void modFaceAssistV1SkinStatsScreeningType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        modFaceAssistV1SkinStatsScreeningType* arrayPtr = (modFaceAssistV1SkinStatsScreeningType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* modFaceAssistV1SkinStatsScreeningType::AllocArray(
    UINT32 __count)
{
    modFaceAssistV1SkinStatsScreeningType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW modFaceAssistV1SkinStatsScreeningType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load modFaceSARefIlluConfidenceDataType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modFaceSARefIlluConfidenceDataType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(triggerType);
    PARAMETER_INITIALIZE(triggerPt);
    PARAMETER_INITIALIZE(triggerDataCount);
    PARAMETER_INITIALIZE(triggerData);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0x8eed18ac845832a6;
        entry->ReadEnumFixedArray(triggerType, triggerTypeFixedCount,
            localParams);
        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xcb944a716851ffce;
        triggerPt.Load(localParams);
        localParams.NameHash = 0xd5dc9fcb428af073;
        entry->ReadStructureArray(triggerData, triggerDataCount, triggerDataID, 1, localParams, __COUNTER__);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void modFaceSARefIlluConfidenceDataType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        modFaceSARefIlluConfidenceDataType* arrayPtr = (modFaceSARefIlluConfidenceDataType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* modFaceSARefIlluConfidenceDataType::AllocArray(
    UINT32 __count)
{
    modFaceSARefIlluConfidenceDataType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW modFaceSARefIlluConfidenceDataType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load modReferenceCCTType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modReferenceCCTType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(CCTCount);
    PARAMETER_INITIALIZE(CCT);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xac5d5c48026f5e78;
        entry->ReadSimpleTypeArray(CCT, CCTCount, CCTID, 1,
            localParams, __COUNTER__);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void modReferenceCCTType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        modReferenceCCTType* arrayPtr = (modReferenceCCTType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* modReferenceCCTType::AllocArray(
    UINT32 __count)
{
    modReferenceCCTType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW modReferenceCCTType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load modRefIlluCtrlType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modRefIlluCtrlType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(refIlluEnable);
    PARAMETER_INITIALIZE(referenceCCTsCount);
    PARAMETER_INITIALIZE(referenceCCTs);
    PARAMETER_INITIALIZE(activateExceedFaceStatsCntPercentage);
    PARAMETER_INITIALIZE(dynamicSkipFrameCnt);
    PARAMETER_INITIALIZE(refIlluConfidenceLevelCount);
    PARAMETER_INITIALIZE(refIlluConfidenceLevel);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xe2230bf809e76aff;
        entry->ReadSimpleTypeFixedArray(&refIlluEnable, 1, localParams);
        localParams.NameHash = 0x8e215bc37dd660b4;
        entry->ReadStructureArray(referenceCCTs, referenceCCTsCount, referenceCCTsID, 1, localParams, __COUNTER__);
        localParams.NameHash = 0xbf72361da630efd2;
        entry->ReadSimpleTypeFixedArray(&activateExceedFaceStatsCntPercentage, 1, localParams);
        localParams.NameHash = 0xe80c35c19ca391b5;
        entry->ReadSimpleTypeFixedArray(&dynamicSkipFrameCnt, 1, localParams);
        localParams.NameHash = 0x92e6ab15e0d9ebf7;
        entry->ReadStructureArray(refIlluConfidenceLevel, refIlluConfidenceLevelCount, refIlluConfidenceLevelID, 1, localParams, __COUNTER__);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void modRefIlluCtrlType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        modRefIlluCtrlType* arrayPtr = (modRefIlluCtrlType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* modRefIlluCtrlType::AllocArray(
    UINT32 __count)
{
    modRefIlluCtrlType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW modRefIlluCtrlType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load modSubRgnChromaDiffThDataType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modSubRgnChromaDiffThDataType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(triggerPt);
    PARAMETER_INITIALIZE(triggerDataCount);
    PARAMETER_INITIALIZE(triggerData);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xcb944a716851ffce;
        triggerPt.Load(localParams);
        localParams.NameHash = 0xd5dc9fcb428af073;
        entry->ReadStructureArray(triggerData, triggerDataCount, triggerDataID, 1, localParams, __COUNTER__);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void modSubRgnChromaDiffThDataType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        modSubRgnChromaDiffThDataType* arrayPtr = (modSubRgnChromaDiffThDataType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* modSubRgnChromaDiffThDataType::AllocArray(
    UINT32 __count)
{
    modSubRgnChromaDiffThDataType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW modSubRgnChromaDiffThDataType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load modSubRgnChormaAssistType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modSubRgnChormaAssistType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(chromaDiffThreshold);
    PARAMETER_INITIALIZE(AECFaceROIUpdate);
    PARAMETER_INITIALIZE(referenceIlluminant);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xb93f451ca6db4540;
        chromaDiffThreshold.Load(localParams);
        localParams.NameHash        = 0xc473793c5b0a5271;
        AECFaceROIUpdate.Load(localParams);
        localParams.NameHash        = 0x8efe389b20fd4ead;
        referenceIlluminant.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void modSubRgnChormaAssistType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        modSubRgnChormaAssistType* arrayPtr = (modSubRgnChormaAssistType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* modSubRgnChormaAssistType::AllocArray(
    UINT32 __count)
{
    modSubRgnChormaAssistType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW modSubRgnChormaAssistType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load modSubRgnChormaAssistType_AECFaceROIUpdateStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modSubRgnChormaAssistType::AECFaceROIUpdateStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(enableFlag);
    PARAMETER_INITIALIZE(hysteresisPerc);
    PARAMETER_INITIALIZE(hysteresisFrameCnt);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0x89a1d7b1468113d1;
        entry->ReadSimpleTypeFixedArray(&enableFlag, 1, localParams);
        localParams.NameHash = 0xcc86b17a8823549a;
        entry->ReadSimpleTypeFixedArray(&hysteresisPerc, 1, localParams);
        localParams.NameHash = 0x8e6bc091dcd08b12;
        entry->ReadSimpleTypeFixedArray(&hysteresisFrameCnt, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void modSubRgnChormaAssistType::AECFaceROIUpdateStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        AECFaceROIUpdateStruct* arrayPtr = (AECFaceROIUpdateStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* modSubRgnChormaAssistType::AECFaceROIUpdateStruct::AllocArray(
    UINT32 __count)
{
    AECFaceROIUpdateStruct* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW AECFaceROIUpdateStruct[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load modSubRgnChormaAssistType_referenceIlluminantStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modSubRgnChormaAssistType::referenceIlluminantStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(enableFlag);
    PARAMETER_INITIALIZE(useCase);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0x89a1d7b1468113d1;
        entry->ReadSimpleTypeFixedArray(&enableFlag, 1, localParams);
        localParams.NameHash = 0xfbb28e548dd796f6;
        entry->ReadEnumFixedArray(&useCase, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void modSubRgnChormaAssistType::referenceIlluminantStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        referenceIlluminantStruct* arrayPtr = (referenceIlluminantStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* modSubRgnChormaAssistType::referenceIlluminantStruct::AllocArray(
    UINT32 __count)
{
    referenceIlluminantStruct* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW referenceIlluminantStruct[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load modContourFilterType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modContourFilterType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(enableFlag);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0x89a1d7b1468113d1;
        entry->ReadSimpleTypeFixedArray(&enableFlag, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void modContourFilterType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        modContourFilterType* arrayPtr = (modContourFilterType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* modContourFilterType::AllocArray(
    UINT32 __count)
{
    modContourFilterType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW modContourFilterType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load modFaceDecisionTree
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modFaceDecisionTree::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(enableFlag);
    PARAMETER_INITIALIZE(ROISizeRatioThreshold);
    PARAMETER_INITIALIZE(eyeAngleDiffThreshold);
    PARAMETER_INITIALIZE(faceAngleDiffThreshold);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0x89a1d7b1468113d1;
        entry->ReadSimpleTypeFixedArray(&enableFlag, 1, localParams);
        localParams.NameHash = 0xd40dcce9e640e20c;
        entry->ReadSimpleTypeFixedArray(&ROISizeRatioThreshold, 1, localParams);
        localParams.NameHash = 0xe2ff40b749969fd6;
        entry->ReadSimpleTypeFixedArray(&eyeAngleDiffThreshold, 1, localParams);
        localParams.NameHash = 0xf3b779da7e6fa5a7;
        entry->ReadSimpleTypeFixedArray(&faceAngleDiffThreshold, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void modFaceDecisionTree::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        modFaceDecisionTree* arrayPtr = (modFaceDecisionTree*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* modFaceDecisionTree::AllocArray(
    UINT32 __count)
{
    modFaceDecisionTree* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW modFaceDecisionTree[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatixAWBFaceAssistV1Type
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatixAWBFaceAssistV1Type::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(moduleID);
    PARAMETER_INITIALIZE(module_version);
    PARAMETER_INITIALIZE(enableFlag);
    PARAMETER_INITIALIZE(faceAssistSAWeight);
    PARAMETER_INITIALIZE(FaceROICtrl);
    PARAMETER_INITIALIZE(faceDetectCtrl);
    PARAMETER_INITIALIZE(ConvSpeed);
    PARAMETER_INITIALIZE(darkThresholdData);
    PARAMETER_INITIALIZE(SatThresholdData);
    PARAMETER_INITIALIZE(confidenceLevelCount);
    PARAMETER_INITIALIZE(confidenceLevel);
    PARAMETER_INITIALIZE(darkSkinTargetPt);
    PARAMETER_INITIALIZE(lightSkinTargetPt);
    PARAMETER_INITIALIZE(skinTypeInterpWeightCount);
    PARAMETER_INITIALIZE(skinTypeInterpWeight);
    PARAMETER_INITIALIZE(AWBGainLockCtrl);
    PARAMETER_INITIALIZE(CbCrHighThreshold);
    PARAMETER_INITIALIZE(CbCrLowThreshold);
    PARAMETER_INITIALIZE(SkinStatsScreening);
    PARAMETER_INITIALIZE(RefIlluFace);
    PARAMETER_INITIALIZE(SubRegionChormaAssist);
    PARAMETER_INITIALIZE(ContourFilter);
    PARAMETER_INITIALIZE(FaceDecisionTree);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xb5bb6c7a408ed007;
        moduleID.Load(localParams);
        localParams.NameHash        = 0xe11cd9f365a2599f;
        module_version.Load(localParams);
        localParams.NameHash = 0x89a1d7b1468113d1;
        entry->ReadSimpleTypeFixedArray(&enableFlag, 1, localParams);
        localParams.NameHash = 0x93a28d9f50b464ce;
        entry->ReadSimpleTypeFixedArray(&faceAssistSAWeight, 1, localParams);
        localParams.NameHash        = 0xd705ed313b9221a9;
        FaceROICtrl.Load(localParams);
        localParams.NameHash        = 0xc0be1f76285f815b;
        faceDetectCtrl.Load(localParams);
        localParams.NameHash = 0xd84421ee073723dd;
        entry->ReadSimpleTypeFixedArray(&ConvSpeed, 1, localParams);
        localParams.NameHash        = 0xa0fdce728e403b3a;
        darkThresholdData.Load(localParams);
        localParams.NameHash        = 0x86d9e96a41c85a5e;
        SatThresholdData.Load(localParams);
        localParams.NameHash = 0xbb1317a4e9e39bd8;
        entry->ReadStructureArray(confidenceLevel, confidenceLevelCount, confidenceLevelID, 1, localParams, __COUNTER__);
        localParams.NameHash        = 0xae6c6a69026ea665;
        darkSkinTargetPt.Load(localParams);
        localParams.NameHash        = 0x84aa1d4b590f546a;
        lightSkinTargetPt.Load(localParams);
        localParams.NameHash = 0xd6587c28aac7612a;
        entry->ReadStructureArray(skinTypeInterpWeight, skinTypeInterpWeightCount, skinTypeInterpWeightID, 1, localParams, __COUNTER__);
        localParams.NameHash        = 0xbe7d2e915be1bf80;
        AWBGainLockCtrl.Load(localParams);
        localParams.NameHash        = 0x9da42ac28a1cec01;
        CbCrHighThreshold.Load(localParams);
        localParams.NameHash        = 0x9e7d110fe16de89f;
        CbCrLowThreshold.Load(localParams);
        localParams.NameHash        = 0xb45495b6390be646;
        SkinStatsScreening.Load(localParams);
        localParams.NameHash        = 0xf6a7318e95f0f0db;
        RefIlluFace.Load(localParams);
        localParams.NameHash        = 0xc7b6517352103308;
        SubRegionChormaAssist.Load(localParams);
        localParams.NameHash        = 0xc75bb3e2eb26849b;
        ContourFilter.Load(localParams);
        localParams.NameHash        = 0x9a1b2f1d15e59a13;
        FaceDecisionTree.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void chromatixAWBFaceAssistV1Type::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        chromatixAWBFaceAssistV1Type* arrayPtr = (chromatixAWBFaceAssistV1Type*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* chromatixAWBFaceAssistV1Type::AllocArray(
    UINT32 __count)
{
    chromatixAWBFaceAssistV1Type* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW chromatixAWBFaceAssistV1Type[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load module_versionStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatixAWBFaceAssistV1Type::module_versionStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(major_revision);
    PARAMETER_INITIALIZE(minor_revision);
    PARAMETER_INITIALIZE(incr_revision);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xcd66249477636693;
        entry->ReadSimpleTypeFixedArray(&major_revision, 1, localParams);
        localParams.NameHash = 0xc5497493137a9c25;
        entry->ReadSimpleTypeFixedArray(&minor_revision, 1, localParams);
        localParams.NameHash = 0xb27b8a668efb2a56;
        entry->ReadSimpleTypeFixedArray(&incr_revision, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void chromatixAWBFaceAssistV1Type::module_versionStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        module_versionStruct* arrayPtr = (module_versionStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* chromatixAWBFaceAssistV1Type::module_versionStruct::AllocArray(
    UINT32 __count)
{
    module_versionStruct* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW module_versionStruct[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload modFaceAssistV1TargetDataType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modFaceAssistV1TargetDataType::Unload(ParameterFileSymbolTable* const __table)
{
    for (UINT32 i = 0; triggerData != nullptr && i < triggerDataCount; i++)
    {
        triggerData[i].Unload(__table);
    }
    ParameterFileSymbolTable::ReleaseObject(__table, triggerData);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload modFaceAssistV1ConfidenceDataType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modFaceAssistV1ConfidenceDataType::Unload(ParameterFileSymbolTable* const __table)
{
    for (UINT32 i = 0; triggerData != nullptr && i < triggerDataCount; i++)
    {
        triggerData[i].Unload(__table);
    }
    ParameterFileSymbolTable::ReleaseObject(__table, triggerData);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload modFaceAssistV1StatThresholdDataType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modFaceAssistV1StatThresholdDataType::Unload(ParameterFileSymbolTable* const __table)
{
    ParameterFileSymbolTable::ReleaseObject(__table, triggerData);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload modFaceAssistV1CbCrDataType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modFaceAssistV1CbCrDataType::Unload(ParameterFileSymbolTable* const __table)
{
    for (UINT32 i = 0; triggerData != nullptr && i < triggerDataCount; i++)
    {
        triggerData[i].Unload(__table);
    }
    ParameterFileSymbolTable::ReleaseObject(__table, triggerData);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload modFaceAssistV1CbCrDiffDataType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modFaceAssistV1CbCrDiffDataType::Unload(ParameterFileSymbolTable* const __table)
{
    for (UINT32 i = 0; triggerData != nullptr && i < triggerDataCount; i++)
    {
        triggerData[i].Unload(__table);
    }
    ParameterFileSymbolTable::ReleaseObject(__table, triggerData);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload modFaceAssistV1OutlierDistType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modFaceAssistV1OutlierDistType::Unload(ParameterFileSymbolTable* const __table)
{
    for (UINT32 i = 0; triggerData != nullptr && i < triggerDataCount; i++)
    {
        triggerData[i].Unload(__table);
    }
    ParameterFileSymbolTable::ReleaseObject(__table, triggerData);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload modFaceAssistV1SkinStatsScreeningType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modFaceAssistV1SkinStatsScreeningType::Unload(ParameterFileSymbolTable* const __table)
{
    StatsOutlierDistanceScreening.Unload(__table);
    lockDecisionPointOutlierDistanceScreening.Unload(__table);
    CrCbDiffForChromaFilter.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload modFaceSARefIlluConfidenceDataType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modFaceSARefIlluConfidenceDataType::Unload(ParameterFileSymbolTable* const __table)
{
    for (UINT32 i = 0; triggerData != nullptr && i < triggerDataCount; i++)
    {
        triggerData[i].Unload(__table);
    }
    ParameterFileSymbolTable::ReleaseObject(__table, triggerData);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload modReferenceCCTType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modReferenceCCTType::Unload(ParameterFileSymbolTable* const __table)
{
    ParameterFileSymbolTable::ReleaseObject(__table, CCT);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload modRefIlluCtrlType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modRefIlluCtrlType::Unload(ParameterFileSymbolTable* const __table)
{
    for (UINT32 i = 0; referenceCCTs != nullptr && i < referenceCCTsCount; i++)
    {
        referenceCCTs[i].Unload(__table);
    }
    ParameterFileSymbolTable::ReleaseObject(__table, referenceCCTs);
    for (UINT32 i = 0; refIlluConfidenceLevel != nullptr && i < refIlluConfidenceLevelCount; i++)
    {
        refIlluConfidenceLevel[i].Unload(__table);
    }
    ParameterFileSymbolTable::ReleaseObject(__table, refIlluConfidenceLevel);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload modSubRgnChromaDiffThDataType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modSubRgnChromaDiffThDataType::Unload(ParameterFileSymbolTable* const __table)
{
    for (UINT32 i = 0; triggerData != nullptr && i < triggerDataCount; i++)
    {
        triggerData[i].Unload(__table);
    }
    ParameterFileSymbolTable::ReleaseObject(__table, triggerData);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload modSubRgnChormaAssistType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void modSubRgnChormaAssistType::Unload(ParameterFileSymbolTable* const __table)
{
    chromaDiffThreshold.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload chromatixAWBFaceAssistV1Type
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatixAWBFaceAssistV1Type::Unload(ParameterFileSymbolTable* const __table)
{
    darkThresholdData.Unload(__table);
    SatThresholdData.Unload(__table);
    for (UINT32 i = 0; confidenceLevel != nullptr && i < confidenceLevelCount; i++)
    {
        confidenceLevel[i].Unload(__table);
    }
    ParameterFileSymbolTable::ReleaseObject(__table, confidenceLevel);
    darkSkinTargetPt.Unload(__table);
    lightSkinTargetPt.Unload(__table);
    for (UINT32 i = 0; skinTypeInterpWeight != nullptr && i < skinTypeInterpWeightCount; i++)
    {
        skinTypeInterpWeight[i].Unload(__table);
    }
    ParameterFileSymbolTable::ReleaseObject(__table, skinTypeInterpWeight);
    CbCrHighThreshold.Unload(__table);
    CbCrLowThreshold.Unload(__table);
    SkinStatsScreening.Unload(__table);
    RefIlluFace.Unload(__table);
    SubRegionChormaAssist.Unload(__table);
}

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

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

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// GetModuleName: Returns ParameterModule::Name variable
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
const CHAR* chromatixAWBFaceAssistV1Type::GetModuleName()
{
    return ((chromatixAWBFaceAssistV1TypeClass*)this)->Name;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// GetModuleName: Returns ParameterModule::NameHash variable
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
UINT64 chromatixAWBFaceAssistV1Type::GetModuleNameHash()
{
    return ((chromatixAWBFaceAssistV1TypeClass*)this)->NameHash;
}

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

    if (IsModuleMatch(moduleData) && 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 = (chromatixAWBFaceAssistV1TypeClass*)module;
        }
        else
        {
            cls = PARAMETER_NEW chromatixAWBFaceAssistV1TypeClass(Name, moduleData);
            cls->SymbolTableID = id;
            defModule->AddModule((ParameterModule*)cls);
        }
    }
    else if (Version.Value != moduleData->Version.Value)
    {
        PARAMETER_LOG_ERROR(moduleData->SetManager, "Unable to create chromatixAWBFaceAssistV1TypeClass, binary version (%lld) does not match source version (%lld)\n",
            moduleData->Version.Value, Version.Value);
    }
    else
    {
        PARAMETER_LOG_ERROR(moduleData->SetManager, "Unable to create chromatixAWBFaceAssistV1TypeClass, binary name hash (0x%016llx) does not match source name hash (0x%016llx)\n",
            moduleData->NameHash, NameHash);
    }

    return (ParameterModule*)cls;
}

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

#ifdef PARAMETER_USE_MUTEX
    ParameterMutexLocker lock(Mutex); // Unique LOCK
#endif

    if (!Loaded)
    {
        chromatixAWBFaceAssistV1TypeClass* 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 & 0x00ffffffU);

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


        ParameterDefinitionElement* _element = nullptr;
        if (table->ModuleDefinitions != nullptr && !table->ModuleDefinitions->empty())
        {
            _element = table->BuildModuleElement(NameHash);
        }

        ParameterLoadParameters parentParams(entry, NameHash, true, true, _element, entry->Position, 0, ParameterFileSymbolTableEntry::LOAD_LIMIT_MAX);
        cls->Load(parentParams);
        PARAMETER_DELETE _element;
        Modified++;
        Loaded = true;
    }

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

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload module data
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatixAWBFaceAssistV1TypeClass::UnloadModule()
{
#ifdef PARAMETER_USE_MUTEX
    ParameterMutexLocker lock(Mutex); // Unique LOCK
#endif

    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 chromatixAWBFaceAssistV1TypeClass::Release()
{
    ParameterModule::Release();
}

MODAWBFACEASSISTV1_NAMESPACE_END
