#[non_exhaustive]pub struct SpeedSettings {Show 13 fields
pub multiref: bool,
pub fast_deblock: bool,
pub rdo_lookahead_frames: usize,
pub scene_detection_mode: SceneDetectionSpeed,
pub cdef: bool,
pub lrf: bool,
pub lru_on_skip: bool,
pub sgr_complexity: SGRComplexityLevel,
pub segmentation: SegmentationLevel,
pub partition: PartitionSpeedSettings,
pub transform: TransformSpeedSettings,
pub prediction: PredictionSpeedSettings,
pub motion: MotionSpeedSettings,
}Expand description
Contains the speed settings.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.multiref: boolEnables inter-frames to have multiple reference frames.
Enabled is slower.
fast_deblock: boolEnables fast deblocking filter.
rdo_lookahead_frames: usizeThe number of lookahead frames to be used for temporal RDO.
Higher is slower.
scene_detection_mode: SceneDetectionSpeedWhich scene detection mode to use. Standard is slower, but best.
cdef: boolEnables CDEF.
lrf: boolEnables LRF.
lru_on_skip: boolEnable searching loop restoration units when no transforms have been coded restoration unit.
sgr_complexity: SGRComplexityLevelThe amount of search done for self guided restoration.
segmentation: SegmentationLevelSearch level for segmentation.
Full search is at least twice as slow.
partition: PartitionSpeedSettingsSpeed settings related to partition decision
transform: TransformSpeedSettingsSpeed settings related to transform size and type decision
prediction: PredictionSpeedSettingsSpeed settings related to intra prediction mode selection
motion: MotionSpeedSettingsSpeed settings related to motion estimation and motion vector selection
Implementations§
Source§impl SpeedSettings
impl SpeedSettings
Sourcepub fn from_preset(speed: u8) -> Self
pub fn from_preset(speed: u8) -> Self
Set the speed setting according to a numeric speed preset.
Trait Implementations§
Source§impl Clone for SpeedSettings
impl Clone for SpeedSettings
Source§fn clone(&self) -> SpeedSettings
fn clone(&self) -> SpeedSettings
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SpeedSettings
impl Debug for SpeedSettings
Source§impl Default for SpeedSettings
impl Default for SpeedSettings
impl Copy for SpeedSettings
Auto Trait Implementations§
impl Freeze for SpeedSettings
impl RefUnwindSafe for SpeedSettings
impl Send for SpeedSettings
impl Sync for SpeedSettings
impl Unpin for SpeedSettings
impl UnwindSafe for SpeedSettings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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