hi_isp_cr_attr

Description

Defines the ISP crosstalk attribute.

Definition

typedef struct { 
    hi_bool enable; 
    hi_u8   slope;
    hi_u8   sensi_slope; 
    hi_u16  sensi_threshold; 
    hi_u16  strength[HI_ISP_AUTO_ISO_NUM];
    hi_u16  threshold[HI_ISP_AUTO_ISO_NUM];  
    hi_u16  np_offset[HI_ISP_AUTO_ISO_NUM];
} hi_isp_cr_attr;

Members

Member

Description

enable

Crosstalk removal enable

The value can be HI_FALSE (disabled) and HI_TRUE (enabled).

slope

Processing strength above the crosstalk threshold. A larger value indicates that the overall processing strength is reduced more slowly above the threshold.

Value range: [0, 14]

sensi_slope

Crosstalk sensitivity. A larger value indicates that the processing strength on the edge is reduced more slowly above sensi_threshold.

Value range: [0, 14]

sensi_threshold

Crosstalk sensitivity threshold. A larger value indicates that green equalization processing exists on stronger edges.

Value range: [0, 16383]

strength[HI_ISP_AUTO_ISO_NUM]

Crosstalk strength. A larger value indicates a higher processing strength. The 16 values in this array correspond to the configured values under different sensor gains. For details, see Table 1.

Value range: [0, 0x100]

#define HI_ISP_AUTO_ISO_NUM 	16

threshold[HI_ISP_AUTO_ISO_NUM]

Crosstalk threshold. A larger value indicates a greater overall processing strength. The 16 values in this array correspond to the configured values under different sensor gains.

Value range: [0, 16383]

np_offset[HI_ISP_AUTO_ISO_NUM]

Noise profile value. A larger value indicates a stronger NR capability. The 16 values in this array correspond to the configured values under different sensor gains.

Value range: [512, 16383]

Table 1 Mapping between the configured values of strength[HI_ISP_AUTO_ISO_NUM] and gains

strength

a_gain*d_gain*isp_d_gain (times)

strength [0]

100

strength [1]

200

strength [2]

400

strength [3]

800

strength [4]

1600

strength [5]

3200

strength [6]

6400

strength [7]

12800

strength [8]

25600

strength [9]

51200

strength [10]

102400

strength [11]

204800

strength [12]

409600

strength [13]

819200

strength [14]

1638400

strength [15]

3276800

Restrictions

The change of sensi_threshold affects the performance of threshold. You are advised to adjust sensi_threshold before adjusting threshold.