objc2-video-toolbox 0.3.2

Bindings to the VideoToolbox framework
Documentation
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use objc2_core_foundation::*;

use crate::*;

extern "C" {
    /// The size of the search blocks that motion estimation session uses.
    ///
    /// ``VTMotionEstimationSessionCreate`` takes a dictionary of creation options, `motionVectorProcessorSelectionOptions`.
    /// You can supply ``kVTMotionEstimationSessionCreationOption_MotionVectorSize`` with `CFNumber` to override the default
    /// search block size. Supported motion vector size is 4 or 16, meaning 4x4 or 16x16 respectively. 16x16 is the default
    /// if you don't provide this key.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/videotoolbox/kvtmotionestimationsessioncreationoption_motionvectorsize?language=objc)
    pub static kVTMotionEstimationSessionCreationOption_MotionVectorSize: Option<&'static CFString>;
}

extern "C" {
    /// An option to use for higher quality motion estimation.
    ///
    /// ``VTMotionEstimationSessionCreate`` takes a dictionary of creation options, `motionVectorProcessorSelectionOptions`.
    /// You can supply ``kVTMotionEstimationSessionCreationOption_UseMultiPassSearch`` with `kCFBooleanTrue` to provide
    /// higher quality motion estimation. True-motion achieves higher quality by running the motion estimator in multiple
    /// passes. The default is `kCFBooleanFalse`.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/videotoolbox/kvtmotionestimationsessioncreationoption_usemultipasssearch?language=objc)
    pub static kVTMotionEstimationSessionCreationOption_UseMultiPassSearch:
        Option<&'static CFString>;
}

extern "C" {
    /// Enable multi pass true motion detection.
    ///
    /// Renamed to `kVTMotionEstimationSessionCreationOption_UseMultiPassSearch`.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/videotoolbox/kvtmotionestimationsessioncreationoption_detecttruemotion?language=objc)
    pub static kVTMotionEstimationSessionCreationOption_DetectTrueMotion: Option<&'static CFString>;
}

extern "C" {
    /// A label you use to log and track resources.
    ///
    /// ``VTMotionEstimationSessionCreate`` takes a dictionary of creation options, `motionVectorProcessorSelectionOptions`.
    /// You can supply ``kVTMotionEstimationSessionCreationOption_Label`` with `CFString` to specify a label used in logging
    /// and resource tracking.
    ///
    /// See also [Apple's documentation](https://developer.apple.com/documentation/videotoolbox/kvtmotionestimationsessioncreationoption_label?language=objc)
    pub static kVTMotionEstimationSessionCreationOption_Label: Option<&'static CFString>;
}