pub struct VideoFilter { /* private fields */ }
Expand description
Video filter
Implementations§
Source§impl VideoFilter
impl VideoFilter
Sourcepub fn scale_aspect(width: i32) -> Self
pub fn scale_aspect(width: i32) -> Self
Scale with aspect ratio preservation
Sourcepub fn transpose(direction: TransposeDirection) -> Self
pub fn transpose(direction: TransposeDirection) -> Self
Transpose (90 degree rotations)
Sourcepub fn deinterlace() -> Self
pub fn deinterlace() -> Self
Deinterlace with yadif
Sourcepub fn brightness(self, value: f64) -> Self
pub fn brightness(self, value: f64) -> Self
Add brightness adjustment to EQ filter
Sourcepub fn saturation(self, value: f64) -> Self
pub fn saturation(self, value: f64) -> Self
Add saturation adjustment to EQ filter
Trait Implementations§
Source§impl Clone for VideoFilter
impl Clone for VideoFilter
Source§fn clone(&self) -> VideoFilter
fn clone(&self) -> VideoFilter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VideoFilter
impl Debug for VideoFilter
Auto Trait Implementations§
impl Freeze for VideoFilter
impl RefUnwindSafe for VideoFilter
impl Send for VideoFilter
impl Sync for VideoFilter
impl Unpin for VideoFilter
impl UnwindSafe for VideoFilter
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