pub struct Vp8CodecExtra {
pub discardable: bool,
pub sync: bool,
pub layer_index: u8,
pub picture_id: Option<u64>,
pub tl0_picture_id: Option<u64>,
pub is_keyframe: bool,
}Expand description
Vp8 information describing the depacketized / packetized data
Fields§
§discardable: boolTrue if the frame can be discarded safely, without causing decoding problems No other frames are encoded depending on this frame (non-reference frame)
sync: boolTrue if this frame and subsequent ones on this layer depend only on tl0_pic_idx
layer_index: u8Index of the vp8 temporal layer.
picture_id: Option<u64>Extended picture id, if present
tl0_picture_id: Option<u64>Extended picture id of layer 0 frames, if present
is_keyframe: boolFlag which indicates that within MediaData, there is an individual frame
containing complete and independent visual information. This frame serves
as a reference point for other frames in the video sequence.
Trait Implementations§
Source§impl Clone for Vp8CodecExtra
impl Clone for Vp8CodecExtra
impl Copy for Vp8CodecExtra
Source§impl Debug for Vp8CodecExtra
impl Debug for Vp8CodecExtra
impl Eq for Vp8CodecExtra
Source§impl PartialEq for Vp8CodecExtra
impl PartialEq for Vp8CodecExtra
impl StructuralPartialEq for Vp8CodecExtra
Auto Trait Implementations§
impl Forget for Vp8CodecExtra
impl Freeze for Vp8CodecExtra
impl Move for Vp8CodecExtra
impl RefUnwindSafe for Vp8CodecExtra
impl Send for Vp8CodecExtra
impl Sync for Vp8CodecExtra
impl Unpin for Vp8CodecExtra
impl UnsafeUnpin for Vp8CodecExtra
impl UnwindSafe for Vp8CodecExtra
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