pub enum H264Data {
SequenceHeader(AvcConfig),
Frame {
keyframe: bool,
composition_time: i32,
nalus: Bytes,
},
EndOfSequence,
}Expand description
Parsed H.264 data
Variants§
SequenceHeader(AvcConfig)
Sequence header with SPS/PPS
Frame
Video frame (one or more NAL units)
Fields
EndOfSequence
End of sequence marker
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for H264Data
impl RefUnwindSafe for H264Data
impl Send for H264Data
impl Sync for H264Data
impl Unpin for H264Data
impl UnwindSafe for H264Data
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