pub struct AwbEnable(pub bool);
Expand description
Enable or disable the AWB.
When AWB is enabled, the algorithm estimates the colour temperature of the scene and computes colour gains and the colour correction matrix automatically. The computed colour temperature, gains and correction matrix are reported in metadata. The corresponding controls are ignored if set in a request.
When AWB is disabled, the colour temperature, gains and correction matrix are not updated automatically and can be set manually in requests.
\sa ColourCorrectionMatrix \sa ColourGains \sa ColourTemperature
Tuple Fields§
§0: bool
Trait Implementations§
Source§impl From<AwbEnable> for ControlValue
impl From<AwbEnable> for ControlValue
Source§impl TryFrom<ControlValue> for AwbEnable
impl TryFrom<ControlValue> for AwbEnable
Source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
impl Control for AwbEnable
Auto Trait Implementations§
impl Freeze for AwbEnable
impl RefUnwindSafe for AwbEnable
impl Send for AwbEnable
impl Sync for AwbEnable
impl Unpin for AwbEnable
impl UnwindSafe for AwbEnable
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more