#[repr(C)]pub struct StdVideoAV1FilmGrainFlags {
pub _bitfield_1: u32,
}Expand description
Native structure StdVideoAV1FilmGrainFlags.
Fields§
§_bitfield_1: u32Implementations§
Source§impl StdVideoAV1FilmGrainFlags
impl StdVideoAV1FilmGrainFlags
Sourcepub const fn chroma_scaling_from_luma(&self) -> u32
pub const fn chroma_scaling_from_luma(&self) -> u32
Read native bitfield chroma_scaling_from_luma.
Sourcepub fn set_chroma_scaling_from_luma(&mut self, value: u32)
pub fn set_chroma_scaling_from_luma(&mut self, value: u32)
Set native bitfield chroma_scaling_from_luma, retaining its low 1 bits.
Sourcepub const fn overlap_flag(&self) -> u32
pub const fn overlap_flag(&self) -> u32
Read native bitfield overlap_flag.
Sourcepub fn set_overlap_flag(&mut self, value: u32)
pub fn set_overlap_flag(&mut self, value: u32)
Set native bitfield overlap_flag, retaining its low 1 bits.
Sourcepub const fn clip_to_restricted_range(&self) -> u32
pub const fn clip_to_restricted_range(&self) -> u32
Read native bitfield clip_to_restricted_range.
Sourcepub fn set_clip_to_restricted_range(&mut self, value: u32)
pub fn set_clip_to_restricted_range(&mut self, value: u32)
Set native bitfield clip_to_restricted_range, retaining its low 1 bits.
Sourcepub const fn update_grain(&self) -> u32
pub const fn update_grain(&self) -> u32
Read native bitfield update_grain.
Sourcepub fn set_update_grain(&mut self, value: u32)
pub fn set_update_grain(&mut self, value: u32)
Set native bitfield update_grain, retaining its low 1 bits.
Sourcepub fn set_reserved(&mut self, value: u32)
pub fn set_reserved(&mut self, value: u32)
Set native bitfield reserved, retaining its low 28 bits.
Trait Implementations§
Source§impl Clone for StdVideoAV1FilmGrainFlags
impl Clone for StdVideoAV1FilmGrainFlags
impl Copy for StdVideoAV1FilmGrainFlags
Auto Trait Implementations§
impl Forget for StdVideoAV1FilmGrainFlags
impl Freeze for StdVideoAV1FilmGrainFlags
impl Move for StdVideoAV1FilmGrainFlags
impl RefUnwindSafe for StdVideoAV1FilmGrainFlags
impl Send for StdVideoAV1FilmGrainFlags
impl Sync for StdVideoAV1FilmGrainFlags
impl Unpin for StdVideoAV1FilmGrainFlags
impl UnsafeUnpin for StdVideoAV1FilmGrainFlags
impl UnwindSafe for StdVideoAV1FilmGrainFlags
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