#[repr(C)]
pub struct StdVideoAV1FilmGrain {
Show 25 fields pub flags: StdVideoAV1FilmGrainFlags, pub grain_scaling_minus_8: u8, pub ar_coeff_lag: u8, pub ar_coeff_shift_minus_6: u8, pub grain_scale_shift: u8, pub grain_seed: u16, pub film_grain_params_ref_idx: u8, pub num_y_points: u8, pub point_y_value: [u8; 14], pub point_y_scaling: [u8; 14], pub num_cb_points: u8, pub point_cb_value: [u8; 10], pub point_cb_scaling: [u8; 10], pub num_cr_points: u8, pub point_cr_value: [u8; 10], pub point_cr_scaling: [u8; 10], pub ar_coeffs_y_plus_128: [i8; 24], pub ar_coeffs_cb_plus_128: [i8; 25], pub ar_coeffs_cr_plus_128: [i8; 25], pub cb_mult: u8, pub cb_luma_mult: u8, pub cb_offset: u16, pub cr_mult: u8, pub cr_luma_mult: u8, pub cr_offset: u16,
}

Fields§

§flags: StdVideoAV1FilmGrainFlags§grain_scaling_minus_8: u8§ar_coeff_lag: u8§ar_coeff_shift_minus_6: u8§grain_scale_shift: u8§grain_seed: u16§film_grain_params_ref_idx: u8§num_y_points: u8§point_y_value: [u8; 14]§point_y_scaling: [u8; 14]§num_cb_points: u8§point_cb_value: [u8; 10]§point_cb_scaling: [u8; 10]§num_cr_points: u8§point_cr_value: [u8; 10]§point_cr_scaling: [u8; 10]§ar_coeffs_y_plus_128: [i8; 24]§ar_coeffs_cb_plus_128: [i8; 25]§ar_coeffs_cr_plus_128: [i8; 25]§cb_mult: u8§cb_luma_mult: u8§cb_offset: u16§cr_mult: u8§cr_luma_mult: u8§cr_offset: u16

Trait Implementations§

source§

impl Clone for StdVideoAV1FilmGrain

source§

fn clone(&self) -> StdVideoAV1FilmGrain

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StdVideoAV1FilmGrain

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for StdVideoAV1FilmGrain

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.