pub struct ModeDecisionConfig {
pub rd_optimization: bool,
pub lambda: f32,
pub split_threshold: f32,
pub early_termination: bool,
pub max_partition_depth: u8,
pub tx_size_rdo: bool,
pub use_satd: bool,
pub preset_speed: u8,
}Expand description
Mode decision configuration.
Fields§
§rd_optimization: boolEnable rate-distortion optimization.
lambda: f32Lagrangian multiplier for RD cost.
split_threshold: f32Split threshold for partition decision.
early_termination: boolEnable early termination.
max_partition_depth: u8Maximum partition depth.
tx_size_rdo: boolEnable transform size RDO.
use_satd: boolUse SATD instead of SAD for motion estimation.
preset_speed: u8Encoder preset (affects search thoroughness).
Implementations§
Trait Implementations§
Source§impl Clone for ModeDecisionConfig
impl Clone for ModeDecisionConfig
Source§fn clone(&self) -> ModeDecisionConfig
fn clone(&self) -> ModeDecisionConfig
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 ModeDecisionConfig
impl Debug for ModeDecisionConfig
Auto Trait Implementations§
impl Freeze for ModeDecisionConfig
impl RefUnwindSafe for ModeDecisionConfig
impl Send for ModeDecisionConfig
impl Sync for ModeDecisionConfig
impl Unpin for ModeDecisionConfig
impl UnsafeUnpin for ModeDecisionConfig
impl UnwindSafe for ModeDecisionConfig
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