Struct cros_codecs::decoders::h264::parser::PredWeightTable
source · [−]pub struct PredWeightTable {
luma_log2_weight_denom: u8,
chroma_log2_weight_denom: u8,
luma_weight_l0: [i16; 32],
luma_offset_l0: [i8; 32],
chroma_weight_l0: [[i16; 2]; 32],
chroma_offset_l0: [[i8; 2]; 32],
luma_weight_l1: [i16; 32],
luma_offset_l1: [i16; 32],
chroma_weight_l1: [[i16; 2]; 32],
chroma_offset_l1: [[i8; 2]; 32],
}
Fields
luma_log2_weight_denom: u8
chroma_log2_weight_denom: u8
luma_weight_l0: [i16; 32]
luma_offset_l0: [i8; 32]
chroma_weight_l0: [[i16; 2]; 32]
chroma_offset_l0: [[i8; 2]; 32]
luma_weight_l1: [i16; 32]
luma_offset_l1: [i16; 32]
chroma_weight_l1: [[i16; 2]; 32]
chroma_offset_l1: [[i8; 2]; 32]
Implementations
sourceimpl PredWeightTable
impl PredWeightTable
pub fn luma_log2_weight_denom(&self) -> u8
pub fn chroma_log2_weight_denom(&self) -> u8
pub fn luma_weight_l0(&self) -> [i16; 32]
pub fn luma_offset_l0(&self) -> [i8; 32]
pub fn chroma_weight_l0(&self) -> [[i16; 2]; 32]
pub fn chroma_offset_l0(&self) -> [[i8; 2]; 32]
pub fn luma_weight_l1(&self) -> [i16; 32]
pub fn luma_offset_l1(&self) -> [i16; 32]
pub fn chroma_weight_l1(&self) -> [[i16; 2]; 32]
pub fn chroma_offset_l1(&self) -> [[i8; 2]; 32]
Trait Implementations
sourceimpl Clone for PredWeightTable
impl Clone for PredWeightTable
sourcefn clone(&self) -> PredWeightTable
fn clone(&self) -> PredWeightTable
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 PredWeightTable
impl Debug for PredWeightTable
sourceimpl Default for PredWeightTable
impl Default for PredWeightTable
sourcefn default() -> PredWeightTable
fn default() -> PredWeightTable
Returns the “default value” for a type. Read more
sourceimpl PartialEq<PredWeightTable> for PredWeightTable
impl PartialEq<PredWeightTable> for PredWeightTable
sourcefn eq(&self, other: &PredWeightTable) -> bool
fn eq(&self, other: &PredWeightTable) -> bool
impl Eq for PredWeightTable
impl StructuralEq for PredWeightTable
impl StructuralPartialEq for PredWeightTable
Auto Trait Implementations
impl RefUnwindSafe for PredWeightTable
impl Send for PredWeightTable
impl Sync for PredWeightTable
impl Unpin for PredWeightTable
impl UnwindSafe for PredWeightTable
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