Trait av_codec::decoder::Descriptor
source · [−]pub trait Descriptor {
type OutputDecoder: Decoder;
fn create(&self) -> Self::OutputDecoder;
fn describe(&self) -> &Descr;
}Expand description
Used to get the descriptor of a codec and create its own decoder.
Required Associated Types
sourcetype OutputDecoder: Decoder
type OutputDecoder: Decoder
The specific type of the decoder.
Required Methods
sourcefn create(&self) -> Self::OutputDecoder
fn create(&self) -> Self::OutputDecoder
Creates a new decoder for the requested codec.