Skip to main content

InterDecodeStats

Struct InterDecodeStats 

Source
pub struct InterDecodeStats {
Show 24 fields pub ctus: u32, pub split_cu_flag_bins: u32, pub coding_units: u32, pub cu_skip_flag_bins: u32, pub pred_mode_flag_bins: u32, pub inter_pred_idc_bins: u32, pub mvp_idx_bins: u32, pub abs_mvd_egk_bins: u32, pub mvd_sign_flag_bins: u32, pub ref_idx_bins: u32, pub cbf_luma_bins: u32, pub cbf_chroma_bins: u32, pub uni_pred_cus: u32, pub bi_pred_cus: u32, pub coeff_runs: u32, pub deblock_edges: u32, pub hmvp_cand_count_final: 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 alf_ctb: AlfCtbStats, pub alf_ctb_map: AlfCtbMap,
}
Expand description

Fields§

§ctus: u32§split_cu_flag_bins: u32§coding_units: u32§cu_skip_flag_bins: u32§pred_mode_flag_bins: u32§inter_pred_idc_bins: u32§mvp_idx_bins: u32§abs_mvd_egk_bins: u32§mvd_sign_flag_bins: u32§ref_idx_bins: u32§cbf_luma_bins: u32§cbf_chroma_bins: u32§uni_pred_cus: u32

Inter CUs that were predicted from a single reference list.

§bi_pred_cus: u32

Inter CUs that were bi-predicted (B slice path).

§coeff_runs: u32

Total residual_coding_rle() runs decoded across all colour components.

§deblock_edges: u32

Number of edges visited by the deblocking pass (luma + chroma summed). Zero when slice_deblocking_filter_flag = 0.

§hmvp_cand_count_final: u32

NumHmvpCand at slice end — useful for fixture tests that want to confirm the §8.5.2.7 update process actually fired. Resets every CTU row, so on a single-CTU-row slice this equals the number of inter CUs decoded (capped at 23).

§ibc_flag_bins: u32

Round 95: ibc_flag regular-coded bins decoded per §7.3.8.4 line 2846 inside the non-skip P/B inter-CU path. One per IBC-eligible CU.

§ibc_cus: u32

Round 95: P/B coding units that resolved CuPredMode == MODE_IBC (i.e. ibc_flag = 1) and were reconstructed via ibc::decode_ibc_cu. Disjoint from uni_pred_cus / bi_pred_cus.

§ibc_abs_mvd_bins: u32

Round 95: abs_mvd_l0[0/1] EG-0 bypass invocations consumed by the inter-path IBC branch (two per IBC CU — x and y components).

§ibc_mvd_sign_bins: u32

Round 95: mvd_l0_sign_flag bypass bits consumed by the inter-path IBC branch (one per non-zero abs_mvd component).

§cu_qp_delta_abs_bins: u32

Round 100: cu_qp_delta_abs U-binarized bins decoded inside the non-skip P/B inter-CU transform_unit() path (§7.3.8.5 lines 3073-3078). Non-zero only when cu_qp_delta_enabled_flag holds and at least one of cbf_luma / cbf_cb / cbf_cr is set on the CU. One increment per CU that decodes the syntax element (mirrors the IDR-side SliceDecodeStats tracker).

§alf_ctb: AlfCtbStats

Round 107: per-CTU alf_ctb_* map bins from coding_tree_unit() (§7.3.8.2). Zero unless the inter 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), sized to the picture; one triplet per CTU so the post-filter pass can mask the ALF apply per coding tree block.

Trait Implementations§

Source§

impl Clone for InterDecodeStats

Source§

fn clone(&self) -> InterDecodeStats

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 InterDecodeStats

Source§

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

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

impl Default for InterDecodeStats

Source§

fn default() -> InterDecodeStats

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

impl Eq for InterDecodeStats

Source§

impl PartialEq for InterDecodeStats

Source§

fn eq(&self, other: &InterDecodeStats) -> 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 InterDecodeStats

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.