pub struct AlfCtbFlags {
pub luma: bool,
pub chroma_cb: bool,
pub chroma_cr: bool,
}Expand description
Per-CTU adaptive-loop-filter applicability decoded from
coding_tree_unit() (§7.3.8.2 lines 2626-2631). Each field carries
the resolved on/off state for the CTB after applying the §7.4.9.2
inference rules: when the corresponding flag is not present in the
bitstream it is inferred to the slice-level enable (luma →
slice_alf_enabled_flag, Cb → sliceChromaAlfEnabledFlag, Cr →
sliceChroma2AlfEnabledFlag).
Fields§
§luma: boolalf_ctb_flag[ ][ ] — luma ALF applied to this CTB.
chroma_cb: boolalf_ctb_chroma_flag[ ][ ] — Cb ALF applied to this CTB.
chroma_cr: boolalf_ctb_chroma2_flag[ ][ ] — Cr ALF applied to this CTB.
Trait Implementations§
Source§impl Clone for AlfCtbFlags
impl Clone for AlfCtbFlags
Source§fn clone(&self) -> AlfCtbFlags
fn clone(&self) -> AlfCtbFlags
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 AlfCtbFlags
Source§impl Debug for AlfCtbFlags
impl Debug for AlfCtbFlags
Source§impl Default for AlfCtbFlags
impl Default for AlfCtbFlags
Source§fn default() -> AlfCtbFlags
fn default() -> AlfCtbFlags
Returns the “default value” for a type. Read more
impl Eq for AlfCtbFlags
Source§impl PartialEq for AlfCtbFlags
impl PartialEq for AlfCtbFlags
Source§fn eq(&self, other: &AlfCtbFlags) -> bool
fn eq(&self, other: &AlfCtbFlags) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AlfCtbFlags
Auto Trait Implementations§
impl Freeze for AlfCtbFlags
impl RefUnwindSafe for AlfCtbFlags
impl Send for AlfCtbFlags
impl Sync for AlfCtbFlags
impl Unpin for AlfCtbFlags
impl UnsafeUnpin for AlfCtbFlags
impl UnwindSafe for AlfCtbFlags
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