pub struct CudaLosslessEncodeOutcome {
pub encoded: EncodedJ2k,
pub input_copy_used: bool,
pub resident: CudaLosslessEncodeResidency,
pub input_copy_duration: Duration,
pub encode_duration: Duration,
pub gpu_duration: Option<Duration>,
pub validation_duration: Duration,
pub host_readback_duration: Duration,
pub stage_timings: CudaEncodeStageTimings,
}Expand description
Lossless CUDA device-buffer encode output with host codestream bytes and timings.
Fields§
§encoded: EncodedJ2kEncoded J2K codestream.
input_copy_used: boolWhether the input buffer had to be copied or padded.
resident: CudaLosslessEncodeResidencyResidency decisions for encode stages.
input_copy_duration: DurationTime spent copying or padding input.
encode_duration: DurationEnd-to-end encode duration for this tile.
gpu_duration: Option<Duration>GPU-only duration when timestamp data is available.
validation_duration: DurationTime spent validating encoded output.
host_readback_duration: DurationTime spent materializing CUDA output into host codestream bytes.
stage_timings: CudaEncodeStageTimingsCUDA encode stage timing buckets collected for this tile.
Trait Implementations§
Source§impl Clone for CudaLosslessEncodeOutcome
impl Clone for CudaLosslessEncodeOutcome
Source§fn clone(&self) -> CudaLosslessEncodeOutcome
fn clone(&self) -> CudaLosslessEncodeOutcome
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 CudaLosslessEncodeOutcome
impl Debug for CudaLosslessEncodeOutcome
impl Eq for CudaLosslessEncodeOutcome
Source§impl PartialEq for CudaLosslessEncodeOutcome
impl PartialEq for CudaLosslessEncodeOutcome
Source§fn eq(&self, other: &CudaLosslessEncodeOutcome) -> bool
fn eq(&self, other: &CudaLosslessEncodeOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CudaLosslessEncodeOutcome
Auto Trait Implementations§
impl Freeze for CudaLosslessEncodeOutcome
impl RefUnwindSafe for CudaLosslessEncodeOutcome
impl Send for CudaLosslessEncodeOutcome
impl Sync for CudaLosslessEncodeOutcome
impl Unpin for CudaLosslessEncodeOutcome
impl UnsafeUnpin for CudaLosslessEncodeOutcome
impl UnwindSafe for CudaLosslessEncodeOutcome
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