pub struct Config {
pub profiles: Vec<Profile>,
pub crf_values: Vec<i32>,
pub preset: String,
pub subsample: i32,
pub parallel: i32,
}Expand description
Config for context-aware analysis.
Fields§
§profiles: Vec<Profile>Device profiles to analyze, each with its own resolution and codec constraints.
crf_values: Vec<i32>CRF quality values to sweep across all profiles.
preset: StringGeneric encoder preset name shared by all profiles.
subsample: i32Frame subsample interval for VMAF scoring; 0 evaluates every frame.
parallel: i32Number of concurrent encodes per profile analysis.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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