sensor回调函数结构体。
typedefstruct { hi_s32 (*pfn_cmos_get_ae_default)(hi_vi_pipe vi_pipe, hi_isp_ae_sensor_default*ae_sns_dft); hi_void (*pfn_cmos_fps_set)(hi_vi_pipe vi_pipe, hi_floatf32_fps, hi_isp_ae_sensor_default*ae_sns_dft); hi_void (*pfn_cmos_slow_framerate_set)(hi_vi_pipe vi_pipe, hi_u32full_lines, hi_isp_ae_sensor_default*ae_sns_dft); hi_void (*pfn_cmos_inttime_update)(hi_vi_pipe vi_pipe, hi_u32int_time); hi_void (*pfn_cmos_gains_update)(hi_vi_pipe vi_pipe, hi_u32again, hi_u32dgain); hi_void (*pfn_cmos_again_calc_table)(hi_vi_pipe vi_pipe, hi_u32*again_lin, hi_u32*again_db); hi_void (*pfn_cmos_dgain_calc_table)(hi_vi_pipe vi_pipe, hi_u32*dgain_lin, hi_u32*dgain_db); hi_void (*pfn_cmos_get_inttime_max)(hi_vi_pipe vi_pipe, hi_u16man_ratio_enable, hi_u32*ratio, hi_u32*int_time_max, hi_u32*int_time_min, hi_u32*lf_max_int_time); hi_void (*pfn_cmos_ae_fswdr_attr_set)(hi_vi_pipe vi_pipe, hi_isp_ae_fswdr_attr*ae_fswdr_attr); hi_void (*pfn_cmos_ae_quick_start_status_set)(hi_vi_pipe vi_pipe, hi_boolquick_start_status); hi_void (*pfn_cmos_exp_param_convert)(hi_vi_pipe vi_pipe, hi_isp_ae_convert_param*exp_param); } hi_isp_ae_sensor_exp_func;
成员名称 |
描述 |
---|---|
pfn_cmos_get_ae_default |
获取AE算法库的初始值的回调函数指针。 |
pfn_cmos_fps_set |
设置sensor的帧率。 |
pfn_cmos_slow_framerate_set |
设置sensor的降帧。 |
pfn_cmos_inttime_update |
设置sensor的曝光时间。 |
pfn_cmos_gains_update |
设置sensor的模拟增益和数字增益。 |
pfn_cmos_again_calc_table |
计算TABLE类型sensor模拟增益。 |
pfn_cmos_dgain_calc_table |
计算TABLE类型sensor数字增益。 |
pfn_cmos_get_inttime_max |
WDR模式下,计算短帧最大曝光时间的回调函数指针,与sensor强相关。 |
pfn_cmos_ae_fswdr_attr_set |
2to1LineWDR模式下,设置长帧模式。 |
pfn_cmos_ae_quick_start_status_set |
设置AE无光敏快启收敛状态。 |
pfn_cmos_exp_param_convert |
完成不同帧率等曝光量转换曝光参数属性,配套hi_mpi_isp_get_exp_convert提供。 |