pub enum YuvConversionMode {
Balanced,
}
Expand description
Declares YUV conversion accuracy mode
In common case, each step for increasing accuracy have at least 30% slowdown.
Variants§
Balanced
Mixed, but high precision, very good performance. This is still a VERY fast method, with much more precise encoding. This option is more suitable for common encoding, where fast speed is critical along the high precision.
Trait Implementations§
Source§impl Clone for YuvConversionMode
impl Clone for YuvConversionMode
Source§fn clone(&self) -> YuvConversionMode
fn clone(&self) -> YuvConversionMode
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 Debug for YuvConversionMode
impl Debug for YuvConversionMode
Source§impl Default for YuvConversionMode
impl Default for YuvConversionMode
Source§fn default() -> YuvConversionMode
fn default() -> YuvConversionMode
Returns the “default value” for a type. Read more
Source§impl Display for YuvConversionMode
impl Display for YuvConversionMode
Source§impl Ord for YuvConversionMode
impl Ord for YuvConversionMode
Source§fn cmp(&self, other: &YuvConversionMode) -> Ordering
fn cmp(&self, other: &YuvConversionMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for YuvConversionMode
impl PartialEq for YuvConversionMode
Source§impl PartialOrd for YuvConversionMode
impl PartialOrd for YuvConversionMode
impl Copy for YuvConversionMode
impl Eq for YuvConversionMode
impl StructuralPartialEq for YuvConversionMode
Auto Trait Implementations§
impl Freeze for YuvConversionMode
impl RefUnwindSafe for YuvConversionMode
impl Send for YuvConversionMode
impl Sync for YuvConversionMode
impl Unpin for YuvConversionMode
impl UnwindSafe for YuvConversionMode
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