#[repr(C)]pub enum moq_video_format {
MOQ_VIDEO_FORMAT_AVC1 = 0,
MOQ_VIDEO_FORMAT_AVC3 = 1,
MOQ_VIDEO_FORMAT_HVC1 = 2,
MOQ_VIDEO_FORMAT_HEV1 = 3,
MOQ_VIDEO_FORMAT_AV01 = 4,
MOQ_VIDEO_FORMAT_VP8 = 5,
MOQ_VIDEO_FORMAT_VP9 = 6,
}Expand description
A single video codec moq_publish_video can parse.
H.264 and H.265 appear twice each because the framing differs, not just the codec: AVC1/HVC1 are length-prefixed with an out-of-band config record, while AVC3/HEV1 are Annex-B with the parameter sets inline.
Variants§
MOQ_VIDEO_FORMAT_AVC1 = 0
H.264, length-prefixed NALUs with an out-of-band avcC.
MOQ_VIDEO_FORMAT_AVC3 = 1
H.264, Annex-B with inline SPS/PPS.
MOQ_VIDEO_FORMAT_HVC1 = 2
H.265, length-prefixed NALUs with an out-of-band hvcC.
MOQ_VIDEO_FORMAT_HEV1 = 3
H.265, Annex-B with inline parameter sets.
MOQ_VIDEO_FORMAT_AV01 = 4
AV1.
MOQ_VIDEO_FORMAT_VP8 = 5
VP8.
MOQ_VIDEO_FORMAT_VP9 = 6
VP9.
Trait Implementations§
Source§impl Clone for moq_video_format
impl Clone for moq_video_format
impl Copy for moq_video_format
Source§impl Debug for moq_video_format
impl Debug for moq_video_format
impl Eq for moq_video_format
Source§impl PartialEq for moq_video_format
impl PartialEq for moq_video_format
impl StructuralPartialEq for moq_video_format
Auto Trait Implementations§
impl Freeze for moq_video_format
impl RefUnwindSafe for moq_video_format
impl Send for moq_video_format
impl Sync for moq_video_format
impl Unpin for moq_video_format
impl UnsafeUnpin for moq_video_format
impl UnwindSafe for moq_video_format
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.