#[repr(i32)]pub enum AeFlickerMode {
FlickerOff = 0,
FlickerManual = 1,
FlickerAuto = 2,
}
Expand description
Set the flicker avoidance mode for AGC/AEC.
The flicker mode determines whether, and how, the AGC/AEC algorithm attempts to hide flicker effects caused by the duty cycle of artificial lighting.
Although implementation dependent, many algorithms for “flicker avoidance” work by restricting this exposure time to integer multiples of the cycle period, wherever possible.
Implementations may not support all of the flicker modes listed below.
By default the system will start in FlickerAuto mode if this is supported, otherwise the flicker mode will be set to FlickerOff.
Variants§
FlickerOff = 0
No flicker avoidance is performed.
FlickerManual = 1
Manual flicker avoidance.
Suppress flicker effects caused by lighting running with a period specified by the AeFlickerPeriod control. \sa AeFlickerPeriod
FlickerAuto = 2
Automatic flicker period detection and avoidance.
The system will automatically determine the most likely value of flicker period, and avoid flicker of this frequency. Once flicker is being corrected, it is implementation dependent whether the system is still able to detect a change in the flicker period. \sa AeFlickerDetected
Trait Implementations§
Source§impl Clone for AeFlickerMode
impl Clone for AeFlickerMode
Source§fn clone(&self) -> AeFlickerMode
fn clone(&self) -> AeFlickerMode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more