[][src]Struct ffmpeg_next::codec::decoder::opened::Opened

pub struct Opened(pub Decoder);

Implementations

impl Opened[src]

pub fn video(self) -> Result<Video, Error>[src]

pub fn audio(self) -> Result<Audio, Error>[src]

pub fn subtitle(self) -> Result<Subtitle, Error>[src]

pub fn send_packet<P: Ref>(&mut self, packet: &P) -> Result<(), Error>[src]

pub fn send_eof(&mut self) -> Result<(), Error>[src]

Sends a NULL packet to the decoder to signal end of stream and enter draining mode.

pub fn receive_frame(&mut self, frame: &mut Frame) -> Result<(), Error>[src]

pub fn bit_rate(&self) -> usize[src]

pub fn delay(&self) -> usize[src]

pub fn profile(&self) -> Profile[src]

pub fn frame_rate(&self) -> Option<Rational>[src]

pub fn flush(&mut self)[src]

Methods from Deref<Target = Decoder>

pub fn conceal(&mut self, value: Conceal)[src]

pub fn check(&mut self, value: Check)[src]

pub fn skip_loop_filter(&mut self, value: Discard)[src]

pub fn skip_idct(&mut self, value: Discard)[src]

pub fn skip_frame(&mut self, value: Discard)[src]

pub fn time_base(&self) -> Rational[src]

Trait Implementations

impl AsMut<Context> for Opened[src]

impl AsRef<Context> for Opened[src]

impl Deref for Opened[src]

type Target = Decoder

The resulting type after dereferencing.

impl DerefMut for Opened[src]

impl Drop for Opened[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.