Struct SpeedSettings

struct SpeedSettings { ... }

Contains the speed settings.

Fields

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

impl SpeedSettings

fn from_preset(speed: u8) -> Self

Set the speed setting according to a numeric speed preset.

impl Clone for SpeedSettings

fn clone(self: &Self) -> SpeedSettings

impl Copy for SpeedSettings

impl Debug for SpeedSettings

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Default for SpeedSettings

fn default() -> Self

The default settings are equivalent to speed 0

impl Freeze for SpeedSettings

impl RefUnwindSafe for SpeedSettings

impl Send for SpeedSettings

impl Sync for SpeedSettings

impl Unpin for SpeedSettings

impl UnsafeUnpin for SpeedSettings

impl UnwindSafe for SpeedSettings

impl<T> Any for SpeedSettings

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for SpeedSettings

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for SpeedSettings

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for SpeedSettings

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for SpeedSettings

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for SpeedSettings

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for SpeedSettings

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for SpeedSettings

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for SpeedSettings

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>