pub enum Av1Profile {
Main,
High,
Professional,
}Expand description
AV1 codec profile.
Defined in the AV1 specification, Section 6.4.1.
Variants§
Main
Main profile — 4:2:0 chroma subsampling, 8-bit and 10-bit.
High
High profile — 4:4:4 chroma subsampling, 8-bit and 10-bit.
Professional
Professional profile — 4:2:2, 4:4:4, up to 12-bit.
Trait Implementations§
Source§impl Clone for Av1Profile
impl Clone for Av1Profile
Source§fn clone(&self) -> Av1Profile
fn clone(&self) -> Av1Profile
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 Av1Profile
impl Debug for Av1Profile
Source§impl Display for Av1Profile
impl Display for Av1Profile
Source§impl Hash for Av1Profile
impl Hash for Av1Profile
Source§impl PartialEq for Av1Profile
impl PartialEq for Av1Profile
impl Eq for Av1Profile
impl StructuralPartialEq for Av1Profile
Auto Trait Implementations§
impl Freeze for Av1Profile
impl RefUnwindSafe for Av1Profile
impl Send for Av1Profile
impl Sync for Av1Profile
impl Unpin for Av1Profile
impl UnsafeUnpin for Av1Profile
impl UnwindSafe for Av1Profile
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