#[non_exhaustive]pub enum CodecProfile {
Show 14 variants
UncompressedGray8,
HevcMain,
HevcMain10,
Av1Main,
Av1High,
Av1Professional,
Vp8,
Vp9Profile0,
Vp9Profile1,
Vp9Profile2,
Vp9Profile3,
AacLowComplexity,
Opus,
Vorbis,
}Expand description
A normalized codec profile that can be compared across backend implementations.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UncompressedGray8
HevcMain
HevcMain10
Av1Main
Av1High
Av1Professional
Vp8
VP8 has a single profile; the bitstream version each frame carries selects its reconstruction and loop filters.
Vp9Profile0
VP9 profile 0: 8-bit 4:2:0.
Vp9Profile1
VP9 profile 1: 8-bit 4:2:2, 4:4:0 or 4:4:4.
Vp9Profile2
VP9 profile 2: 10- or 12-bit 4:2:0.
Vp9Profile3
VP9 profile 3: 10- or 12-bit 4:2:2, 4:4:0 or 4:4:4.
AacLowComplexity
Opus
Opus has a single profile.
Vorbis
Vorbis I has a single profile.
Trait Implementations§
Source§impl Clone for CodecProfile
impl Clone for CodecProfile
impl Copy for CodecProfile
Source§impl Debug for CodecProfile
impl Debug for CodecProfile
impl Eq for CodecProfile
Source§impl Hash for CodecProfile
impl Hash for CodecProfile
Source§impl PartialEq for CodecProfile
impl PartialEq for CodecProfile
impl StructuralPartialEq for CodecProfile
Auto Trait Implementations§
impl Freeze for CodecProfile
impl RefUnwindSafe for CodecProfile
impl Send for CodecProfile
impl Sync for CodecProfile
impl Unpin for CodecProfile
impl UnsafeUnpin for CodecProfile
impl UnwindSafe for CodecProfile
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