pub struct TranscodePipelineMap {
pub stages: Vec<TranscodePipelineStageReport>,
pub recommendation: TranscodeResidentStageRecommendation,
}Expand description
Stage-by-stage transcode residency map derived from existing timings.
Fields§
§stages: Vec<TranscodePipelineStageReport>Ordered stage reports from JPEG input through codestream output.
recommendation: TranscodeResidentStageRecommendationNext resident-stage candidate derived from the observed counters.
Implementations§
Source§impl TranscodePipelineMap
impl TranscodePipelineMap
Sourcepub fn from_timings(timings: &TranscodeTimingReport) -> Self
pub fn from_timings(timings: &TranscodeTimingReport) -> Self
Build a pipeline map from an existing timing report.
Sourcepub fn debug_report(&self) -> String
pub fn debug_report(&self) -> String
Render a compact, line-oriented report for benchmark/debug output.
Trait Implementations§
Source§impl Clone for TranscodePipelineMap
impl Clone for TranscodePipelineMap
Source§fn clone(&self) -> TranscodePipelineMap
fn clone(&self) -> TranscodePipelineMap
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 TranscodePipelineMap
impl Debug for TranscodePipelineMap
impl Eq for TranscodePipelineMap
Source§impl PartialEq for TranscodePipelineMap
impl PartialEq for TranscodePipelineMap
Source§fn eq(&self, other: &TranscodePipelineMap) -> bool
fn eq(&self, other: &TranscodePipelineMap) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TranscodePipelineMap
Auto Trait Implementations§
impl Freeze for TranscodePipelineMap
impl RefUnwindSafe for TranscodePipelineMap
impl Send for TranscodePipelineMap
impl Sync for TranscodePipelineMap
impl Unpin for TranscodePipelineMap
impl UnsafeUnpin for TranscodePipelineMap
impl UnwindSafe for TranscodePipelineMap
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