Struct rav1e::prelude::config::SpeedSettings
source · #[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 more