1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/// Universal quality preset all encoders understand. /// /// Presets trade encode speed for output quality, from fastest/lowest to /// slowest/highest. Each encoder maps these onto its own native effort levels. #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Default)] pub enum Quality { /// Fastest encode, lowest quality. UltraFast, /// Very fast encode, low quality. VeryFast, /// Fast encode, moderate quality. Fast, /// Balanced speed/quality — the default. #[default] Basic, /// Slow encode, high quality. Slow, /// Slowest encode, highest quality. VerySlow, }