pub struct PredWeightTable {
pub luma_log2_denom: u32,
pub chroma_log2_denom: u32,
pub w: [Vec<[(i32, i32); 3]>; 2],
}Expand description
pred_weight_table(7.3.3.2)。w[list][ref_idx][成分] = (重み, オフセット)、成分は Y/Cb/Cr。
フラグの立っていない参照は既定値(重み 2^denom、オフセット 0)で埋める。4:2:0 前提。
Fields§
§luma_log2_denom: u32§chroma_log2_denom: u32§w: [Vec<[(i32, i32); 3]>; 2]Trait Implementations§
Source§impl Clone for PredWeightTable
impl Clone for PredWeightTable
Source§fn clone(&self) -> PredWeightTable
fn clone(&self) -> PredWeightTable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PredWeightTable
impl RefUnwindSafe for PredWeightTable
impl Send for PredWeightTable
impl Sync for PredWeightTable
impl Unpin for PredWeightTable
impl UnsafeUnpin for PredWeightTable
impl UnwindSafe for PredWeightTable
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