NVIDIA DRIVE OS Linux SDK API Reference

6.0.8 Release
NvSIPLControlAutoDef.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2020-2023, NVIDIA CORPORATION. All rights reserved. All
3  * information contained herein is proprietary and confidential to NVIDIA
4  * Corporation. Any use, reproduction, or disclosure without the written
5  * permission of NVIDIA Corporation is prohibited.
6  */
7 
8 /* NVIDIA SIPL Control Auto Definitions */
9 
10 #ifndef NVSIPLCONTROLAUTODEF_HPP
11 #define NVSIPLCONTROLAUTODEF_HPP
12 
13 #include "NvSIPLISPStat.hpp"
14 #include "NvSIPLCDICommon.h"
15 
23 namespace nvsipl{
24 
32 enum PluginType {
33  NV_PLUGIN = 0,
36 };
37 
58  DevBlkCDIExposure exposureControl[DEVBLK_CDI_MAX_SENSOR_CONTEXTS];
65  DevBlkCDIWhiteBalance wbControl[DEVBLK_CDI_MAX_SENSOR_CONTEXTS];
69  DevBlkCDIIllumination illuminationControl;
70 };
71 
80  uint32_t numExposures;
89  DevBlkCDIExposure sensorExpInfo;
96  DevBlkCDIWhiteBalance sensorWBInfo;
105  DevBlkCDITemperature sensorTempInfo;
109  DevBlkCDIIllumination illuminationInfo;
110 };
111 
126  DevBlkCDIFrameSeqNum frameSeqNum;
134  DevBlkCDIEmbeddedDataChunk topEmbeddedData;
142  DevBlkCDIEmbeddedDataChunk bottomEmbeddedData;
143 };
144 
152  bool valid;
158 };
159 
173  float_t cct;
178 };
179 
193 
198 
221 };
222 
232  float_t alpha;
233 
240 
241 };
242 
265  DevBlkCDISensorAttributes sensorAttr;
274 };
275 
292  float_t ispDigitalGain;
293 };
294 
295 
298 } // namespace nvsipl
299 
300 #endif /* NVSIPLCONTROLAUTODEF_HPP */
nvsipl::SiplControlIspStatsInfo::lacSettings
const NvSiplISPLocalAvgClipStats * lacSettings[2]
Holds pointers to 2 LAC stats settings, defined in NvSIPLISPStat.hpp.
Definition: NvSIPLControlAutoDef.hpp:197
nvsipl::NV_PLUGIN
@ NV_PLUGIN
NVIDIA plug-in.
Definition: NvSIPLControlAutoDef.hpp:33
nvsipl::SiplControlAutoOutputParam::sensorSetting
SiplControlAutoSensorSetting sensorSetting
Sensor exposure and gain settings.
Definition: NvSIPLControlAutoDef.hpp:283
nvsipl::SiplControlAutoOutputParam::awbSetting
SiplControlAutoAwbSetting awbSetting
AWB settings.
Definition: NvSIPLControlAutoDef.hpp:287
nvsipl::NvSiplISPLocalAvgClipStatsData
Holds local average and clip statistics block (LAC Stats).
Definition: NvSIPLISPStat.hpp:448
nvsipl::SiplControlAutoSensorSetting::numSensorContexts
uint8_t numSensorContexts
Holds the number of sensor contexts to activate.
Definition: NvSIPLControlAutoDef.hpp:49
nvsipl::NvSiplISPLocalAvgClipStats
Holds controls for local average and clip statistics (LAC Stats).
Definition: NvSIPLISPStat.hpp:458
nvsipl::SiplControlIspStatsInfo::lacData
const NvSiplISPLocalAvgClipStatsData * lacData[2]
Holds pointers to 2 LAC stats data, defined in NvSIPLISPStat.hpp.
Definition: NvSIPLControlAutoDef.hpp:192
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:65
nvsipl::SiplControlAutoMetadata::alpha
float_t alpha
power factor for statistics compression
Definition: NvSIPLControlAutoDef.hpp:232
nvsipl::SiplControlAutoAwbGain::gain
float_t gain[NVSIPL_ISP_MAX_COLOR_COMPONENT]
Gains that applies to individual color channels.
Definition: NvSIPLControlAutoDef.hpp:157
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:126
nvsipl::SiplControlIspStatsInfo::fbStatsSettings
const NvSiplISPFlickerBandStats * fbStatsSettings
Holds pointer to Flicker Band stats settings, defined in NvSIPLISPStat.hpp.
Definition: NvSIPLControlAutoDef.hpp:220
nvsipl::NvSiplISPHistogramStats
Holds controls for histogram statistics (HIST Stats).
Definition: NvSIPLISPStat.hpp:376
nvsipl::SiplControlAutoInputParam::autoMetadata
SiplControlAutoMetadata autoMetadata
Metadata info for algorithm.
Definition: NvSIPLControlAutoDef.hpp:273
nvsipl::MAX_NUM_PLUGINS
@ MAX_NUM_PLUGINS
Maximum number of plug-ins supported.
Definition: NvSIPLControlAutoDef.hpp:35
nvsipl::SiplControlAutoOutputParam
AE/AWB Output parameters.
Definition: NvSIPLControlAutoDef.hpp:279
NvSIPLISPStat.hpp
NvSipl ISP stat struct
nvsipl::CUSTOM_PLUGIN0
@ CUSTOM_PLUGIN0
Custom plug-in 0.
Definition: NvSIPLControlAutoDef.hpp:34
nvsipl::SiplControlAutoAwbSetting
Automatic white balance settings.
Definition: NvSIPLControlAutoDef.hpp:163
nvsipl::SiplControlAutoInputParam::sensorAttr
DevBlkCDISensorAttributes sensorAttr
Sensor attributes, DevBlkCDISensorAttributes is defined in NvSIPLCDICommon.h.
Definition: NvSIPLControlAutoDef.hpp:265
NVSIPL_ISP_MAX_COLOR_COMPONENT
#define NVSIPL_ISP_MAX_COLOR_COMPONENT
Maximum number of color components.
Definition: NvSIPLISPStat.hpp:26
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:269
nvsipl::SiplControlAutoSensorSetting
Sensor settings.
Definition: NvSIPLControlAutoDef.hpp:41
nvsipl::SiplControlEmbedData::embedInfo
SiplControlEmbedInfo embedInfo
Holds the parsed embedded info for the captured frame.
Definition: NvSIPLControlAutoDef.hpp:119
NVSIPL_ISP_MAX_INPUT_PLANES
#define NVSIPL_ISP_MAX_INPUT_PLANES
Maximum number of input planes.
Definition: NvSIPLISPStat.hpp:47
nvsipl::SiplControlAutoAwbGain::valid
bool valid
A Boolean flag to control whether white balance gains are valid or not.
Definition: NvSIPLControlAutoDef.hpp:152
nvsipl::SiplControlAutoAwbGain
Color Gains assuming order RGGB, RCCB, RCCC.
Definition: NvSIPLControlAutoDef.hpp:148
NVSIPL_ISP_MAX_COLORMATRIX_DIM
#define NVSIPL_ISP_MAX_COLORMATRIX_DIM
Maximum matrix dimension.
Definition: NvSIPLISPStat.hpp:52
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:105
nvsipl::SiplControlAutoAwbSetting::wbGainTotal
SiplControlAutoAwbGain wbGainTotal[NVSIPL_ISP_MAX_INPUT_PLANES]
Total white balance gains, including both sensor channel gains and ISP gains.
Definition: NvSIPLControlAutoDef.hpp:168
nvsipl::SiplControlEmbedInfo::numExposures
uint32_t numExposures
Holds the parsed embedded data frame number of exposures info for the captured frame.
Definition: NvSIPLControlAutoDef.hpp:80
nvsipl::SiplControlAutoInputParam
Input parameters for processing AE/AWB.
Definition: NvSIPLControlAutoDef.hpp:246
nvsipl::SiplControlEmbedInfo
Parsed frame embedded information.
Definition: NvSIPLControlAutoDef.hpp:75
nvsipl::NvSiplISPHistogramStatsData
Holds histogram statistics (HIST Stats).
Definition: NvSIPLISPStat.hpp:123
nvsipl::SiplControlIspStatsInfo
Structure containing ISP Stats information.
Definition: NvSIPLControlAutoDef.hpp:182
nvsipl::SiplControlEmbedData::topEmbeddedData
DevBlkCDIEmbeddedDataChunk topEmbeddedData
Holds information of the embedded data buffer attached to the beginning of the frame,...
Definition: NvSIPLControlAutoDef.hpp:134
nvsipl::SiplControlIspStatsInfo::fbStatsData
const NvSiplISPFlickerBandStatsData * fbStatsData
Holds pointer to Flicker Band stats data, defined in NvSIPLISPStat.hpp.
Definition: NvSIPLControlAutoDef.hpp:215
nvsipl::NvSiplISPFlickerBandStatsData
Holds flicker band statistics (FB Stats).
Definition: NvSIPLISPStat.hpp:258
nvsipl::SiplControlEmbedInfo::sensorExpInfo
DevBlkCDIExposure sensorExpInfo
Holds the parsed embedded data sensor exposure info for the captured frame.
Definition: NvSIPLControlAutoDef.hpp:89
nvsipl::SiplControlAutoMetadata
Structure containing metadata info for processing AE/AWB algorithm.
Definition: NvSIPLControlAutoDef.hpp:227
nvsipl::NvSiplISPFlickerBandStats
Holds controls for flicker band statistics (FB Stats).
Definition: NvSIPLISPStat.hpp:191
nvsipl::SiplControlAutoOutputParam::ispDigitalGain
float_t ispDigitalGain
Digital gain to be applied in ISP.
Definition: NvSIPLControlAutoDef.hpp:292
nvsipl
Contains the classes and variables for implementation of SIPL.
Definition: INvSiplControlAuto.hpp:33
nvsipl::SiplControlAutoAwbSetting::cct
float_t cct
Correlated color temperature.
Definition: NvSIPLControlAutoDef.hpp:173
nvsipl::SiplControlAutoAwbSetting::ccmMatrix
float_t ccmMatrix[NVSIPL_ISP_MAX_COLORMATRIX_DIM][NVSIPL_ISP_MAX_COLORMATRIX_DIM]
Color correction matrix.
Definition: NvSIPLControlAutoDef.hpp:177
nvsipl::SiplControlEmbedData
Embedded data and parsed information.
Definition: NvSIPLControlAutoDef.hpp:115
nvsipl::PluginType
PluginType
Defines types of SIPL Control Auto plug-ins.
Definition: NvSIPLControlAutoDef.hpp:32
nvsipl::SiplControlEmbedInfo::sensorWBInfo
DevBlkCDIWhiteBalance sensorWBInfo
Holds the parsed embedded data sensor white balance info for the captured frame.
Definition: NvSIPLControlAutoDef.hpp:96
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:69
nvsipl::SiplControlIspStatsInfo::histSettings
const NvSiplISPHistogramStats * histSettings[2]
Holds pointers to 2 Histogram stats settings, defined in NvSIPLISPStat.hpp.
Definition: NvSIPLControlAutoDef.hpp:208
nvsipl::SiplControlIspStatsInfo::histData
const NvSiplISPHistogramStatsData * histData[2]
Holds pointers to 2 Histogram stats data, defined in NvSIPLISPStat.hpp.
Definition: NvSIPLControlAutoDef.hpp:204
nvsipl::SiplControlEmbedInfo::illuminationInfo
DevBlkCDIIllumination illuminationInfo
Holds the parsed embedded data for IR emitter status (ON or OFF) for RGB-IR sensors.
Definition: NvSIPLControlAutoDef.hpp:109
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:239
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:142
nvsipl::SiplControlAutoInputParam::embedData
SiplControlEmbedData embedData
Embedded settings.
Definition: NvSIPLControlAutoDef.hpp:250