pub enum QualityPreset {
Mobile,
Web,
Editorial,
ColorGrade,
Archive,
}Expand description
High-level quality preset that bundles codec, resolution, and bitrate choices.
Variants§
Mobile
Ultra-low bandwidth for remote / offline mobile editing.
Web
Web-quality proxy suitable for browser-based review tools.
Editorial
Editorial proxy — good enough for a Resolve / Premiere timeline.
ColorGrade
Near-lossless proxy for critical colour grading preparation.
Archive
Archival intermediate — visually lossless (e.g. DNxHD / ProRes 4444).
Implementations§
Source§impl QualityPreset
impl QualityPreset
Sourcepub fn upgrade(self) -> Option<Self>
pub fn upgrade(self) -> Option<Self>
Return the next higher preset, or None if already at Archive.
Sourcepub fn downgrade(self) -> Option<Self>
pub fn downgrade(self) -> Option<Self>
Return the next lower preset, or None if already at Mobile.
Sourcepub fn all() -> &'static [QualityPreset]
pub fn all() -> &'static [QualityPreset]
Return all presets in ascending quality order.
Trait Implementations§
Source§impl Clone for QualityPreset
impl Clone for QualityPreset
Source§fn clone(&self) -> QualityPreset
fn clone(&self) -> QualityPreset
Returns a duplicate 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 QualityPreset
impl Debug for QualityPreset
Source§impl Display for QualityPreset
impl Display for QualityPreset
Source§impl Hash for QualityPreset
impl Hash for QualityPreset
Source§impl PartialEq for QualityPreset
impl PartialEq for QualityPreset
impl Copy for QualityPreset
impl Eq for QualityPreset
impl StructuralPartialEq for QualityPreset
Auto Trait Implementations§
impl Freeze for QualityPreset
impl RefUnwindSafe for QualityPreset
impl Send for QualityPreset
impl Sync for QualityPreset
impl Unpin for QualityPreset
impl UnsafeUnpin for QualityPreset
impl UnwindSafe for QualityPreset
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more