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