NVIDIA DRIVE OS Linux SDK API Reference

6.0.3 Release
NvSIPLControlAutoDef.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2020-2022, 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];
66 };
67 
76  uint32_t numExposures;
85  DevBlkCDIExposure sensorExpInfo;
92  DevBlkCDIWhiteBalance sensorWBInfo;
101  DevBlkCDITemperature sensorTempInfo;
102 };
103 
118  DevBlkCDIFrameSeqNum frameSeqNum;
126  DevBlkCDIEmbeddedDataChunk topEmbeddedData;
134  DevBlkCDIEmbeddedDataChunk bottomEmbeddedData;
135 };
136 
144  bool valid;
150 };
151 
165  float_t cct;
170 };
171 
185 
190 
213 };
214 
222  bool valid;
223 
228 
233 
239 };
240 
250  float alpha;
251 };
252 
275  DevBlkCDISensorAttributes sensorAttr;
284 };
285 
306  float_t ispDigitalGain;
307 };
308 
309 
312 } // namespace nvsipl
313 
314 #endif /* NVSIPLCONTROLAUTODEF_HPP */
nvsipl::SiplControlIspStatsSetting
Structure containing ISP stats settings.
Definition: NvSIPLControlAutoDef.hpp:218
nvsipl::SiplControlIspStatsInfo::lacSettings
const NvSiplISPLocalAvgClipStats * lacSettings[2]
Holds pointers to 2 LAC stats settings, defined in NvSIPLISPStat.hpp.
Definition: NvSIPLControlAutoDef.hpp:189
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:293
nvsipl::SiplControlAutoOutputParam::awbSetting
SiplControlAutoAwbSetting awbSetting
AWB settings.
Definition: NvSIPLControlAutoDef.hpp:297
nvsipl::SiplControlAutoSensorSetting::numSensorContexts
uint8_t numSensorContexts
Holds the number of sensor contexts to activate.
Definition: NvSIPLControlAutoDef.hpp:49
nvsipl::SiplControlIspStatsInfo::lacData
const NvSiplISPLocalAvgClipStatsData * lacData[2]
Holds pointers to 2 LAC stats data, defined in NvSIPLISPStat.hpp.
Definition: NvSIPLControlAutoDef.hpp:184
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::SiplControlAutoAwbGain::gain
float_t gain[NVSIPL_ISP_MAX_COLOR_COMPONENT]
Gains that applies to individual color channels.
Definition: NvSIPLControlAutoDef.hpp:149
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:118
nvsipl::SiplControlIspStatsInfo::fbStatsSettings
const NvSiplISPFlickerBandStats * fbStatsSettings
Holds pointer to Flicker Band stats settings, defined in NvSIPLISPStat.hpp.
Definition: NvSIPLControlAutoDef.hpp:212
nvsipl::SiplControlIspStatsSetting::hist1
NvSiplISPHistogramStatsOverride hist1
Settings for Histogram 1 stats override block, defined in NvSIPLISPStat.hpp.
Definition: NvSIPLControlAutoDef.hpp:232
NvMediaISPFlickerBandStatsData
Holds flicker band statistics (FB Stats).
Definition: nvmedia_isp_stat.h:603
nvsipl::SiplControlAutoInputParam::autoMetadata
SiplControlAutoMetadata autoMetadata
Metadata info for algorithm.
Definition: NvSIPLControlAutoDef.hpp:283
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:289
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:155
nvsipl::SiplControlAutoInputParam::sensorAttr
DevBlkCDISensorAttributes sensorAttr
Sensor attributes, DevBlkCDISensorAttributes is defined in NvSIPLCDICommon.h.
Definition: NvSIPLControlAutoDef.hpp:275
NVSIPL_ISP_MAX_COLOR_COMPONENT
#define NVSIPL_ISP_MAX_COLOR_COMPONENT
Definition: NvSIPLISPStat.hpp:25
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:279
nvsipl::SiplControlAutoSensorSetting
Sensor settings.
Definition: NvSIPLControlAutoDef.hpp:41
nvsipl::NvSiplISPHistogramStatsOverride
SIPL ISP Histogram Statistics Override Params.
Definition: NvSIPLISPStat.hpp:139
nvsipl::SiplControlEmbedData::embedInfo
SiplControlEmbedInfo embedInfo
Holds the parsed embedded info for the captured frame.
Definition: NvSIPLControlAutoDef.hpp:111
NVSIPL_ISP_MAX_INPUT_PLANES
#define NVSIPL_ISP_MAX_INPUT_PLANES
Definition: NvSIPLISPStat.hpp:29
nvsipl::SiplControlAutoAwbGain::valid
bool valid
A Boolean flag to control whether white balance gains are valid or not.
Definition: NvSIPLControlAutoDef.hpp:144
nvsipl::SiplControlAutoAwbGain
Color Gains assuming order RGGB, RCCB, RCCC.
Definition: NvSIPLControlAutoDef.hpp:140
NVSIPL_ISP_MAX_COLORMATRIX_DIM
#define NVSIPL_ISP_MAX_COLORMATRIX_DIM
Definition: NvSIPLISPStat.hpp:30
NvMediaISPLocalAvgClipStatsData
Holds local average and clip statistics block (LAC Stats).
Definition: nvmedia_isp_stat.h:528
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:101
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:160
nvsipl::SiplControlEmbedInfo::numExposures
uint32_t numExposures
Holds the parsed embedded data frame number of exposures info for the captured frame.
Definition: NvSIPLControlAutoDef.hpp:76
nvsipl::SiplControlIspStatsSetting::lac
NvSiplISPLocalAvgClipStats lac[2]
Settings for 2 LAC stats ISP blocks, defined in NvSIPLISPStat.hpp.
Definition: NvSIPLControlAutoDef.hpp:227
nvsipl::SiplControlAutoInputParam
Input parameters for processing AE/AWB.
Definition: NvSIPLControlAutoDef.hpp:256
nvsipl::SiplControlIspStatsSetting::fbStats
NvSiplISPFlickerBandStats fbStats
Settings for Flicker Band stats block, defined in NvSIPLISPStat.hpp.
Definition: NvSIPLControlAutoDef.hpp:238
nvsipl::SiplControlEmbedInfo
Parsed frame embedded information.
Definition: NvSIPLControlAutoDef.hpp:71
NvMediaISPHistogramStats
Holds controls for histogram statistics (HIST Stats).
Definition: nvmedia_isp_stat.h:160
nvsipl::SiplControlIspStatsInfo
Structure containing ISP Stats information.
Definition: NvSIPLControlAutoDef.hpp:174
nvsipl::SiplControlEmbedData::topEmbeddedData
DevBlkCDIEmbeddedDataChunk topEmbeddedData
Holds information of the embedded data buffer attached to the beginning of the frame,...
Definition: NvSIPLControlAutoDef.hpp:126
nvsipl::SiplControlIspStatsInfo::fbStatsData
const NvSiplISPFlickerBandStatsData * fbStatsData
Holds pointer to Flicker Band stats data, defined in NvSIPLISPStat.hpp.
Definition: NvSIPLControlAutoDef.hpp:207
nvsipl::SiplControlEmbedInfo::sensorExpInfo
DevBlkCDIExposure sensorExpInfo
Holds the parsed embedded data sensor exposure info for the captured frame.
Definition: NvSIPLControlAutoDef.hpp:85
nvsipl::SiplControlAutoMetadata
Structure containing metadata info for processing AE/AWB algorithm.
Definition: NvSIPLControlAutoDef.hpp:245
nvsipl::SiplControlAutoOutputParam::newStatsSetting
SiplControlIspStatsSetting newStatsSetting
Settings to config stats, reserved for Custom Plugin to config customized Stats settings.
Definition: NvSIPLControlAutoDef.hpp:301
nvsipl::SiplControlIspStatsSetting::valid
bool valid
Boolean flag to control whether ISP stats blocks are valid or not.
Definition: NvSIPLControlAutoDef.hpp:222
nvsipl::SiplControlAutoOutputParam::ispDigitalGain
float_t ispDigitalGain
Digital gain to be applied in ISP.
Definition: NvSIPLControlAutoDef.hpp:306
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:165
nvsipl::SiplControlAutoAwbSetting::ccmMatrix
float_t ccmMatrix[NVSIPL_ISP_MAX_COLORMATRIX_DIM][NVSIPL_ISP_MAX_COLORMATRIX_DIM]
Color correction matrix.
Definition: NvSIPLControlAutoDef.hpp:169
nvsipl::SiplControlEmbedData
Embedded data and parsed information.
Definition: NvSIPLControlAutoDef.hpp:107
nvsipl::PluginType
PluginType
Defines types of SIPL Control Auto plug-ins.
Definition: NvSIPLControlAutoDef.hpp:32
NvMediaISPLocalAvgClipStats
Holds controls for local average and clip statistics (LAC Stats).
Definition: nvmedia_isp_stat.h:291
NvMediaISPHistogramStatsData
Holds histogram statistics (HIST Stats).
Definition: nvmedia_isp_stat.h:483
nvsipl::SiplControlEmbedInfo::sensorWBInfo
DevBlkCDIWhiteBalance sensorWBInfo
Holds the parsed embedded data sensor white balance info for the captured frame.
Definition: NvSIPLControlAutoDef.hpp:92
nvsipl::SiplControlAutoMetadata::alpha
float alpha
power factor for statistics compression
Definition: NvSIPLControlAutoDef.hpp:250
nvsipl::SiplControlIspStatsInfo::histSettings
const NvSiplISPHistogramStats * histSettings[2]
Holds pointers to 2 Histogram stats settings, defined in NvSIPLISPStat.hpp.
Definition: NvSIPLControlAutoDef.hpp:200
nvsipl::SiplControlIspStatsInfo::histData
const NvSiplISPHistogramStatsData * histData[2]
Holds pointers to 2 Histogram stats data, defined in NvSIPLISPStat.hpp.
Definition: NvSIPLControlAutoDef.hpp:196
NvMediaISPFlickerBandStats
Holds controls for flicker band statistics (FB Stats).
Definition: nvmedia_isp_stat.h:416
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:134
nvsipl::SiplControlAutoInputParam::embedData
SiplControlEmbedData embedData
Embedded settings.
Definition: NvSIPLControlAutoDef.hpp:260