#[repr(i64)]pub enum AmfQualityPreset {
HighQuality = 10,
Quality = 30,
Balanced = 50,
Speed = 70,
}Expand description
AMF AV1 quality presets. Values match AMF_VIDEO_ENCODER_AV1_QUALITY_PRESET_*
constants from the GPUOpen AMF wiki. Lower = better quality / more wall-clock.
The transcode service never picks Speed (same rationale as NVENC: no
low-latency presets in this service — see research §2.4).
Variants§
HighQuality = 10
Quality = 30
Balanced = 50
Speed = 70
Not used by this service; kept in the enum so the mapping table stays complete for any future ultra-low-latency path.
Trait Implementations§
Source§impl Clone for AmfQualityPreset
impl Clone for AmfQualityPreset
Source§fn clone(&self) -> AmfQualityPreset
fn clone(&self) -> AmfQualityPreset
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 AmfQualityPreset
Source§impl Debug for AmfQualityPreset
impl Debug for AmfQualityPreset
impl Eq for AmfQualityPreset
Source§impl PartialEq for AmfQualityPreset
impl PartialEq for AmfQualityPreset
Source§fn eq(&self, other: &AmfQualityPreset) -> bool
fn eq(&self, other: &AmfQualityPreset) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AmfQualityPreset
Auto Trait Implementations§
impl Freeze for AmfQualityPreset
impl RefUnwindSafe for AmfQualityPreset
impl Send for AmfQualityPreset
impl Sync for AmfQualityPreset
impl Unpin for AmfQualityPreset
impl UnsafeUnpin for AmfQualityPreset
impl UnwindSafe for AmfQualityPreset
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