Struct moonfire_ffmpeg::avcodec::DecodeContext
source · [−]pub struct DecodeContext { /* private fields */ }
Implementations
sourceimpl DecodeContext
impl DecodeContext
pub fn ctx(&self) -> &AVCodecContext
pub fn decode_video(
&self,
pkt: &Packet<'_>,
frame: &mut VideoFrame
) -> Result<bool, Error>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DecodeContext
impl !Send for DecodeContext
impl !Sync for DecodeContext
impl Unpin for DecodeContext
impl UnwindSafe for DecodeContext
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more