pub struct PredWeightTable {Show 15 fields
pub luma_log2_weight_denom: u8,
pub delta_chroma_log2_weight_denom: i8,
pub luma_weight_l0_flag: [bool; 15],
pub chroma_weight_l0_flag: [bool; 15],
pub delta_luma_weight_l0: [i8; 15],
pub luma_offset_l0: [i8; 15],
pub delta_chroma_weight_l0: [[i8; 2]; 15],
pub delta_chroma_offset_l0: [[i16; 2]; 15],
pub luma_weight_l1_flag: [bool; 15],
pub chroma_weight_l1_flag: [bool; 15],
pub delta_luma_weight_l1: [i8; 15],
pub luma_offset_l1: [i8; 15],
pub delta_chroma_weight_l1: [[i8; 2]; 15],
pub delta_chroma_offset_l1: [[i16; 2]; 15],
pub chroma_log2_weight_denom: u8,
}
Fields§
§luma_log2_weight_denom: u8
The base 2 logarithm of the denominator for all luma weighting factors.
delta_chroma_log2_weight_denom: i8
The difference of the base 2 logarithm of the denominator for all chroma weighting factors.
luma_weight_l0_flag: [bool; 15]
luma_weight_l0_flag[ i ]
set specifies that weighting factors for the
luma component of list 0 prediction using RefPicList0[ i ]
are present.
luma_weight_l0_flag[ i ]
not set specifies that these weighting factors
are not present.
chroma_weight_l0_flag: [bool; 15]
chroma_weight_l0_flag[ i ]
set specifies that weighting factors for the
chroma prediction values of list 0 prediction using RefPicList0[ i ]
are
present. chroma_weight_l0_flag[ i ]
not set specifies that these
weighting factors are not present.
delta_luma_weight_l0: [i8; 15]
delta_luma_weight_l0[ i ]
is the difference of the weighting factor
applied to the luma prediction value for list 0 prediction using
RefPicList0[ i ]
.
luma_offset_l0: [i8; 15]
luma_offset_l0[ i ]
is the additive offset applied to the luma
prediction value for list 0 prediction using RefPicList0[ i ]
.
delta_chroma_weight_l0: [[i8; 2]; 15]
delta_chroma_weight_l0[ i ][ j ]
is the difference of the weighting
factor applied to the chroma prediction values for list 0 prediction
using RefPicList0[ i ]
with j equal to 0 for Cb and j equal to 1 for Cr.
delta_chroma_offset_l0: [[i16; 2]; 15]
delta_chroma_offset_l0[ i ][ j ]
is the difference of the additive
offset applied to the chroma prediction values for list 0 prediction
using RefPicList0[ i ]
with j equal to 0 for Cb and j equal to 1 for Cr.
luma_weight_l1_flag: [bool; 15]
§chroma_weight_l1_flag: [bool; 15]
§delta_luma_weight_l1: [i8; 15]
§luma_offset_l1: [i8; 15]
§delta_chroma_weight_l1: [[i8; 2]; 15]
§delta_chroma_offset_l1: [[i16; 2]; 15]
§chroma_log2_weight_denom: u8
Same as ChromaLog2WeightDenom in the specification.
Trait Implementations§
Source§impl Clone for PredWeightTable
impl Clone for PredWeightTable
Source§fn clone(&self) -> PredWeightTable
fn clone(&self) -> PredWeightTable
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more