hi_isp_inner_state_info
Description
Defines the actual configuration parameters of the internal register.
Definition
typedef struct {
hi_u16 texture_strength[HI_ISP_SHARPEN_GAIN_NUM];
hi_u16 edge_strength[HI_ISP_SHARPEN_GAIN_NUM];
hi_u16 texture_freq;
hi_u16 edge_freq;
hi_u8 over_shoot;
hi_u8 under_shoot;
hi_u8 shoot_sup_strength;
hi_u16 coarse_strength[HI_ISP_BAYER_CHN_NUM];
hi_u8 wdr_frame_strength[HI_ISP_WDR_MAX_FRAME_NUM];
hi_u8 fine_strength;
hi_u16 coring_wgt;
hi_u16 dehaze_strength_actual;
hi_u16 drc_strength_actual;
hi_u32 wdr_exp_ratio_actual[HI_ISP_WDR_MAX_FRAME_NUM - 1];
hi_bool wdr_switch_finish;
hi_bool res_switch_finish;
hi_u16 black_level_actual[HI_ISP_BAYER_CHN_NUM];
} hi_isp_inner_state_info;
Members
Member |
Description |
|---|---|
texture_strength[HI_ISP_SHARPEN_GAIN_NUM] |
Sharpness of non-directional detail textures of an image Value range: [0, 4095] |
edge_strength[HI_ISP_SHARPEN_GAIN_NUM] |
Sharpening strength for directional image edges Value range: [0, 4095] |
texture_freq |
Enhancement frequency band of non-directional detail textures. Value range: [0, 4095] |
edge_freq |
Enhancement frequency band of directional edges Value range: [0, 4095] |
over_shoot |
Overshoot (white points/borders after sharpening) strength of the image. Value range: [0, 127] |
under_shoot |
Undershoot (black points/borders after sharpening) strength of the image Value range: [0, 127] |
shoot_sup_strength |
Overshoot and undershoot suppression strength after image sharpening. It is used to suppress the width and amplitude of overshoot and undershoot after image sharpening while ensuring that the definition does not deteriorate significantly. |
coarse_strength |
Overall strength of luminance NR in linear mode, which can be adjusted separately for four channels. A larger value indicates greater NR strength. Value range: [0, 0x360] #define HI_ISP_BAYER_CHN_NUM 4 |
wdr_frame_strength |
Global NR strength of each fusion frame in WDR mode Value range: [0, 0x50] #define HI_ISP_WDR_MAX_FRAME_NUM 4 |
fine_strength |
Luminance NR strength. A larger value indicates greater NR strength. Value range: [0x0, 0x80] |
coring_wgt |
Reservation strength of random noise. A larger value indicates that a greater amount of random noise is reserved. Value range: [0x0, 0xC80] |
dehaze_strength_actual |
Dehazing strength value |
drc_strength_actual |
DRC strength value. Value range: [0x0, 0x3FF] |
wdr_exp_ratio_actual |
WDR exposure ratio. In 2-to-1 mode, wdr_exp_ratio_actual[0] indicates the exposure ratio. In 3-to-1 mode, wdr_exp_ratio_actual[0] and wdr_exp_ratio_actual[1] indicate the exposure ratio. In 4-to-1 mode, wdr_exp_ratio_actual[0], wdr_exp_ratio_actual[1], and wdr_exp_ratio_actual[2] indicate the exposure ratio. |
wdr_switch_finish |
WDR switching completion flag |
res_switch_finish |
Resolution switching completion flag |
black_level_actual |
Actual black level of the R, Gr, Gb, and B components of different WDR channels. Value range: [0x0, 0xFFF] |
Restrictions
In sensor-built-in mode, the queried black level that actually takes effect is 14 bits. In other modes, the queried black level that actually takes effect is 12 bits.