struct SpeedTweaks {Show 16 fields
pub speed_preset: u8,
pub fast_deblock: Option<bool>,
pub reduced_tx_set: Option<bool>,
pub tx_domain_distortion: Option<bool>,
pub tx_domain_rate: Option<bool>,
pub encode_bottomup: Option<bool>,
pub rdo_tx_decision: Option<bool>,
pub cdef: Option<bool>,
pub lrf: Option<bool>,
pub sgr_complexity_full: Option<bool>,
pub use_satd_subpel: Option<bool>,
pub inter_tx_split: Option<bool>,
pub fine_directional_intra: Option<bool>,
pub complex_prediction_modes: Option<bool>,
pub partition_range: Option<(u8, u8)>,
pub min_tile_size: u16,
}
Fields§
§speed_preset: u8
§fast_deblock: Option<bool>
§reduced_tx_set: Option<bool>
§tx_domain_distortion: Option<bool>
§tx_domain_rate: Option<bool>
§encode_bottomup: Option<bool>
§rdo_tx_decision: Option<bool>
§cdef: Option<bool>
§lrf: Option<bool>
loop restoration filter
sgr_complexity_full: Option<bool>
§use_satd_subpel: Option<bool>
§inter_tx_split: Option<bool>
§fine_directional_intra: Option<bool>
§complex_prediction_modes: Option<bool>
§partition_range: Option<(u8, u8)>
§min_tile_size: u16
Implementations§
Source§impl SpeedTweaks
impl SpeedTweaks
pub fn from_my_preset(speed: u8, quantizer: u8) -> Self
pub(crate) fn speed_settings(&self) -> SpeedSettings
Trait Implementations§
Source§impl Clone for SpeedTweaks
impl Clone for SpeedTweaks
Source§fn clone(&self) -> SpeedTweaks
fn clone(&self) -> SpeedTweaks
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SpeedTweaks
impl Debug for SpeedTweaks
impl Copy for SpeedTweaks
Auto Trait Implementations§
impl Freeze for SpeedTweaks
impl RefUnwindSafe for SpeedTweaks
impl Send for SpeedTweaks
impl Sync for SpeedTweaks
impl Unpin for SpeedTweaks
impl UnwindSafe for SpeedTweaks
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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