pub struct TranscodeReport {Show 15 fields
pub width: u32,
pub height: u32,
pub component_count: usize,
pub components: Vec<TranscodeComponentReport>,
pub float_reference_metrics: Option<TranscodeValidationMetrics>,
pub float_reference_classification: Option<TranscodeValidationClassification>,
pub integer_reference_metrics: Option<TranscodeValidationMetrics>,
pub integer_reference_classification: Option<TranscodeValidationClassification>,
pub decomposition_levels: u8,
pub coefficient_path: JpegToHtj2kCoefficientPath,
pub path: &'static str,
pub extract_us: u128,
pub transform_us: u128,
pub encode_us: u128,
pub timings: TranscodeTimingReport,
}Expand description
Transcode summary for validation and benchmarking.
Fields§
§width: u32Source reference-grid width.
height: u32Source reference-grid height.
component_count: usizeNumber of transformed components.
components: Vec<TranscodeComponentReport>Native transformed component geometry and SIZ sampling.
float_reference_metrics: Option<TranscodeValidationMetrics>Rounded coefficient metrics against the optional float IDCT-then-DWT oracle.
float_reference_classification: Option<TranscodeValidationClassification>Threshold classification for float_reference_metrics.
integer_reference_metrics: Option<TranscodeValidationMetrics>Rounded direct coefficients compared with j2k-jpeg scalar ISLOW-IDCT-then-reversible-5/3 coefficients.
integer_reference_classification: Option<TranscodeValidationClassification>Threshold classification for integer_reference_metrics.
decomposition_levels: u8Number of DWT decomposition levels encoded.
coefficient_path: JpegToHtj2kCoefficientPathCoefficient path used to generate the HTJ2K bands.
path: &'static strName of the experimental path used.
extract_us: u128Wall-clock extraction time in microseconds.
transform_us: u128Wall-clock DCT-to-wavelet time in microseconds.
encode_us: u128Wall-clock HTJ2K encode time in microseconds.
timings: TranscodeTimingReportDetailed stage timings and accelerator/fallback counters.
Trait Implementations§
Source§impl Clone for TranscodeReport
impl Clone for TranscodeReport
Source§fn clone(&self) -> TranscodeReport
fn clone(&self) -> TranscodeReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TranscodeReport
impl Debug for TranscodeReport
impl Eq for TranscodeReport
Source§impl PartialEq for TranscodeReport
impl PartialEq for TranscodeReport
Source§fn eq(&self, other: &TranscodeReport) -> bool
fn eq(&self, other: &TranscodeReport) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TranscodeReport
Auto Trait Implementations§
impl Freeze for TranscodeReport
impl RefUnwindSafe for TranscodeReport
impl Send for TranscodeReport
impl Sync for TranscodeReport
impl Unpin for TranscodeReport
impl UnsafeUnpin for TranscodeReport
impl UnwindSafe for TranscodeReport
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
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>
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>
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