#[repr(transparent)]pub struct VTFrameRateConversionParametersSubmissionMode(pub NSInteger);VTFrameProcessor_FrameRateConversion and objc2 only.Expand description
Indicates the order of input frames.
When submitting VTFrameRateConversionParameters to the processor, you need to provide one of these values based on
how the input frames are related to each other.
Use VTFrameRateConversionParametersSubmissionModeSequential to indicate that the current submission follows
presentation time order without jump or skip, when compared to previous submissions. This value provides better
processor performance than other values.
Use VTFrameRateConversionParametersSubmissionModeRandom to indicate that the current submission has no relation
to the previous submission. Typically, this indicates a jump or a skip in the frame sequence. The processor clears
internal caches when it receives this value in VTFrameProcessor/processWithParameters function call.
Use VTFrameRateConversionParametersSubmissionModeSequentialReferencesUnchanged to indicate that the frames are
in sequential order however, the reference frames are unchanged.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl VTFrameRateConversionParametersSubmissionMode
impl VTFrameRateConversionParametersSubmissionMode
Sourcepub const Sequential: Self
pub const Sequential: Self
You are submitting frames sequentially following presentation time order.
Sourcepub const SequentialReferencesUnchanged: Self
pub const SequentialReferencesUnchanged: Self
You are submitting frames sequentially.
This processing request uses the same source and next reference frames as the previous submission.
Trait Implementations§
Source§impl Clone for VTFrameRateConversionParametersSubmissionMode
impl Clone for VTFrameRateConversionParametersSubmissionMode
Source§fn clone(&self) -> VTFrameRateConversionParametersSubmissionMode
fn clone(&self) -> VTFrameRateConversionParametersSubmissionMode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Ord for VTFrameRateConversionParametersSubmissionMode
impl Ord for VTFrameRateConversionParametersSubmissionMode
Source§fn cmp(&self, other: &VTFrameRateConversionParametersSubmissionMode) -> Ordering
fn cmp(&self, other: &VTFrameRateConversionParametersSubmissionMode) -> 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 VTFrameRateConversionParametersSubmissionMode
impl PartialEq for VTFrameRateConversionParametersSubmissionMode
Source§fn eq(&self, other: &VTFrameRateConversionParametersSubmissionMode) -> bool
fn eq(&self, other: &VTFrameRateConversionParametersSubmissionMode) -> bool
self and other values to be equal, and is used by ==.