hi_isp_antiflicker
Description
Defines the anti-flicker attribute.
Definition
typedef struct {
hi_bool enable;
hi_u8 frequency;
hi_isp_antiflicker_mode mode;
} hi_isp_antiflicker;
Members
Member |
Description |
|---|---|
enable |
If enable is HI_TRUE, anti-flicker is enabled. If enable is HI_FALSE, anti-flicker is disabled. |
frequency |
Anti-flicker frequency Value range: [0x0, 0xFF]. The default value is 0x0. |
mode |
Anti-flicker mode (normal anti-flicker mode or automatic anti-flicker mode) |
Restrictions
After anti-flicker is enabled, the actual exposure time is limited by the maximum/minimum exposure time. If the minimum anti-flicker time is greater than the maximum exposure time, the actual exposure time is limited to the maximum exposure time after anti-flicker is enabled. When anti-flicker is enabled, at least one of the Again, DGain, and ISPDGain parameters of each node in AE Route must be less than the upper limit of the corresponding parameter range. Otherwise, the image flickers because compensation cannot be performed in specific scenarios.