struct Av1EncodeConfig {
pub width: usize,
pub height: usize,
pub bit_depth: usize,
pub quantizer: usize,
pub speed: SpeedTweaks,
pub threads: Option<usize>,
pub pixel_range: PixelRange,
pub chroma_sampling: ChromaSampling,
pub color_description: Option<ColorDescription>,
}Fields§
§width: usize§height: usize§bit_depth: usize§quantizer: usize§speed: SpeedTweaks§threads: Option<usize>0 means num_cpus
pixel_range: PixelRange§chroma_sampling: ChromaSampling§color_description: Option<ColorDescription>Auto Trait Implementations§
impl Freeze for Av1EncodeConfig
impl RefUnwindSafe for Av1EncodeConfig
impl Send for Av1EncodeConfig
impl Sync for Av1EncodeConfig
impl Unpin for Av1EncodeConfig
impl UnsafeUnpin for Av1EncodeConfig
impl UnwindSafe for Av1EncodeConfig
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> 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