Struct rsmpeg::avcodec::AVCodec[][src]

pub struct AVCodec { /* fields omitted */ }

Implementations

Safety

This function should only be called when the pointer is valid and the data it’s pointing to can be dropped.

Safety

This function should only be called when the pointer is valid and the data it’s pointing to can be dropped.

Find a static decoder instance with AVCodecID

Find a static encoder instance with AVCodecID

Find a static decoder instance with it short name.

Find a static encoder instance with it short name.

Get name of the codec.

Get descriptive name for the codec.

Return supported framerates of this AVCodec.

Return supported pix_fmts of this AVCodec.

Return supported samplerates of this AVCodec.

Return supported sample_fmts of this AVCodec.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.