VTFrameProcessorParameters

Trait VTFrameProcessorParameters 

Source
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§

Source

unsafe fn sourceFrame(&self) -> Retained<VTFrameProcessorFrame>
where Self: Sized + Message,

Available on crate feature 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

Source§

const NAME: &'static str = "VTFrameProcessorParameters"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn VTFrameProcessorParameters

Implementations on Foreign Types§

Source§

impl<T> VTFrameProcessorParameters for ProtocolObject<T>

Implementors§

Source§

impl VTFrameProcessorParameters for VTFrameRateConversionParameters

Available on crate feature VTFrameProcessor_FrameRateConversion only.
Source§

impl VTFrameProcessorParameters for VTMotionBlurParameters

Available on crate feature VTFrameProcessor_MotionBlur only.
Source§

impl VTFrameProcessorParameters for VTOpticalFlowParameters

Available on crate feature VTFrameProcessor_OpticalFlow only.