#[repr(C)]pub struct StdVideoEncodeH264WeightTableFlags {
pub luma_weight_l0_flag: u32,
pub chroma_weight_l0_flag: u32,
pub luma_weight_l1_flag: u32,
pub chroma_weight_l1_flag: u32,
}Expand description
Native structure StdVideoEncodeH264WeightTableFlags.
Fields§
§luma_weight_l0_flag: u32Native field luma_weight_l0_flag.
chroma_weight_l0_flag: u32Native field chroma_weight_l0_flag.
luma_weight_l1_flag: u32Native field luma_weight_l1_flag.
chroma_weight_l1_flag: u32Native field chroma_weight_l1_flag.
Implementations§
Source§impl StdVideoEncodeH264WeightTableFlags
impl StdVideoEncodeH264WeightTableFlags
Sourcepub fn set_luma_weight_l0_flag(self, value: u32) -> Self
pub fn set_luma_weight_l0_flag(self, value: u32) -> Self
Set native field luma_weight_l0_flag without native effects.
Sourcepub fn set_chroma_weight_l0_flag(self, value: u32) -> Self
pub fn set_chroma_weight_l0_flag(self, value: u32) -> Self
Set native field chroma_weight_l0_flag without native effects.
Sourcepub fn set_luma_weight_l1_flag(self, value: u32) -> Self
pub fn set_luma_weight_l1_flag(self, value: u32) -> Self
Set native field luma_weight_l1_flag without native effects.
Sourcepub fn set_chroma_weight_l1_flag(self, value: u32) -> Self
pub fn set_chroma_weight_l1_flag(self, value: u32) -> Self
Set native field chroma_weight_l1_flag without native effects.
Trait Implementations§
impl Copy for StdVideoEncodeH264WeightTableFlags
Auto Trait Implementations§
impl Forget for StdVideoEncodeH264WeightTableFlags
impl Freeze for StdVideoEncodeH264WeightTableFlags
impl Move for StdVideoEncodeH264WeightTableFlags
impl RefUnwindSafe for StdVideoEncodeH264WeightTableFlags
impl Send for StdVideoEncodeH264WeightTableFlags
impl Sync for StdVideoEncodeH264WeightTableFlags
impl Unpin for StdVideoEncodeH264WeightTableFlags
impl UnsafeUnpin for StdVideoEncodeH264WeightTableFlags
impl UnwindSafe for StdVideoEncodeH264WeightTableFlags
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