pub struct OptimizerConfig {
pub level: OptimizationLevel,
pub enable_psychovisual: bool,
pub enable_aq: bool,
pub lookahead_frames: usize,
pub content_type: ContentType,
pub parallel_rdo: bool,
pub lambda_multiplier: f64,
pub enable_roi: bool,
pub enable_temporal_aq: bool,
}Expand description
Main optimizer configuration.
Fields§
§level: OptimizationLevelOptimization level preset.
enable_psychovisual: boolEnable psychovisual optimizations.
enable_aq: boolEnable adaptive quantization.
lookahead_frames: usizeNumber of lookahead frames for temporal optimization.
content_type: ContentTypeContent type hint.
parallel_rdo: boolEnable parallel RDO evaluation.
lambda_multiplier: f64Lambda multiplier for rate-distortion tradeoff.
enable_roi: boolEnable ROI-based encoding optimization.
enable_temporal_aq: boolEnable temporal AQ (frame-level QP adaptation).
Trait Implementations§
Source§impl Clone for OptimizerConfig
impl Clone for OptimizerConfig
Source§fn clone(&self) -> OptimizerConfig
fn clone(&self) -> OptimizerConfig
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 OptimizerConfig
impl Debug for OptimizerConfig
Auto Trait Implementations§
impl Freeze for OptimizerConfig
impl RefUnwindSafe for OptimizerConfig
impl Send for OptimizerConfig
impl Sync for OptimizerConfig
impl Unpin for OptimizerConfig
impl UnsafeUnpin for OptimizerConfig
impl UnwindSafe for OptimizerConfig
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