pub unsafe trait VTFrameProcessorParameters: NSObjectProtocol {
// Provided method
unsafe fn sourceFrame(&self) -> Retained<VTFrameProcessorFrame>
where Self: Sized + Message { ... }
}Available on crate features
VTFrameProcessorParameters and objc2 only.Expand description
VTFrameProcessorParameters is the base protocol for input and output processing parameters for a VTFrameProcessor processing implementation.. An instance of a class corresponding to this protocol is passed to processFrameWithParameters calls, and in async versions of those APIs, the same instance is returned in the completion.
See also Apple’s documentation
Provided Methods§
Sourceunsafe fn sourceFrame(&self) -> Retained<VTFrameProcessorFrame>
Available on crate feature VTFrameProcessorFrame only.
unsafe fn sourceFrame(&self) -> Retained<VTFrameProcessorFrame>
VTFrameProcessorFrame only.VTFrameProcessorFrame that contains the current source frame to be used for all processing features. Must be non-null
Trait Implementations§
Source§impl ProtocolType for dyn VTFrameProcessorParameters
impl ProtocolType for dyn VTFrameProcessorParameters
impl<T> ImplementedBy<T> for dyn VTFrameProcessorParameters
Implementations on Foreign Types§
impl<T> VTFrameProcessorParameters for ProtocolObject<T>where
T: ?Sized + VTFrameProcessorParameters,
Implementors§
impl VTFrameProcessorParameters for VTFrameRateConversionParameters
Available on crate feature
VTFrameProcessor_FrameRateConversion only.impl VTFrameProcessorParameters for VTMotionBlurParameters
Available on crate feature
VTFrameProcessor_MotionBlur only.impl VTFrameProcessorParameters for VTOpticalFlowParameters
Available on crate feature
VTFrameProcessor_OpticalFlow only.