pub struct GenericDecoder { /* private fields */ }
Implementations§
Source§impl GenericDecoder
impl GenericDecoder
pub fn codec_type(&self) -> AVMediaType
pub fn time_base(&self) -> AVRational
pub fn send_packet(&mut self, packet: &Packet) -> Result<(), FfmpegError>
pub fn send_eof(&mut self) -> Result<(), FfmpegError>
pub fn receive_frame(&mut self) -> Result<Option<VideoFrame>, FfmpegError>
Trait Implementations§
Source§impl Debug for GenericDecoder
impl Debug for GenericDecoder
impl Send for GenericDecoder
Safety: GenericDecoder
can be sent between threads.
Auto Trait Implementations§
impl Freeze for GenericDecoder
impl RefUnwindSafe for GenericDecoder
impl !Sync for GenericDecoder
impl Unpin for GenericDecoder
impl UnwindSafe for GenericDecoder
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