pub struct MpegVideoPipeline { /* private fields */ }Expand description
High-level convenience wrapper: demux container bytes and decode MPEG-1/2 video frames.
This type is designed for low-overhead integration:
- You can reuse a single pipeline instance across the whole stream.
- Use
push_with()/flush_with()to avoid collecting frames into intermediate vectors.
Implementations§
Source§impl MpegVideoPipeline
impl MpegVideoPipeline
pub fn new() -> Self
pub fn decoder_mut(&mut self) -> &mut Decoder
pub fn demuxer_mut(&mut self) -> &mut Demuxer
Trait Implementations§
Source§impl Debug for MpegVideoPipeline
impl Debug for MpegVideoPipeline
Source§impl Default for MpegVideoPipeline
impl Default for MpegVideoPipeline
Source§fn default() -> MpegVideoPipeline
fn default() -> MpegVideoPipeline
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MpegVideoPipeline
impl RefUnwindSafe for MpegVideoPipeline
impl Send for MpegVideoPipeline
impl Sync for MpegVideoPipeline
impl Unpin for MpegVideoPipeline
impl UnwindSafe for MpegVideoPipeline
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