pub struct J2kEncodeDispatchReport {
pub deinterleave: usize,
pub forward_rct: usize,
pub forward_ict: usize,
pub forward_dwt53: usize,
pub forward_dwt97: usize,
pub quantize_subband: usize,
pub tier1_code_block: usize,
pub ht_code_block: usize,
pub packetization: usize,
}Expand description
Adapter encode-stage dispatch counters for backend experimentation.
Fields§
§deinterleave: usizePixel deinterleave/level-shift dispatch count.
forward_rct: usizeForward RCT kernel dispatch count.
forward_ict: usizeForward ICT kernel dispatch count.
forward_dwt53: usizeForward reversible 5/3 DWT kernel dispatch count.
forward_dwt97: usizeForward irreversible 9/7 DWT kernel dispatch count.
quantize_subband: usizeSub-band quantization dispatch count.
tier1_code_block: usizeTier-1 code-block encode dispatch count.
ht_code_block: usizeHTJ2K code-block encode dispatch count.
packetization: usizePacketization dispatch count.
Implementations§
Source§impl J2kEncodeDispatchReport
impl J2kEncodeDispatchReport
Sourcepub fn saturating_delta(
self,
before: J2kEncodeDispatchReport,
) -> J2kEncodeDispatchReport
pub fn saturating_delta( self, before: J2kEncodeDispatchReport, ) -> J2kEncodeDispatchReport
Return the saturating per-stage delta from before to self.
Trait Implementations§
Source§impl Clone for J2kEncodeDispatchReport
impl Clone for J2kEncodeDispatchReport
Source§fn clone(&self) -> J2kEncodeDispatchReport
fn clone(&self) -> J2kEncodeDispatchReport
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 J2kEncodeDispatchReport
Source§impl Debug for J2kEncodeDispatchReport
impl Debug for J2kEncodeDispatchReport
Source§impl Default for J2kEncodeDispatchReport
impl Default for J2kEncodeDispatchReport
Source§fn default() -> J2kEncodeDispatchReport
fn default() -> J2kEncodeDispatchReport
Returns the “default value” for a type. Read more
impl Eq for J2kEncodeDispatchReport
Source§impl PartialEq for J2kEncodeDispatchReport
impl PartialEq for J2kEncodeDispatchReport
Source§fn eq(&self, other: &J2kEncodeDispatchReport) -> bool
fn eq(&self, other: &J2kEncodeDispatchReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for J2kEncodeDispatchReport
Auto Trait Implementations§
impl Freeze for J2kEncodeDispatchReport
impl RefUnwindSafe for J2kEncodeDispatchReport
impl Send for J2kEncodeDispatchReport
impl Sync for J2kEncodeDispatchReport
impl Unpin for J2kEncodeDispatchReport
impl UnsafeUnpin for J2kEncodeDispatchReport
impl UnwindSafe for J2kEncodeDispatchReport
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