////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// 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  eis_1_2_0.cpp
/// @brief Auto-generated Chromatix parameter file
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

#include "eis_1_2_0.h"
#include "parametersetmanager.h"

EIS_1_2_0_NAMESPACE_BEGIN

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

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

    if (PARAMETER_STRCMP(__name, "top") == 0)
    {
        __result = top.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "general") == 0)
    {
        __result = general.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "timing") == 0)
    {
        __result = timing.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "blur_masking") == 0)
    {
        __result = blur_masking.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "lens_distortion_correction") == 0)
    {
        __result = lens_distortion_correction.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

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

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

    if (PARAMETER_STRCMP(__name, "top") == 0)
    {
        __result = top.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "general") == 0)
    {
        __result = general.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "timing") == 0)
    {
        __result = timing.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "blur_masking") == 0)
    {
        __result = blur_masking.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "lens_distortion_correction") == 0)
    {
        __result = lens_distortion_correction.SetValue(&__path[__pos], __value);
    }

    return __result;
}

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

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

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

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

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

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

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

    return __result;
}

bool chromatix_eis12_reserveType::topStruct::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, "minimal_total_margin") == 0)
    {
        ParameterUtils::DoubleToString((double)minimal_total_margin, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "requested_total_margins_y_fhd_30") == 0)
    {
        ParameterUtils::DoubleToString((double)requested_total_margins_y_fhd_30, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "requested_total_margins_y_fhd_60") == 0)
    {
        ParameterUtils::DoubleToString((double)requested_total_margins_y_fhd_60, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "requested_total_margins_y_fhd_120") == 0)
    {
        ParameterUtils::DoubleToString((double)requested_total_margins_y_fhd_120, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "requested_total_margins_y_4k_30") == 0)
    {
        ParameterUtils::DoubleToString((double)requested_total_margins_y_4k_30, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "requested_total_margins_y_4k_60") == 0)
    {
        ParameterUtils::DoubleToString((double)requested_total_margins_y_4k_60, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "requested_total_margins_y_4k_120") == 0)
    {
        ParameterUtils::DoubleToString((double)requested_total_margins_y_4k_120, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "requested_total_margins_y_8k_30") == 0)
    {
        ParameterUtils::DoubleToString((double)requested_total_margins_y_8k_30, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "requested_total_margins_y_8k_60") == 0)
    {
        ParameterUtils::DoubleToString((double)requested_total_margins_y_8k_60, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "requested_total_margins_y_8k_120") == 0)
    {
        ParameterUtils::DoubleToString((double)requested_total_margins_y_8k_120, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "future_buffer_size_fhd_30") == 0)
    {
        ParameterUtils::DoubleToString((double)future_buffer_size_fhd_30, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "future_buffer_size_fhd_60") == 0)
    {
        ParameterUtils::DoubleToString((double)future_buffer_size_fhd_60, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "future_buffer_size_fhd_120") == 0)
    {
        ParameterUtils::DoubleToString((double)future_buffer_size_fhd_120, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "future_buffer_size_4k_30") == 0)
    {
        ParameterUtils::DoubleToString((double)future_buffer_size_4k_30, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "future_buffer_size_4k_60") == 0)
    {
        ParameterUtils::DoubleToString((double)future_buffer_size_4k_60, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "future_buffer_size_4k_120") == 0)
    {
        ParameterUtils::DoubleToString((double)future_buffer_size_4k_120, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "future_buffer_size_8k_30") == 0)
    {
        ParameterUtils::DoubleToString((double)future_buffer_size_8k_30, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "future_buffer_size_8k_60") == 0)
    {
        ParameterUtils::DoubleToString((double)future_buffer_size_8k_60, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "future_buffer_size_8k_120") == 0)
    {
        ParameterUtils::DoubleToString((double)future_buffer_size_8k_120, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "gyro_frequency") == 0)
    {
        ParameterUtils::DoubleToString((double)gyro_frequency, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "ois_frequency") == 0)
    {
        ParameterUtils::DoubleToString((double)ois_frequency, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "acc_frequency") == 0)
    {
        ParameterUtils::DoubleToString((double)acc_frequency, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "mag_frequency") == 0)
    {
        ParameterUtils::DoubleToString((double)mag_frequency, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "res_lut_param_0_tab") == 0)
    {
        __result = res_lut_param_0_tab.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool chromatix_eis12_reserveType::topStruct::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, "minimal_total_margin") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            minimal_total_margin = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "requested_total_margins_y_fhd_30") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            requested_total_margins_y_fhd_30 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "requested_total_margins_y_fhd_60") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            requested_total_margins_y_fhd_60 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "requested_total_margins_y_fhd_120") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            requested_total_margins_y_fhd_120 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "requested_total_margins_y_4k_30") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            requested_total_margins_y_4k_30 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "requested_total_margins_y_4k_60") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            requested_total_margins_y_4k_60 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "requested_total_margins_y_4k_120") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            requested_total_margins_y_4k_120 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "requested_total_margins_y_8k_30") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            requested_total_margins_y_8k_30 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "requested_total_margins_y_8k_60") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            requested_total_margins_y_8k_60 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "requested_total_margins_y_8k_120") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            requested_total_margins_y_8k_120 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "future_buffer_size_fhd_30") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            future_buffer_size_fhd_30 = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "future_buffer_size_fhd_60") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            future_buffer_size_fhd_60 = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "future_buffer_size_fhd_120") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            future_buffer_size_fhd_120 = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "future_buffer_size_4k_30") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            future_buffer_size_4k_30 = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "future_buffer_size_4k_60") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            future_buffer_size_4k_60 = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "future_buffer_size_4k_120") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            future_buffer_size_4k_120 = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "future_buffer_size_8k_30") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            future_buffer_size_8k_30 = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "future_buffer_size_8k_60") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            future_buffer_size_8k_60 = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "future_buffer_size_8k_120") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            future_buffer_size_8k_120 = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "gyro_frequency") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            gyro_frequency = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "ois_frequency") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            ois_frequency = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "acc_frequency") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            acc_frequency = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "mag_frequency") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            mag_frequency = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "res_lut_param_0_tab") == 0)
    {
        __result = res_lut_param_0_tab.SetValue(&__path[__pos], __value);
    }

    return __result;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    return __result;
}

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

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

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

    return __result;
}

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

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

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

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

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

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

    return __result;
}

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

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

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

    return __result;
}

