#[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: bool
Enables inter-frames to have multiple reference frames.
Enabled is slower.
fast_deblock: bool
Enables fast deblocking filter.
rdo_lookahead_frames: usize
The number of lookahead frames to be used for temporal RDO.
Higher is slower.
scene_detection_mode: SceneDetectionSpeed
Which scene detection mode to use. Standard is slower, but best.
cdef: bool
Enables CDEF.
lrf: bool
Enables LRF.
lru_on_skip: bool
Enable searching loop restoration units when no transforms have been coded restoration unit.
sgr_complexity: SGRComplexityLevel
The amount of search done for self guided restoration.
segmentation: SegmentationLevel
Search level for segmentation.
Full search is at least twice as slow.
partition: PartitionSpeedSettings
Speed settings related to partition decision
transform: TransformSpeedSettings
Speed settings related to transform size and type decision
prediction: PredictionSpeedSettings
Speed settings related to intra prediction mode selection
motion: MotionSpeedSettings
Speed 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