blob: 81b4d86a884c2bd8d08357b1f647a463c75b278a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
|
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[link(name = "windows")]
extern "system" {}
pub type AudioEncodingProperties = *mut ::core::ffi::c_void;
#[repr(transparent)]
pub struct AudioEncodingQuality(pub i32);
impl AudioEncodingQuality {
pub const Auto: Self = Self(0i32);
pub const High: Self = Self(1i32);
pub const Medium: Self = Self(2i32);
pub const Low: Self = Self(3i32);
}
impl ::core::marker::Copy for AudioEncodingQuality {}
impl ::core::clone::Clone for AudioEncodingQuality {
fn clone(&self) -> Self {
*self
}
}
pub type ContainerEncodingProperties = *mut ::core::ffi::c_void;
pub type IMediaEncodingProperties = *mut ::core::ffi::c_void;
pub type ImageEncodingProperties = *mut ::core::ffi::c_void;
pub type MediaEncodingProfile = *mut ::core::ffi::c_void;
#[repr(transparent)]
pub struct MediaMirroringOptions(pub u32);
impl MediaMirroringOptions {
pub const None: Self = Self(0u32);
pub const Horizontal: Self = Self(1u32);
pub const Vertical: Self = Self(2u32);
}
impl ::core::marker::Copy for MediaMirroringOptions {}
impl ::core::clone::Clone for MediaMirroringOptions {
fn clone(&self) -> Self {
*self
}
}
#[repr(transparent)]
pub struct MediaPixelFormat(pub i32);
impl MediaPixelFormat {
pub const Nv12: Self = Self(0i32);
pub const Bgra8: Self = Self(1i32);
pub const P010: Self = Self(2i32);
}
impl ::core::marker::Copy for MediaPixelFormat {}
impl ::core::clone::Clone for MediaPixelFormat {
fn clone(&self) -> Self {
*self
}
}
pub type MediaPropertySet = *mut ::core::ffi::c_void;
pub type MediaRatio = *mut ::core::ffi::c_void;
#[repr(transparent)]
pub struct MediaRotation(pub i32);
impl MediaRotation {
pub const None: Self = Self(0i32);
pub const Clockwise90Degrees: Self = Self(1i32);
pub const Clockwise180Degrees: Self = Self(2i32);
pub const Clockwise270Degrees: Self = Self(3i32);
}
impl ::core::marker::Copy for MediaRotation {}
impl ::core::clone::Clone for MediaRotation {
fn clone(&self) -> Self {
*self
}
}
#[repr(transparent)]
pub struct MediaThumbnailFormat(pub i32);
impl MediaThumbnailFormat {
pub const Bmp: Self = Self(0i32);
pub const Bgra8: Self = Self(1i32);
}
impl ::core::marker::Copy for MediaThumbnailFormat {}
impl ::core::clone::Clone for MediaThumbnailFormat {
fn clone(&self) -> Self {
*self
}
}
#[repr(transparent)]
pub struct SphericalVideoFrameFormat(pub i32);
impl SphericalVideoFrameFormat {
pub const None: Self = Self(0i32);
pub const Unsupported: Self = Self(1i32);
pub const Equirectangular: Self = Self(2i32);
}
impl ::core::marker::Copy for SphericalVideoFrameFormat {}
impl ::core::clone::Clone for SphericalVideoFrameFormat {
fn clone(&self) -> Self {
*self
}
}
#[repr(transparent)]
pub struct StereoscopicVideoPackingMode(pub i32);
impl StereoscopicVideoPackingMode {
pub const None: Self = Self(0i32);
pub const SideBySide: Self = Self(1i32);
pub const TopBottom: Self = Self(2i32);
}
impl ::core::marker::Copy for StereoscopicVideoPackingMode {}
impl ::core::clone::Clone for StereoscopicVideoPackingMode {
fn clone(&self) -> Self {
*self
}
}
pub type TimedMetadataEncodingProperties = *mut ::core::ffi::c_void;
pub type VideoEncodingProperties = *mut ::core::ffi::c_void;
#[repr(transparent)]
pub struct VideoEncodingQuality(pub i32);
impl VideoEncodingQuality {
pub const Auto: Self = Self(0i32);
pub const HD1080p: Self = Self(1i32);
pub const HD720p: Self = Self(2i32);
pub const Wvga: Self = Self(3i32);
pub const Ntsc: Self = Self(4i32);
pub const Pal: Self = Self(5i32);
pub const Vga: Self = Self(6i32);
pub const Qvga: Self = Self(7i32);
pub const Uhd2160p: Self = Self(8i32);
pub const Uhd4320p: Self = Self(9i32);
}
impl ::core::marker::Copy for VideoEncodingQuality {}
impl ::core::clone::Clone for VideoEncodingQuality {
fn clone(&self) -> Self {
*self
}
}
|