bool chromatix_eis12_reserveType::generalStruct::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, "focal_length") == 0)
    {
        ParameterUtils::DoubleToString((double)focal_length, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "gyro_noise_floor") == 0)
    {
        ParameterUtils::DoubleToString((double)gyro_noise_floor, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "ois_noise_floor") == 0)
    {
        ParameterUtils::DoubleToString((double)ois_noise_floor, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "acc_noise_floor") == 0)
    {
        ParameterUtils::DoubleToString((double)acc_noise_floor, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "mag_noise_floor") == 0)
    {
        ParameterUtils::DoubleToString((double)mag_noise_floor, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "output_grid_precision") == 0)
    {
        ParameterUtils::DoubleToString((double)output_grid_precision, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "res_param_1") == 0)
    {
        ParameterUtils::DoubleToString((double)res_param_1, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "res_param_2") == 0)
    {
        ParameterUtils::DoubleToString((double)res_param_2, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "res_param_3") == 0)
    {
        ParameterUtils::DoubleToString((double)res_param_3, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "res_param_4") == 0)
    {
        ParameterUtils::DoubleToString((double)res_param_4, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "res_param_5") == 0)
    {
        ParameterUtils::DoubleToString((double)res_param_5, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "res_param_6") == 0)
    {
        ParameterUtils::DoubleToString((double)res_param_6, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "res_param_7") == 0)
    {
        ParameterUtils::DoubleToString((double)res_param_7, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "res_param_8") == 0)
    {
        ParameterUtils::DoubleToString((double)res_param_8, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "res_param_9") == 0)
    {
        ParameterUtils::DoubleToString((double)res_param_9, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "res_param_10") == 0)
    {
        ParameterUtils::DoubleToString((double)res_param_10, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "res_lut_param_1_tab") == 0)
    {
        __result = res_lut_param_1_tab.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "res_lut_param_2_tab") == 0)
    {
        __result = res_lut_param_2_tab.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "res_lut_param_3_tab") == 0)
    {
        __result = res_lut_param_3_tab.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool chromatix_eis12_reserveType::generalStruct::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, "focal_length") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            focal_length = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "gyro_noise_floor") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            gyro_noise_floor = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "ois_noise_floor") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            ois_noise_floor = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "acc_noise_floor") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            acc_noise_floor = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "mag_noise_floor") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            mag_noise_floor = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "output_grid_precision") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            output_grid_precision = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "res_param_1") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            res_param_1 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "res_param_2") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            res_param_2 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "res_param_3") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            res_param_3 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "res_param_4") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            res_param_4 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "res_param_5") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            res_param_5 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "res_param_6") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            res_param_6 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "res_param_7") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            res_param_7 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "res_param_8") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            res_param_8 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "res_param_9") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            res_param_9 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "res_param_10") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            res_param_10 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "res_lut_param_1_tab") == 0)
    {
        __result = res_lut_param_1_tab.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "res_lut_param_2_tab") == 0)
    {
        __result = res_lut_param_2_tab.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "res_lut_param_3_tab") == 0)
    {
        __result = res_lut_param_3_tab.SetValue(&__path[__pos], __value);
    }

    return __result;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    return __result;
}

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

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

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

    return __result;
}

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

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

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

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

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

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

    return __result;
}

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

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

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

    return __result;
}

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

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

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

    return __result;
}

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

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

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

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

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

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

    return __result;
}

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

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

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

    return __result;
}

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

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

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

    return __result;
}

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

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

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

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

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

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

    return __result;
}

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

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

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

    return __result;
}

bool chromatix_eis12_reserveType::timingStruct::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, "s3d_offset") == 0)
    {
        ParameterUtils::DoubleToString((double)s3d_offset, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "ois_offset") == 0)
    {
        ParameterUtils::DoubleToString((double)ois_offset, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "acc_offset") == 0)
    {
        ParameterUtils::DoubleToString((double)acc_offset, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "mag_offset") == 0)
    {
        ParameterUtils::DoubleToString((double)mag_offset, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool chromatix_eis12_reserveType::timingStruct::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, "s3d_offset") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            s3d_offset = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "ois_offset") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            ois_offset = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "acc_offset") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            acc_offset = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "mag_offset") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            mag_offset = (INT32)dblValue; 
        }
    }

    return __result;
}

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

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

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

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

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

    return __result;
}

bool chromatix_eis12_reserveType::blur_maskingStruct::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, "enable") == 0)
    {
        ParameterUtils::DoubleToString((double)enable, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "min_strength") == 0)
    {
        ParameterUtils::DoubleToString((double)min_strength, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "exposure_time_th") == 0)
    {
        ParameterUtils::DoubleToString((double)exposure_time_th, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "start_decrease_at_blur") == 0)
    {
        ParameterUtils::DoubleToString((double)start_decrease_at_blur, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "end_decrease_at_blur") == 0)
    {
        ParameterUtils::DoubleToString((double)end_decrease_at_blur, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "pan_min_threshold") == 0)
    {
        ParameterUtils::DoubleToString((double)pan_min_threshold, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "pan_max_threshold") == 0)
    {
        ParameterUtils::DoubleToString((double)pan_max_threshold, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "blur_masking_res1") == 0)
    {
        ParameterUtils::DoubleToString((double)blur_masking_res1, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "blur_masking_res2") == 0)
    {
        ParameterUtils::DoubleToString((double)blur_masking_res2, __value, __size);
        __result = true;
    }

    return __result;
}

