]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] |
2 | pub type AudioMediaFrame = *mut ::core::ffi::c_void; | |
3 | pub type BufferMediaFrame = *mut ::core::ffi::c_void; | |
4 | pub type DepthMediaFrame = *mut ::core::ffi::c_void; | |
5 | pub type DepthMediaFrameFormat = *mut ::core::ffi::c_void; | |
6 | pub type InfraredMediaFrame = *mut ::core::ffi::c_void; | |
7 | pub type MediaFrameArrivedEventArgs = *mut ::core::ffi::c_void; | |
8 | pub type MediaFrameFormat = *mut ::core::ffi::c_void; | |
9 | pub type MediaFrameReader = *mut ::core::ffi::c_void; | |
04454e1e | 10 | #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] |
5e7ed085 FG |
11 | #[repr(transparent)] |
12 | pub struct MediaFrameReaderAcquisitionMode(pub i32); | |
13 | impl MediaFrameReaderAcquisitionMode { | |
14 | pub const Realtime: Self = Self(0i32); | |
15 | pub const Buffered: Self = Self(1i32); | |
16 | } | |
17 | impl ::core::marker::Copy for MediaFrameReaderAcquisitionMode {} | |
18 | impl ::core::clone::Clone for MediaFrameReaderAcquisitionMode { | |
19 | fn clone(&self) -> Self { | |
20 | *self | |
21 | } | |
22 | } | |
04454e1e | 23 | #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] |
5e7ed085 FG |
24 | #[repr(transparent)] |
25 | pub struct MediaFrameReaderStartStatus(pub i32); | |
26 | impl MediaFrameReaderStartStatus { | |
27 | pub const Success: Self = Self(0i32); | |
28 | pub const UnknownFailure: Self = Self(1i32); | |
29 | pub const DeviceNotAvailable: Self = Self(2i32); | |
30 | pub const OutputFormatNotSupported: Self = Self(3i32); | |
31 | pub const ExclusiveControlNotAvailable: Self = Self(4i32); | |
32 | } | |
33 | impl ::core::marker::Copy for MediaFrameReaderStartStatus {} | |
34 | impl ::core::clone::Clone for MediaFrameReaderStartStatus { | |
35 | fn clone(&self) -> Self { | |
36 | *self | |
37 | } | |
38 | } | |
39 | pub type MediaFrameReference = *mut ::core::ffi::c_void; | |
40 | pub type MediaFrameSource = *mut ::core::ffi::c_void; | |
41 | pub type MediaFrameSourceController = *mut ::core::ffi::c_void; | |
42 | pub type MediaFrameSourceGetPropertyResult = *mut ::core::ffi::c_void; | |
04454e1e | 43 | #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] |
5e7ed085 FG |
44 | #[repr(transparent)] |
45 | pub struct MediaFrameSourceGetPropertyStatus(pub i32); | |
46 | impl MediaFrameSourceGetPropertyStatus { | |
47 | pub const Success: Self = Self(0i32); | |
48 | pub const UnknownFailure: Self = Self(1i32); | |
49 | pub const NotSupported: Self = Self(2i32); | |
50 | pub const DeviceNotAvailable: Self = Self(3i32); | |
51 | pub const MaxPropertyValueSizeTooSmall: Self = Self(4i32); | |
52 | pub const MaxPropertyValueSizeRequired: Self = Self(5i32); | |
53 | } | |
54 | impl ::core::marker::Copy for MediaFrameSourceGetPropertyStatus {} | |
55 | impl ::core::clone::Clone for MediaFrameSourceGetPropertyStatus { | |
56 | fn clone(&self) -> Self { | |
57 | *self | |
58 | } | |
59 | } | |
60 | pub type MediaFrameSourceGroup = *mut ::core::ffi::c_void; | |
61 | pub type MediaFrameSourceInfo = *mut ::core::ffi::c_void; | |
04454e1e | 62 | #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] |
5e7ed085 FG |
63 | #[repr(transparent)] |
64 | pub struct MediaFrameSourceKind(pub i32); | |
65 | impl MediaFrameSourceKind { | |
66 | pub const Custom: Self = Self(0i32); | |
67 | pub const Color: Self = Self(1i32); | |
68 | pub const Infrared: Self = Self(2i32); | |
69 | pub const Depth: Self = Self(3i32); | |
70 | pub const Audio: Self = Self(4i32); | |
71 | pub const Image: Self = Self(5i32); | |
72 | pub const Metadata: Self = Self(6i32); | |
73 | } | |
74 | impl ::core::marker::Copy for MediaFrameSourceKind {} | |
75 | impl ::core::clone::Clone for MediaFrameSourceKind { | |
76 | fn clone(&self) -> Self { | |
77 | *self | |
78 | } | |
79 | } | |
04454e1e | 80 | #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] |
5e7ed085 FG |
81 | #[repr(transparent)] |
82 | pub struct MediaFrameSourceSetPropertyStatus(pub i32); | |
83 | impl MediaFrameSourceSetPropertyStatus { | |
84 | pub const Success: Self = Self(0i32); | |
85 | pub const UnknownFailure: Self = Self(1i32); | |
86 | pub const NotSupported: Self = Self(2i32); | |
87 | pub const InvalidValue: Self = Self(3i32); | |
88 | pub const DeviceNotAvailable: Self = Self(4i32); | |
89 | pub const NotInControl: Self = Self(5i32); | |
90 | } | |
91 | impl ::core::marker::Copy for MediaFrameSourceSetPropertyStatus {} | |
92 | impl ::core::clone::Clone for MediaFrameSourceSetPropertyStatus { | |
93 | fn clone(&self) -> Self { | |
94 | *self | |
95 | } | |
96 | } | |
97 | pub type MultiSourceMediaFrameArrivedEventArgs = *mut ::core::ffi::c_void; | |
98 | pub type MultiSourceMediaFrameReader = *mut ::core::ffi::c_void; | |
04454e1e | 99 | #[doc = "*Required features: `\"Media_Capture_Frames\"`*"] |
5e7ed085 FG |
100 | #[repr(transparent)] |
101 | pub struct MultiSourceMediaFrameReaderStartStatus(pub i32); | |
102 | impl MultiSourceMediaFrameReaderStartStatus { | |
103 | pub const Success: Self = Self(0i32); | |
104 | pub const NotSupported: Self = Self(1i32); | |
105 | pub const InsufficientResources: Self = Self(2i32); | |
106 | pub const DeviceNotAvailable: Self = Self(3i32); | |
107 | pub const UnknownFailure: Self = Self(4i32); | |
108 | } | |
109 | impl ::core::marker::Copy for MultiSourceMediaFrameReaderStartStatus {} | |
110 | impl ::core::clone::Clone for MultiSourceMediaFrameReaderStartStatus { | |
111 | fn clone(&self) -> Self { | |
112 | *self | |
113 | } | |
114 | } | |
115 | pub type MultiSourceMediaFrameReference = *mut ::core::ffi::c_void; | |
116 | pub type VideoMediaFrame = *mut ::core::ffi::c_void; | |
117 | pub type VideoMediaFrameFormat = *mut ::core::ffi::c_void; |