Skip to main content

SliceDecodeStats

Struct SliceDecodeStats 

Source
pub struct SliceDecodeStats {
Show 15 fields pub ctus: u32, pub split_cu_flag_bins: u32, pub coding_units: u32, pub cbf_luma_bins: u32, pub cbf_chroma_bins: u32, pub intra_pred_mode_bins: u32, pub ibc_flag_bins: u32, pub ibc_cus: u32, pub ibc_abs_mvd_bins: u32, pub ibc_mvd_sign_bins: u32, pub cu_qp_delta_abs_bins: u32, pub coeff_runs: u32, pub deblock_edges: u32, pub alf_ctb: AlfCtbStats, pub alf_ctb_map: AlfCtbMap,
}
Expand description

Stats from decode_baseline_idr_slice. A superset of SliceWalkStats for testability — coding_units, residual coeff counts, etc.

Fields§

§ctus: u32§split_cu_flag_bins: u32§coding_units: u32§cbf_luma_bins: u32§cbf_chroma_bins: u32§intra_pred_mode_bins: u32§ibc_flag_bins: u32

ibc_flag regular bins decoded per §7.3.8.4 line 2845 (gated on the round-90 isIbcAllowed predicate). One per IBC-eligible CU.

§ibc_cus: u32

Coding units that resolved CuPredMode == MODE_IBC after ibc_flag = 1 and were reconstructed via decode_ibc_cu.

§ibc_abs_mvd_bins: u32

abs_mvd_l0[0/1] EG-0 bypass invocations consumed by the IBC coding_unit() branch (two per IBC CU).

§ibc_mvd_sign_bins: u32

mvd_l0_sign_flag bypass bits consumed by the IBC coding_unit() branch (one per non-zero abs_mvd component).

§cu_qp_delta_abs_bins: u32

cu_qp_delta_abs U-binarized syntax elements decoded inside the IDR-path transform_unit() (§7.3.8.5 line 3073-3078). One increment per CU (intra or IBC) that satisfies the presence condition cu_qp_delta_enabled_flag && (cbf_luma || cbf_cb || cbf_cr).

§coeff_runs: u32§deblock_edges: u32

Deblocking edges visited (zero when slice_deblocking_filter_flag = 0).

§alf_ctb: AlfCtbStats

Per-CTU alf_ctb_* map bins from coding_tree_unit() (§7.3.8.2). Zero unless the slice signals an ALF applicability map.

§alf_ctb_map: AlfCtbMap

Round 113: the resolved per-CTU alf_ctb_* applicability map (§7.3.8.2 → §8.9). Carries one triplet per CTU so the post-filter pass can mask the ALF apply per coding tree block. Always populated (sized to the picture); every entry is the present-or-inferred on/off state for that CTU.

Trait Implementations§

Source§

impl Clone for SliceDecodeStats

Source§

fn clone(&self) -> SliceDecodeStats

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SliceDecodeStats

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for SliceDecodeStats

Source§

fn default() -> SliceDecodeStats

Returns the “default value” for a type. Read more
Source§

impl Eq for SliceDecodeStats

Source§

impl PartialEq for SliceDecodeStats

Source§

fn eq(&self, other: &SliceDecodeStats) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for SliceDecodeStats

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.