bool chromatix_eis12_reserveType::blur_maskingStruct::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, "enable") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enable = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "min_strength") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            min_strength = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "exposure_time_th") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            exposure_time_th = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "start_decrease_at_blur") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            start_decrease_at_blur = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "end_decrease_at_blur") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            end_decrease_at_blur = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "pan_min_threshold") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            pan_min_threshold = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "pan_max_threshold") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            pan_max_threshold = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "blur_masking_res1") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            blur_masking_res1 = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "blur_masking_res2") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            blur_masking_res2 = (float)dblValue; 
        }
    }

    return __result;
}

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

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

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

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

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

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

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

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

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

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

    return __result;
}

bool chromatix_eis12_reserveType::lens_distortion_correctionStruct::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, "ldc_grid_source") == 0)
    {
        ParameterUtils::DoubleToString((double)ldc_grid_source, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "ldc_grid_enable") == 0)
    {
        ParameterUtils::DoubleToString((double)ldc_grid_enable, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "ldc_calib_domain") == 0)
    {
        ParameterUtils::DoubleToString((double)ldc_calib_domain, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "distorted_input_to_undistorted_ldc_grid_x_tab") == 0)
    {
        __result = distorted_input_to_undistorted_ldc_grid_x_tab.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "distorted_input_to_undistorted_ldc_grid_y_tab") == 0)
    {
        __result = distorted_input_to_undistorted_ldc_grid_y_tab.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "distorted_input_to_undistorted_ldc_grid_geometry") == 0)
    {
        ParameterUtils::DoubleToString((double)distorted_input_to_undistorted_ldc_grid_geometry, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "undistorted_to_distorted_input_ldc_grid_x_tab") == 0)
    {
        __result = undistorted_to_distorted_input_ldc_grid_x_tab.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "undistorted_to_distorted_input_ldc_grid_y_tab") == 0)
    {
        __result = undistorted_to_distorted_input_ldc_grid_y_tab.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "undistorted_to_distorted_input_ldc_grid_geometry") == 0)
    {
        ParameterUtils::DoubleToString((double)undistorted_to_distorted_input_ldc_grid_geometry, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "ldc_model_type") == 0)
    {
        ParameterUtils::DoubleToString((double)ldc_model_type, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "model_parameters_tab") == 0)
    {
        __result = model_parameters_tab.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "focal_length_x") == 0)
    {
        ParameterUtils::DoubleToString((double)focal_length_x, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "focal_length_y") == 0)
    {
        ParameterUtils::DoubleToString((double)focal_length_y, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "optical_center_x") == 0)
    {
        ParameterUtils::DoubleToString((double)optical_center_x, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "optical_center_y") == 0)
    {
        ParameterUtils::DoubleToString((double)optical_center_y, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "image_size_distorted_x") == 0)
    {
        ParameterUtils::DoubleToString((double)image_size_distorted_x, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "image_size_distorted_y") == 0)
    {
        ParameterUtils::DoubleToString((double)image_size_distorted_y, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "image_size_undistorted_x") == 0)
    {
        ParameterUtils::DoubleToString((double)image_size_undistorted_x, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "image_size_undistorted_y") == 0)
    {
        ParameterUtils::DoubleToString((double)image_size_undistorted_y, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool chromatix_eis12_reserveType::lens_distortion_correctionStruct::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, "ldc_grid_source") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            ldc_grid_source = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "ldc_grid_enable") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            ldc_grid_enable = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "ldc_calib_domain") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            ldc_calib_domain = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "distorted_input_to_undistorted_ldc_grid_x_tab") == 0)
    {
        __result = distorted_input_to_undistorted_ldc_grid_x_tab.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "distorted_input_to_undistorted_ldc_grid_y_tab") == 0)
    {
        __result = distorted_input_to_undistorted_ldc_grid_y_tab.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "distorted_input_to_undistorted_ldc_grid_geometry") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            distorted_input_to_undistorted_ldc_grid_geometry = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "undistorted_to_distorted_input_ldc_grid_x_tab") == 0)
    {
        __result = undistorted_to_distorted_input_ldc_grid_x_tab.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "undistorted_to_distorted_input_ldc_grid_y_tab") == 0)
    {
        __result = undistorted_to_distorted_input_ldc_grid_y_tab.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "undistorted_to_distorted_input_ldc_grid_geometry") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            undistorted_to_distorted_input_ldc_grid_geometry = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "ldc_model_type") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            ldc_model_type = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "model_parameters_tab") == 0)
    {
        __result = model_parameters_tab.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "focal_length_x") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            focal_length_x = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "focal_length_y") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            focal_length_y = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "optical_center_x") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            optical_center_x = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "optical_center_y") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            optical_center_y = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "image_size_distorted_x") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            image_size_distorted_x = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "image_size_distorted_y") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            image_size_distorted_y = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "image_size_undistorted_x") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            image_size_undistorted_x = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "image_size_undistorted_y") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            image_size_undistorted_y = (UINT32)dblValue; 
        }
    }

    return __result;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    return __result;
}

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

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

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

    return __result;
}

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

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

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

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

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

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

    return __result;
}

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

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

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

    return __result;
}

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

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

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

    return __result;
}

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

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

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

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

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

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

    return __result;
}

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

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

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

    return __result;
}

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

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

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

    return __result;
}

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

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

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

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

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

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

    return __result;
}

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

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

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

    return __result;
}

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

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

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

    return __result;
}

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

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

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

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

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

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

    return __result;
}

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

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

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

    return __result;
}

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

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

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

    return __result;
}

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

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

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

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

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

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

    return __result;
}

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

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

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

    return __result;
}

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

    return __result;
}

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

    return __result;
}

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

    // 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);
    }

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

    return __result;
}

