Struct av1_grain::NoiseGenArgs
source · pub struct NoiseGenArgs {
pub iso_setting: u32,
pub width: u32,
pub height: u32,
pub transfer_function: TransferFunction,
pub chroma_grain: bool,
pub random_seed: Option<u16>,
}
Expand description
Settings and video data defining how to generate the film grain params.
Fields§
§iso_setting: u32
§width: u32
§height: u32
§transfer_function: TransferFunction
§chroma_grain: bool
§random_seed: Option<u16>
Trait Implementations§
source§impl Clone for NoiseGenArgs
impl Clone for NoiseGenArgs
source§fn clone(&self) -> NoiseGenArgs
fn clone(&self) -> NoiseGenArgs
Returns a copy 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 NoiseGenArgs
impl Debug for NoiseGenArgs
impl Copy for NoiseGenArgs
Auto Trait Implementations§
impl RefUnwindSafe for NoiseGenArgs
impl Send for NoiseGenArgs
impl Sync for NoiseGenArgs
impl Unpin for NoiseGenArgs
impl UnwindSafe for NoiseGenArgs
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