hi_isp_saturation_attr
Description
Defines the ISP saturation attribute.
Definition
typedef struct {
hi_op_mode op_type;
hi_isp_saturation_manual manual_attr;
hi_isp_saturation_auto auto_attr;
} hi_isp_saturation_attr;
Members
Member |
Description |
|---|---|
op_type |
Saturation type (manual or automatic). The value can be HI_OP_MODE_AUTO or HI_OP_MODE_MANUAL. |
manual_attr |
Manual saturation attributes |
auto_attr |
Automatic saturation attributes |
Restrictions
Saturation can be automatically or manually adjusted.
- If op_type is HI_OP_MODE_AUTO, saturation is automatically adjusted based on the system gain.
For details about the mapping between saturation and system gains, see the description of sat[16].
In automatic saturation mode, the system saturation is determined by the following factors: sat[16] corresponding to the system gain, multi_ls_scaler (automatically adjusted saturation under multiple illuminants which are controlled by the AWB), iso_act_en of the CCM bypass function under extremely low illuminance, and temp_act_en of the CCM bypass function at the high and low color temperatures.
- If op_type is HI_OP_MODE_MANUAL, saturation is manually adjusted. In this case, sat[16] is invalid. In manual saturation mode, the system saturation is completely controlled by the user.