hi_isp_nr_manual_attr

Description

Defines the manual ISP NR attribute.

Definition

typedef struct {
    hi_u8   chroma_strength[HI_ISP_BAYER_CHN_NUM];
    hi_u8   fine_strength;
    hi_u16  coring_wgt;
    hi_u16  coarse_strength[HI_ISP_BAYER_CHN_NUM];
} hi_isp_nr_manual_attr;

Members

Member

Description

chroma_strength

Chroma NR strength. A larger value indicates greater NR strength. The four channels are separately adjustable.

Value range: [0, 0x3]

#define HI_ISP_BAYER_CHN_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]

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]

Restrictions

In low-illuminance scenarios, when both coarse_strength and fine_strength are set to the maximum values, edge blurring may occur due to excessive NR strength. It is recommended that these two parameters be set to proper values.