pub enum X264Preset {
UltraFast,
SuperFast,
VeryFast,
Faster,
Fast,
Medium,
Slow,
Slower,
}Expand description
Preset for x264 software encoder
Variants§
UltraFast
Ultrafast preset - lowest CPU usage, largest file size
SuperFast
Superfast preset
VeryFast
Veryfast preset (recommended default)
Faster
Faster preset
Fast
Fast preset - higher CPU usage, better quality
Medium
Medium preset
Slow
Slow preset
Slower
Slower preset
Implementations§
Trait Implementations§
Source§impl Clone for X264Preset
impl Clone for X264Preset
Source§fn clone(&self) -> X264Preset
fn clone(&self) -> X264Preset
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 X264Preset
impl Debug for X264Preset
impl Copy for X264Preset
Auto Trait Implementations§
impl Freeze for X264Preset
impl RefUnwindSafe for X264Preset
impl Send for X264Preset
impl Sync for X264Preset
impl Unpin for X264Preset
impl UnsafeUnpin for X264Preset
impl UnwindSafe for X264Preset
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