#[repr(C)]pub struct StdVideoVP9Segmentation {
pub flags: StdVideoVP9SegmentationFlags,
pub segmentation_tree_probs: [u8; 7],
pub segmentation_pred_prob: [u8; 3],
pub feature_enabled: [u8; 8],
pub feature_data: [[i16; 4]; 8],
}Expand description
Native structure StdVideoVP9Segmentation.
Fields§
§flags: StdVideoVP9SegmentationFlagsNative field flags.
segmentation_tree_probs: [u8; 7]Native field segmentation_tree_probs.
segmentation_pred_prob: [u8; 3]Native field segmentation_pred_prob.
feature_enabled: [u8; 8]Native field FeatureEnabled.
feature_data: [[i16; 4]; 8]Native field FeatureData.
Implementations§
Source§impl StdVideoVP9Segmentation
impl StdVideoVP9Segmentation
Sourcepub fn set_flags(self, value: StdVideoVP9SegmentationFlags) -> Self
pub fn set_flags(self, value: StdVideoVP9SegmentationFlags) -> Self
Set native field flags without native effects.
Sourcepub fn set_segmentation_tree_probs(self, value: [u8; 7]) -> Self
pub fn set_segmentation_tree_probs(self, value: [u8; 7]) -> Self
Set native field segmentation_tree_probs without native effects.
Sourcepub fn set_segmentation_pred_prob(self, value: [u8; 3]) -> Self
pub fn set_segmentation_pred_prob(self, value: [u8; 3]) -> Self
Set native field segmentation_pred_prob without native effects.
Sourcepub fn set_feature_enabled(self, value: [u8; 8]) -> Self
pub fn set_feature_enabled(self, value: [u8; 8]) -> Self
Set native field FeatureEnabled without native effects.
Sourcepub fn set_feature_data(self, value: [[i16; 4]; 8]) -> Self
pub fn set_feature_data(self, value: [[i16; 4]; 8]) -> Self
Set native field FeatureData without native effects.
Trait Implementations§
Source§impl Clone for StdVideoVP9Segmentation
impl Clone for StdVideoVP9Segmentation
impl Copy for StdVideoVP9Segmentation
Auto Trait Implementations§
impl Forget for StdVideoVP9Segmentation
impl Freeze for StdVideoVP9Segmentation
impl Move for StdVideoVP9Segmentation
impl RefUnwindSafe for StdVideoVP9Segmentation
impl Send for StdVideoVP9Segmentation
impl Sync for StdVideoVP9Segmentation
impl Unpin for StdVideoVP9Segmentation
impl UnsafeUnpin for StdVideoVP9Segmentation
impl UnwindSafe for StdVideoVP9Segmentation
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