pub struct Vp9Options {
pub cpu_used: i8,
pub cq_level: Option<u8>,
pub tile_columns: u8,
pub tile_rows: u8,
pub row_mt: bool,
}Expand description
VP9 (libvpx-vp9) per-codec options.
Fields§
§cpu_used: i8Encoder speed/quality trade-off: -8 = best quality / slowest, 8 = fastest.
cq_level: Option<u8>Constrained Quality level (0–63).
Some(q) enables CQ mode: sets bit_rate = 0 and applies q as the crf
option, producing variable-bitrate output governed by perceptual quality.
None uses the bitrate mode configured on the builder.
tile_columns: u8Log2 number of tile columns (0–6).
tile_rows: u8Log2 number of tile rows (0–6).
row_mt: boolEnable row-based multithreading for better CPU utilisation.
Trait Implementations§
Source§impl Clone for Vp9Options
impl Clone for Vp9Options
Source§fn clone(&self) -> Vp9Options
fn clone(&self) -> Vp9Options
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 Vp9Options
impl Debug for Vp9Options
Source§impl Default for Vp9Options
impl Default for Vp9Options
Source§fn default() -> Vp9Options
fn default() -> Vp9Options
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Vp9Options
impl RefUnwindSafe for Vp9Options
impl Send for Vp9Options
impl Sync for Vp9Options
impl Unpin for Vp9Options
impl UnsafeUnpin for Vp9Options
impl UnwindSafe for Vp9Options
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