hi_isp_dp_dynamic_auto_attr
Description
Defines the automatic attribute for dynamic defect pixel correction.
Definition
typedef struct {
hi_u16 strength[HI_ISP_AUTO_ISO_NUM];
hi_u16 blend_ratio[HI_ISP_AUTO_ISO_NUM];
} hi_isp_dp_dynamic_auto_attr;
Members
Member |
Description |
|---|---|
strength[HI_ISP_AUTO_ISO_NUM] |
DPC strength in automatic mode. The 16 values in this array correspond to the DPC strength under different sensor gains. In general, a larger gain indicates greater DPC strength. For details about the mapping relationship, see Table 1. If two consecutive processing strengths are not the same, the processing strength corresponding to a gain between the two consecutive processing strengths can be determined by using linear interpolation. Value range: [0, 0xFF] #define HI_ISP_AUTO_ISO_NUM 16 |
blend_ratio[HI_ISP_AUTO_ISO_NUM] |
Blending ratio in automatic mode. A larger value indicates a more obvious green cast. If two consecutive blending ratios are not the same, the blending ratio corresponding to a gain between the two consecutive blending ratios can be determined by using linear interpolation. Value range: [0, 0x80] |
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 default values in this data structure are stored in sensor_cmos_ex.h. To change the default values, configure the corresponding parameters. If a new sensor is used, you need to refer to the default values of other provided sensors.
- The value of a_gain*d_gain*isp_d_gain in WDR mode is the same as that in linear mode.