2 * Copyright (C) 2024 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
13 DISPLAYCONFIG_DEVICE_INFO_SET_RESERVED1
= 14,
14 DISPLAYCONFIG_DEVICE_INFO_GET_ADVANCED_COLOR_INFO_2
= 15,
15 DISPLAYCONFIG_DEVICE_INFO_SET_HDR_STATE
= 16,
16 DISPLAYCONFIG_DEVICE_INFO_SET_WCG_STATE
= 17,
19 typedef enum _DISPLAYCONFIG_ADVANCED_COLOR_MODE
21 DISPLAYCONFIG_ADVANCED_COLOR_MODE_SDR
,
22 DISPLAYCONFIG_ADVANCED_COLOR_MODE_WCG
,
23 DISPLAYCONFIG_ADVANCED_COLOR_MODE_HDR
24 } DISPLAYCONFIG_ADVANCED_COLOR_MODE
;
26 typedef struct _DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_2
28 DISPLAYCONFIG_DEVICE_INFO_HEADER header
;
33 UINT32 advancedColorSupported
: 1;
34 UINT32 advancedColorActive
: 1;
36 UINT32 advancedColorLimitedByPolicy
: 1;
37 UINT32 highDynamicRangeSupported
: 1;
38 UINT32 highDynamicRangeUserEnabled
: 1;
39 UINT32 wideColorSupported
: 1;
40 UINT32 wideColorUserEnabled
: 1;
45 DISPLAYCONFIG_COLOR_ENCODING colorEncoding
;
46 UINT32 bitsPerColorChannel
;
47 DISPLAYCONFIG_ADVANCED_COLOR_MODE activeColorMode
;
48 } DISPLAYCONFIG_GET_ADVANCED_COLOR_INFO_2
;
50 typedef struct _DISPLAYCONFIG_SET_HDR_STATE
52 DISPLAYCONFIG_DEVICE_INFO_HEADER header
;
62 } DISPLAYCONFIG_SET_HDR_STATE
;