Enum libcamera::controls::NoiseReductionMode
source · #[repr(i32)]pub enum NoiseReductionMode {
Off = 0,
Fast = 1,
HighQuality = 2,
Minimal = 3,
ZSL = 4,
}
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 = 0
No noise reduction is applied
Fast = 1
Noise reduction is applied without reducing the frame rate.
HighQuality = 2
High quality noise reduction at the expense of frame rate.
Minimal = 3
Minimal noise reduction is applied without reducing the frame rate.
ZSL = 4
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 for NoiseReductionMode
impl PartialEq for NoiseReductionMode
source§impl TryFrom<ControlValue> for NoiseReductionMode
impl TryFrom<ControlValue> for NoiseReductionMode
source§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 StructuralPartialEq for NoiseReductionMode
Auto Trait Implementations§
impl Freeze for NoiseReductionMode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)