pub struct AlfCtbStats {
pub luma_bins: u32,
pub chroma_cb_bins: u32,
pub chroma_cr_bins: u32,
pub luma_on_ctus: u32,
}Expand description
Tallies of the per-CTU ALF map bins actually consumed from the CABAC stream. Threaded into each path’s stats struct so fixtures can assert the §7.3.8.2 presence gating fired exactly as the spec requires.
Fields§
§luma_bins: u32alf_ctb_flag regular bins decoded (one per CTU when present).
chroma_cb_bins: u32alf_ctb_chroma_flag regular bins decoded.
chroma_cr_bins: u32alf_ctb_chroma2_flag regular bins decoded.
luma_on_ctus: u32CTUs whose resolved luma alf_ctb_flag is 1 (present-and-set or
inferred-to-slice_alf_enabled_flag).
Trait Implementations§
Source§impl Clone for AlfCtbStats
impl Clone for AlfCtbStats
Source§fn clone(&self) -> AlfCtbStats
fn clone(&self) -> AlfCtbStats
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 moreimpl Copy for AlfCtbStats
Source§impl Debug for AlfCtbStats
impl Debug for AlfCtbStats
Source§impl Default for AlfCtbStats
impl Default for AlfCtbStats
Source§fn default() -> AlfCtbStats
fn default() -> AlfCtbStats
Returns the “default value” for a type. Read more
impl Eq for AlfCtbStats
Source§impl PartialEq for AlfCtbStats
impl PartialEq for AlfCtbStats
Source§fn eq(&self, other: &AlfCtbStats) -> bool
fn eq(&self, other: &AlfCtbStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AlfCtbStats
Auto Trait Implementations§
impl Freeze for AlfCtbStats
impl RefUnwindSafe for AlfCtbStats
impl Send for AlfCtbStats
impl Sync for AlfCtbStats
impl Unpin for AlfCtbStats
impl UnsafeUnpin for AlfCtbStats
impl UnwindSafe for AlfCtbStats
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