hi_isp_cmos_wdr
Description
Defines the CMOS parameters of WDR.
Definition
typedef struct {
hi_bool fusion_mode;
hi_bool motion_comp;
hi_u16 short_thr;
hi_u16 long_thr;
hi_bool force_long;
hi_u16 force_long_low_thr;
hi_u16 force_long_hig_thr;
hi_bool short_expo_chk;
hi_u16 short_check_thd;
hi_bool md_ref_flicker;
hi_u8 md_thr_low_gain[HI_ISP_AUTO_ISO_NUM];
hi_u8 md_thr_hig_gain[HI_ISP_AUTO_ISO_NUM];
hi_isp_bnr_mode bnr_mode;
hi_u16 fusion_thr[HI_ISP_WDR_MAX_FRAME];
hi_u8 mdt_still_thd;
hi_u8 mdt_long_blend;
} hi_isp_cmos_wdr;
Members
Member |
Description |
|---|---|
fusion_mode |
Fusion mode enable
|
motion_comp |
WDR motion compensation enable The options are as follows:
In some indoor fluorescent light scenarios, motion compensation exacerbates the horizontal stripes caused by frequency flicker. In this case, disable motion compensation. |
short_thr |
Short exposure threshold. Only short exposure data is selected if the image data is above the threshold. Value range: [0, 0xFFF] |
long_thr |
Long exposure threshold. Only long exposure data is selected if the image data is below the threshold. Value range: [0, short_threshold] |
force_long |
Forcible long frame output enable The options are as follows:
|
force_long_low_thre shold |
Low threshold for forcibly outputting long frames. Long frames are forcibly output in the motion region whose luminance is lower than this threshold. Value range: [0x0, 0xFFF] |
force_long_hig_thre shold |
High threshold for forcibly outputting long frames. Long frames are not forcibly output in the motion region whose luminance is higher than this threshold. |
short_expo_chk |
Parameter for determining whether to check the size of short frame data during motion detection. When the short frame data proportion is close to 0, long frames are forcibly selected for WDR fusion. Values:
|
short_check_threshold |
Threshold for short frame check. When the luminance of short frames is less than the threshold, long frames in the WDR module are forcibly output. Value range: [0x, 0xFFF] |
md_ref_flicker |
Whether flicker detection results are referenced during motion detection. The options are as follows: HI_FALSE: no HI_TRUE: yes |
md_thr_low_gain |
Lower threshold used for judging whether motion occurs in manual mode. A larger value indicates a lower motion degree. Value range: [0, md_thr_hig_gain] |
md_thr_hig_gain |
Upper threshold used for judging whether motion occurs in manual mode. A larger value indicates a lower motion degree. Value range: [0, 0xFF] |
fusion_thr[HI_WDR_MAX_FRAME] |
Thresholds of ultra short frames, short frames, medium frames, and long frames in fusion mode. Input data is limited below the threshold. Value range: [0, 0x3FFF] #define HI_WDR_MAX_FRAME 2 |
mdt_still_thd |
Threshold for stillness determination during motion detection. When the motion degree is less than the threshold, the pixel is determined as still. Value range: [0, 0xFE] |
mdt_long_blend |
Weight of blended long frames in the motion region. When this parameter is set to 0xFE, long frames are selected for all motion regions. Value range: [0x0, 0xFE] |