pub struct VideoDecoder { /* private fields */ }
Expand description

Video decoder.

Implementations§

Create a new video decoder for a given codec.

Create a new video decoder builder from given codec parameters.

Create a new decoder for a given stream.

Panics

The method panics if the stream is not a video stream.

Get decoder builder for a given codec.

Trait Implementations§

Get codec parameters.
Push a given packet to the decoder.
Flush the decoder.
Take the next frame from the decoder.
Push a given packet to the decoder. Read more
Flush the decoder. Read more
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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.