pub struct HtCleanupEncodeDistribution {Show 14 fields
pub total_quads: u64,
pub initial_quads: u64,
pub non_initial_quads: u64,
pub rho_counts: [u64; 16],
pub initial_rho_counts: [u64; 16],
pub non_initial_rho_counts: [u64; 16],
pub non_initial_u_q_counts: [u64; 32],
pub non_initial_e_qmax_counts: [u64; 32],
pub non_initial_kappa_counts: [u64; 32],
pub non_initial_rho_u_q_counts: [[u64; 32]; 16],
pub mag_sign_calls: u64,
pub mag_sign_rho_counts: [u64; 16],
pub mag_sign_sample_bit_counts: [u64; 32],
pub mag_sign_encoded_samples: u64,
}Expand description
Adapter HTJ2K cleanup-encode shape counters for backend benchmarking.
Fields§
§total_quads: u64Total 2x2 cleanup quads visited.
initial_quads: u64Quads encoded in the first cleanup row pair.
non_initial_quads: u64Quads encoded after the first cleanup row pair.
rho_counts: [u64; 16]All-quad rho histogram, indexed by the low four rho bits.
initial_rho_counts: [u64; 16]First-row-pair rho histogram, indexed by the low four rho bits.
non_initial_rho_counts: [u64; 16]Non-initial-row rho histogram, indexed by the low four rho bits.
non_initial_u_q_counts: [u64; 32]Non-initial-row u_q histogram.
non_initial_e_qmax_counts: [u64; 32]Non-initial-row e_qmax histogram.
non_initial_kappa_counts: [u64; 32]Non-initial-row kappa histogram.
non_initial_rho_u_q_counts: [[u64; 32]; 16]Non-initial-row joint rho/u_q histogram.
mag_sign_calls: u64Calls that emitted at least one magnitude/sign sample.
mag_sign_rho_counts: [u64; 16]Magnitude/sign call histogram, indexed by the low four rho bits.
mag_sign_sample_bit_counts: [u64; 32]Encoded magnitude/sign sample payload bit-count histogram.
mag_sign_encoded_samples: u64Number of individual magnitude/sign samples emitted.
Trait Implementations§
Source§impl Clone for HtCleanupEncodeDistribution
impl Clone for HtCleanupEncodeDistribution
Source§fn clone(&self) -> HtCleanupEncodeDistribution
fn clone(&self) -> HtCleanupEncodeDistribution
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 HtCleanupEncodeDistribution
impl Debug for HtCleanupEncodeDistribution
Source§impl Default for HtCleanupEncodeDistribution
impl Default for HtCleanupEncodeDistribution
Source§fn default() -> HtCleanupEncodeDistribution
fn default() -> HtCleanupEncodeDistribution
Returns the “default value” for a type. Read more
impl Eq for HtCleanupEncodeDistribution
Source§impl PartialEq for HtCleanupEncodeDistribution
impl PartialEq for HtCleanupEncodeDistribution
Source§fn eq(&self, other: &HtCleanupEncodeDistribution) -> bool
fn eq(&self, other: &HtCleanupEncodeDistribution) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HtCleanupEncodeDistribution
Auto Trait Implementations§
impl Freeze for HtCleanupEncodeDistribution
impl RefUnwindSafe for HtCleanupEncodeDistribution
impl Send for HtCleanupEncodeDistribution
impl Sync for HtCleanupEncodeDistribution
impl Unpin for HtCleanupEncodeDistribution
impl UnsafeUnpin for HtCleanupEncodeDistribution
impl UnwindSafe for HtCleanupEncodeDistribution
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