pub struct Vp9Config { /* private fields */ }Expand description
VP9 specific configuration.
Implementations§
Source§impl Vp9Config
impl Vp9Config
Sourcepub fn tile_columns(self, columns: u8) -> Self
pub fn tile_columns(self, columns: u8) -> Self
Sets the tile columns (for parallel encoding).
Sourcepub fn frame_parallel(self, enable: bool) -> Self
pub fn frame_parallel(self, enable: bool) -> Self
Sets the frame parallel encoding.
Sourcepub fn auto_alt_ref(self, frames: u8) -> Self
pub fn auto_alt_ref(self, frames: u8) -> Self
Sets the auto alt reference frames.
Sourcepub fn lag_in_frames(self, lag: u32) -> Self
pub fn lag_in_frames(self, lag: u32) -> Self
Sets the lag in frames.
Sourcepub fn build(self) -> CodecConfig
pub fn build(self) -> CodecConfig
Converts to base codec config.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Vp9Config
impl RefUnwindSafe for Vp9Config
impl Send for Vp9Config
impl Sync for Vp9Config
impl Unpin for Vp9Config
impl UnsafeUnpin for Vp9Config
impl UnwindSafe for Vp9Config
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