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
sourceimpl Clone for Segmentation
impl Clone for Segmentation
sourcefn clone(&self) -> Segmentation
fn clone(&self) -> Segmentation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Segmentation
impl Debug for Segmentation
sourceimpl Default for Segmentation
impl Default for Segmentation
sourcefn default() -> Segmentation
fn default() -> Segmentation
Returns the “default value” for a type. Read more
sourceimpl PartialEq<Segmentation> for Segmentation
impl PartialEq<Segmentation> for Segmentation
sourcefn eq(&self, other: &Segmentation) -> bool
fn eq(&self, other: &Segmentation) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more