objc2_video_toolbox/generated/VTPixelRotationProperties.rs
1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ptr::NonNull;
4use objc2_core_foundation::*;
5
6use crate::*;
7
8extern "C" {
9 /// Specifies the amount of rotation in degrees.
10 ///
11 /// Specifies the amount of rotation to apply when copying source to destination.
12 /// Valid values: kVTRotation_0, kVTRotation_CW90, kVTRotation_180, and kVTRotation_CCW90
13 /// default is kVTRotation_0.
14 ///
15 /// See also [Apple's documentation](https://developer.apple.com/documentation/videotoolbox/kvtpixelrotationpropertykey_rotation?language=objc)
16 pub static kVTPixelRotationPropertyKey_Rotation: &'static CFString;
17}
18
19extern "C" {
20 /// [Apple's documentation](https://developer.apple.com/documentation/videotoolbox/kvtrotation_0?language=objc)
21 pub static kVTRotation_0: &'static CFString;
22}
23
24extern "C" {
25 /// [Apple's documentation](https://developer.apple.com/documentation/videotoolbox/kvtrotation_cw90?language=objc)
26 pub static kVTRotation_CW90: &'static CFString;
27}
28
29extern "C" {
30 /// [Apple's documentation](https://developer.apple.com/documentation/videotoolbox/kvtrotation_180?language=objc)
31 pub static kVTRotation_180: &'static CFString;
32}
33
34extern "C" {
35 /// [Apple's documentation](https://developer.apple.com/documentation/videotoolbox/kvtrotation_ccw90?language=objc)
36 pub static kVTRotation_CCW90: &'static CFString;
37}
38
39extern "C" {
40 /// Specifies the horizontal flip.
41 ///
42 /// kVTPixelRotationPropertyKey_FlipHorizontalOrientation must pass a CFBoolean as value. true will apply a horizontal flip after the rotation.
43 /// default is false;
44 ///
45 /// See also [Apple's documentation](https://developer.apple.com/documentation/videotoolbox/kvtpixelrotationpropertykey_fliphorizontalorientation?language=objc)
46 pub static kVTPixelRotationPropertyKey_FlipHorizontalOrientation: &'static CFString;
47}
48
49extern "C" {
50 /// Specifies the vertical flip.
51 ///
52 /// kVTPixelRotationPropertyKey_FlipVerticalOrientation must pass a CFBoolean as value. true will apply a vertical flip after the rotation.
53 /// default is false;
54 ///
55 /// See also [Apple's documentation](https://developer.apple.com/documentation/videotoolbox/kvtpixelrotationpropertykey_flipverticalorientation?language=objc)
56 pub static kVTPixelRotationPropertyKey_FlipVerticalOrientation: &'static CFString;
57}