pub enum TrackCodec {
H264,
Hevc,
Vp9,
Av1,
}Expand description
Which codec a track’s samples are in. The two VideoToolbox will decode.
Variants§
H264
avc1 / avc3, configured by an avcC box.
Hevc
hvc1 / hev1, configured by an hvcC box.
Vp9
VP9 (Matroska V_VP9; no decoder configuration).
Av1
AV1 (av01 with an av1C box, Matroska V_AV1, or IVF).
Trait Implementations§
Source§impl Clone for TrackCodec
impl Clone for TrackCodec
impl Copy for TrackCodec
Source§impl Debug for TrackCodec
impl Debug for TrackCodec
impl Eq for TrackCodec
Source§impl PartialEq for TrackCodec
impl PartialEq for TrackCodec
impl StructuralPartialEq for TrackCodec
Auto Trait Implementations§
impl Freeze for TrackCodec
impl RefUnwindSafe for TrackCodec
impl Send for TrackCodec
impl Sync for TrackCodec
impl Unpin for TrackCodec
impl UnsafeUnpin for TrackCodec
impl UnwindSafe for TrackCodec
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