pub struct Rav1eParams {
pub quantizer: usize,
pub speed_preset: u8,
pub tile_rows: usize,
pub tile_cols: usize,
}Expand description
Concrete parameters for rav1e’s EncoderConfig.
Consumed in crates/codec/src/encode/rav1e_enc.rs::build_rav1e_config.
Fields§
§quantizer: usizerav1e quantizer: 0–255, lower = higher quality. Default 100.
speed_preset: u8rav1e speed preset 0 (slowest/best) – 10 (fastest). Archive=4, Standard=6, Draft=8.
tile_rows: usizeNumber of tile rows (literal, not log2). Resolution-dependent.
tile_cols: usizeNumber of tile columns (literal). Resolution-dependent.
Trait Implementations§
Source§impl Clone for Rav1eParams
impl Clone for Rav1eParams
Source§fn clone(&self) -> Rav1eParams
fn clone(&self) -> Rav1eParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Rav1eParams
Source§impl Debug for Rav1eParams
impl Debug for Rav1eParams
impl Eq for Rav1eParams
Source§impl PartialEq for Rav1eParams
impl PartialEq for Rav1eParams
Source§fn eq(&self, other: &Rav1eParams) -> bool
fn eq(&self, other: &Rav1eParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Rav1eParams
Auto Trait Implementations§
impl Freeze for Rav1eParams
impl RefUnwindSafe for Rav1eParams
impl Send for Rav1eParams
impl Sync for Rav1eParams
impl Unpin for Rav1eParams
impl UnsafeUnpin for Rav1eParams
impl UnwindSafe for Rav1eParams
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