pub struct H264Config { /* private fields */ }Expand description
H.264/AVC specific configuration.
Implementations§
Source§impl H264Config
impl H264Config
Sourcepub fn profile(self, profile: H264Profile) -> Self
pub fn profile(self, profile: H264Profile) -> Self
Sets the profile (baseline, main, high, high10, high422, high444).
Sourcepub fn level(self, level: impl Into<String>) -> Self
pub fn level(self, level: impl Into<String>) -> Self
Sets the level (e.g., “3.0”, “4.0”, “5.1”).
Sourcepub fn build(self) -> CodecConfig
pub fn build(self) -> CodecConfig
Converts to base codec config.
Trait Implementations§
Source§impl Clone for H264Config
impl Clone for H264Config
Source§fn clone(&self) -> H264Config
fn clone(&self) -> H264Config
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 H264Config
impl Debug for H264Config
Auto Trait Implementations§
impl Freeze for H264Config
impl RefUnwindSafe for H264Config
impl Send for H264Config
impl Sync for H264Config
impl Unpin for H264Config
impl UnsafeUnpin for H264Config
impl UnwindSafe for H264Config
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