[][src]Trait av_codec::decoder::Descriptor

pub trait Descriptor {
    pub fn create(&self) -> Box<dyn Decoder>;
pub fn describe(&self) -> &Descr; }

Used to get the descriptor of a codec and create its own decoder.

Required methods

pub fn create(&self) -> Box<dyn Decoder>[src]

Creates a new decoder for the requested codec.

pub fn describe(&self) -> &Descr[src]

Returns the codec descriptor.

Loading content...

Implementors

Loading content...