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: 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 more