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

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// @file  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;

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

    if (PARAMETER_STRCMP(__name, "res_lut_param_0") == 0)
    {
        if (__index < 32)
        {
            ParameterUtils::DoubleToString((double)res_lut_param_0[__index], __value, __size);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < 32; 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;

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

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

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

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

                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;

    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, 32));
    }

    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;

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

    if (PARAMETER_STRCMP(__name, "res_lut_param_1") == 0)
    {
        if (__index < 32)
        {
            ParameterUtils::DoubleToString((double)res_lut_param_1[__index], __value, __size);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < 32; 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;

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

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

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

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

                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;

    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, 32));
    }

    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;

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

    if (PARAMETER_STRCMP(__name, "res_lut_param_2") == 0)
    {
        if (__index < 32)
        {
            ParameterUtils::DoubleToString((double)res_lut_param_2[__index], __value, __size);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < 32; 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;

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

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

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

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

                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;

    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, 32));
    }

    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;

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

    if (PARAMETER_STRCMP(__name, "res_lut_param_3") == 0)
    {
        if (__index < 16)
        {
            ParameterUtils::DoubleToString((double)res_lut_param_3[__index], __value, __size, 0);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < 16; 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;

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

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

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

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

                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;

    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, 16));
    }

    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;

    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;

    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;

    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;

    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;

    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;

    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;

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

    if (PARAMETER_STRCMP(__name, "distorted_input_to_undistorted_ldc_grid_x") == 0)
    {
        if (__index < 3417)
        {
            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 < 3417; 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;

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

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

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

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

                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;

    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, 3417));
    }

    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;

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

    if (PARAMETER_STRCMP(__name, "distorted_input_to_undistorted_ldc_grid_y") == 0)
    {
        if (__index < 3417)
        {
            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 < 3417; 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;

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

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

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

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

                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;

    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, 3417));
    }

    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;

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

    if (PARAMETER_STRCMP(__name, "undistorted_to_distorted_input_ldc_grid_x") == 0)
    {
        if (__index < 3417)
        {
            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 < 3417; 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;

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

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

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

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

                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;

    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, 3417));
    }

    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;

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

    if (PARAMETER_STRCMP(__name, "undistorted_to_distorted_input_ldc_grid_y") == 0)
    {
        if (__index < 3417)
        {
            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 < 3417; 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;

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

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

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

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

                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;

    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, 3417));
    }

    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;

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

    if (PARAMETER_STRCMP(__name, "model_parameters") == 0)
    {
        if (__index < 32)
        {
            ParameterUtils::DoubleToString((double)model_parameters[__index], __value, __size);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < 32; 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;

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

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

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

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

                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;

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

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

    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;

    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;

    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;

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

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

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

    PARAMETER_INITIALIZE(top);
    PARAMETER_INITIALIZE(general);
    PARAMETER_INITIALIZE(timing);
    PARAMETER_INITIALIZE(blur_masking);
    PARAMETER_INITIALIZE(lens_distortion_correction);

    result = top.Load(entry, alignment);
    if (result)
    {
        result = general.Load(entry, alignment);
    }
    if (result)
    {
        result = timing.Load(entry, alignment);
    }
    if (result)
    {
        result = blur_masking.Load(entry, alignment);
    }
    if (result)
    {
        result = lens_distortion_correction.Load(entry, alignment);
    }

    return result;
}

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

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

    SYMBOL_TABLE_ENTRY_READ(entry, result, minimal_total_margin, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, requested_total_margins_y_fhd_30, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, requested_total_margins_y_fhd_60, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, requested_total_margins_y_fhd_120, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, requested_total_margins_y_4k_30, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, requested_total_margins_y_4k_60, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, requested_total_margins_y_4k_120, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, requested_total_margins_y_8k_30, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, requested_total_margins_y_8k_60, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, requested_total_margins_y_8k_120, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, future_buffer_size_fhd_30, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, future_buffer_size_fhd_60, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, future_buffer_size_fhd_120, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, future_buffer_size_4k_30, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, future_buffer_size_4k_60, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, future_buffer_size_4k_120, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, future_buffer_size_8k_30, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, future_buffer_size_8k_60, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, future_buffer_size_8k_120, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, gyro_frequency, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, ois_frequency, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, acc_frequency, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, mag_frequency, alignment)
    if (result)
    {
        result = res_lut_param_0_tab.Load(entry, alignment);
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType_topStruct_res_lut_param_0_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatix_eis12_reserveType::topStruct::res_lut_param_0_tabStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(res_lut_param_0);

    result = entry->ReadArray(res_lut_param_0, 32, alignment);

    return result;
}

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

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

    SYMBOL_TABLE_ENTRY_READ(entry, result, focal_length, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, gyro_noise_floor, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, ois_noise_floor, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, acc_noise_floor, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, mag_noise_floor, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, output_grid_precision, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, res_param_1, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, res_param_2, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, res_param_3, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, res_param_4, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, res_param_5, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, res_param_6, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, res_param_7, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, res_param_8, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, res_param_9, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, res_param_10, alignment)
    if (result)
    {
        result = res_lut_param_1_tab.Load(entry, alignment);
    }
    if (result)
    {
        result = res_lut_param_2_tab.Load(entry, alignment);
    }
    if (result)
    {
        result = res_lut_param_3_tab.Load(entry, alignment);
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType_generalStruct_res_lut_param_1_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatix_eis12_reserveType::generalStruct::res_lut_param_1_tabStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(res_lut_param_1);

    result = entry->ReadArray(res_lut_param_1, 32, alignment);

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType_generalStruct_res_lut_param_2_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatix_eis12_reserveType::generalStruct::res_lut_param_2_tabStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(res_lut_param_2);

    result = entry->ReadArray(res_lut_param_2, 32, alignment);

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType_generalStruct_res_lut_param_3_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatix_eis12_reserveType::generalStruct::res_lut_param_3_tabStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(res_lut_param_3);

    result = entry->ReadArray(res_lut_param_3, 16, alignment);

    return result;
}

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

    PARAMETER_INITIALIZE(s3d_offset);
    PARAMETER_INITIALIZE(ois_offset);
    PARAMETER_INITIALIZE(acc_offset);
    PARAMETER_INITIALIZE(mag_offset);

    SYMBOL_TABLE_ENTRY_READ(entry, result, s3d_offset, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, ois_offset, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, acc_offset, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, mag_offset, alignment)

    return result;
}

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

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

    SYMBOL_TABLE_ENTRY_READ(entry, result, enable, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, min_strength, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, exposure_time_th, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, start_decrease_at_blur, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, end_decrease_at_blur, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, pan_min_threshold, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, pan_max_threshold, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, blur_masking_res1, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, blur_masking_res2, alignment)

    return result;
}

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

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

    SYMBOL_TABLE_ENTRY_READ(entry, result, ldc_grid_source, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, ldc_grid_enable, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, ldc_calib_domain, alignment)
    if (result)
    {
        result = distorted_input_to_undistorted_ldc_grid_x_tab.Load(entry, alignment);
    }
    if (result)
    {
        result = distorted_input_to_undistorted_ldc_grid_y_tab.Load(entry, alignment);
    }
    SYMBOL_TABLE_ENTRY_READ(entry, result, distorted_input_to_undistorted_ldc_grid_geometry, alignment)
    if (result)
    {
        result = undistorted_to_distorted_input_ldc_grid_x_tab.Load(entry, alignment);
    }
    if (result)
    {
        result = undistorted_to_distorted_input_ldc_grid_y_tab.Load(entry, alignment);
    }
    SYMBOL_TABLE_ENTRY_READ(entry, result, undistorted_to_distorted_input_ldc_grid_geometry, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, ldc_model_type, alignment)
    if (result)
    {
        result = model_parameters_tab.Load(entry, alignment);
    }
    SYMBOL_TABLE_ENTRY_READ(entry, result, focal_length_x, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, focal_length_y, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, optical_center_x, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, optical_center_y, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, image_size_distorted_x, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, image_size_distorted_y, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, image_size_undistorted_x, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, image_size_undistorted_y, alignment)

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType_lens_distortion_correctionStruct_distorted_input_to_undistorted_ldc_grid_x_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatix_eis12_reserveType::lens_distortion_correctionStruct::distorted_input_to_undistorted_ldc_grid_x_tabStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(distorted_input_to_undistorted_ldc_grid_x);

    result = entry->ReadArray(distorted_input_to_undistorted_ldc_grid_x, 3417, alignment);

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType_lens_distortion_correctionStruct_distorted_input_to_undistorted_ldc_grid_y_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatix_eis12_reserveType::lens_distortion_correctionStruct::distorted_input_to_undistorted_ldc_grid_y_tabStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(distorted_input_to_undistorted_ldc_grid_y);

    result = entry->ReadArray(distorted_input_to_undistorted_ldc_grid_y, 3417, alignment);

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType_lens_distortion_correctionStruct_undistorted_to_distorted_input_ldc_grid_x_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatix_eis12_reserveType::lens_distortion_correctionStruct::undistorted_to_distorted_input_ldc_grid_x_tabStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(undistorted_to_distorted_input_ldc_grid_x);

    result = entry->ReadArray(undistorted_to_distorted_input_ldc_grid_x, 3417, alignment);

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType_lens_distortion_correctionStruct_undistorted_to_distorted_input_ldc_grid_y_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatix_eis12_reserveType::lens_distortion_correctionStruct::undistorted_to_distorted_input_ldc_grid_y_tabStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(undistorted_to_distorted_input_ldc_grid_y);

    result = entry->ReadArray(undistorted_to_distorted_input_ldc_grid_y, 3417, alignment);

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatix_eis12_reserveType_lens_distortion_correctionStruct_model_parameters_tabStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatix_eis12_reserveType::lens_distortion_correctionStruct::model_parameters_tabStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(model_parameters);

    result = entry->ReadArray(model_parameters, 32, alignment);

    return result;
}

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

    PARAMETER_INITIALIZE(module_version);
    PARAMETER_INITIALIZE(chromatix_eis12_reserve);

    result = module_version.Load(entry, alignment);
    if (result)
    {
        result = chromatix_eis12_reserve.Load(entry, alignment);
    }

    return result;
}

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

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

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

    return result;
}

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

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

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

        ParameterModule* const module = defModule->Find(id);
        if (module != nullptr)
        {
            cls = (chromatix_eis12TypeClass*)module;
        }
        else
        {
            cls = PARAMETER_NEW chromatix_eis12TypeClass(GetName(moduleData->Type), moduleData);
            cls->SymbolTableID = id;
            defModule->AddModule((ParameterModule*)cls);
        }
    }
    else if (Version.Value != moduleData->Version.Value)
    {
        PARAMETER_LOG_ERROR(moduleData->SetManager, "Unable to create chromatix_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 (%s) does not match source name (%s)\n",
            moduleData->Type, Type);
    }

    return (ParameterModule*)cls;
}

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

    if (!Loaded)
    {
        BYTE const alignment = table->Alignment;
        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 & 0x00ffffff);

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

        if (result)
        {
            result = cls->Load(entry, alignment);
        }
        Modified++;
        Loaded = true;
    }

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

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload module data
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatix_eis12TypeClass::UnloadModule()
{
    if (Loaded)
    {
        Loaded = false;
    }
}

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

EIS_1_2_0_NAMESPACE_END
