== camera sensor 接口配置
xxsensor.cpp -> xxxsensor.so
CalculateExposure 函数
pCalculateExposure函数
(平台)输入参数:
pCalculateExposureData
realgain :total gain,ae算法传过来的值或者手动曝光的值
linecount:经过平台已经转换过的曝光时间
middlerealgain
middlelinecount
shortrealgain
shortlinecount
::作用于shdr
sensorResolutionIndex
...
输出参数:
pExposureInfo
analogRealGain:sensor的模拟gain
analogRegisterGain:sensor的模拟gain对应的寄存器的值
digitalRealGain:sensor的数字gain
digitalRegisterGain:sensor的数字gain对应的寄存器的值
ISPDigitalGain isp的数字gain
...
LineCount = ExposureTime / Tline
Tline = HTS * 1 / vt_clk , lineLengthPixelClock(一行要处理多少个pixel) * 1 / VTPixelClock(处理一个pixel的时间)
vt_clk = VTS * HTS * FPS, frameLengthLines * lineLengthPixelClock * FPS
Tline = 1 / (VTS * FPS),1/ (frameLengthLines * FPS)
FillExposureSettings 函数
pFillExposureSettings函数
输入参数:
pExposureData
曝光寄存器信息
analogRealGain:sensor的模拟gain
digitalRealGain:sensor的数字gain
...
输出参数:
pRegSettingsInfo
regSettingCount:sensor的寄存器数量
regSetting[]:s