NVIDIA DRIVE OS Linux SDK API Reference

5.1.15.2 Release
For Test and Development only
nvsipl_plugindef.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018-2019, 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 
15 /*
16  * This header file is a draft and recommended implementation
17  * of SIPL plugin API struct definitions
18  */
19 
20 #ifndef NVSIPL_PLUGINDEF_H
21 #define NVSIPL_PLUGINDEF_H
22 
23 #include <stdio.h>
24 #include <stdint.h>
25 
26 #include "nvmedia_core.h"
27 #include "nvmedia_isp_stat.h"
28 #include "nvmedia_isc.h"
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34 
38 typedef struct {
60  uint32_t expProfile;
62 
66 typedef struct {
68  uint32_t numExposures;
76  uint32_t expProfile;
80 
84 typedef struct {
94 
95 
99 typedef struct {
101  uint32_t numPlane;
103  uint32_t width;
105  uint32_t height;
109  uint32_t cfaFormat;
111  uint32_t id;
113 
117 typedef struct {
123 
127 typedef struct {
131  float_t cct;
135 
137 typedef struct
138 {
142  const NvMediaISPLocalAvgClipStats *lacSettings[2];
144  const NvMediaISPHistogramStatsData *histData[2];
146  const NvMediaISPHistogramStats *histSettings[2];
152 
156 typedef struct {
166 
170 typedef struct {
174 
178 typedef struct {
186 
190 typedef struct {
198  float_t ispDigitalGain;
200 
201 
202 
203 #ifdef __cplusplus
204 } /* extern "C" */
205 #endif
206 
207 #endif /* NVSIPL_PLUGINDEF_H */
NvSIPLAutoControlEmbedInfo::expProfileValid
NvMediaBool expProfileValid
Exposure profile value is valid or not.
Definition: nvsipl_plugindef.h:74
NvSIPLAutoControlStatsSetting::valid
NvMediaBool valid
Settings to control ISP stats blocks are valid or not.
Definition: nvsipl_plugindef.h:158
NvSIPLAutoControlInputParam::embedData
NvSIPLAutoControlEmbedData embedData
Embedded Settings.
Definition: nvsipl_plugindef.h:180
NvSIPLAutoControlInputImageInfo
Input image attributes.
Definition: nvsipl_plugindef.h:99
NvSIPLAutoControlOutputParam::newStatsSetting
NvSIPLAutoControlStatsSetting newStatsSetting
Settings to config stats.
Definition: nvsipl_plugindef.h:196
NvSIPLAutoControlInputParam
Input parameters for processing AE/AWB.
Definition: nvsipl_plugindef.h:178
NvSIPLAutoControlStatsSetting::fbStats
NvMediaISPFlickerBandStats fbStats
Settings for Flicker Band stats block.
Definition: nvsipl_plugindef.h:164
NvSIPLAutoControlAwbSetting
Output image attributes.
Definition: nvsipl_plugindef.h:127
NvMediaISCFrameSeqNum
Holds the sensor frame sequence number structure.
Definition: nvmedia_isc.h:1152
NvSIPLAutoControlEmbedData
embedded data and parsed info
Definition: nvsipl_plugindef.h:84
NVM_ISP_MAX_INPUT_PLANES
#define NVM_ISP_MAX_INPUT_PLANES
Maximum number of input planes.
Definition: nvmedia_isp_stat.h:36
NvSIPLAutoControlInputImageInfo::numPlane
uint32_t numPlane
Number of input images for ISP to process.
Definition: nvsipl_plugindef.h:101
NvSIPLAutoControlInputImageInfo::id
uint32_t id
camera ID in the car config, left, right, etc.
Definition: nvsipl_plugindef.h:111
NvMediaISCWhiteBalance
Holds the sensor white balance gain structure.
Definition: nvmedia_isc.h:1039
NvSIPLAutoControlEmbedData::embedInfo
NvSIPLAutoControlEmbedInfo embedInfo
Holds the parsed embedded info for the captured frame.
Definition: nvsipl_plugindef.h:86
NvSIPLAutoControlSensorSetting::expProfile
uint32_t expProfile
Exposure profile value, such as day and night settings.
Definition: nvsipl_plugindef.h:60
NvSIPLAutoControlInputImageInfo::width
uint32_t width
Input image width.
Definition: nvsipl_plugindef.h:103
NVM_ISP_MAX_COLORMATRIX_DIM
#define NVM_ISP_MAX_COLORMATRIX_DIM
Maximum matrix dimension.
Definition: nvmedia_isp_stat.h:46
NvSIPLAutoControlInputImageInfo::cfaFormat
uint32_t cfaFormat
Input image CFA, define as NVM_SURF_ATTR_COMPONENT_ORDER_XXXX in nvmedia_surface.h.
Definition: nvsipl_plugindef.h:109
NvSIPLAutoControlOutputParam::awbSetting
NvSIPLAutoControlAwbSetting awbSetting
AWB settings.
Definition: nvsipl_plugindef.h:194
NvSIPLAutoControlWhiteBalanceGain
Gains for each color assuming order RGGB, RCCB, RCCC.
Definition: nvsipl_plugindef.h:117
NvSIPLAutoControlEmbedData::frameSeqNum
NvMediaISCFrameSeqNum frameSeqNum
Holds frame sequence number for the captured frame.
Definition: nvsipl_plugindef.h:88
NvMediaISPFlickerBandStatsData
Holds flicker band statistics (FB Stats).
Definition: nvmedia_isp_stat.h:603
NvMediaISCExposure
Holds sensor exposure information.
Definition: nvmedia_isc.h:1010
NvSIPLAutoControlEmbedInfo::numExposures
uint32_t numExposures
Holds the parsed embedded data frame number of exposures info for the captured frame.
Definition: nvsipl_plugindef.h:68
NvSIPLAutoControlEmbedInfo::expProfile
uint32_t expProfile
Exposure profile value, such as day and night settings.
Definition: nvsipl_plugindef.h:76
NvSIPLAutoControlEmbedInfo::sensorWBInfo
NvMediaISCWhiteBalance sensorWBInfo
Holds the parsed embedded data sensor white balance info for the captured frame.
Definition: nvsipl_plugindef.h:72
NvSIPLAutoControlOutputParam::ispDigitalGain
float_t ispDigitalGain
Digital gain to be applied in ISP.
Definition: nvsipl_plugindef.h:198
NvSIPLAutoControlEmbedInfo
Parsed embedded info.
Definition: nvsipl_plugindef.h:66
nvmedia_isc.h
NVIDIA Media Interface: Image Sensor Control (ISC)
NvSIPLAutoControlStatsSetting::hist1
NvMediaISPHistogramStats hist1
Settings for Histogram 1 stats blocks.
Definition: nvsipl_plugindef.h:162
NVM_ISP_MAX_COLOR_COMPONENT
#define NVM_ISP_MAX_COLOR_COMPONENT
Maximum number of color components.
Definition: nvmedia_isp_stat.h:41
nvmedia_isp_stat.h
NvMedia ISP stat struct
NvMediaRect
Holds a rectangular region of a surface.
Definition: nvmedia_core.h:133
nvmedia_core.h
NVIDIA Media Interface: Core
NvSIPLAutoControlSensorSetting::numSensorContexts
uint8_t numSensorContexts
Holds the number of sensor contexts to activate.
Definition: nvsipl_plugindef.h:48
NvMediaISPLocalAvgClipStatsData
Holds local average and clip statistics block (LAC Stats).
Definition: nvmedia_isp_stat.h:528
NvSIPLAutoControlEmbedData::topEmbeddedData
NvMediaISCEmbeddedDataChunk topEmbeddedData
Embedded buffer at the beginning of the frame.
Definition: nvsipl_plugindef.h:90
NvSIPLAutoControlStatsInfo::fbStatsData
const NvMediaISPFlickerBandStatsData * fbStatsData
Holds const pointer to Flicker Band stats data.
Definition: nvsipl_plugindef.h:148
NvSIPLAutoControlInputImageInfo::height
uint32_t height
Input image height.
Definition: nvsipl_plugindef.h:105
NvMediaISPHistogramStats
Holds controls for histogram statistics (HIST Stats).
Definition: nvmedia_isp_stat.h:160
NvSIPLAutoControlStatsSetting
Settings to config stats.
Definition: nvsipl_plugindef.h:156
NvSIPLAutoControlAwbSetting::cct
float_t cct
Correlated Color Temperature.
Definition: nvsipl_plugindef.h:131
NvSIPLAutoControlInputImageInfo::cropRect
NvMediaRect cropRect
Input image crop location.
Definition: nvsipl_plugindef.h:107
NvSIPLAutoControlEmbedInfo::sensorExpInfo
NvMediaISCExposure sensorExpInfo
Holds the parsed embedded data sensor exposure info for the captured frame.
Definition: nvsipl_plugindef.h:70
NvMediaISCSensorAttributes
Holds the sensor attributes.
Definition: nvmedia_isc.h:916
NvSIPLAutoControlStatsInfo::fbStatsSettings
const NvMediaISPFlickerBandStats * fbStatsSettings
Holds const pointer to Flicker Band stats settings.
Definition: nvsipl_plugindef.h:150
NvSIPLAutoControlInitParam
Initial parameters for processing AE/AWB.
Definition: nvsipl_plugindef.h:170
NvSIPLAutoControlInitParam::inputImageInfo
NvSIPLAutoControlInputImageInfo inputImageInfo
Input image attributes.
Definition: nvsipl_plugindef.h:172
NvSIPLAutoControlEmbedData::bottomEmbeddedData
NvMediaISCEmbeddedDataChunk bottomEmbeddedData
Embedded buffer at the end of the frame.
Definition: nvsipl_plugindef.h:92
NvSIPLAutoControlWhiteBalanceGain::valid
NvMediaBool valid
White balance gains are valid.
Definition: nvsipl_plugindef.h:119
NvSIPLAutoControlSensorSetting
Exposure settings for sensor.
Definition: nvsipl_plugindef.h:38
NvSIPLAutoControlEmbedInfo::sensorTempInfo
NvMediaISCTemperature sensorTempInfo
Holds the parsed embedded data sensor temperature info for the captured frame.
Definition: nvsipl_plugindef.h:78
NvMediaBool
uint32_t NvMediaBool
A boolean value, holding NVMEDIA_TRUE or NVMEDIA_FALSE.
Definition: nvmedia_core.h:80
NvSIPLAutoControlOutputParam::sensorSetting
NvSIPLAutoControlSensorSetting sensorSetting
Sensor exposure and gain settings.
Definition: nvsipl_plugindef.h:192
NvSIPLAutoControlInputParam::statsInfo
NvSIPLAutoControlStatsInfo statsInfo
Stats buffers and settings.
Definition: nvsipl_plugindef.h:184
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
NVMEDIA_ISC_MAX_SENSOR_CONTEXTS
#define NVMEDIA_ISC_MAX_SENSOR_CONTEXTS
Maximum number of sensor contexts.
Definition: nvmedia_isc.h:120
NvSIPLAutoControlSensorSetting::expProfileValid
NvMediaBool expProfileValid
Exposure profile value is valid or not.
Definition: nvsipl_plugindef.h:58
NvSIPLAutoControlInputParam::sensorAttr
NvMediaISCSensorAttributes sensorAttr
Sensor Attributes.
Definition: nvsipl_plugindef.h:182
NvSIPLAutoControlStatsInfo
Holds Stats information.
Definition: nvsipl_plugindef.h:137
NvMediaISPFlickerBandStats
Holds controls for flicker band statistics (FB Stats).
Definition: nvmedia_isp_stat.h:416
NvMediaISCEmbeddedDataChunk
Definition: nvmedia_isc.h:1308
NvMediaISCTemperature
Holds the sensor temperature structure.
Definition: nvmedia_isc.h:1108
NvSIPLAutoControlOutputParam
AE/AWB Output parameters.
Definition: nvsipl_plugindef.h:190