NVIDIA DRIVE OS Linux SDK API Reference

6.0.10.0 Release
NvSIPLControlAutoDef.hpp
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2020-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
13 /* NVIDIA SIPL Control Auto Definitions */
14 
15 #ifndef NVSIPLCONTROLAUTODEF_HPP
16 #define NVSIPLCONTROLAUTODEF_HPP
17 
18 #include "NvSIPLISPStat.hpp"
19 #include "NvSIPLCDICommon.h"
20 
28 namespace nvsipl{
29 
37 enum PluginType : std::uint8_t {
38  NV_PLUGIN = 0,
41 };
42 
58  DevBlkCDIExposure exposureControl[DEVBLK_CDI_MAX_SENSOR_CONTEXTS];
62  DevBlkCDIWhiteBalance wbControl[DEVBLK_CDI_MAX_SENSOR_CONTEXTS];
66  DevBlkCDIIllumination illuminationControl;
67 };
68 
77  uint32_t numExposures;
81  DevBlkCDIExposure sensorExpInfo;
85  DevBlkCDIWhiteBalance sensorWBInfo;
90  DevBlkCDITemperature sensorTempInfo;
94  DevBlkCDIIllumination illuminationInfo;
95 };
96 
108  DevBlkCDIFrameSeqNum frameSeqNum;
113  DevBlkCDIEmbeddedDataChunk topEmbeddedData;
118  DevBlkCDIEmbeddedDataChunk bottomEmbeddedData;
119 };
120 
128  bool valid;
134 };
135 
149  float_t cct;
155 };
156 
186 };
187 
197  float_t alpha;
198 
205 
206 };
207 
219  DevBlkCDISensorAttributes sensorAttr;
228 };
229 
246  float_t ispDigitalGain;
247 };
248 
249 
252 } // namespace nvsipl
253 
254 #endif /* NVSIPLCONTROLAUTODEF_HPP */
nvsipl::SiplControlIspStatsInfo::lacSettings
const NvSiplISPLocalAvgClipStats * lacSettings[2]
Holds pointers to 2 LAC stats settings.
Definition: NvSIPLControlAutoDef.hpp:167
nvsipl::SiplControlAutoOutputParam::sensorSetting
SiplControlAutoSensorSetting sensorSetting
Sensor exposure and gain settings.
Definition: NvSIPLControlAutoDef.hpp:237
nvsipl::SiplControlAutoOutputParam::awbSetting
SiplControlAutoAwbSetting awbSetting
AWB settings.
Definition: NvSIPLControlAutoDef.hpp:241
nvsipl::NvSiplISPLocalAvgClipStatsData
Holds local average and clip statistics block (LAC Stats).
Definition: NvSIPLISPStat.hpp:477
nvsipl::PluginType
PluginType
Defines types of SIPL Control Auto plug-ins.
Definition: NvSIPLControlAutoDef.hpp:37
nvsipl::SiplControlAutoSensorSetting::numSensorContexts
uint8_t numSensorContexts
Holds the number of sensor contexts to activate.
Definition: NvSIPLControlAutoDef.hpp:54
nvsipl::NvSiplISPLocalAvgClipStats
Holds controls for local average and clip statistics (LAC Stats).
Definition: NvSIPLISPStat.hpp:487
nvsipl::SiplControlIspStatsInfo::lacData
const NvSiplISPLocalAvgClipStatsData * lacData[2]
Holds pointers to 2 LAC stats data.
Definition: NvSIPLControlAutoDef.hpp:163
nvsipl::SiplControlAutoSensorSetting::wbControl
DevBlkCDIWhiteBalance wbControl[DEVBLK_CDI_MAX_SENSOR_CONTEXTS]
Holds the sensor white balance settings to set for each context, supports up to DEVBLK_CDI_MAX_SENSOR...
Definition: NvSIPLControlAutoDef.hpp:62
nvsipl::SiplControlAutoMetadata::alpha
float_t alpha
power factor for statistics compression Valid Range: [0.5, 1.0]
Definition: NvSIPLControlAutoDef.hpp:197
nvsipl::SiplControlAutoAwbGain::gain
float_t gain[NVSIPL_ISP_MAX_COLOR_COMPONENT]
Gains that applies to individual color channels Valid Range: [0, 8.0].
Definition: NvSIPLControlAutoDef.hpp:133
nvsipl::SiplControlEmbedData::frameSeqNum
DevBlkCDIFrameSeqNum frameSeqNum
Holds frame sequence number for the captured frame, this variable is not supported in SIPL Control Au...
Definition: NvSIPLControlAutoDef.hpp:108
nvsipl::SiplControlIspStatsInfo::fbStatsSettings
const NvSiplISPFlickerBandStats * fbStatsSettings
Holds pointer to Flicker Band stats settings.
Definition: NvSIPLControlAutoDef.hpp:185
nvsipl::NvSiplISPHistogramStats
Holds controls for histogram statistics (HIST Stats).
Definition: NvSIPLISPStat.hpp:411
nvsipl::SiplControlAutoInputParam::autoMetadata
SiplControlAutoMetadata autoMetadata
Metadata info for algorithm.
Definition: NvSIPLControlAutoDef.hpp:227
nvsipl::SiplControlAutoOutputParam
AE/AWB Output parameters.
Definition: NvSIPLControlAutoDef.hpp:233
NvSIPLISPStat.hpp
NvSipl ISP stat struct
nvsipl::SiplControlAutoAwbSetting
Automatic white balance settings.
Definition: NvSIPLControlAutoDef.hpp:139
nvsipl::SiplControlAutoInputParam::sensorAttr
DevBlkCDISensorAttributes sensorAttr
Sensor attributes.
Definition: NvSIPLControlAutoDef.hpp:219
NVSIPL_ISP_MAX_COLOR_COMPONENT
#define NVSIPL_ISP_MAX_COLOR_COMPONENT
Maximum number of color components.
Definition: NvSIPLISPStat.hpp:31
nvsipl::SiplControlAutoSensorSetting::exposureControl
DevBlkCDIExposure exposureControl[DEVBLK_CDI_MAX_SENSOR_CONTEXTS]
Holds the sensor exposure settings to set for each context, supports up to DEVBLK_CDI_MAX_SENSOR_CONT...
Definition: NvSIPLControlAutoDef.hpp:58
nvsipl::SiplControlAutoInputParam::statsInfo
SiplControlIspStatsInfo statsInfo
Stats buffers and settings.
Definition: NvSIPLControlAutoDef.hpp:223
nvsipl::SiplControlAutoSensorSetting
Sensor settings.
Definition: NvSIPLControlAutoDef.hpp:46
nvsipl::SiplControlEmbedData::embedInfo
SiplControlEmbedInfo embedInfo
Holds the parsed embedded info for the captured frame.
Definition: NvSIPLControlAutoDef.hpp:104
NVSIPL_ISP_MAX_INPUT_PLANES
#define NVSIPL_ISP_MAX_INPUT_PLANES
Maximum number of input planes.
Definition: NvSIPLISPStat.hpp:52
nvsipl::NV_PLUGIN
@ NV_PLUGIN
Definition: NvSIPLControlAutoDef.hpp:38
nvsipl::SiplControlAutoAwbGain::valid
bool valid
A Boolean flag to control whether white balance gains are valid or not.
Definition: NvSIPLControlAutoDef.hpp:128
nvsipl::SiplControlAutoAwbGain
Color Gains assuming order RGGB, RCCB, RCCC.
Definition: NvSIPLControlAutoDef.hpp:124
NVSIPL_ISP_MAX_COLORMATRIX_DIM
#define NVSIPL_ISP_MAX_COLORMATRIX_DIM
Maximum matrix dimension.
Definition: NvSIPLISPStat.hpp:57
nvsipl::SiplControlEmbedInfo::sensorTempInfo
DevBlkCDITemperature sensorTempInfo
Holds the parsed embedded data sensor temperature info for the captured frame, this variable is not s...
Definition: NvSIPLControlAutoDef.hpp:90
nvsipl::SiplControlAutoAwbSetting::wbGainTotal
SiplControlAutoAwbGain wbGainTotal[NVSIPL_ISP_MAX_INPUT_PLANES]
Total white balance gains, including both sensor channel gains and ISP gains Valid Range: [0,...
Definition: NvSIPLControlAutoDef.hpp:144
nvsipl::SiplControlEmbedInfo::numExposures
uint32_t numExposures
Holds the parsed embedded data frame number of exposures info for the captured frame.
Definition: NvSIPLControlAutoDef.hpp:77
nvsipl::SiplControlAutoInputParam
Input parameters for processing AE/AWB.
Definition: NvSIPLControlAutoDef.hpp:211
nvsipl::SiplControlEmbedInfo
Parsed frame embedded information.
Definition: NvSIPLControlAutoDef.hpp:72
nvsipl::CUSTOM_PLUGIN0
@ CUSTOM_PLUGIN0
NVIDIA plug-in.
Definition: NvSIPLControlAutoDef.hpp:39
nvsipl::NvSiplISPHistogramStatsData
Holds histogram statistics (HIST Stats).
Definition: NvSIPLISPStat.hpp:138
nvsipl::SiplControlIspStatsInfo
Structure containing ISP Stats information.
Definition: NvSIPLControlAutoDef.hpp:159
nvsipl::SiplControlEmbedData::topEmbeddedData
DevBlkCDIEmbeddedDataChunk topEmbeddedData
Holds information of the embedded data buffer attached to the beginning of the frame,...
Definition: NvSIPLControlAutoDef.hpp:113
nvsipl::SiplControlIspStatsInfo::fbStatsData
const NvSiplISPFlickerBandStatsData * fbStatsData
Holds pointer to Flicker Band stats data.
Definition: NvSIPLControlAutoDef.hpp:180
nvsipl::NvSiplISPFlickerBandStatsData
Holds flicker band statistics (FB Stats).
Definition: NvSIPLISPStat.hpp:286
nvsipl::SiplControlEmbedInfo::sensorExpInfo
DevBlkCDIExposure sensorExpInfo
Holds the parsed embedded data sensor exposure info for the captured frame.
Definition: NvSIPLControlAutoDef.hpp:81
nvsipl::SiplControlAutoMetadata
Structure containing metadata info for processing AE/AWB algorithm.
Definition: NvSIPLControlAutoDef.hpp:192
nvsipl::NvSiplISPFlickerBandStats
Holds controls for flicker band statistics (FB Stats).
Definition: NvSIPLISPStat.hpp:225
nvsipl::SiplControlAutoOutputParam::ispDigitalGain
float_t ispDigitalGain
Digital gain to be applied in ISP Valid Range: [0.0, 8.0].
Definition: NvSIPLControlAutoDef.hpp:246
nvsipl
Contains the classes and variables for implementation of SIPL.
Definition: INvSiplControlAuto.hpp:35
nvsipl::SiplControlAutoAwbSetting::cct
float_t cct
Correlated color temperature.
Definition: NvSIPLControlAutoDef.hpp:149
nvsipl::SiplControlAutoAwbSetting::ccmMatrix
float_t ccmMatrix[NVSIPL_ISP_MAX_COLORMATRIX_DIM][NVSIPL_ISP_MAX_COLORMATRIX_DIM]
Color correction matrix Valid Range: [-8.0, 8.0].
Definition: NvSIPLControlAutoDef.hpp:154
nvsipl::SiplControlEmbedData
Embedded data and parsed information.
Definition: NvSIPLControlAutoDef.hpp:100
nvsipl::MAX_NUM_PLUGINS
@ MAX_NUM_PLUGINS
Custom plug-in 0.
Definition: NvSIPLControlAutoDef.hpp:40
nvsipl::SiplControlEmbedInfo::sensorWBInfo
DevBlkCDIWhiteBalance sensorWBInfo
Holds the parsed embedded data sensor white balance info for the captured frame.
Definition: NvSIPLControlAutoDef.hpp:85
nvsipl::SiplControlAutoSensorSetting::illuminationControl
DevBlkCDIIllumination illuminationControl
Holds the setting for enabling the IR emitter and turning it ON and OFF for RGB-IR sensors.
Definition: NvSIPLControlAutoDef.hpp:66
nvsipl::SiplControlIspStatsInfo::histSettings
const NvSiplISPHistogramStats * histSettings[2]
Holds pointers to 2 Histogram stats settings.
Definition: NvSIPLControlAutoDef.hpp:175
nvsipl::SiplControlIspStatsInfo::histData
const NvSiplISPHistogramStatsData * histData[2]
Holds pointers to 2 Histogram stats data.
Definition: NvSIPLControlAutoDef.hpp:171
nvsipl::SiplControlEmbedInfo::illuminationInfo
DevBlkCDIIllumination illuminationInfo
Holds the parsed embedded data for IR emitter status (ON or OFF) for RGB-IR sensors.
Definition: NvSIPLControlAutoDef.hpp:94
nvsipl::SiplControlAutoMetadata::isFirstFrame
bool isFirstFrame
A Boolean flag for notifying if it is first frame for processing AE/AWB algorithm without statistics.
Definition: NvSIPLControlAutoDef.hpp:204
nvsipl::SiplControlEmbedData::bottomEmbeddedData
DevBlkCDIEmbeddedDataChunk bottomEmbeddedData
Holds information of the embedded data buffer attached to the end of the frame, this variable is not ...
Definition: NvSIPLControlAutoDef.hpp:118
nvsipl::SiplControlAutoInputParam::embedData
SiplControlEmbedData embedData
Embedded settings.
Definition: NvSIPLControlAutoDef.hpp:215