pub struct CudaEncodeStageTimings {
pub deinterleave_us: u128,
pub mct_us: u128,
pub dwt_us: u128,
pub quantize_us: u128,
pub ht_encode_us: u128,
pub packetize_us: u128,
}Expand description
Cumulative CUDA encode-stage timings collected by CudaEncodeStageAccelerator.
Fields§
§deinterleave_us: u128Pixel deinterleave and level-shift CUDA stage time.
mct_us: u128Forward MCT CUDA stage time.
dwt_us: u128Forward DWT CUDA stage time.
quantize_us: u128Quantization CUDA stage time.
ht_encode_us: u128HT code-block encode CUDA stage time.
packetize_us: u128HTJ2K packetization CUDA stage time.
Implementations§
Source§impl CudaEncodeStageTimings
impl CudaEncodeStageTimings
Sourcepub const fn saturating_add(self, other: Self) -> Self
pub const fn saturating_add(self, other: Self) -> Self
Return field-wise saturating timing sums.
Trait Implementations§
Source§impl Clone for CudaEncodeStageTimings
impl Clone for CudaEncodeStageTimings
Source§fn clone(&self) -> CudaEncodeStageTimings
fn clone(&self) -> CudaEncodeStageTimings
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 CudaEncodeStageTimings
Source§impl Debug for CudaEncodeStageTimings
impl Debug for CudaEncodeStageTimings
Source§impl Default for CudaEncodeStageTimings
impl Default for CudaEncodeStageTimings
Source§fn default() -> CudaEncodeStageTimings
fn default() -> CudaEncodeStageTimings
Returns the “default value” for a type. Read more
impl Eq for CudaEncodeStageTimings
Source§impl PartialEq for CudaEncodeStageTimings
impl PartialEq for CudaEncodeStageTimings
Source§fn eq(&self, other: &CudaEncodeStageTimings) -> bool
fn eq(&self, other: &CudaEncodeStageTimings) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CudaEncodeStageTimings
Auto Trait Implementations§
impl Freeze for CudaEncodeStageTimings
impl RefUnwindSafe for CudaEncodeStageTimings
impl Send for CudaEncodeStageTimings
impl Sync for CudaEncodeStageTimings
impl Unpin for CudaEncodeStageTimings
impl UnsafeUnpin for CudaEncodeStageTimings
impl UnwindSafe for CudaEncodeStageTimings
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