pub enum FrameRateMode {
Duplicate,
Drop,
Pulldown32,
TimestampSelect,
LinearBlend,
}Expand description
Frame rate conversion mode.
Variants§
Duplicate
Duplicate frames to increase frame rate.
Drop
Drop frames to decrease frame rate.
Pulldown32
3:2 pulldown (telecine) for 24fps -> ~30fps (29.97 interlaced). Pattern repeats every 5 output frames from 4 source frames.
TimestampSelect
Timestamp-based selection (nearest source frame).
LinearBlend
Linear blend between adjacent frames (integer weighted average).
Trait Implementations§
Source§impl Clone for FrameRateMode
impl Clone for FrameRateMode
Source§fn clone(&self) -> FrameRateMode
fn clone(&self) -> FrameRateMode
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FrameRateMode
impl Debug for FrameRateMode
Source§impl PartialEq for FrameRateMode
impl PartialEq for FrameRateMode
impl Copy for FrameRateMode
impl Eq for FrameRateMode
impl StructuralPartialEq for FrameRateMode
Auto Trait Implementations§
impl Freeze for FrameRateMode
impl RefUnwindSafe for FrameRateMode
impl Send for FrameRateMode
impl Sync for FrameRateMode
impl Unpin for FrameRateMode
impl UnwindSafe for FrameRateMode
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)