pub enum QualityTarget {
VisuallyLossless,
High,
Standard,
Low,
Vmaf(u8),
}Expand description
A single perceptual quality target, backend-agnostic.
Maps to VMAF / SSIMULACRA2 bands, NOT encoder CRF values:
| Variant | Target VMAF | Target SSIMULACRA2 | Use case |
|---|---|---|---|
VisuallyLossless | ~98 | ~90 | Archive, master |
High | ~95 | ~80 | Premium OTT / top ABR rung |
Standard | ~90 | ~70 | Default web / streaming |
Low | ~85 | ~60 | Mobile / bandwidth-constrained |
Vmaf(u8) | explicit | n/a | A/B testing escape hatch |
Variants§
Trait Implementations§
Source§impl Clone for QualityTarget
impl Clone for QualityTarget
Source§fn clone(&self) -> QualityTarget
fn clone(&self) -> QualityTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for QualityTarget
Source§impl Debug for QualityTarget
impl Debug for QualityTarget
Source§impl Default for QualityTarget
impl Default for QualityTarget
Source§fn default() -> QualityTarget
fn default() -> QualityTarget
Returns the “default value” for a type. Read more
impl Eq for QualityTarget
Source§impl PartialEq for QualityTarget
impl PartialEq for QualityTarget
Source§fn eq(&self, other: &QualityTarget) -> bool
fn eq(&self, other: &QualityTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for QualityTarget
Auto Trait Implementations§
impl Freeze for QualityTarget
impl RefUnwindSafe for QualityTarget
impl Send for QualityTarget
impl Sync for QualityTarget
impl Unpin for QualityTarget
impl UnsafeUnpin for QualityTarget
impl UnwindSafe for QualityTarget
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