pub struct Htj2kCapabilities { /* private fields */ }Expand description
Parsed Part 15 CAP/CPF facts plus the default COD HT style bits.
Implementations§
Source§impl Htj2kCapabilities
impl Htj2kCapabilities
Sourcepub const fn mode(&self) -> Htj2kCapabilityMode
pub const fn mode(&self) -> Htj2kCapabilityMode
Declared HT code-block set.
Sourcepub const fn multiple_ht_sets(&self) -> bool
pub const fn multiple_ht_sets(&self) -> bool
Whether Ccap15 advertises multiple HT sets.
Sourcepub const fn heterogeneous(&self) -> bool
pub const fn heterogeneous(&self) -> bool
Whether Ccap15 advertises heterogeneous HT sets.
Sourcepub const fn ht_irreversible(&self) -> bool
pub const fn ht_irreversible(&self) -> bool
Whether Ccap15 advertises irreversible HT coding.
Sourcepub const fn magnitude_bound(&self) -> u8
pub const fn magnitude_bound(&self) -> u8
Decoded BMAGB magnitude bound in the range 8 through 74.
Sourcepub const fn quality_layers(&self) -> u8
pub const fn quality_layers(&self) -> u8
Number of quality layers declared by the main COD marker.
Sourcepub const fn default_ht_block_coding(&self) -> bool
pub const fn default_ht_block_coding(&self) -> bool
Whether the main COD marker selects HT block coding by default.
Sourcepub const fn default_mixed_block_coding(&self) -> bool
pub const fn default_mixed_block_coding(&self) -> bool
Whether the main COD marker permits mixed classic/HT block coding.
Sourcepub const fn corresponding_profile(&self) -> Option<&J2kCorrespondingProfile>
pub const fn corresponding_profile(&self) -> Option<&J2kCorrespondingProfile>
Corresponding profile advertised by CPF, when present.
Trait Implementations§
Source§impl Clone for Htj2kCapabilities
impl Clone for Htj2kCapabilities
Source§fn clone(&self) -> Htj2kCapabilities
fn clone(&self) -> Htj2kCapabilities
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 moreSource§impl Debug for Htj2kCapabilities
impl Debug for Htj2kCapabilities
impl Eq for Htj2kCapabilities
Source§impl PartialEq for Htj2kCapabilities
impl PartialEq for Htj2kCapabilities
impl StructuralPartialEq for Htj2kCapabilities
Auto Trait Implementations§
impl Freeze for Htj2kCapabilities
impl RefUnwindSafe for Htj2kCapabilities
impl Send for Htj2kCapabilities
impl Sync for Htj2kCapabilities
impl Unpin for Htj2kCapabilities
impl UnsafeUnpin for Htj2kCapabilities
impl UnwindSafe for Htj2kCapabilities
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more