hi_isp_acs_attr
Description
Defines the ACS attribute.
Definition
typedef struct {
hi_bool enable;
hi_u16 y_strength;
hi_u16 run_interval;
hi_bool lock_enable;
} hi_isp_acs_attr;
Members
Member |
Description |
|---|---|
enable |
ACS enable. The value can be HI_FALSE (disabled) and HI_TRUE (enabled). |
y_strength |
Correction strength of luma (Y) shading for the ACS algorithm. Value range: [0x0, 0x100] |
run_interval |
Number of frames for running the ACS algorithm. The default value is 2. Increasing the value can reduce the CPU usage of the ACS algorithm. Value range: [0x1, 0xff] |
lock_enable |
Parameter used to fix the LUT generated by the ACS and retain the current LSC table. The value can be HI_FALSE (disabled) and HI_TRUE (enabled). |
Restrictions
- The ACS module switch and LSC module switch do not affect each other. The ACS algorithm configures the LUT by calling the LSC interface. To view the effect of the ACS module, the mesh shading module must be enabled.
- When the ACS module is disabled, the LUT of the LSC is restored to the status before the ACS module is enabled.
- The ACS configures the LUT corresponding to the LSC based on the value of mesh_scale. When bit1_lsc in the .cmos file is enabled, the ACS references the mesh_scale configuration of the LSC in the .cmos file.
- It is recommended that mesh_scale be set to 0–3 instead of 4–7 because values 4–7 cannot indicate values less than 1x. When the value of y_strength is small, the color shading correction value may need to be less than 1x.
Parent topic: Data Types