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

A video frame with mutable data.

Implementations§

Create a black video frame. The time base of the frame will be in microseconds.

Get frame pixel format.

Get frame width.

Get frame height.

Get frame time base.

Set frame time base. (This will rescale the current timestamp into a given time base.)

Get presentation timestamp.

Set presentation timestamp.

Get picture type

Set picture type

Get picture planes.

Get mutable picture planes.

Make the frame immutable.

Trait Implementations§

Executes the destructor for this type. Read more
Converts to this type from the input type.
Converts to this type from the input type.

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.