pub struct Vp8FrameInfo {
pub non_reference: bool,
pub temporal: Option<Vp8TemporalLayer>,
pub key_idx: Option<u8>,
}Expand description
What the encoder knows about one VP8 frame and the payload descriptor carries (RFC 7741 section 4.2). The default describes a frame of a stream without temporal layers.
Fields§
§non_reference: boolN: the frame is not a reference for any other frame and can be discarded without
affecting later frames. Leave it false when the reference status is not known.
temporal: Option<Vp8TemporalLayer>The frame’s temporal layer. When set, the descriptor carries TID, Y and
TL0PICIDX (which the payloader counts).
key_idx: Option<u8>KEYIDX, the encoder’s running index of key frames (0 to 31). When set, the descriptor
carries it; a sender that uses it sets it on key frames and interframes alike.
Trait Implementations§
Source§impl Clone for Vp8FrameInfo
impl Clone for Vp8FrameInfo
impl Copy for Vp8FrameInfo
Source§impl Debug for Vp8FrameInfo
impl Debug for Vp8FrameInfo
Source§impl Default for Vp8FrameInfo
impl Default for Vp8FrameInfo
impl Eq for Vp8FrameInfo
Source§impl PartialEq for Vp8FrameInfo
impl PartialEq for Vp8FrameInfo
impl StructuralPartialEq for Vp8FrameInfo
Auto Trait Implementations§
impl Forget for Vp8FrameInfo
impl Freeze for Vp8FrameInfo
impl Move for Vp8FrameInfo
impl RefUnwindSafe for Vp8FrameInfo
impl Send for Vp8FrameInfo
impl Sync for Vp8FrameInfo
impl Unpin for Vp8FrameInfo
impl UnsafeUnpin for Vp8FrameInfo
impl UnwindSafe for Vp8FrameInfo
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