hi_isp_fswdr_mdt_attr
Description
Defines the ISP FSWDR motion detection attribute.
Definition
typedef struct {
hi_bool short_expo_chk;
hi_u16 short_check_thd;
hi_bool md_ref_flicker;
hi_u8 mdt_still_thd;
hi_u8 mdt_full_thd;
hi_u8 mdt_long_blend;
hi_op_mode op_type;
hi_isp_fswdr_manual_attr manual_attr;
hi_isp_fswdr_auto_attr auto_attr;
} hi_isp_fswdr_mdt_attr;
Members
Member |
Description |
|---|---|
short_expo_chk |
Whether to check the short frame data size during motion detection. When the short frame data size is close to 0, long frames are forcibly selected for WDR fusion. The options are as follows: HI_FALSE: The size of short frame data is not checked for WDR fusion. HI_TRUE: The size of short frame data is checked for WDR fusion. |
short_check_thd |
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 |
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_full_thd |
Threshold for full-motion determination during motion detection. When the motion degree is greater than the threshold, the pixel is determined as full-motion. Only 3-in-1 WDR is supported. 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] |
op_type |
FSWDR working mode.
|
manual_attr |
Manual FSWDR parameter |
auto_attr |
Automatic FSWDR parameter |
Restrictions
Automatic WDR and manual WDR are supported.
- If op_type is set to HI_OP_MODE_AUTO, automatic WDR function is used.
- When op_type is set to HI_OP_MODE_MANUAL, manual WDR function is used.