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

Builder for a video frame scaler.

Implementations§

Set source pixel format.

Set source frame width.

Set source frame height.

Set target pixel format. The default is equal to the source format.

Set target frame width.

Set target frame height.

Set scaling algorithm. The default is bicubic.

Build the video frame scaler.

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.