Struct rsmpeg::avcodec::AVCodecContext[][src]

pub struct AVCodecContext { /* 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.

Create a new AVCodecContext instance, allocate private data and initialize defaults for the given AVCodec.

Initialize the AVCodecContext.

dict: A AVDictionary filled with AVCodecContext and AVCodec private options. Function returns a AVDictionary filled with options that were not found if given dictionary. It can usually be ignored.

Trying to push a packet to current decoding_context(AVCodecContext).

Trying to pull a frame from current decoding_context(AVCodecContext).

Trying to push a frame to current encoding_context(AVCodecContext).

Trying to pull a packet from current encoding_context(AVCodecContext).

Fill the codec context based on the values from the supplied codec parameters.

Get a filled AVCodecParameters based on the values from current AVCodecContext.

Is hardware accelaration enabled in this codec context.

Get a reference to the AVCodec in current codec context.

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.