Struct openh264::encoder::EncodedBitStream
source · pub struct EncodedBitStream<'a> { /* private fields */ }Expand description
Bitstream output resulting from an encode() operation.
Implementations§
source§impl<'a> EncodedBitStream<'a>
impl<'a> EncodedBitStream<'a>
sourcepub fn raw_info(&self) -> &'a SFrameBSInfo
pub fn raw_info(&self) -> &'a SFrameBSInfo
Raw bitstream info returned by the encoder.
sourcepub fn frame_type(&self) -> FrameType
pub fn frame_type(&self) -> FrameType
Frame type of the encoded packet.
sourcepub fn num_layers(&self) -> usize
pub fn num_layers(&self) -> usize
Number of layers in the encoded packet.
Auto Trait Implementations§
impl<'a> Freeze for EncodedBitStream<'a>
impl<'a> RefUnwindSafe for EncodedBitStream<'a>
impl<'a> !Send for EncodedBitStream<'a>
impl<'a> !Sync for EncodedBitStream<'a>
impl<'a> Unpin for EncodedBitStream<'a>
impl<'a> UnwindSafe for EncodedBitStream<'a>
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