pub struct Segmentation {
pub segmentation_enabled: bool,
pub update_mb_segmentation_map: bool,
pub update_segment_feature_data: bool,
pub segment_feature_mode: bool,
pub quantizer_update_value: [i8; 4],
pub lf_update_value: [i8; 4],
pub segment_prob: [u8; 3],
}
Fields§
§segmentation_enabled: bool
Enables the segmentation feature for the current frame.
update_mb_segmentation_map: bool
Determines if the MB segmentation map is updated in the current frame.
update_segment_feature_data: bool
indicates if the segment feature data is updated in the current frame.
segment_feature_mode: bool
Indicates the feature data update mode, O for delta and 1 for the absolute value.
quantizer_update_value: [i8; 4]
Indicates if the quantizer value is updated for the izh segment.
lf_update_value: [i8; 4]
Indicates the update value for the loop filter level.
segment_prob: [u8; 3]
The branch probabilities of the segment id decoding tree.
Trait Implementations§
Source§impl Clone for Segmentation
impl Clone for Segmentation
Source§fn clone(&self) -> Segmentation
fn clone(&self) -> Segmentation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Segmentation
impl Debug for Segmentation
Source§impl Default for Segmentation
impl Default for Segmentation
Source§fn default() -> Segmentation
fn default() -> Segmentation
Returns the “default value” for a type. Read more
Source§impl PartialEq for Segmentation
impl PartialEq for Segmentation
impl Eq for Segmentation
impl StructuralPartialEq for Segmentation
Auto Trait Implementations§
impl Freeze for Segmentation
impl RefUnwindSafe for Segmentation
impl Send for Segmentation
impl Sync for Segmentation
impl Unpin for Segmentation
impl UnwindSafe for Segmentation
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