Struct cros_codecs::decoders::vp8::parser::Segmentation
source · 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 copy 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<Segmentation> for Segmentation
impl PartialEq<Segmentation> for Segmentation
source§fn eq(&self, other: &Segmentation) -> bool
fn eq(&self, other: &Segmentation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Segmentation
impl StructuralEq for Segmentation
impl StructuralPartialEq for Segmentation
Auto Trait Implementations§
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