pub struct EncodedFrame {
pub data: Vec<u8>,
pub is_keyframe: bool,
pub is_refine: bool,
pub is_lossless: bool,
pub encode_time_us: u64,
}Expand description
Encoded output from a single frame.
Fields§
§data: Vec<u8>Raw NALUs (H.265) or OBUs (AV1).
is_keyframe: boolWhether this is a keyframe.
is_refine: boolWhether this frame is a settle/refine frame.
is_lossless: boolWhether this frame was encoded losslessly.
encode_time_us: u64Encode duration in microseconds.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EncodedFrame
impl RefUnwindSafe for EncodedFrame
impl Send for EncodedFrame
impl Sync for EncodedFrame
impl Unpin for EncodedFrame
impl UnsafeUnpin for EncodedFrame
impl UnwindSafe for EncodedFrame
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