#[repr(C)]pub struct StdVideoVP9ColorConfig {
pub flags: StdVideoVP9ColorConfigFlags,
pub bit_depth: u8,
pub subsampling_x: u8,
pub subsampling_y: u8,
pub reserved1: u8,
pub color_space: StdVideoVP9ColorSpace,
}Expand description
Native structure StdVideoVP9ColorConfig.
Fields§
§flags: StdVideoVP9ColorConfigFlagsNative field flags.
bit_depth: u8Native field BitDepth.
subsampling_x: u8Native field subsampling_x.
subsampling_y: u8Native field subsampling_y.
reserved1: u8Native field reserved1.
color_space: StdVideoVP9ColorSpaceNative field color_space.
Implementations§
Source§impl StdVideoVP9ColorConfig
impl StdVideoVP9ColorConfig
Sourcepub fn set_flags(self, value: StdVideoVP9ColorConfigFlags) -> Self
pub fn set_flags(self, value: StdVideoVP9ColorConfigFlags) -> Self
Set native field flags without native effects.
Sourcepub fn set_bit_depth(self, value: u8) -> Self
pub fn set_bit_depth(self, value: u8) -> Self
Set native field BitDepth without native effects.
Sourcepub fn set_subsampling_x(self, value: u8) -> Self
pub fn set_subsampling_x(self, value: u8) -> Self
Set native field subsampling_x without native effects.
Sourcepub fn set_subsampling_y(self, value: u8) -> Self
pub fn set_subsampling_y(self, value: u8) -> Self
Set native field subsampling_y without native effects.
Sourcepub fn set_reserved1(self, value: u8) -> Self
pub fn set_reserved1(self, value: u8) -> Self
Set native field reserved1 without native effects.
Sourcepub fn set_color_space(self, value: StdVideoVP9ColorSpace) -> Self
pub fn set_color_space(self, value: StdVideoVP9ColorSpace) -> Self
Set native field color_space without native effects.
Trait Implementations§
Source§impl Clone for StdVideoVP9ColorConfig
impl Clone for StdVideoVP9ColorConfig
impl Copy for StdVideoVP9ColorConfig
Auto Trait Implementations§
impl Forget for StdVideoVP9ColorConfig
impl Freeze for StdVideoVP9ColorConfig
impl Move for StdVideoVP9ColorConfig
impl RefUnwindSafe for StdVideoVP9ColorConfig
impl Send for StdVideoVP9ColorConfig
impl Sync for StdVideoVP9ColorConfig
impl Unpin for StdVideoVP9ColorConfig
impl UnsafeUnpin for StdVideoVP9ColorConfig
impl UnwindSafe for StdVideoVP9ColorConfig
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