objc2_video_toolbox/generated/VTFrameProcessorParameters.rs
1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ptr::NonNull;
4#[cfg(feature = "objc2")]
5use objc2::__framework_prelude::*;
6
7use crate::*;
8
9#[cfg(feature = "objc2")]
10extern_protocol!(
11 /// 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.
12 ///
13 /// See also [Apple's documentation](https://developer.apple.com/documentation/videotoolbox/vtframeprocessorparameters?language=objc)
14 #[cfg(feature = "objc2")]
15 pub unsafe trait VTFrameProcessorParameters: NSObjectProtocol {
16 #[cfg(feature = "VTFrameProcessorFrame")]
17 /// VTFrameProcessorFrame that contains the current source frame to be used for all processing features. Must be non-null
18 #[unsafe(method(sourceFrame))]
19 #[unsafe(method_family = none)]
20 unsafe fn sourceFrame(&self) -> Retained<VTFrameProcessorFrame>;
21 }
22);