objc2_video_toolbox/generated/VTMotionEstimationSessionProperties.rs
1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use objc2_core_foundation::*;
4
5use crate::*;
6
7extern "C" {
8 /// The size of the search blocks that motion estimation session uses.
9 ///
10 /// ``VTMotionEstimationSessionCreate`` takes a dictionary of creation options, `motionVectorProcessorSelectionOptions`.
11 /// You can supply ``kVTMotionEstimationSessionCreationOption_MotionVectorSize`` with `CFNumber` to override the default
12 /// search block size. Supported motion vector size is 4 or 16, meaning 4x4 or 16x16 respectively. 16x16 is the default
13 /// if you don't provide this key.
14 ///
15 /// See also [Apple's documentation](https://developer.apple.com/documentation/videotoolbox/kvtmotionestimationsessioncreationoption_motionvectorsize?language=objc)
16 pub static kVTMotionEstimationSessionCreationOption_MotionVectorSize: Option<&'static CFString>;
17}
18
19extern "C" {
20 /// An option to use for higher quality motion estimation.
21 ///
22 /// ``VTMotionEstimationSessionCreate`` takes a dictionary of creation options, `motionVectorProcessorSelectionOptions`.
23 /// You can supply ``kVTMotionEstimationSessionCreationOption_UseMultiPassSearch`` with `kCFBooleanTrue` to provide
24 /// higher quality motion estimation. True-motion achieves higher quality by running the motion estimator in multiple
25 /// passes. The default is `kCFBooleanFalse`.
26 ///
27 /// See also [Apple's documentation](https://developer.apple.com/documentation/videotoolbox/kvtmotionestimationsessioncreationoption_usemultipasssearch?language=objc)
28 pub static kVTMotionEstimationSessionCreationOption_UseMultiPassSearch:
29 Option<&'static CFString>;
30}
31
32extern "C" {
33 /// Enable multi pass true motion detection.
34 ///
35 /// Renamed to `kVTMotionEstimationSessionCreationOption_UseMultiPassSearch`.
36 ///
37 /// See also [Apple's documentation](https://developer.apple.com/documentation/videotoolbox/kvtmotionestimationsessioncreationoption_detecttruemotion?language=objc)
38 pub static kVTMotionEstimationSessionCreationOption_DetectTrueMotion: Option<&'static CFString>;
39}
40
41extern "C" {
42 /// A label you use to log and track resources.
43 ///
44 /// ``VTMotionEstimationSessionCreate`` takes a dictionary of creation options, `motionVectorProcessorSelectionOptions`.
45 /// You can supply ``kVTMotionEstimationSessionCreationOption_Label`` with `CFString` to specify a label used in logging
46 /// and resource tracking.
47 ///
48 /// See also [Apple's documentation](https://developer.apple.com/documentation/videotoolbox/kvtmotionestimationsessioncreationoption_label?language=objc)
49 pub static kVTMotionEstimationSessionCreationOption_Label: Option<&'static CFString>;
50}