bool chromatix_eis12Type::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 chromatix_eis12Type::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 chromatix_eis12Type::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
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
chromatix_eis12TypeClass::chromatix_eis12TypeClass(
    const CHAR* name)
    : ParameterModule(name, MAJOR, MINOR, PATCH, nullptr)
{
    PARAMETER_INITIALIZE(SymbolTableID);
    PARAMETER_INITIALIZE(module_version);
    PARAMETER_INITIALIZE(chromatix_eis12_reserve);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Constructor
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
chromatix_eis12TypeClass::chromatix_eis12TypeClass(
    const CHAR*       name,
    ModuleData* const moduleData)
    : ParameterModule(name, MAJOR, MINOR, PATCH, moduleData)
{
    PARAMETER_INITIALIZE(SymbolTableID);
    PARAMETER_INITIALIZE(module_version);
    PARAMETER_INITIALIZE(chromatix_eis12_reserve);
}

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


////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_eis12_reserveType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(top);
    PARAMETER_INITIALIZE(general);
    PARAMETER_INITIALIZE(timing);
    PARAMETER_INITIALIZE(blur_masking);
    PARAMETER_INITIALIZE(lens_distortion_correction);

    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        = 0xb6a4174d45e3a282;
        top.Load(localParams);
        localParams.NameHash        = 0xd3efad57d477b602;
        general.Load(localParams);
        localParams.NameHash        = 0x8396c34f649da428;
        timing.Load(localParams);
        localParams.NameHash        = 0xfe863ac327541c47;
        blur_masking.Load(localParams);
        localParams.NameHash        = 0xa57c503f359b25f6;
        lens_distortion_correction.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 chromatix_eis12_reserveType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        chromatix_eis12_reserveType* arrayPtr = (chromatix_eis12_reserveType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

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

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType_topStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_eis12_reserveType::topStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(minimal_total_margin);
    PARAMETER_INITIALIZE(requested_total_margins_y_fhd_30);
    PARAMETER_INITIALIZE(requested_total_margins_y_fhd_60);
    PARAMETER_INITIALIZE(requested_total_margins_y_fhd_120);
    PARAMETER_INITIALIZE(requested_total_margins_y_4k_30);
    PARAMETER_INITIALIZE(requested_total_margins_y_4k_60);
    PARAMETER_INITIALIZE(requested_total_margins_y_4k_120);
    PARAMETER_INITIALIZE(requested_total_margins_y_8k_30);
    PARAMETER_INITIALIZE(requested_total_margins_y_8k_60);
    PARAMETER_INITIALIZE(requested_total_margins_y_8k_120);
    PARAMETER_INITIALIZE(future_buffer_size_fhd_30);
    PARAMETER_INITIALIZE(future_buffer_size_fhd_60);
    PARAMETER_INITIALIZE(future_buffer_size_fhd_120);
    PARAMETER_INITIALIZE(future_buffer_size_4k_30);
    PARAMETER_INITIALIZE(future_buffer_size_4k_60);
    PARAMETER_INITIALIZE(future_buffer_size_4k_120);
    PARAMETER_INITIALIZE(future_buffer_size_8k_30);
    PARAMETER_INITIALIZE(future_buffer_size_8k_60);
    PARAMETER_INITIALIZE(future_buffer_size_8k_120);
    PARAMETER_INITIALIZE(gyro_frequency);
    PARAMETER_INITIALIZE(ois_frequency);
    PARAMETER_INITIALIZE(acc_frequency);
    PARAMETER_INITIALIZE(mag_frequency);
    PARAMETER_INITIALIZE(res_lut_param_0_tab);

    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 = 0xa2db72aa0ef0154b;
        entry->ReadSimpleTypeFixedArray(&minimal_total_margin, 1, localParams);
        localParams.NameHash = 0xc3ac8b7d31ba61ee;
        entry->ReadSimpleTypeFixedArray(&requested_total_margins_y_fhd_30, 1, localParams);
        localParams.NameHash = 0xe113cac1b58056cd;
        entry->ReadSimpleTypeFixedArray(&requested_total_margins_y_fhd_60, 1, localParams);
        localParams.NameHash = 0xf8c05d43bdc04a24;
        entry->ReadSimpleTypeFixedArray(&requested_total_margins_y_fhd_120, 1, localParams);
        localParams.NameHash = 0x8eef50409786e05c;
        entry->ReadSimpleTypeFixedArray(&requested_total_margins_y_4k_30, 1, localParams);
        localParams.NameHash = 0xac5011fc13bcd77f;
        entry->ReadSimpleTypeFixedArray(&requested_total_margins_y_4k_60, 1, localParams);
        localParams.NameHash = 0x82598758c8a23965;
        entry->ReadSimpleTypeFixedArray(&requested_total_margins_y_4k_120, 1, localParams);
        localParams.NameHash = 0x9bad394d5f9a60cd;
        entry->ReadSimpleTypeFixedArray(&requested_total_margins_y_8k_30, 1, localParams);
        localParams.NameHash = 0xb91278f1dba057ee;
        entry->ReadSimpleTypeFixedArray(&requested_total_margins_y_8k_60, 1, localParams);
        localParams.NameHash = 0xa695999ed2f5e172;
        entry->ReadSimpleTypeFixedArray(&requested_total_margins_y_8k_120, 1, localParams);
        localParams.NameHash = 0xa7b12768c73c734c;
        entry->ReadSimpleTypeFixedArray(&future_buffer_size_fhd_30, 1, localParams);
        localParams.NameHash = 0x850e66d44306446f;
        entry->ReadSimpleTypeFixedArray(&future_buffer_size_fhd_60, 1, localParams);
        localParams.NameHash = 0xa7d721e382bd340f;
        entry->ReadSimpleTypeFixedArray(&future_buffer_size_fhd_120, 1, localParams);
        localParams.NameHash = 0xb47f2a2c7c414442;
        entry->ReadSimpleTypeFixedArray(&future_buffer_size_4k_30, 1, localParams);
        localParams.NameHash = 0x96c06b90f87b7361;
        entry->ReadSimpleTypeFixedArray(&future_buffer_size_4k_60, 1, localParams);
        localParams.NameHash = 0xe6442b4d3e242bc7;
        entry->ReadSimpleTypeFixedArray(&future_buffer_size_4k_120, 1, localParams);
        localParams.NameHash = 0xa13d4321b45dc4d3;
        entry->ReadSimpleTypeFixedArray(&future_buffer_size_8k_30, 1, localParams);
        localParams.NameHash = 0x8382029d3067f3f0;
        entry->ReadSimpleTypeFixedArray(&future_buffer_size_8k_60, 1, localParams);
        localParams.NameHash = 0xc288358b2473f3d0;
        entry->ReadSimpleTypeFixedArray(&future_buffer_size_8k_120, 1, localParams);
        localParams.NameHash = 0x9527ab33788f38e5;
        entry->ReadSimpleTypeFixedArray(&gyro_frequency, 1, localParams);
        localParams.NameHash = 0xce033328747eb4c6;
        entry->ReadSimpleTypeFixedArray(&ois_frequency, 1, localParams);
        localParams.NameHash = 0x9e0c58ff276c51d8;
        entry->ReadSimpleTypeFixedArray(&acc_frequency, 1, localParams);
        localParams.NameHash = 0xe5de8b97fb24c7df;
        entry->ReadSimpleTypeFixedArray(&mag_frequency, 1, localParams);
        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xed881488e2eb3db7;
        res_lut_param_0_tab.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 chromatix_eis12_reserveType::topStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        topStruct* arrayPtr = (topStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

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

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType_topStruct_res_lut_param_0_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_eis12_reserveType::topStruct::res_lut_param_0_tabStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(res_lut_param_0);

    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 = 0xac5583e9325910d1;
        entry->ReadSimpleTypeFixedArray<float>(res_lut_param_0, res_lut_param_0FixedCount,
            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 chromatix_eis12_reserveType::topStruct::res_lut_param_0_tabStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        res_lut_param_0_tabStruct* arrayPtr = (res_lut_param_0_tabStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

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

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType_generalStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_eis12_reserveType::generalStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(focal_length);
    PARAMETER_INITIALIZE(gyro_noise_floor);
    PARAMETER_INITIALIZE(ois_noise_floor);
    PARAMETER_INITIALIZE(acc_noise_floor);
    PARAMETER_INITIALIZE(mag_noise_floor);
    PARAMETER_INITIALIZE(output_grid_precision);
    PARAMETER_INITIALIZE(res_param_1);
    PARAMETER_INITIALIZE(res_param_2);
    PARAMETER_INITIALIZE(res_param_3);
    PARAMETER_INITIALIZE(res_param_4);
    PARAMETER_INITIALIZE(res_param_5);
    PARAMETER_INITIALIZE(res_param_6);
    PARAMETER_INITIALIZE(res_param_7);
    PARAMETER_INITIALIZE(res_param_8);
    PARAMETER_INITIALIZE(res_param_9);
    PARAMETER_INITIALIZE(res_param_10);
    PARAMETER_INITIALIZE(res_lut_param_1_tab);
    PARAMETER_INITIALIZE(res_lut_param_2_tab);
    PARAMETER_INITIALIZE(res_lut_param_3_tab);

    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 = 0xd998d76a02e0f3ac;
        entry->ReadSimpleTypeFixedArray(&focal_length, 1, localParams);
        localParams.NameHash = 0x898170e1b56be5d7;
        entry->ReadSimpleTypeFixedArray(&gyro_noise_floor, 1, localParams);
        localParams.NameHash = 0xe82c8b377c927f5f;
        entry->ReadSimpleTypeFixedArray(&ois_noise_floor, 1, localParams);
        localParams.NameHash = 0xe8144aaf22a03935;
        entry->ReadSimpleTypeFixedArray(&acc_noise_floor, 1, localParams);
        localParams.NameHash = 0xbf4d64dcea8889bb;
        entry->ReadSimpleTypeFixedArray(&mag_noise_floor, 1, localParams);
        localParams.NameHash = 0x9754391ef2d7ed1b;
        entry->ReadSimpleTypeFixedArray(&output_grid_precision, 1, localParams);
        localParams.NameHash = 0xd3907e737234aa4b;
        entry->ReadSimpleTypeFixedArray(&res_param_1, 1, localParams);
        localParams.NameHash = 0x9abcc1126f785645;
        entry->ReadSimpleTypeFixedArray(&res_param_2, 1, localParams);
        localParams.NameHash = 0xa258abcd6443fdbf;
        entry->ReadSimpleTypeFixedArray(&res_param_3, 1, localParams);
        localParams.NameHash = 0x8d047c070635c37e;
        entry->ReadSimpleTypeFixedArray(&res_param_4, 1, localParams);
        localParams.NameHash = 0xb5e016d80d0e6884;
        entry->ReadSimpleTypeFixedArray(&res_param_5, 1, localParams);
        localParams.NameHash = 0xfccca9b91042948a;
        entry->ReadSimpleTypeFixedArray(&res_param_6, 1, localParams);
        localParams.NameHash = 0xc428c3661b793f70;
        entry->ReadSimpleTypeFixedArray(&res_param_7, 1, localParams);
        localParams.NameHash = 0xa275062dd4aee908;
        entry->ReadSimpleTypeFixedArray(&res_param_8, 1, localParams);
        localParams.NameHash = 0x9a916cf2df9542f2;
        entry->ReadSimpleTypeFixedArray(&res_param_9, 1, localParams);
        localParams.NameHash = 0xf46fa9cb89dedbce;
        entry->ReadSimpleTypeFixedArray(&res_param_10, 1, localParams);
        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xcfc01243e7e3391d;
        res_lut_param_1_tab.Load(localParams);
        localParams.NameHash        = 0xa918191ee8fb34e3;
        res_lut_param_2_tab.Load(localParams);
        localParams.NameHash        = 0x8b501fd5edf33049;
        res_lut_param_3_tab.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 chromatix_eis12_reserveType::generalStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        generalStruct* arrayPtr = (generalStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

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

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType_generalStruct_res_lut_param_1_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_eis12_reserveType::generalStruct::res_lut_param_1_tabStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(res_lut_param_1);

    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 = 0x94b1e9363962bb2b;
        entry->ReadSimpleTypeFixedArray<float>(res_lut_param_1, res_lut_param_1FixedCount,
            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 chromatix_eis12_reserveType::generalStruct::res_lut_param_1_tabStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        res_lut_param_1_tabStruct* arrayPtr = (res_lut_param_1_tabStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

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

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType_generalStruct_res_lut_param_2_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_eis12_reserveType::generalStruct::res_lut_param_2_tabStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(res_lut_param_2);

    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 = 0xdd9d5657242e4725;
        entry->ReadSimpleTypeFixedArray<float>(res_lut_param_2, res_lut_param_2FixedCount,
            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 chromatix_eis12_reserveType::generalStruct::res_lut_param_2_tabStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        res_lut_param_2_tabStruct* arrayPtr = (res_lut_param_2_tabStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

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

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType_generalStruct_res_lut_param_3_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_eis12_reserveType::generalStruct::res_lut_param_3_tabStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(res_lut_param_3);

    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 = 0xe5793c882f15ecdf;
        entry->ReadSimpleTypeFixedArray<UINT32>(res_lut_param_3, res_lut_param_3FixedCount,
            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 chromatix_eis12_reserveType::generalStruct::res_lut_param_3_tabStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        res_lut_param_3_tabStruct* arrayPtr = (res_lut_param_3_tabStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

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

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType_timingStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_eis12_reserveType::timingStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(s3d_offset);
    PARAMETER_INITIALIZE(ois_offset);
    PARAMETER_INITIALIZE(acc_offset);
    PARAMETER_INITIALIZE(mag_offset);

    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 = 0x86cbe1598be04b7d;
        entry->ReadSimpleTypeFixedArray(&s3d_offset, 1, localParams);
        localParams.NameHash = 0xe8d367bdb3b18a21;
        entry->ReadSimpleTypeFixedArray(&ois_offset, 1, localParams);
        localParams.NameHash = 0x985aae7e36bcde54;
        entry->ReadSimpleTypeFixedArray(&acc_offset, 1, localParams);
        localParams.NameHash = 0xe8131b3be47235a6;
        entry->ReadSimpleTypeFixedArray(&mag_offset, 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 chromatix_eis12_reserveType::timingStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        timingStruct* arrayPtr = (timingStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

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

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType_blur_maskingStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_eis12_reserveType::blur_maskingStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(enable);
    PARAMETER_INITIALIZE(min_strength);
    PARAMETER_INITIALIZE(exposure_time_th);
    PARAMETER_INITIALIZE(start_decrease_at_blur);
    PARAMETER_INITIALIZE(end_decrease_at_blur);
    PARAMETER_INITIALIZE(pan_min_threshold);
    PARAMETER_INITIALIZE(pan_max_threshold);
    PARAMETER_INITIALIZE(blur_masking_res1);
    PARAMETER_INITIALIZE(blur_masking_res2);

    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 = 0xb3c00adf8e304e57;
        entry->ReadSimpleTypeFixedArray(&enable, 1, localParams);
        localParams.NameHash = 0xd66cf473d9319968;
        entry->ReadSimpleTypeFixedArray(&min_strength, 1, localParams);
        localParams.NameHash = 0xfd891e1b582a3e0e;
        entry->ReadSimpleTypeFixedArray(&exposure_time_th, 1, localParams);
        localParams.NameHash = 0xb59f6ab781887b87;
        entry->ReadSimpleTypeFixedArray(&start_decrease_at_blur, 1, localParams);
        localParams.NameHash = 0x97b51b136736e766;
        entry->ReadSimpleTypeFixedArray(&end_decrease_at_blur, 1, localParams);
        localParams.NameHash = 0x998ebd8e2ba6a986;
        entry->ReadSimpleTypeFixedArray(&pan_min_threshold, 1, localParams);
        localParams.NameHash = 0x8a0440d9336c11a1;
        entry->ReadSimpleTypeFixedArray(&pan_max_threshold, 1, localParams);
        localParams.NameHash = 0xf43f16a1357504b9;
        entry->ReadSimpleTypeFixedArray(&blur_masking_res1, 1, localParams);
        localParams.NameHash = 0xbd13a9c02839f8b7;
        entry->ReadSimpleTypeFixedArray(&blur_masking_res2, 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 chromatix_eis12_reserveType::blur_maskingStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        blur_maskingStruct* arrayPtr = (blur_maskingStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

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

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType_lens_distortion_correctionStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_eis12_reserveType::lens_distortion_correctionStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(ldc_grid_source);
    PARAMETER_INITIALIZE(ldc_grid_enable);
    PARAMETER_INITIALIZE(ldc_calib_domain);
    PARAMETER_INITIALIZE(distorted_input_to_undistorted_ldc_grid_x_tab);
    PARAMETER_INITIALIZE(distorted_input_to_undistorted_ldc_grid_y_tab);
    PARAMETER_INITIALIZE(distorted_input_to_undistorted_ldc_grid_geometry);
    PARAMETER_INITIALIZE(undistorted_to_distorted_input_ldc_grid_x_tab);
    PARAMETER_INITIALIZE(undistorted_to_distorted_input_ldc_grid_y_tab);
    PARAMETER_INITIALIZE(undistorted_to_distorted_input_ldc_grid_geometry);
    PARAMETER_INITIALIZE(ldc_model_type);
    PARAMETER_INITIALIZE(model_parameters_tab);
    PARAMETER_INITIALIZE(focal_length_x);
    PARAMETER_INITIALIZE(focal_length_y);
    PARAMETER_INITIALIZE(optical_center_x);
    PARAMETER_INITIALIZE(optical_center_y);
    PARAMETER_INITIALIZE(image_size_distorted_x);
    PARAMETER_INITIALIZE(image_size_distorted_y);
    PARAMETER_INITIALIZE(image_size_undistorted_x);
    PARAMETER_INITIALIZE(image_size_undistorted_y);

    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 = 0xd2fe40315575a1d8;
        entry->ReadSimpleTypeFixedArray(&ldc_grid_source, 1, localParams);
        localParams.NameHash = 0xcfa444b98c2e95fd;
        entry->ReadSimpleTypeFixedArray(&ldc_grid_enable, 1, localParams);
        localParams.NameHash = 0xc1c29513bdf6ad24;
        entry->ReadSimpleTypeFixedArray(&ldc_calib_domain, 1, localParams);
        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0x83e0637e4f5f9534;
        distorted_input_to_undistorted_ldc_grid_x_tab.Load(localParams);
        localParams.NameHash        = 0xa1a865b54a57919e;
        distorted_input_to_undistorted_ldc_grid_y_tab.Load(localParams);
        localParams.NameHash = 0xe6c0fe1a92572895;
        entry->ReadSimpleTypeFixedArray(&distorted_input_to_undistorted_ldc_grid_geometry, 1, localParams);
        localParams.NameHash        = 0xa85d41a2f6a780ad;
        undistorted_to_distorted_input_ldc_grid_x_tab.Load(localParams);
        localParams.NameHash        = 0x8a154769f3af8407;
        undistorted_to_distorted_input_ldc_grid_y_tab.Load(localParams);
        localParams.NameHash = 0xaa87d1a45fc11563;
        entry->ReadSimpleTypeFixedArray(&undistorted_to_distorted_input_ldc_grid_geometry, 1, localParams);
        localParams.NameHash = 0xdef103e32acd640d;
        entry->ReadSimpleTypeFixedArray(&ldc_model_type, 1, localParams);
        localParams.NameHash        = 0xafc0e7ff93e4da6c;
        model_parameters_tab.Load(localParams);
        localParams.NameHash = 0xd406e668cef29488;
        entry->ReadSimpleTypeFixedArray(&focal_length_x, 1, localParams);
        localParams.NameHash = 0xece28cb7c5c93f72;
        entry->ReadSimpleTypeFixedArray(&focal_length_y, 1, localParams);
        localParams.NameHash = 0x8cdeb3eacac5507c;
        entry->ReadSimpleTypeFixedArray(&optical_center_x, 1, localParams);
        localParams.NameHash = 0xb43ad935c1fefb86;
        entry->ReadSimpleTypeFixedArray(&optical_center_y, 1, localParams);
        localParams.NameHash = 0xe6dc144279e626e1;
        entry->ReadSimpleTypeFixedArray(&image_size_distorted_x, 1, localParams);
        localParams.NameHash = 0xde387e9d72dd8d1b;
        entry->ReadSimpleTypeFixedArray(&image_size_distorted_y, 1, localParams);
        localParams.NameHash = 0xbaf9e9252eafb85d;
        entry->ReadSimpleTypeFixedArray(&image_size_undistorted_x, 1, localParams);
        localParams.NameHash = 0x821d83fa259413a7;
        entry->ReadSimpleTypeFixedArray(&image_size_undistorted_y, 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 chromatix_eis12_reserveType::lens_distortion_correctionStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        lens_distortion_correctionStruct* arrayPtr = (lens_distortion_correctionStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

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

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType_lens_distortion_correctionStruct_distorted_input_to_undistorted_ldc_grid_x_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_eis12_reserveType::lens_distortion_correctionStruct::distorted_input_to_undistorted_ldc_grid_x_tabStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(distorted_input_to_undistorted_ldc_grid_x);

    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 = 0xb338731521b840c0;
        entry->ReadSimpleTypeFixedArray<INT32>(distorted_input_to_undistorted_ldc_grid_x, distorted_input_to_undistorted_ldc_grid_xFixedCount,
            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 chromatix_eis12_reserveType::lens_distortion_correctionStruct::distorted_input_to_undistorted_ldc_grid_x_tabStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        distorted_input_to_undistorted_ldc_grid_x_tabStruct* arrayPtr = (distorted_input_to_undistorted_ldc_grid_x_tabStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

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

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType_lens_distortion_correctionStruct_distorted_input_to_undistorted_ldc_grid_y_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_eis12_reserveType::lens_distortion_correctionStruct::distorted_input_to_undistorted_ldc_grid_y_tabStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(distorted_input_to_undistorted_ldc_grid_y);

    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 = 0x8bdc19ca2a83eb3a;
        entry->ReadSimpleTypeFixedArray<INT32>(distorted_input_to_undistorted_ldc_grid_y, distorted_input_to_undistorted_ldc_grid_yFixedCount,
            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 chromatix_eis12_reserveType::lens_distortion_correctionStruct::distorted_input_to_undistorted_ldc_grid_y_tabStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        distorted_input_to_undistorted_ldc_grid_y_tabStruct* arrayPtr = (distorted_input_to_undistorted_ldc_grid_y_tabStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

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

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType_lens_distortion_correctionStruct_undistorted_to_distorted_input_ldc_grid_x_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_eis12_reserveType::lens_distortion_correctionStruct::undistorted_to_distorted_input_ldc_grid_x_tabStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(undistorted_to_distorted_input_ldc_grid_x);

    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 = 0xd81426a3d016044a;
        entry->ReadSimpleTypeFixedArray<INT32>(undistorted_to_distorted_input_ldc_grid_x, undistorted_to_distorted_input_ldc_grid_xFixedCount,
            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 chromatix_eis12_reserveType::lens_distortion_correctionStruct::undistorted_to_distorted_input_ldc_grid_x_tabStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        undistorted_to_distorted_input_ldc_grid_x_tabStruct* arrayPtr = (undistorted_to_distorted_input_ldc_grid_x_tabStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

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

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType_lens_distortion_correctionStruct_undistorted_to_distorted_input_ldc_grid_y_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_eis12_reserveType::lens_distortion_correctionStruct::undistorted_to_distorted_input_ldc_grid_y_tabStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(undistorted_to_distorted_input_ldc_grid_y);

    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 = 0xe0f04c7cdb2dafb0;
        entry->ReadSimpleTypeFixedArray<INT32>(undistorted_to_distorted_input_ldc_grid_y, undistorted_to_distorted_input_ldc_grid_yFixedCount,
            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 chromatix_eis12_reserveType::lens_distortion_correctionStruct::undistorted_to_distorted_input_ldc_grid_y_tabStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        undistorted_to_distorted_input_ldc_grid_y_tabStruct* arrayPtr = (undistorted_to_distorted_input_ldc_grid_y_tabStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

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

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType_lens_distortion_correctionStruct_model_parameters_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_eis12_reserveType::lens_distortion_correctionStruct::model_parameters_tabStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(model_parameters);

    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 = 0xaa21afb77ccb3e8c;
        entry->ReadSimpleTypeFixedArray<float>(model_parameters, model_parametersFixedCount,
            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 chromatix_eis12_reserveType::lens_distortion_correctionStruct::model_parameters_tabStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        model_parameters_tabStruct* arrayPtr = (model_parameters_tabStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

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

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12Type
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_eis12Type::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(module_version);
    PARAMETER_INITIALIZE(chromatix_eis12_reserve);

    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        = 0xe11cd9f365a2599f;
        module_version.Load(localParams);
        localParams.NameHash        = 0x872dee1a3da24879;
        chromatix_eis12_reserve.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 chromatix_eis12Type::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        chromatix_eis12Type* arrayPtr = (chromatix_eis12Type*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

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

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load module_versionStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_eis12Type::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 chromatix_eis12Type::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* chromatix_eis12Type::module_versionStruct::AllocArray(
    UINT32 __count)
{
    module_versionStruct* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW module_versionStruct[__count];
    }
    return result;
}

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

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

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

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

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Create module, and return a new object
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
ParameterModule* chromatix_eis12TypeClass::Create(
    ModuleData* const    moduleData,
    DefaultModule* const defModule) const
{
    chromatix_eis12TypeClass* 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 = (chromatix_eis12TypeClass*)module;
        }
        else
        {
            cls = PARAMETER_NEW chromatix_eis12TypeClass(Name, moduleData);
            cls->SymbolTableID = id;
            defModule->AddModule((ParameterModule*)cls);
        }
    }
    else if (Version.Value != moduleData->Version.Value)
    {
        PARAMETER_LOG_ERROR(moduleData->SetManager, "Unable to create chromatix_eis12TypeClass, binary version (%lld) does not match source version (%lld)\n",
            moduleData->Version.Value, Version.Value);
    }
    else
    {
        PARAMETER_LOG_ERROR(moduleData->SetManager, "Unable to create chromatix_eis12TypeClass, 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 chromatix_eis12TypeClass::LoadModule(
    ParameterFileSymbolTable* const table)
{
    bool result = true;

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

    if (!Loaded)
    {
        chromatix_eis12TypeClass* 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, "chromatix_eis12TypeClass::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 chromatix_eis12TypeClass::UnloadModule()
{
#ifdef PARAMETER_USE_MUTEX
    ParameterMutexLocker lock(Mutex); // Unique LOCK
#endif

    if (Loaded)
    {
        Loaded = false;
    }
}

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

EIS_1_2_0_NAMESPACE_END
