hi_isp_cmos_ca
Description
Defines the CMOS parameters of CA.
Definition
typedef struct {
hi_bool enable;
hi_u16 y_ratio_lut[HI_ISP_CA_YRATIO_LUT_LENGTH];
hi_s16 iso_ratio[HI_ISP_AUTO_ISO_NUM];
} hi_isp_cmos_ca;
Members
Member |
Description |
|---|---|
enable |
CA module enable
|
y_ratio_lut |
Gain for adjusting the chrominance UV based on the luminance Y in CA mode. The luminance is evenly divided into 256 parts, and 256 adjustment coefficient As are configured accordingly for adjusting the UV value. During adjustment, a smaller Y value (dark region) corresponds to a smaller gain A, which can effectively suppress chrominance noise in dark regions. If the luminance gain is set to a larger value, the colors in the bright regions are brighter. Value range: [0, 2047] #define HI_ISP_CA_YRATIO_LUT_LENGTH 256 |
iso_ratio[HI_ISP_AUTO_ISO_NUM] |
Gain B for adjusting the chrominance UV based on the ISO value in CA mode. This is a global gain, that is, the ISO value is fixed, and the UV adjustment gains for all pixels in the image are gain B. You are advised to set gain B to a larger value when the ISO value is small and to a smaller value when the ISO value is large (low illuminance). In this way, chrominance noise in dark regions under low illuminance is reduced. Value range: [0, 2047] #define HI_ISP_AUTO_ISO_NUM 16 |