NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
NvSiplControlAutoDef.hpp
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2020-2025 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 
21 #include <cstdint>
22 #include <array>
23 
31 namespace nvsipl{
32 
40 enum PluginType : std::uint8_t {
41  NV_PLUGIN = 0,
44 };
45 
61  std::array<DevBlkCDIExposure, DEVBLK_CDI_MAX_SENSOR_CONTEXTS> exposureControl;
65  std::array<DevBlkCDIWhiteBalance, DEVBLK_CDI_MAX_SENSOR_CONTEXTS> wbControl;
70 };
71 
80  uint32_t numExposures;
98 };
99 
122 };
123 
131  bool valid;
136  std::array<float_t, NVSIPL_ISP_MAX_COLOR_COMPONENT> gain;
137 };
138 
147  std::array<SiplControlAutoAwbGain, NVSIPL_ISP_MAX_INPUT_PLANES> wbGainTotal;
152  float_t cct;
157  std::array<std::array<float_t, NVSIPL_ISP_MAX_COLORMATRIX_DIM>, NVSIPL_ISP_MAX_COLORMATRIX_DIM> ccmMatrix;
158 };
159 
166  std::array<NvSiplISPLocalAvgClipStatsData const *, 2> lacData;
170  std::array<NvSiplISPLocalAvgClipStats const *, 2> lacSettings;
174  std::array<NvSiplISPHistogramStatsData const *, 3> histData;
178  std::array<NvSiplISPHistogramStats const *, 3> histSettings;
179 };
180 
190  float_t alpha;
191 
198 
199 };
200 
221 };
222 
239  float_t ispDigitalGain;
240 };
241 
242 
245 } // namespace nvsipl
246 
247 #endif /* NVSIPLCONTROLAUTODEF_HPP */
nvsipl::SiplControlAutoSensorSetting::wbControl
std::array< DevBlkCDIWhiteBalance, DEVBLK_CDI_MAX_SENSOR_CONTEXTS > wbControl
Holds the sensor white balance settings to set for each context, supports up to DEVBLK_CDI_MAX_SENSOR...
Definition: NvSiplControlAutoDef.hpp:65
nvsipl::SiplControlAutoOutputParam::sensorSetting
SiplControlAutoSensorSetting sensorSetting
Sensor exposure and gain settings.
Definition: NvSiplControlAutoDef.hpp:230
nvsipl::SiplControlIspStatsInfo::lacSettings
std::array< NvSiplISPLocalAvgClipStats const *, 2 > lacSettings
Holds pointers to 2 LAC stats settings.
Definition: NvSiplControlAutoDef.hpp:170
nvsipl::SiplControlAutoOutputParam::awbSetting
SiplControlAutoAwbSetting awbSetting
AWB settings.
Definition: NvSiplControlAutoDef.hpp:234
nvsipl::PluginType
PluginType
Defines types of SIPL Control Auto plug-ins.
Definition: NvSiplControlAutoDef.hpp:40
nvsipl::SiplControlAutoSensorSetting::numSensorContexts
uint8_t numSensorContexts
Holds the number of sensor contexts to activate.
Definition: NvSiplControlAutoDef.hpp:57
nvsipl::SiplControlAutoMetadata::alpha
float_t alpha
power factor for statistics compression Valid Range: [0.5, 1.0]
Definition: NvSiplControlAutoDef.hpp:190
DevBlkCDIEmbeddedDataChunk
Holds the sensor embedded data chunk structure.
Definition: NvSIPLCDICommon.h:233
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:111
nvsipl::SiplControlAutoInputParam::autoMetadata
SiplControlAutoMetadata autoMetadata
Metadata info for algorithm.
Definition: NvSiplControlAutoDef.hpp:220
nvsipl::SiplControlAutoOutputParam
AE/AWB Output parameters.
Definition: NvSiplControlAutoDef.hpp:226
NvSIPLISPStat.hpp
NvSipl ISP statistics data structures for Tegra
nvsipl::SiplControlAutoAwbSetting
Automatic white balance settings.
Definition: NvSiplControlAutoDef.hpp:142
nvsipl::SiplControlAutoInputParam::sensorAttr
DevBlkCDISensorAttributes sensorAttr
Sensor attributes.
Definition: NvSiplControlAutoDef.hpp:212
nvsipl::SiplControlAutoAwbSetting::ccmMatrix
std::array< std::array< float_t, NVSIPL_ISP_MAX_COLORMATRIX_DIM >, NVSIPL_ISP_MAX_COLORMATRIX_DIM > ccmMatrix
Color correction matrix Valid Range: [-8.0, 8.0].
Definition: NvSiplControlAutoDef.hpp:157
nvsipl::SiplControlAutoSensorSetting::exposureControl
std::array< DevBlkCDIExposure, DEVBLK_CDI_MAX_SENSOR_CONTEXTS > exposureControl
Holds the sensor exposure settings to set for each context, supports up to DEVBLK_CDI_MAX_SENSOR_CONT...
Definition: NvSiplControlAutoDef.hpp:61
nvsipl::SiplControlAutoInputParam::statsInfo
SiplControlIspStatsInfo statsInfo
Stats buffers and settings.
Definition: NvSiplControlAutoDef.hpp:216
nvsipl::SiplControlAutoSensorSetting
Sensor settings.
Definition: NvSiplControlAutoDef.hpp:49
nvsipl::SiplControlEmbedData::embedInfo
SiplControlEmbedInfo embedInfo
Holds the parsed embedded info for the captured frame.
Definition: NvSiplControlAutoDef.hpp:107
nvsipl::NV_PLUGIN
@ NV_PLUGIN
Definition: NvSiplControlAutoDef.hpp:41
NvSIPLCDICommon.h
nvsipl::SiplControlAutoAwbGain::valid
bool valid
A Boolean flag to control whether white balance gains are valid or not.
Definition: NvSiplControlAutoDef.hpp:131
DevBlkCDIWhiteBalance
Holds the sensor white balance gain structure.
Definition: NvSIPLCDICommon.h:306
nvsipl::SiplControlAutoAwbGain
Color Gains assuming order RGGB, RCCB, RCCC.
Definition: NvSiplControlAutoDef.hpp:127
NVSIPL_ISP_MAX_COLORMATRIX_DIM
#define NVSIPL_ISP_MAX_COLORMATRIX_DIM
Maximum matrix dimension.
Definition: NvSIPLISPStat.hpp:58
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:93
DevBlkCDIIllumination
Holds the sensor illumination control structure.
Definition: NvSIPLCDICommon.h:327
nvsipl::SiplControlAutoAwbGain::gain
std::array< float_t, NVSIPL_ISP_MAX_COLOR_COMPONENT > gain
Gains that applies to individual color channels Valid Range: [0, 8.0].
Definition: NvSiplControlAutoDef.hpp:136
nvsipl::SiplControlIspStatsInfo::histData
std::array< NvSiplISPHistogramStatsData const *, 3 > histData
Holds pointers to 3 Histogram stats data.
Definition: NvSiplControlAutoDef.hpp:174
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:204
DevBlkCDITemperature
Holds the sensor temperature structure.
Definition: NvSIPLCDICommon.h:343
nvsipl::SiplControlEmbedInfo
Parsed frame embedded information.
Definition: NvSiplControlAutoDef.hpp:75
nvsipl::CUSTOM_PLUGIN0
@ CUSTOM_PLUGIN0
NVIDIA plug-in.
Definition: NvSiplControlAutoDef.hpp:42
nvsipl::SiplControlIspStatsInfo::histSettings
std::array< NvSiplISPHistogramStats const *, 3 > histSettings
Holds pointers to 3 Histogram stats settings.
Definition: NvSiplControlAutoDef.hpp:178
nvsipl::SiplControlIspStatsInfo
Structure containing ISP Stats information.
Definition: NvSiplControlAutoDef.hpp:162
nvsipl::SiplControlEmbedData::topEmbeddedData
DevBlkCDIEmbeddedDataChunk topEmbeddedData
Holds information of the embedded data buffer attached to the beginning of the frame,...
Definition: NvSiplControlAutoDef.hpp:116
nvsipl::SiplControlAutoAwbSetting::wbGainTotal
std::array< SiplControlAutoAwbGain, NVSIPL_ISP_MAX_INPUT_PLANES > wbGainTotal
Total white balance gains, including both sensor channel gains and ISP gains Valid Range: [0,...
Definition: NvSiplControlAutoDef.hpp:147
DevBlkCDISensorAttributes
Holds the sensor attributes.
Definition: NvSIPLCDICommon.h:116
nvsipl::SiplControlEmbedInfo::sensorExpInfo
DevBlkCDIExposure sensorExpInfo
Holds the parsed embedded data sensor exposure info for the captured frame.
Definition: NvSiplControlAutoDef.hpp:84
nvsipl::SiplControlIspStatsInfo::lacData
std::array< NvSiplISPLocalAvgClipStatsData const *, 2 > lacData
Holds pointers to 2 LAC stats data.
Definition: NvSiplControlAutoDef.hpp:166
nvsipl::SiplControlAutoMetadata
Structure containing metadata info for processing AE/AWB algorithm.
Definition: NvSiplControlAutoDef.hpp:185
DevBlkCDIExposure
Holds sensor exposure information.
Definition: NvSIPLCDICommon.h:256
nvsipl::SiplControlAutoOutputParam::ispDigitalGain
float_t ispDigitalGain
Digital gain to be applied in ISP Valid Range: [0.0, 8.0].
Definition: NvSiplControlAutoDef.hpp:239
nvsipl
Contains the classes and variables for implementation of SIPL.
Definition: NvSIPLCamera.hpp:44
nvsipl::SiplControlAutoAwbSetting::cct
float_t cct
Correlated color temperature.
Definition: NvSiplControlAutoDef.hpp:152
DevBlkCDIFrameSeqNum
Holds the sensor frame sequence number structure.
Definition: NvSIPLCDICommon.h:217
nvsipl::SiplControlEmbedData
Embedded data and parsed information.
Definition: NvSiplControlAutoDef.hpp:103
nvsipl::MAX_NUM_PLUGINS
@ MAX_NUM_PLUGINS
Custom plug-in 0.
Definition: NvSiplControlAutoDef.hpp:43
nvsipl::SiplControlEmbedInfo::sensorWBInfo
DevBlkCDIWhiteBalance sensorWBInfo
Holds the parsed embedded data sensor white balance info for the captured frame.
Definition: NvSiplControlAutoDef.hpp:88
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::SiplControlEmbedInfo::illuminationInfo
DevBlkCDIIllumination illuminationInfo
Holds the parsed embedded data for IR emitter status (ON or OFF) for RGB-IR sensors.
Definition: NvSiplControlAutoDef.hpp:97
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:197
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:121
nvsipl::SiplControlAutoInputParam::embedData
SiplControlEmbedData embedData
Embedded settings.
Definition: NvSiplControlAutoDef.hpp:208