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: i16
AC quant scale for luma component
luma_dc_quant_scale: i16
DC quant scale for luma component
chroma_ac_quant_scale: i16
AC quant scale for chroma component
chroma_dc_quant_scale: i16
DC quant scale for chroma component
reference_frame_enabled: bool
Whether the alternate reference frame segment feature is enabled (SEG_LVL_REF_FRAME)
reference_frame: i16
The feature data for the reference frame featire
reference_skip_enabled: bool
Whether the skip segment feature is enabled (SEG_LVL_SKIP)
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