Struct cros_codecs::decoders::vp9::decoder::Segmentation
source · pub struct Segmentation {
pub lvl_lookup: [[u8; 2]; 4],
pub luma_ac_quant_scale: i16,
pub luma_dc_quant_scale: i16,
pub chroma_ac_quant_scale: i16,
pub chroma_dc_quant_scale: i16,
pub reference_frame_enabled: bool,
pub reference_frame: i16,
pub reference_skip_enabled: bool,
}Fields§
§lvl_lookup: [[u8; 2]; 4]Loop filter level
luma_ac_quant_scale: i16AC quant scale for luma component
luma_dc_quant_scale: i16DC quant scale for luma component
chroma_ac_quant_scale: i16AC quant scale for chroma component
chroma_dc_quant_scale: i16DC quant scale for chroma component
reference_frame_enabled: boolWhether the alternate reference frame segment feature is enabled (SEG_LVL_REF_FRAME)
reference_frame: i16The feature data for the reference frame featire
reference_skip_enabled: boolWhether the skip segment feature is enabled (SEG_LVL_SKIP)
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