pub struct CodedBitstreamBuffer {
pub metadata: FrameMetadata,
pub bitstream: Vec<u8>,
}
Expand description
Encoder’s coded output with contained frame.
Fields§
§metadata: FrameMetadata
FrameMetadata
of the frame that is compressed in Self::bitstream
bitstream: Vec<u8>
Bitstream with compressed frame together with optionally other compressed control messages
Implementations§
Source§impl CodedBitstreamBuffer
impl CodedBitstreamBuffer
pub fn new(metadata: FrameMetadata, bitstream: Vec<u8>) -> Self
Trait Implementations§
Source§impl From<CodedBitstreamBuffer> for Vec<u8>
impl From<CodedBitstreamBuffer> for Vec<u8>
Source§fn from(value: CodedBitstreamBuffer) -> Self
fn from(value: CodedBitstreamBuffer) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CodedBitstreamBuffer
impl RefUnwindSafe for CodedBitstreamBuffer
impl Send for CodedBitstreamBuffer
impl Sync for CodedBitstreamBuffer
impl Unpin for CodedBitstreamBuffer
impl UnwindSafe for CodedBitstreamBuffer
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