hi_isp_cmos_demosaic

Description

Defines the CMOS parameters of demosaic.

Definition

typedef struct {
    hi_bool enable;
    hi_u8   non_dir_str[HI_ISP_AUTO_ISO_NUM];
    hi_u8   non_dir_mf_detail_ehc_str[HI_ISP_AUTO_ISO_NUM];
    hi_u8   non_dir_hf_detail_ehc_str[HI_ISP_AUTO_ISO_NUM];
    hi_u8   detail_smooth_range[HI_ISP_AUTO_ISO_NUM];
} hi_isp_cmos_demosaic;

Members

Member

Description

enable

Demosaic module enable. Value range: [0, 1].

0: disabled; 1: enabled.

non_dir_str[HI_ISP_AUTO_ISO_NUM]

Non-directional interpolation strength. A larger value indicates a higher proportion of non-directional interpolations.

Value range: [0x0, 0xFF]

#define HI_ISP_AUTO_ISO_NUM 	16

non_dir_mf_detail_ehc_str

Non-directional IF texture enhancement strength. A larger value indicates stronger enhancement of non-directional IF texture details and noise.

Value range: [0x0, 0x7f]

non_dir_hf_detail_ehc_str

Non-directional HF texture enhancement strength. A larger value indicates stronger enhancement of non-directional HF texture details and noise uniformity.

Value range: [0x0, 0x10]

detail_smooth_range

Detail smoothness range. A larger value indicates that a greater range of details are smoothed and more false details are suppressed.

Value range: [0x1, 0x7]