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
|
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[link(name = "windows")]
extern "system" {}
#[repr(transparent)]
pub struct HdmiDisplayColorSpace(pub i32);
impl HdmiDisplayColorSpace {
pub const RgbLimited: Self = Self(0i32);
pub const RgbFull: Self = Self(1i32);
pub const BT2020: Self = Self(2i32);
pub const BT709: Self = Self(3i32);
}
impl ::core::marker::Copy for HdmiDisplayColorSpace {}
impl ::core::clone::Clone for HdmiDisplayColorSpace {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct HdmiDisplayHdr2086Metadata {
pub RedPrimaryX: u16,
pub RedPrimaryY: u16,
pub GreenPrimaryX: u16,
pub GreenPrimaryY: u16,
pub BluePrimaryX: u16,
pub BluePrimaryY: u16,
pub WhitePointX: u16,
pub WhitePointY: u16,
pub MaxMasteringLuminance: u16,
pub MinMasteringLuminance: u16,
pub MaxContentLightLevel: u16,
pub MaxFrameAverageLightLevel: u16,
}
impl ::core::marker::Copy for HdmiDisplayHdr2086Metadata {}
impl ::core::clone::Clone for HdmiDisplayHdr2086Metadata {
fn clone(&self) -> Self {
*self
}
}
#[repr(transparent)]
pub struct HdmiDisplayHdrOption(pub i32);
impl HdmiDisplayHdrOption {
pub const None: Self = Self(0i32);
pub const EotfSdr: Self = Self(1i32);
pub const Eotf2084: Self = Self(2i32);
pub const DolbyVisionLowLatency: Self = Self(3i32);
}
impl ::core::marker::Copy for HdmiDisplayHdrOption {}
impl ::core::clone::Clone for HdmiDisplayHdrOption {
fn clone(&self) -> Self {
*self
}
}
pub type HdmiDisplayInformation = *mut ::core::ffi::c_void;
pub type HdmiDisplayMode = *mut ::core::ffi::c_void;
#[repr(transparent)]
pub struct HdmiDisplayPixelEncoding(pub i32);
impl HdmiDisplayPixelEncoding {
pub const Rgb444: Self = Self(0i32);
pub const Ycc444: Self = Self(1i32);
pub const Ycc422: Self = Self(2i32);
pub const Ycc420: Self = Self(3i32);
}
impl ::core::marker::Copy for HdmiDisplayPixelEncoding {}
impl ::core::clone::Clone for HdmiDisplayPixelEncoding {
fn clone(&self) -> Self {
*self
}
}
|