pub enum H264Tune {
Film,
Animation,
Grain,
Stillimage,
Psnr,
Ssim,
Fastdecode,
Zerolatency,
}Expand description
libx264 perceptual tuning parameter.
Adjusts encoder settings for a specific type of source content or quality metric. Not supported by hardware encoders — skipped with a warning when the encoder does not recognise the option.
Variants§
Film
Optimised for live-action film content.
Animation
Optimised for animation.
Grain
Optimised for grainy content.
Stillimage
Optimised for still images (single-frame encoding).
Psnr
Optimise for PSNR quality metric.
Ssim
Optimise for SSIM quality metric.
Fastdecode
Reduce decoding complexity (disables certain features).
Zerolatency
Minimise encoding latency (no B-frames, no lookahead).
Trait Implementations§
impl Copy for H264Tune
impl Eq for H264Tune
impl StructuralPartialEq for H264Tune
Auto Trait Implementations§
impl Freeze for H264Tune
impl RefUnwindSafe for H264Tune
impl Send for H264Tune
impl Sync for H264Tune
impl Unpin for H264Tune
impl UnsafeUnpin for H264Tune
impl UnwindSafe for H264Tune
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