Plugin Output Data Range Requirements
The plugin must output values within the ranges provided in the NVIDIA DRIVE OS SDK API Reference Documentation. In addition, SIPL code would detect the following situations and report an error:
- When the product of output digital gain and any of the output
wbGainTotal
gains is greater than 8 or less than 0. - For each frame, SIPL calculates the total exposure as a product of exposure and gain as
follows:
Only the 0th exposure and gain values (corresponding to the long exposure frame) are used for this calculation. In order to prevent abrupt change between consecutive frames, SIPL calculates the ratio of Total_Exposure between Frame N and N+1 as follows:Total_Exposure = exposureTime[0] * sensorGain[0]
Exposure_Ratio = Total_Exposure[N+1] / Total_Exposure[N]
- Exposure_Ratio must be within the range of [1/1024.0, 1024.0].
- When any coefficient in product of output ccmMatrix and inverse of the Color Space Conversion (CSC) matrix is greater than 8 or less than -8.
The default CSC_Inv matrix is as follows:
CSC_Inv[0] = {0.2126, -0.11457, 0.5};
CSC_Inv[1] = {0.7152, -0.38543, -0.45415};
CSC_Inv[2] = {0.0722, 0.5, -0.04585};
In addition, fusion in ISP is not supported. Therefore, the output SiplControlAutoAwbGain
must be filled with valid values for the first plane (SiplControlAutoAwbGain[0]).