pub struct VideoFrameScaler { /* private fields */ }
Expand description
Video frame scaler.
Implementations§
Source§impl VideoFrameScaler
impl VideoFrameScaler
Sourcepub fn builder() -> VideoFrameScalerBuilder
pub fn builder() -> VideoFrameScalerBuilder
Get a frame scaler builder.
Sourcepub fn scale(&mut self, frame: &VideoFrame) -> Result<VideoFrame, Error>
pub fn scale(&mut self, frame: &VideoFrame) -> Result<VideoFrame, Error>
Scale a given frame.
Trait Implementations§
Source§impl Drop for VideoFrameScaler
impl Drop for VideoFrameScaler
impl Send for VideoFrameScaler
impl Sync for VideoFrameScaler
Auto Trait Implementations§
impl Freeze for VideoFrameScaler
impl RefUnwindSafe for VideoFrameScaler
impl Unpin for VideoFrameScaler
impl UnwindSafe for VideoFrameScaler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more