hi_isp_cmos_bayernr
Description
Defines the CMOS parameters of Bayer NR.
Definition
typedef struct {
hi_bool enable;
hi_bool bnr_mono_sensor_en;
hi_bool nr_lsc_enable;
hi_u8 bnr_lsc_max_gain;
hi_u16 bnr_lsc_cmp_strength;
hi_u8 lut_fine_str[HI_ISP_AUTO_ISO_NUM];
hi_u8 chroma_strength[HI_ISP_BAYER_CHN_NUM][HI_ISP_AUTO_ISO_NUM];
hi_u8 wdr_frame_strength[HI_ISP_WDR_MAX_FRAME_NUM];
hi_u8 fusion_frame_strength[HI_ISP_WDR_MAX_FRAME_NUM];
hi_u16 coarse_strength[HI_ISP_BAYER_CHN_NUM][HI_ISP_AUTO_ISO_NUM];
hi_u16 lut_coring_wgt[HI_ISP_AUTO_ISO_NUM];
hi_u16 lut_coring_ratio[HI_ISP_BAYERNR_LUT_LENGTH];
} hi_isp_cmos_bayernr;
Members
Member |
Description |
|---|---|
enable |
NR module enable
|
bnr_mono_sensor_en |
Monochrome sensor mode enable
|
nr_lsc_enable |
Parameter used for enabling NR reference to the LSC gain
|
bnr_lsc_max_gain |
Maximum multiple of reference to the LSC gain The value range is [0x0, 0xBF]. |
bnr_lsc_cmp_strength |
Strength of reference to the LSC gain Value range: [0x0, 0x100] |
lut_fine_str |
Luminance NR strength. A larger value indicates greater NR strength. Value range: [0x0, 0x80] #define HI_ISP_AUTO_ISO_NUM 16 |
chroma_strength |
Chroma NR strength. A larger value indicates greater NR strength. The four channels are separately adjustable. Value range: [0x0, 0x3] #define HI_ISP_AUTO_ISO_NUM 16 #define HI_ISP_BAYER_CHN_NUM 4 |
wdr_frame_strength |
Corresponding global NR strength of each fusion frame in WDR mode. A larger value indicates greater luminance NR strength, and a smaller value indicates weaker strength. Value range: [0x0, 0x50] #define HI_ISP_WDR_MAX_FRAME_NUM 4 |
fusion_frame_strength |
Corresponding global NR strength of each fusion frame in fusion mode Value range: [0x0, 0x50] |
coarse_strength |
Parameter used for controlling the luminance NR strength. The four channels are separately adjustable. A larger value indicates greater NR strength. Value range: [0x0, 0x360] |
lut_coring_wgt |
Reservation strength of random noise. A larger value indicates that a greater amount of random noise is reserved. Value range: [0x0, 0xC80] |
lut_coring_ratio |
Noise reservation strength, which can be obtained from the coring_ratio array based on the luminance. A larger value indicates that more luminance noise is reserved. A smaller value indicates that less luminance noise is reserved. Value range: [0x0, 0x3FF] #define HI_ISP_BAYERNR_LUT_LENGTH 33 |