pub enum CodecId {
Show 16 variants
Av1,
Vp9,
Vp8,
H264,
H265,
Theora,
Opus,
Vorbis,
Flac,
Pcm,
Png,
Gif,
WebP,
JpegXl,
Aac,
Unknown,
}Expand description
Identifies a codec or media format in the probe result.
Variants§
Av1
AV1 video codec (Alliance for Open Media).
Vp9
VP9 video codec (Google).
Vp8
VP8 video codec (Google / On2).
H264
H.264 / AVC video codec.
H265
H.265 / HEVC video codec.
Theora
Theora video codec (Xiph.Org).
Opus
Opus audio codec (Xiph.Org / IETF).
Vorbis
Vorbis audio codec (Xiph.Org).
Flac
FLAC lossless audio codec.
Pcm
Raw PCM audio.
Png
PNG image format.
Gif
GIF image format.
WebP
WebP image format.
JpegXl
JPEG-XL image format.
Aac
MPEG-4 AAC audio (ADTS framing).
Unknown
Unknown / unidentified codec.
Trait Implementations§
Source§impl Ord for CodecId
impl Ord for CodecId
Source§impl PartialOrd for CodecId
impl PartialOrd for CodecId
impl Copy for CodecId
impl Eq for CodecId
impl StructuralPartialEq for CodecId
Auto Trait Implementations§
impl Freeze for CodecId
impl RefUnwindSafe for CodecId
impl Send for CodecId
impl Sync for CodecId
impl Unpin for CodecId
impl UnsafeUnpin for CodecId
impl UnwindSafe for CodecId
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