Enum libcamera::controls::NoiseReductionMode
source · #[repr(i32)]pub enum NoiseReductionMode {
Off,
Fast,
HighQuality,
Minimal,
ZSL,
}
Expand description
Control to select the noise reduction algorithm mode. Currently identical to ANDROID_NOISE_REDUCTION_MODE.
Mode of operation for the noise reduction algorithm.
Variants§
Off
No noise reduction is applied
Fast
Noise reduction is applied without reducing the frame rate.
HighQuality
High quality noise reduction at the expense of frame rate.
Minimal
Minimal noise reduction is applied without reducing the frame rate.
ZSL
Noise reduction is applied at different levels to different streams.
Trait Implementations§
source§impl Clone for NoiseReductionMode
impl Clone for NoiseReductionMode
source§fn clone(&self) -> NoiseReductionMode
fn clone(&self) -> NoiseReductionMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl ControlEntry for NoiseReductionMode
impl ControlEntry for NoiseReductionMode
source§impl Debug for NoiseReductionMode
impl Debug for NoiseReductionMode
source§impl From<NoiseReductionMode> for ControlValue
impl From<NoiseReductionMode> for ControlValue
source§fn from(val: NoiseReductionMode) -> Self
fn from(val: NoiseReductionMode) -> Self
Converts to this type from the input type.
source§impl From<NoiseReductionMode> for i32
impl From<NoiseReductionMode> for i32
source§fn from(enum_value: NoiseReductionMode) -> Self
fn from(enum_value: NoiseReductionMode) -> Self
Converts to this type from the input type.
source§impl PartialEq<NoiseReductionMode> for NoiseReductionMode
impl PartialEq<NoiseReductionMode> for NoiseReductionMode
source§fn eq(&self, other: &NoiseReductionMode) -> bool
fn eq(&self, other: &NoiseReductionMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<ControlValue> for NoiseReductionMode
impl TryFrom<ControlValue> for NoiseReductionMode
§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
source§impl TryFrom<i32> for NoiseReductionMode
impl TryFrom<i32> for NoiseReductionMode
source§impl TryFromPrimitive for NoiseReductionMode
impl TryFromPrimitive for NoiseReductionMode
impl Control for NoiseReductionMode
impl Copy for NoiseReductionMode
impl Eq for NoiseReductionMode
impl StructuralEq for NoiseReductionMode
impl StructuralPartialEq for NoiseReductionMode
Auto Trait Implementations§
impl RefUnwindSafe for NoiseReductionMode
impl Send for NoiseReductionMode
impl Sync for NoiseReductionMode
impl Unpin for NoiseReductionMode
impl UnwindSafe for NoiseReductionMode
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