Process Function Input Parameters
When the plugin Process
function is called, it must process the input
information and generate the output parameters.
The plugin supports the following input categories:
- Sensor Attribute Properties
- Embedded Data and line information
- Histogram and LAC statistics
- Flicker band statistics
SiplControlAutoInputParam
The input information is passed in the following structure:
struct SiplControlAutoInputParam {
SiplControlEmbedData embedData;
DevBlkISCSensorAttributes sensorAttr;
SiplControlIspStatsInfo statsInfo;
};
Structure |
Parameter |
---|---|
SiplControlAutoInputParam |
|
SiplControlEmbedData
The structure members provide embedded data for the image that is being processed. That information is a set of registers of the image sensor.
The definition is as follows:
struct SiplControlEmbedData {
SiplControlEmbedInfo embedInfo;
DevBlkISCFrameSeqNum frameSeqNum;
DevBlkISCEmbeddedDataChunk topEmbeddedData;
DevBlkISCEmbeddedDataChunk bottomEmbeddedData;
};
Structure |
Parameter |
---|---|
SiplControlEmbedData |
|
DevBlkISCSensorAttributes
The structure members provide attributes data for the image sensor.
struct DevBlkISCSensorAttributes {
char sensorName[DEVBLK_ISC_MAX_SENSOR_NAME_LENGTH];
uint32_t sensorCFA;
char sensorFuseId[DEVBLK_ISC_MAX_FUSE_ID_LENGTH];
uint8_t numActiveExposures;
DevBlkISCAttrRange sensorExpRange[DEVBLK_ISC_MAX_EXPOSURES];
DevBlkISCAttrRange sensorGainRange […];
DevBlkISCAttrRange sensorWhiteBalanceRange […];
float_t sensorGainFactor[DEVBLK_ISC_MAX_EXPOSURES];
uint32_t numFrameReportBytes;
};
Structure |
Parameter |
---|---|
DevBlkISCSensorAttributes |
|
SiplControlIspStatsInfo
This structure contains the statistics data.
struct SiplControlIspStatsInfo {
const NvSiplISPLocalAvgClipStatsData* lacData[2];
const NvSiplISPLocalAvgClipStats* lacSettings[2];
const NvSiplISPHistogramStatsData* histData[2];
const NvSiplISPHistogramStats* histSettings[2];
const NvSiplISPFlickerBandStatsData* fbStatsData;
const NvSiplISPFlickerBandStats* fbStatsSettings;
};
Structure |
Parameter |
---|---|
SiplControlIspStatsInfo |
|