#[repr(transparent)]pub struct VTSuperResolutionScalerParametersSubmissionMode(pub NSInteger);VTFrameProcessor_SuperResolutionScaler and objc2 only.Expand description
Indicates the order of input frames.
When submitting VTSuperResolutionScalerParameters to the processor, you need to provide one of these values based on
how the input frames are related to each other.
Use VTSuperResolutionScalerParametersSubmissionModeSequential to indicate that the current submission follows
presentation time order without jumps or skips, when compared to previous submissions. This value provides better
processor performance than other values.
Use VTSuperResolutionScalerParametersSubmissionModeRandom to indicate that the current submission has no relation
to the previous submission. Typically, this indicates a jump or skip in the frame sequence. The processor clears
internal caches when it receives this value in VTFrameProcessor/processWithParameters function call.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl VTSuperResolutionScalerParametersSubmissionMode
impl VTSuperResolutionScalerParametersSubmissionMode
pub const Random: Self
pub const Sequential: Self
Trait Implementations§
Source§impl Clone for VTSuperResolutionScalerParametersSubmissionMode
impl Clone for VTSuperResolutionScalerParametersSubmissionMode
Source§fn clone(&self) -> VTSuperResolutionScalerParametersSubmissionMode
fn clone(&self) -> VTSuperResolutionScalerParametersSubmissionMode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Ord for VTSuperResolutionScalerParametersSubmissionMode
impl Ord for VTSuperResolutionScalerParametersSubmissionMode
Source§fn cmp(
&self,
other: &VTSuperResolutionScalerParametersSubmissionMode,
) -> Ordering
fn cmp( &self, other: &VTSuperResolutionScalerParametersSubmissionMode, ) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for VTSuperResolutionScalerParametersSubmissionMode
impl PartialEq for VTSuperResolutionScalerParametersSubmissionMode
Source§fn eq(&self, other: &VTSuperResolutionScalerParametersSubmissionMode) -> bool
fn eq(&self, other: &VTSuperResolutionScalerParametersSubmissionMode) -> bool
self and other values to be equal, and is used by ==.