Struct ffav::codec::decoder::decoder::Decoder[][src]

pub struct Decoder(pub Context);

Implementations

impl Decoder[src]

pub fn open(self) -> Result<Opened, Error>[src]

pub fn open_as<D: Decoder>(self, codec: D) -> Result<Opened, Error>[src]

pub fn open_as_with<D: Decoder>(
    self,
    codec: D,
    options: Dictionary<'_>
) -> Result<Opened, Error>
[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 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]

Methods from Deref<Target = Context>

pub unsafe fn as_ptr(&self) -> *const AVCodecContext[src]

pub unsafe fn as_mut_ptr(&mut self) -> *mut AVCodecContext[src]

pub fn codec(&self) -> Option<Codec>[src]

pub fn medium(&self) -> Type[src]

pub fn set_flags(&mut self, value: Flags)[src]

pub fn id(&self) -> Id[src]

pub fn compliance(&mut self, value: Compliance)[src]

pub fn debug(&mut self, value: Debug)[src]

pub fn set_threading(&mut self, config: Config)[src]

pub fn threading(&self) -> Config[src]

pub fn set_parameters<P: Into<Parameters>>(
    &mut self,
    parameters: P
) -> Result<(), Error>
[src]

Trait Implementations

impl AsMut<Context> for Decoder[src]

fn as_mut(&mut self) -> &mut Context[src]

Performs the conversion.

impl AsRef<Context> for Decoder[src]

fn as_ref(&self) -> &Context[src]

Performs the conversion.

impl Deref for Decoder[src]

type Target = Context

The resulting type after dereferencing.

fn deref(&self) -> &Self::Target[src]

Dereferences the value.

impl DerefMut for Decoder[src]

fn deref_mut(&mut self) -> &mut Self::Target[src]

Mutably dereferences the value.

Auto Trait Implementations

impl !RefUnwindSafe for Decoder

impl Send for Decoder

impl !Sync for Decoder

impl Unpin for Decoder

impl !UnwindSafe for Decoder

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.