pub enum Codec {
H264 {
entry: FourCc,
config: AvcConfig,
},
H265 {
entry: FourCc,
config: HevcConfig,
},
Aac {
config: AacConfig,
},
Opus {
config: OpusConfig,
},
Other {
entry: FourCc,
raw: Vec<u8>,
},
}Expand description
Codec configuration from a sample description.
Variants§
H264
AVC configuration for an avc1 or avc3 entry.
H265
HEVC configuration for an hvc1 or hev1 entry.
Aac
AAC configuration from an mp4a entry.
Opus
Opus configuration from an Opus entry.
Fields
§
config: OpusConfigDecoder configuration.
Other
An unrecognized sample entry whose body is preserved.
Trait Implementations§
impl StructuralPartialEq for Codec
Auto Trait Implementations§
impl Freeze for Codec
impl RefUnwindSafe for Codec
impl Send for Codec
impl Sync for Codec
impl Unpin for Codec
impl UnsafeUnpin for Codec
impl UnwindSafe for Codec
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