pub struct Av1ProfileDef {
pub profile: Av1Profile,
pub bit_depths: Vec<u8>,
pub chroma_formats: Vec<ChromaSubsampling>,
pub mono_allowed: bool,
}Expand description
Full AV1 profile definition with chroma and bit depth constraints.
Fields§
§profile: Av1ProfileProfile enum variant.
bit_depths: Vec<u8>Allowed bit depths.
chroma_formats: Vec<ChromaSubsampling>Allowed chroma subsampling formats.
mono_allowed: boolWhether monochrome is allowed.
Implementations§
Source§impl Av1ProfileDef
impl Av1ProfileDef
Sourcepub fn professional() -> Self
pub fn professional() -> Self
AV1 Professional profile: all formats, 8/10/12-bit.
Trait Implementations§
Source§impl Clone for Av1ProfileDef
impl Clone for Av1ProfileDef
Source§fn clone(&self) -> Av1ProfileDef
fn clone(&self) -> Av1ProfileDef
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 Av1ProfileDef
impl Debug for Av1ProfileDef
Source§impl PartialEq for Av1ProfileDef
impl PartialEq for Av1ProfileDef
impl Eq for Av1ProfileDef
impl StructuralPartialEq for Av1ProfileDef
Auto Trait Implementations§
impl Freeze for Av1ProfileDef
impl RefUnwindSafe for Av1ProfileDef
impl Send for Av1ProfileDef
impl Sync for Av1ProfileDef
impl Unpin for Av1ProfileDef
impl UnsafeUnpin for Av1ProfileDef
impl UnwindSafe for Av1ProfileDef
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