node-gpuinfo 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +674 -0
- package/README.md +336 -0
- package/binding.gyp +69 -0
- package/build/Release/gpu.exp +0 -0
- package/build/Release/gpu.lib +0 -0
- package/build/Release/gpu.node +0 -0
- package/build/Release/gpu.pdb +0 -0
- package/build/binding.sln +19 -0
- package/build/gpu.vcxproj +175 -0
- package/build/gpu.vcxproj.filters +169 -0
- package/example.js +69 -0
- package/index.js +33 -0
- package/package.json +68 -0
- package/src/binding.cpp +201 -0
- package/src/gpu_info.c +130 -0
- package/src/gpu_info.h +86 -0
- package/src/includes/adlx/ADLX.h +367 -0
- package/src/includes/adlx/ADLXDefines.h +1345 -0
- package/src/includes/adlx/ADLXHelper/ADLXHelper.c +175 -0
- package/src/includes/adlx/ADLXHelper/ADLXHelper.h +245 -0
- package/src/includes/adlx/ADLXHelper/WinAPIS.c +64 -0
- package/src/includes/adlx/ADLXStructures.h +206 -0
- package/src/includes/adlx/ADLXVersion.h +18 -0
- package/src/includes/adlx/I3DSettings.h +3476 -0
- package/src/includes/adlx/I3DSettings1.h +292 -0
- package/src/includes/adlx/I3DSettings2.h +317 -0
- package/src/includes/adlx/IApplications.h +397 -0
- package/src/includes/adlx/IChangedEvent.h +71 -0
- package/src/includes/adlx/ICollections.h +325 -0
- package/src/includes/adlx/IDesktops.h +918 -0
- package/src/includes/adlx/IDisplay3DLUT.h +663 -0
- package/src/includes/adlx/IDisplayGamma.h +683 -0
- package/src/includes/adlx/IDisplayGamut.h +760 -0
- package/src/includes/adlx/IDisplaySettings.h +3476 -0
- package/src/includes/adlx/IDisplays.h +2676 -0
- package/src/includes/adlx/IDisplays1.h +191 -0
- package/src/includes/adlx/IDisplays2.h +188 -0
- package/src/includes/adlx/IDisplays3.h +256 -0
- package/src/includes/adlx/IGPUAutoTuning.h +460 -0
- package/src/includes/adlx/IGPUManualFanTuning.h +1007 -0
- package/src/includes/adlx/IGPUManualGFXTuning.h +607 -0
- package/src/includes/adlx/IGPUManualPowerTuning.h +340 -0
- package/src/includes/adlx/IGPUManualVRAMTuning.h +576 -0
- package/src/includes/adlx/IGPUPresetTuning.h +469 -0
- package/src/includes/adlx/IGPUTuning.h +1239 -0
- package/src/includes/adlx/IGPUTuning1.h +197 -0
- package/src/includes/adlx/II2C.h +198 -0
- package/src/includes/adlx/ILog.h +72 -0
- package/src/includes/adlx/IMultiMedia.h +578 -0
- package/src/includes/adlx/IPerformanceMonitoring.h +2520 -0
- package/src/includes/adlx/IPerformanceMonitoring1.h +134 -0
- package/src/includes/adlx/IPerformanceMonitoring2.h +341 -0
- package/src/includes/adlx/IPerformanceMonitoring3.h +199 -0
- package/src/includes/adlx/IPowerTuning.h +473 -0
- package/src/includes/adlx/IPowerTuning1.h +515 -0
- package/src/includes/adlx/ISmartAccessMemory.h +114 -0
- package/src/includes/adlx/ISystem.h +1557 -0
- package/src/includes/adlx/ISystem1.h +237 -0
- package/src/includes/adlx/ISystem2.h +643 -0
- package/src/linux/amd_linux.c +269 -0
- package/src/linux/intel_linux.c +20 -0
- package/src/linux/nvidia_linux.c +257 -0
- package/src/macos/amd_mac.c +131 -0
- package/src/macos/intel_mac.c +131 -0
- package/src/macos/nvidia_mac.c +21 -0
- package/src/vendor/amd.c +37 -0
- package/src/vendor/intel.c +37 -0
- package/src/vendor/nvidia.c +37 -0
- package/src/windows/amd_windows.c +468 -0
- package/src/windows/intel_windows.c +157 -0
- package/src/windows/nvidia_windows.c +252 -0
|
@@ -0,0 +1,760 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright (c) 2021 - 2025 Advanced Micro Devices, Inc. All rights reserved.
|
|
3
|
+
//
|
|
4
|
+
//-------------------------------------------------------------------------------------------------
|
|
5
|
+
|
|
6
|
+
#ifndef ADLX_IDISPLAYGAMUT_H
|
|
7
|
+
#define ADLX_IDISPLAYGAMUT_H
|
|
8
|
+
#pragma once
|
|
9
|
+
|
|
10
|
+
#include "ADLXStructures.h"
|
|
11
|
+
|
|
12
|
+
//-------------------------------------------------------------------------------------------------
|
|
13
|
+
//IDisplayGamut.h - Interfaces for ADLX Display Gamut functionality
|
|
14
|
+
#pragma region IADLXDisplayGamut interface
|
|
15
|
+
#if defined (__cplusplus)
|
|
16
|
+
namespace adlx
|
|
17
|
+
{
|
|
18
|
+
class ADLX_NO_VTABLE IADLXDisplayGamut : public IADLXInterface
|
|
19
|
+
{
|
|
20
|
+
public:
|
|
21
|
+
ADLX_DECLARE_IID (L"IADLXDisplayGamut")
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*@page DOX_IADLXDisplayGamut_IsSupportedCCIR709ColorSpace IsSupportedCCIR709ColorSpace
|
|
25
|
+
*@ENG_START_DOX @brief Checks if the standard color space CCIR709 is supported on a display. @ENG_END_DOX
|
|
26
|
+
*
|
|
27
|
+
*@syntax
|
|
28
|
+
*@codeStart
|
|
29
|
+
* @ref ADLX_RESULT IsSupportedCCIR709ColorSpace (adlx_bool* supported)
|
|
30
|
+
*@codeEnd
|
|
31
|
+
*
|
|
32
|
+
*@params
|
|
33
|
+
* @paramrow{1.,[out],supported,adlx_bool*,@ENG_START_DOX The pointer to a variable where the state of color space CCIR709 is returned. The variable is __true__ if the color space CCIR709 is supported. The variable is __false__ if the color space CCIR709 is not supported. @ENG_END_DOX}
|
|
34
|
+
*
|
|
35
|
+
*@retvalues
|
|
36
|
+
*@ENG_START_DOX If the state of color space CCIR709 is successfully returned, __ADLX_OK__ is returned. <br>
|
|
37
|
+
* If the state of color space CCIR709 is not successfully returned, an error code is returned. <br>
|
|
38
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
39
|
+
*
|
|
40
|
+
*@detaileddesc
|
|
41
|
+
*@ENG_START_DOX @details The gamut color space CCIR709, also known as Rec.709, BT.709, and ITU 709, is a standard developed by ITU-R for image encoding and signal characteristics for high-definition television. @ENG_END_DOX
|
|
42
|
+
*
|
|
43
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
46
|
+
virtual ADLX_RESULT ADLX_STD_CALL IsSupportedCCIR709ColorSpace (adlx_bool* supported) const = 0;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
*@page DOX_IADLXDisplayGamut_IsSupportedCCIR601ColorSpace IsSupportedCCIR601ColorSpace
|
|
50
|
+
*@ENG_START_DOX @brief Checks if the standard color space CCIR601 is supported on a display. @ENG_END_DOX
|
|
51
|
+
*
|
|
52
|
+
*@syntax
|
|
53
|
+
*@codeStart
|
|
54
|
+
* @ref ADLX_RESULT IsSupportedCCIR601ColorSpace (adlx_bool* supported)
|
|
55
|
+
*@codeEnd
|
|
56
|
+
*
|
|
57
|
+
*@params
|
|
58
|
+
* @paramrow{1.,[out],supported,adlx_bool*,@ENG_START_DOX The pointer to a variable where the state of color space CCIR601 is returned. The variable is __true__ if the color space CCIR601 is supported. The variable is __false__ if the color space CCIR601 is not supported. @ENG_END_DOX}
|
|
59
|
+
*
|
|
60
|
+
*@retvalues
|
|
61
|
+
*@ENG_START_DOX If the state of color space CCIR601 is successfully returned, __ADLX_OK__ is returned. <br>
|
|
62
|
+
* If the state of color space CCIR601 is not successfully returned, an error code is returned. <br>
|
|
63
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
64
|
+
*
|
|
65
|
+
*@detaileddesc
|
|
66
|
+
*@ENG_START_DOX @details The color space CCIR601 is a standard, originally issued in 1982 by the CCIR, for encoding interlaced analog video signals in digital video form and is also known as Rec.601 or BT.601. @ENG_END_DOX
|
|
67
|
+
*
|
|
68
|
+
*
|
|
69
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
virtual ADLX_RESULT ADLX_STD_CALL IsSupportedCCIR601ColorSpace (adlx_bool* supported) const = 0;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
*@page DOX_IADLXDisplayGamut_IsSupportedAdobeRgbColorSpace IsSupportedAdobeRgbColorSpace
|
|
76
|
+
*@ENG_START_DOX @brief Checks if the standard color space Adobe RGB is supported on a display. @ENG_END_DOX
|
|
77
|
+
*
|
|
78
|
+
*@syntax
|
|
79
|
+
*@codeStart
|
|
80
|
+
* @ref ADLX_RESULT IsSupportedAdobeRgbColorSpace (adlx_bool* supported)
|
|
81
|
+
*@codeEnd
|
|
82
|
+
*
|
|
83
|
+
*@params
|
|
84
|
+
* @paramrow{1.,[out],supported,adlx_bool*,@ENG_START_DOX The pointer to a variable where the state of color space Adobe RGB is returned. The variable is __true__ if the color space Adobe RGB is supported. The variable is __false__ if the color space Adobe RGB is not supported. @ENG_END_DOX}
|
|
85
|
+
*
|
|
86
|
+
*@retvalues
|
|
87
|
+
*@ENG_START_DOX If the state of color space Adobe RGB is successfully returned, __ADLX_OK__ is returned. <br>
|
|
88
|
+
* If the state of color space Adobe RGB is not successfully returned, an error code is returned. <br>
|
|
89
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
90
|
+
*
|
|
91
|
+
*@detaileddesc
|
|
92
|
+
*@ENG_START_DOX @details The standard gamut Adobe RGB (1998) color space or opRGB was developed by Adobe Systems, Inc. in 1998. The color space was designed to encompass most of the colors achievable on CMYK color printers, but by using RGB primary colors on a device such as a computer display. @ENG_END_DOX
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
96
|
+
*
|
|
97
|
+
*/
|
|
98
|
+
virtual ADLX_RESULT ADLX_STD_CALL IsSupportedAdobeRgbColorSpace (adlx_bool* supported) const = 0;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
*@page DOX_IADLXDisplayGamut_IsSupportedCIERgbColorSpace IsSupportedCIERgbColorSpace
|
|
102
|
+
*@ENG_START_DOX @brief Checks if the standard color space CIERgb is supported on a display. @ENG_END_DOX
|
|
103
|
+
*
|
|
104
|
+
*@syntax
|
|
105
|
+
*@codeStart
|
|
106
|
+
* @ref ADLX_RESULT IsSupportedCIERgbColorSpace (adlx_bool* supported)
|
|
107
|
+
*@codeEnd
|
|
108
|
+
*
|
|
109
|
+
*@params
|
|
110
|
+
* @paramrow{1.,[out],supported,adlx_bool*,@ENG_START_DOX The pointer to a variable where the state of color space CIERgb is returned. The variable is __true__ if the color space CIERgb is supported. The variable is __false__ if the color space CIERgb is not supported. @ENG_END_DOX}
|
|
111
|
+
*
|
|
112
|
+
*@retvalues
|
|
113
|
+
*@ENG_START_DOX If the state of color space CIERgb is successfully returned, __ADLX_OK__ is returned. <br>
|
|
114
|
+
* If the state of color space CIERgb is not successfully returned, an error code is returned. <br>
|
|
115
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
116
|
+
*
|
|
117
|
+
*@detaileddesc
|
|
118
|
+
*@ENG_START_DOX @details The standard gamut CIERgb or standard RGB (red, green, blue) color space was co-operatively created by Microsoft and Hewlett-Packard (HP) in 1996 to be used on monitors, printers, and websites. @ENG_END_DOX
|
|
119
|
+
*
|
|
120
|
+
*
|
|
121
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
122
|
+
*
|
|
123
|
+
*/
|
|
124
|
+
virtual ADLX_RESULT ADLX_STD_CALL IsSupportedCIERgbColorSpace (adlx_bool* supported) const = 0;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
*@page DOX_IADLXDisplayGamut_IsSupportedCCIR2020ColorSpace IsSupportedCCIR2020ColorSpace
|
|
128
|
+
*@ENG_START_DOX @brief Checks if the standard color space BT.2020 is supported on a display. @ENG_END_DOX
|
|
129
|
+
*
|
|
130
|
+
*@syntax
|
|
131
|
+
*@codeStart
|
|
132
|
+
* @ref ADLX_RESULT IsSupportedCCIR2020ColorSpace (adlx_bool* supported)
|
|
133
|
+
*@codeEnd
|
|
134
|
+
*
|
|
135
|
+
*@params
|
|
136
|
+
* @paramrow{1.,[out],supported,adlx_bool*,@ENG_START_DOX The pointer to a variable where the state of color space CCIR2020 is returned. The variable is __true__ if the color space CCIR2020 is supported. The variable is __false__ if the color space CCIR2020 is not supported. @ENG_END_DOX}
|
|
137
|
+
*
|
|
138
|
+
*@retvalues
|
|
139
|
+
*@ENG_START_DOX If the state of color space CCIR2020 is successfully returned, __ADLX_OK__ is returned. <br>
|
|
140
|
+
* If the state of color space CCIR2020 is not successfully returned, an error code is returned. <br>
|
|
141
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
142
|
+
*
|
|
143
|
+
*@detaileddesc
|
|
144
|
+
*@ENG_START_DOX @details ITU-R Recommendation BT.2020, is commonly known by the abbreviations Rec.2020 or BT.2020. It defines various aspects of Ultra-High-Definition Television (UHDTV) with Standard Dynamic Range (SDR) and Wide Color Gamut (WCG), including picture resolutions, frame rates with progressive scan, bit depths, color primaries, RGB, and luma-chroma color representations, chroma subsampling, and opto-electronic transfer function. @ENG_END_DOX
|
|
145
|
+
*
|
|
146
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
147
|
+
*
|
|
148
|
+
*/
|
|
149
|
+
virtual ADLX_RESULT ADLX_STD_CALL IsSupportedCCIR2020ColorSpace (adlx_bool* supported) const = 0;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
*@page DOX_IADLXDisplayGamut_IsSupportedCustomColorSpace IsSupportedCustomColorSpace
|
|
153
|
+
*@ENG_START_DOX @brief Checks if custom color space is supported on a display. @ENG_END_DOX
|
|
154
|
+
*
|
|
155
|
+
*@syntax
|
|
156
|
+
*@codeStart
|
|
157
|
+
* @ref ADLX_RESULT IsSupportedCustomColorSpace (adlx_bool* supported)
|
|
158
|
+
*@codeEnd
|
|
159
|
+
*
|
|
160
|
+
*@params
|
|
161
|
+
* @paramrow{1.,[out],supported,adlx_bool*,@ENG_START_DOX The pointer to a variable where the state of custom color space is returned. The variable is __true__ if custom color space is supported. The variable is __false__ if custom color space is not supported. @ENG_END_DOX}
|
|
162
|
+
*
|
|
163
|
+
*@retvalues
|
|
164
|
+
*@ENG_START_DOX If the state of custom color space is successfully returned, __ADLX_OK__ is returned. <br>
|
|
165
|
+
* If the state of custom color space is not successfully returned, an error code is returned. <br>
|
|
166
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
167
|
+
*
|
|
168
|
+
*@detaileddesc
|
|
169
|
+
*@ENG_START_DOX @details The custom color space can be changed as required. @ENG_END_DOX
|
|
170
|
+
*
|
|
171
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
172
|
+
*
|
|
173
|
+
*/
|
|
174
|
+
virtual ADLX_RESULT ADLX_STD_CALL IsSupportedCustomColorSpace (adlx_bool* supported) const = 0;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
*@page DOX_IADLXDisplayGamut_IsSupported5000kWhitePoint IsSupported5000kWhitePoint
|
|
178
|
+
*@ENG_START_DOX @brief Checks if the standard white point 5000k is supported on a display. @ENG_END_DOX
|
|
179
|
+
*
|
|
180
|
+
*@syntax
|
|
181
|
+
*@codeStart
|
|
182
|
+
* @ref ADLX_RESULT IsSupported5000kWhitePoint (adlx_bool* supported)
|
|
183
|
+
*@codeEnd
|
|
184
|
+
*
|
|
185
|
+
*@params
|
|
186
|
+
* @paramrow{1.,[out],supported,adlx_bool*,@ENG_START_DOX The pointer to a variable where the state of white point 5000k is returned. The variable is __true__ if the white point 5000k is supported. The variable is __false__ if the white point 5000k is not supported. @ENG_END_DOX}
|
|
187
|
+
*
|
|
188
|
+
*@retvalues
|
|
189
|
+
*@ENG_START_DOX If the state of white point 5000k is successfully returned, __ADLX_OK__ is returned. <br>
|
|
190
|
+
* If the state of white point 5000k is not successfully returned, an error code is returned. <br>
|
|
191
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
192
|
+
*
|
|
193
|
+
*
|
|
194
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
195
|
+
*
|
|
196
|
+
*/
|
|
197
|
+
virtual ADLX_RESULT ADLX_STD_CALL IsSupported5000kWhitePoint (adlx_bool* supported) const = 0;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
*@page DOX_IADLXDisplayGamut_IsSupported6500kWhitePoint IsSupported6500kWhitePoint
|
|
201
|
+
*@ENG_START_DOX @brief Checks if the standard white point 6500k is supported on a display. @ENG_END_DOX
|
|
202
|
+
*
|
|
203
|
+
*@syntax
|
|
204
|
+
*@codeStart
|
|
205
|
+
* @ref ADLX_RESULT IsSupported6500kWhitePoint (adlx_bool* supported)
|
|
206
|
+
*@codeEnd
|
|
207
|
+
*
|
|
208
|
+
*@params
|
|
209
|
+
* @paramrow{1.,[out],supported,adlx_bool*,@ENG_START_DOX The pointer to a variable where the state of white point 6500k is returned. The variable is __true__ if the white point 6500k is supported. The variable is __false__ if the white point 6500k is not supported. @ENG_END_DOX}
|
|
210
|
+
*
|
|
211
|
+
*@retvalues
|
|
212
|
+
*@ENG_START_DOX If the state of white point 6500k is successfully returned, __ADLX_OK__ is returned. <br>
|
|
213
|
+
* If the state of white point 6500k is not successfully returned, an error code is returned. <br>
|
|
214
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
215
|
+
*
|
|
216
|
+
*
|
|
217
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
218
|
+
*
|
|
219
|
+
*/
|
|
220
|
+
virtual ADLX_RESULT ADLX_STD_CALL IsSupported6500kWhitePoint (adlx_bool* supported) const = 0;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
*@page DOX_IADLXDisplayGamut_IsSupported7500kWhitePoint IsSupported7500kWhitePoint
|
|
224
|
+
*@ENG_START_DOX @brief Checks if the standard white point 7500k is supported on a display. @ENG_END_DOX
|
|
225
|
+
*
|
|
226
|
+
*@syntax
|
|
227
|
+
*@codeStart
|
|
228
|
+
* @ref ADLX_RESULT IsSupported7500kWhitePoint (adlx_bool* supported)
|
|
229
|
+
*@codeEnd
|
|
230
|
+
*
|
|
231
|
+
*@params
|
|
232
|
+
* @paramrow{1.,[out],supported,adlx_bool*,@ENG_START_DOX The pointer to a variable where the state of white point 7500k is returned. The variable is __true__ if the white point 7500k is supported. The variable is __false__ if the white point 7500k is not supported. @ENG_END_DOX}
|
|
233
|
+
*
|
|
234
|
+
*@retvalues
|
|
235
|
+
*@ENG_START_DOX If the state of white point 7500k is successfully returned, __ADLX_OK__ is returned. <br>
|
|
236
|
+
* If the state of white point 7500k is not successfully returned, an error code is returned. <br>
|
|
237
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
238
|
+
*
|
|
239
|
+
*
|
|
240
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
241
|
+
*
|
|
242
|
+
*/
|
|
243
|
+
virtual ADLX_RESULT ADLX_STD_CALL IsSupported7500kWhitePoint (adlx_bool* supported) const = 0;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
*@page DOX_IADLXDisplayGamut_IsSupported9300kWhitePoint IsSupported9300kWhitePoint
|
|
247
|
+
*@ENG_START_DOX @brief Checks if the standard white point 9300k is supported on a display. @ENG_END_DOX
|
|
248
|
+
*
|
|
249
|
+
*@syntax
|
|
250
|
+
*@codeStart
|
|
251
|
+
* @ref ADLX_RESULT IsSupported9300kWhitePoint (adlx_bool* supported)
|
|
252
|
+
*@codeEnd
|
|
253
|
+
*
|
|
254
|
+
*@params
|
|
255
|
+
* @paramrow{1.,[out],supported,adlx_bool*,@ENG_START_DOX The pointer to a variable where the state of white point 9300k is returned. The variable is __true__ if the white point 9300k is supported. The variable is __false__ if the white point 9300k is not supported. @ENG_END_DOX}
|
|
256
|
+
*
|
|
257
|
+
*@retvalues
|
|
258
|
+
*@ENG_START_DOX If the state of white point 9300k is successfully returned, __ADLX_OK__ is returned. <br>
|
|
259
|
+
* If the state of white point 9300k is not successfully returned, an error code is returned. <br>
|
|
260
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
261
|
+
*
|
|
262
|
+
*
|
|
263
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
264
|
+
*
|
|
265
|
+
*/
|
|
266
|
+
virtual ADLX_RESULT ADLX_STD_CALL IsSupported9300kWhitePoint (adlx_bool* supported) const = 0;
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
*@page DOX_IADLXDisplayGamut_IsSupportedCustomWhitePoint IsSupportedCustomWhitePoint
|
|
270
|
+
*@ENG_START_DOX @brief Checks if custom white point is supported on a display. @ENG_END_DOX
|
|
271
|
+
*
|
|
272
|
+
*@syntax
|
|
273
|
+
*@codeStart
|
|
274
|
+
* @ref ADLX_RESULT IsSupportedCustomWhitePoint (adlx_bool* supported)
|
|
275
|
+
*@codeEnd
|
|
276
|
+
*
|
|
277
|
+
*@params
|
|
278
|
+
* @paramrow{1.,[out],supported,adlx_bool*,@ENG_START_DOX The pointer to a variable where the state of custom white point is returned.The variable is __true__ if custom white point is supported. The variable is __false__ if custom white point is not supported. @ENG_END_DOX}
|
|
279
|
+
*
|
|
280
|
+
*@retvalues
|
|
281
|
+
*@ENG_START_DOX If the state of custom white point is successfully returned, __ADLX_OK__ is returned. <br>
|
|
282
|
+
* If the state of custom white point is not successfully returned, an error code is returned. <br>
|
|
283
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
284
|
+
*
|
|
285
|
+
*
|
|
286
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
287
|
+
*
|
|
288
|
+
*/
|
|
289
|
+
virtual ADLX_RESULT ADLX_STD_CALL IsSupportedCustomWhitePoint (adlx_bool* supported) const = 0;
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
*@page DOX_IADLXDisplayGamut_IsCurrent5000kWhitePoint IsCurrent5000kWhitePoint
|
|
293
|
+
*@ENG_START_DOX @brief Checks if the standard white point 5000k is used by a display. @ENG_END_DOX
|
|
294
|
+
*
|
|
295
|
+
*@syntax
|
|
296
|
+
*@codeStart
|
|
297
|
+
* @ref ADLX_RESULT IsCurrent5000kWhitePoint (adlx_bool* isSet)
|
|
298
|
+
*@codeEnd
|
|
299
|
+
*
|
|
300
|
+
*@params
|
|
301
|
+
* @paramrow{1.,[out],isSet,adlx_bool*,@ENG_START_DOX The pointer to a variable where the state of white point 5000k is returned. The variable is __true__ if white point 5000k is used. The variable is __false__ if white point 5000k is not used. @ENG_END_DOX}
|
|
302
|
+
*
|
|
303
|
+
*@retvalues
|
|
304
|
+
*@ENG_START_DOX If the state of white point 5000k is successfully returned, __ADLX_OK__ is returned. <br>
|
|
305
|
+
* If the state of white point 5000k is not successfully returned, an error code is returned. <br>
|
|
306
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
307
|
+
*
|
|
308
|
+
*
|
|
309
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
310
|
+
*
|
|
311
|
+
*/
|
|
312
|
+
virtual ADLX_RESULT ADLX_STD_CALL IsCurrent5000kWhitePoint (adlx_bool* isSet) const = 0;
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
*@page DOX_IADLXDisplayGamut_IsCurrent6500kWhitePoint IsCurrent6500kWhitePoint
|
|
316
|
+
*@ENG_START_DOX @brief Checks if the standard white point 6500k is used by a display. @ENG_END_DOX
|
|
317
|
+
*
|
|
318
|
+
*@syntax
|
|
319
|
+
*@codeStart
|
|
320
|
+
* @ref ADLX_RESULT IsCurrent6500kWhitePoint (adlx_bool* isSet)
|
|
321
|
+
*@codeEnd
|
|
322
|
+
*
|
|
323
|
+
*@params
|
|
324
|
+
* @paramrow{1.,[out],isSet,adlx_bool*,@ENG_START_DOX The pointer to a variable where the state of white point 6500k is returned.The variable is __true__ if white point 6500k is used. The variable is __false__ if white point 6500k is not used. @ENG_END_DOX}
|
|
325
|
+
*
|
|
326
|
+
*@retvalues
|
|
327
|
+
*@ENG_START_DOX If the state of white point 6500k is successfully returned, __ADLX_OK__ is returned. <br>
|
|
328
|
+
* If the state of white point 6500k is not successfully returned, an error code is returned. <br>
|
|
329
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
330
|
+
*
|
|
331
|
+
*
|
|
332
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
333
|
+
*
|
|
334
|
+
*/
|
|
335
|
+
virtual ADLX_RESULT ADLX_STD_CALL IsCurrent6500kWhitePoint (adlx_bool* isSet) const = 0;
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
*@page DOX_IADLXDisplayGamut_IsCurrent7500kWhitePoint IsCurrent7500kWhitePoint
|
|
339
|
+
*@ENG_START_DOX @brief Checks if the standard white point 7500k is used by a display. @ENG_END_DOX
|
|
340
|
+
*
|
|
341
|
+
*@syntax
|
|
342
|
+
*@codeStart
|
|
343
|
+
* @ref ADLX_RESULT IsCurrent7500kWhitePoint (adlx_bool* isSet)
|
|
344
|
+
*@codeEnd
|
|
345
|
+
*
|
|
346
|
+
*@params
|
|
347
|
+
* @paramrow{1.,[out],isSet,adlx_bool*,@ENG_START_DOX The pointer to a variable where the state of white point 7500k is returned. The variable is __true__ if white point 7500k is used. The variable is __false__ if white point 7500k is not used. @ENG_END_DOX}
|
|
348
|
+
*
|
|
349
|
+
*@retvalues
|
|
350
|
+
*@ENG_START_DOX If the state of white point 7500k is successfully returned, __ADLX_OK__ is returned.<br>
|
|
351
|
+
* If the state of white point 7500k is not successfully returned, an error code is returned.<br>
|
|
352
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
353
|
+
*
|
|
354
|
+
*
|
|
355
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
356
|
+
*
|
|
357
|
+
*/
|
|
358
|
+
virtual ADLX_RESULT ADLX_STD_CALL IsCurrent7500kWhitePoint (adlx_bool* isSet) const = 0;
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
*@page DOX_IADLXDisplayGamut_IsCurrent9300kWhitePoint IsCurrent9300kWhitePoint
|
|
362
|
+
*@ENG_START_DOX @brief Checks if the standard white point 9300k is used by a display. @ENG_END_DOX
|
|
363
|
+
*
|
|
364
|
+
*@syntax
|
|
365
|
+
*@codeStart
|
|
366
|
+
* @ref ADLX_RESULT IsCurrent9300kWhitePoint (adlx_bool* isSet)
|
|
367
|
+
*@codeEnd
|
|
368
|
+
*
|
|
369
|
+
*@params
|
|
370
|
+
* @paramrow{1.,[out],isSet,adlx_bool*,@ENG_START_DOX The pointer to a variable where the state of white point 9300k is returned. The variable is __true__ if white point 9300k is used. The variable is __false__ if white point 9300k is not used. @ENG_END_DOX}
|
|
371
|
+
*
|
|
372
|
+
*@retvalues
|
|
373
|
+
*@ENG_START_DOX If the state of white point 9300k is successfully returned, __ADLX_OK__ is returned.<br>
|
|
374
|
+
* If the state of white point 9300k is not successfully returned, an error code is returned.<br>
|
|
375
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
376
|
+
*
|
|
377
|
+
*
|
|
378
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
379
|
+
*
|
|
380
|
+
*/
|
|
381
|
+
virtual ADLX_RESULT ADLX_STD_CALL IsCurrent9300kWhitePoint (adlx_bool* isSet) const = 0;
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
*@page DOX_IADLXDisplayGamut_IsCurrentCustomWhitePoint IsCurrentCustomWhitePoint
|
|
385
|
+
*@ENG_START_DOX @brief Checks if a custom white point is used by a display. @ENG_END_DOX
|
|
386
|
+
*
|
|
387
|
+
*@syntax
|
|
388
|
+
*@codeStart
|
|
389
|
+
* @ref ADLX_RESULT IsCurrentCustomWhitePoint (adlx_bool* isSet)
|
|
390
|
+
*@codeEnd
|
|
391
|
+
*
|
|
392
|
+
*@params
|
|
393
|
+
* @paramrow{1.,[out],isSet,adlx_bool*,@ENG_START_DOX The pointer to a variable where the state of custom white point is returned. The variable is __true__ if a custom white point is used. The variable is __false__ if a custom white point is not used. @ENG_END_DOX}
|
|
394
|
+
*
|
|
395
|
+
*@retvalues
|
|
396
|
+
*@ENG_START_DOX If the state of custom white point is successfully returned, __ADLX_OK__ is returned.<br>
|
|
397
|
+
* If the state of custom white point is not successfully returned, an error code is returned.<br>
|
|
398
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
399
|
+
*
|
|
400
|
+
*
|
|
401
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
402
|
+
*
|
|
403
|
+
*/
|
|
404
|
+
virtual ADLX_RESULT ADLX_STD_CALL IsCurrentCustomWhitePoint (adlx_bool* isSet) const = 0;
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
*@page DOX_IADLXDisplayGamut_GetWhitePoint GetWhitePoint
|
|
408
|
+
*@ENG_START_DOX @brief Gets the white point coordinates (x, y) of a display. @ENG_END_DOX
|
|
409
|
+
*
|
|
410
|
+
*@syntax
|
|
411
|
+
*@codeStart
|
|
412
|
+
* @ref ADLX_RESULT GetWhitePoint (@ref ADLX_Point* point)
|
|
413
|
+
*@codeEnd
|
|
414
|
+
*
|
|
415
|
+
* @params
|
|
416
|
+
* @paramrow{1.,[out] ,point,@ref ADLX_Point* ,@ENG_START_DOX The pointer to a variable where the white point coordinates are returned. @ENG_END_DOX}
|
|
417
|
+
*
|
|
418
|
+
*@retvalues
|
|
419
|
+
*@ENG_START_DOX If the white point coordinates are successfully returned, __ADLX_OK__ is returned.<br>
|
|
420
|
+
* If the white point coordinates are not successfully returned, an error code is returned.<br>
|
|
421
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
422
|
+
*
|
|
423
|
+
*
|
|
424
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
425
|
+
*
|
|
426
|
+
*/
|
|
427
|
+
virtual ADLX_RESULT ADLX_STD_CALL GetWhitePoint (ADLX_Point* point) const = 0;
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
*@page DOX_IADLXDisplayGamut_IsCurrentCCIR709ColorSpace IsCurrentCCIR709ColorSpace
|
|
431
|
+
*@ENG_START_DOX @brief Checks if the standard color space CCIR709 is used by a display. @ENG_END_DOX
|
|
432
|
+
*
|
|
433
|
+
*@syntax
|
|
434
|
+
*@codeStart
|
|
435
|
+
* @ref ADLX_RESULT IsCurrentCCIR709ColorSpace (adlx_bool* isSet)
|
|
436
|
+
*@codeEnd
|
|
437
|
+
*
|
|
438
|
+
*@params
|
|
439
|
+
* @paramrow{1.,[out],isSet,adlx_bool*,@ENG_START_DOX The pointer to a variable where the state of color space CCIR709 is returned. The variable is __true__ if color space CCIR709 is used. The variable is __false__ if color space CCIR709 is not used. @ENG_END_DOX}
|
|
440
|
+
*
|
|
441
|
+
*@retvalues
|
|
442
|
+
*@ENG_START_DOX If the state of color space CCIR709 is successfully returned, __ADLX_OK__ is returned.<br>
|
|
443
|
+
* If the state of color space CCIR709 is not successfully returned, an error code is returned.<br>
|
|
444
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
445
|
+
*
|
|
446
|
+
*
|
|
447
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
448
|
+
*
|
|
449
|
+
*/
|
|
450
|
+
virtual ADLX_RESULT ADLX_STD_CALL IsCurrentCCIR709ColorSpace (adlx_bool* isSet) const = 0;
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
*@page DOX_IADLXDisplayGamut_IsCurrentCCIR601ColorSpace IsCurrentCCIR601ColorSpace
|
|
454
|
+
*@ENG_START_DOX @brief Checks if the standard color space CCIR601 is used by a display. @ENG_END_DOX
|
|
455
|
+
*
|
|
456
|
+
*@syntax
|
|
457
|
+
*@codeStart
|
|
458
|
+
* @ref ADLX_RESULT IsCurrentCCIR601ColorSpace (adlx_bool* isSet)
|
|
459
|
+
*@codeEnd
|
|
460
|
+
*
|
|
461
|
+
*@params
|
|
462
|
+
* @paramrow{1.,[out],isSet,adlx_bool*,@ENG_START_DOX The pointer to a variable where the state of color space CCIR601 is returned. The variable is __true__ if color space CCIR601 is used. The variable is __false__ if color space CCIR601 is not used. @ENG_END_DOX}
|
|
463
|
+
*
|
|
464
|
+
*@retvalues
|
|
465
|
+
*@ENG_START_DOX If the state of color space CCIR601 is successfully returned, __ADLX_OK__ is returned.<br>
|
|
466
|
+
* If the state of color space CCIR601 is not successfully returned, an error code is returned.<br>
|
|
467
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
468
|
+
*
|
|
469
|
+
*
|
|
470
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
471
|
+
*
|
|
472
|
+
*/
|
|
473
|
+
virtual ADLX_RESULT ADLX_STD_CALL IsCurrentCCIR601ColorSpace (adlx_bool* isSet) const = 0;
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
*@page DOX_IADLXDisplayGamut_IsCurrentAdobeRgbColorSpace IsCurrentAdobeRgbColorSpace
|
|
477
|
+
*@ENG_START_DOX @brief Checks if the standard color space Adobe RGB is used by a display. @ENG_END_DOX
|
|
478
|
+
*
|
|
479
|
+
*@syntax
|
|
480
|
+
*@codeStart
|
|
481
|
+
* @ref ADLX_RESULT IsCurrentAdobeRgbColorSpace (adlx_bool* isSet)
|
|
482
|
+
*@codeEnd
|
|
483
|
+
*
|
|
484
|
+
*@params
|
|
485
|
+
* @paramrow{1.,[out],isSet,adlx_bool*,@ENG_START_DOX The pointer to a variable where the state of color space Adobe RGB is returned. The variable is __true__ if color space Adobe RGB is used. The variable is __false__ if color space Adobe RGB is not used. @ENG_END_DOX}
|
|
486
|
+
*
|
|
487
|
+
*@retvalues
|
|
488
|
+
*@ENG_START_DOX If the state of color space Adobe RGB is successfully returned, __ADLX_OK__ is returned.<br>
|
|
489
|
+
* If the state of color space Adobe RGB is not successfully returned, an error code is returned.<br>
|
|
490
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
491
|
+
*
|
|
492
|
+
*
|
|
493
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
494
|
+
*
|
|
495
|
+
*/
|
|
496
|
+
virtual ADLX_RESULT ADLX_STD_CALL IsCurrentAdobeRgbColorSpace (adlx_bool* isSet) const = 0;
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
*@page DOX_IADLXDisplayGamut_IsCurrentCIERgbColorSpace IsCurrentCIERgbColorSpace
|
|
500
|
+
*@ENG_START_DOX @brief Checks if the standard color space sRGB is used by a display. @ENG_END_DOX
|
|
501
|
+
*
|
|
502
|
+
*@syntax
|
|
503
|
+
*@codeStart
|
|
504
|
+
* @ref ADLX_RESULT IsCurrentCIERgbColorSpace (adlx_bool* isSet)
|
|
505
|
+
*@codeEnd
|
|
506
|
+
*
|
|
507
|
+
*@params
|
|
508
|
+
* @paramrow{1.,[out],isSet,adlx_bool*,@ENG_START_DOX The pointer to a variable where the state of color space sRGB is returned. The variable is __true__ if color space sRGB is used. The variable is __false__ if color space sRGB is not used. @ENG_END_DOX}
|
|
509
|
+
*
|
|
510
|
+
*@retvalues
|
|
511
|
+
*@ENG_START_DOX If the state of color space sRGB is successfully returned, __ADLX_OK__ is returned. <br>
|
|
512
|
+
* If the state of color space sRGB is not successfully returned, an error code is returned. <br>
|
|
513
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
514
|
+
*
|
|
515
|
+
*
|
|
516
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
517
|
+
*
|
|
518
|
+
*/
|
|
519
|
+
virtual ADLX_RESULT ADLX_STD_CALL IsCurrentCIERgbColorSpace (adlx_bool* isSet) const = 0;
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
*@page DOX_IADLXDisplayGamut_IsCurrentCCIR2020ColorSpace IsCurrentCCIR2020ColorSpace
|
|
523
|
+
*@ENG_START_DOX @brief Checks if the standard color space CCIR2020 is used by a display. @ENG_END_DOX
|
|
524
|
+
*
|
|
525
|
+
*@syntax
|
|
526
|
+
*@codeStart
|
|
527
|
+
* @ref ADLX_RESULT IsCurrentCCIR2020ColorSpace (adlx_bool* isSet)
|
|
528
|
+
*@codeEnd
|
|
529
|
+
*
|
|
530
|
+
*@params
|
|
531
|
+
* @paramrow{1.,[out],isSet,adlx_bool*,@ENG_START_DOX The pointer to a variable where the state of color space CCIR709 is returned. The variable is __true__ if color space CCIR2020 is used. The variable is __false__ if color space CCIR2020 is not used. @ENG_END_DOX}
|
|
532
|
+
*
|
|
533
|
+
*@retvalues
|
|
534
|
+
*@ENG_START_DOX If the state of color space CCIR709 is successfully returned, __ADLX_OK__ is returned. <br>
|
|
535
|
+
* If the state of color space CCIR709 is not successfully returned, an error code is returned. <br>
|
|
536
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
537
|
+
*
|
|
538
|
+
*
|
|
539
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
540
|
+
*
|
|
541
|
+
*/
|
|
542
|
+
virtual ADLX_RESULT ADLX_STD_CALL IsCurrentCCIR2020ColorSpace (adlx_bool* isSet) const = 0;
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
*@page DOX_IADLXDisplayGamut_IsCurrentCustomColorSpace IsCurrentCustomColorSpace
|
|
546
|
+
*@ENG_START_DOX @brief Checks if a custom color space is used by a display. @ENG_END_DOX
|
|
547
|
+
*
|
|
548
|
+
*@syntax
|
|
549
|
+
*@codeStart
|
|
550
|
+
* @ref ADLX_RESULT IsCurrentCustomColorSpace (adlx_bool* isSet)
|
|
551
|
+
*@codeEnd
|
|
552
|
+
*
|
|
553
|
+
*@params
|
|
554
|
+
* @paramrow{1.,[out],isSet,adlx_bool*,@ENG_START_DOX The pointer to a variable where the state of custom color space is returned. The variable is __true__ if a custom color space is used. The variable is __false__ if a custom color space is not used. @ENG_END_DOX}
|
|
555
|
+
*
|
|
556
|
+
*@retvalues
|
|
557
|
+
*@ENG_START_DOX If the state of custom color space is successfully returned, __ADLX_OK__ is returned.<br>
|
|
558
|
+
* If the state of custom color space is not successfully returned, an error code is returned. <br>
|
|
559
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
560
|
+
*
|
|
561
|
+
*@detaileddesc
|
|
562
|
+
*@ENG_START_DOX @details For more information on color coordinates, refer to @ref ADLX_GamutColorSpace. @ENG_END_DOX
|
|
563
|
+
*
|
|
564
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
565
|
+
*
|
|
566
|
+
*/
|
|
567
|
+
virtual ADLX_RESULT ADLX_STD_CALL IsCurrentCustomColorSpace (adlx_bool* isSet) const = 0;
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
*@page DOX_IADLXDisplayGamut_GetGamutColorSpace GetGamutColorSpace
|
|
571
|
+
*@ENG_START_DOX @brief Gets the color space coordinates of a display. @ENG_END_DOX
|
|
572
|
+
*
|
|
573
|
+
*@syntax
|
|
574
|
+
*@codeStart
|
|
575
|
+
* @ref ADLX_RESULT GetGamutColorSpace (@ref ADLX_GamutColorSpace* gamutColorSpace)
|
|
576
|
+
*@codeEnd
|
|
577
|
+
*
|
|
578
|
+
* @params
|
|
579
|
+
* @paramrow{1.,[out] ,gamutColorSpace,@ref ADLX_GamutColorSpace* ,@ENG_START_DOX The pointer to a variable where the gamut color space are returned. @ENG_END_DOX}
|
|
580
|
+
*
|
|
581
|
+
*@retvalues
|
|
582
|
+
*@ENG_START_DOX If the color space coordinates are successfully returned, __ADLX_OK__ is returned.<br>
|
|
583
|
+
* If the color space coordinates are not successfully returned, an error code is returned.<br>
|
|
584
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
585
|
+
*
|
|
586
|
+
*@detaileddesc
|
|
587
|
+
*@ENG_START_DOX @details The gamut color space coordinates consist of (y, x) chromaticity coordinates for the red, green, and blue channels. @ENG_END_DOX
|
|
588
|
+
*
|
|
589
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
590
|
+
*
|
|
591
|
+
*/
|
|
592
|
+
virtual ADLX_RESULT ADLX_STD_CALL GetGamutColorSpace (ADLX_GamutColorSpace* gamutColorSpace) const = 0;
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
*@page DOX_IADLXDisplayGamut_SetGamut_PW_PG SetGamut
|
|
596
|
+
*@ENG_START_DOX @brief Sets a predefined white point for a predefined color space on a display. @ENG_END_DOX
|
|
597
|
+
*
|
|
598
|
+
*@syntax
|
|
599
|
+
*@codeStart
|
|
600
|
+
* @ref ADLX_RESULT SetGamut (@ref ADLX_WHITE_POINT predefinedWhitePoint, @ref ADLX_GAMUT_SPACE predefinedGamutSpace)
|
|
601
|
+
*@codeEnd
|
|
602
|
+
*
|
|
603
|
+
* @params
|
|
604
|
+
* @paramrow{1.,[in] ,predefinedWhitePoint,@ref ADLX_WHITE_POINT ,@ENG_START_DOX The predefined white point. @ENG_END_DOX}
|
|
605
|
+
* @paramrow{2.,[in] ,predefinedGamutSpace,@ref ADLX_GAMUT_SPACE ,@ENG_START_DOX The predefined color space. @ENG_END_DOX}
|
|
606
|
+
*
|
|
607
|
+
*@retvalues
|
|
608
|
+
*@ENG_START_DOX If the gamut settings are successfully set, __ADLX_OK__ is returned.<br>
|
|
609
|
+
* If the gamut settings are not successfully set, an error code is returned.<br>
|
|
610
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
611
|
+
*
|
|
612
|
+
*@detaileddesc
|
|
613
|
+
*@ENG_START_DOX @details For more information on white point coordinates, Refer to @ref ADLX_Point. <br>
|
|
614
|
+
* For more information on color space coordinates, refer to @ref ADLX_GamutColorSpace. @ENG_END_DOX
|
|
615
|
+
*
|
|
616
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
617
|
+
*
|
|
618
|
+
*/
|
|
619
|
+
virtual ADLX_RESULT ADLX_STD_CALL SetGamut (ADLX_WHITE_POINT predefinedWhitePoint, ADLX_GAMUT_SPACE predefinedGamutSpace) = 0;
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
*@page DOX_IADLXDisplayGamut_SetGamut_CW_PG SetGamut
|
|
623
|
+
*@ENG_START_DOX @brief Sets a custom white point for a predefined color space on a display. @ENG_END_DOX
|
|
624
|
+
*
|
|
625
|
+
*@syntax
|
|
626
|
+
*@codeStart
|
|
627
|
+
* @ref ADLX_RESULT SetGamut (@ref ADLX_RGB customWhitePoint, @ref ADLX_GAMUT_SPACE predefinedGamutSpace)
|
|
628
|
+
*@codeEnd
|
|
629
|
+
*
|
|
630
|
+
* @params
|
|
631
|
+
* @paramrow{1.,[in] ,customWhitePoint,@ref ADLX_RGB ,@ENG_START_DOX The custom white point. @ENG_END_DOX}
|
|
632
|
+
* @paramrow{2.,[in] ,predefinedGamutSpace,@ref ADLX_GAMUT_SPACE ,@ENG_START_DOX The predefined color space. @ENG_END_DOX}
|
|
633
|
+
*
|
|
634
|
+
*@retvalues
|
|
635
|
+
*@ENG_START_DOX If the gamut settings are successfully set, __ADLX_OK__ is returned.<br>
|
|
636
|
+
* If the gamut settings are not successfully set, an error code is returned. <br>
|
|
637
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
638
|
+
*
|
|
639
|
+
*@detaileddesc
|
|
640
|
+
*@ENG_START_DOX @details For more information on white point coordinates, refer to @ref ADLX_Point. <br>
|
|
641
|
+
* For more information on color space coordinates, refer to @ref ADLX_GamutColorSpace. @ENG_END_DOX
|
|
642
|
+
*
|
|
643
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
644
|
+
*
|
|
645
|
+
*/
|
|
646
|
+
virtual ADLX_RESULT ADLX_STD_CALL SetGamut (ADLX_RGB customWhitePoint, ADLX_GAMUT_SPACE predefinedGamutSpace) = 0;
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
*@page DOX_IADLXDisplayGamut_SetGamut_PW_CG SetGamut
|
|
650
|
+
*@ENG_START_DOX @brief Sets a predefined white point for a custom color space on a display. @ENG_END_DOX
|
|
651
|
+
*
|
|
652
|
+
*@syntax
|
|
653
|
+
*@codeStart
|
|
654
|
+
* @ref ADLX_RESULT SetGamut (@ref ADLX_WHITE_POINT predefinedWhitePoint, @ref ADLX_GamutColorSpace customGamut)
|
|
655
|
+
*@codeEnd
|
|
656
|
+
*
|
|
657
|
+
* @params
|
|
658
|
+
* @paramrow{1.,[in] ,predefinedWhitePoint,@ref ADLX_WHITE_POINT ,@ENG_START_DOX The predefined white point. @ENG_END_DOX}
|
|
659
|
+
* @paramrow{2.,[in] ,customGamut,@ref ADLX_GamutColorSpace ,@ENG_START_DOX The custom color space. @ENG_END_DOX}
|
|
660
|
+
*
|
|
661
|
+
*@retvalues
|
|
662
|
+
*@ENG_START_DOX If the gamut settings are successfully set, __ADLX_OK__ is returned. <br>
|
|
663
|
+
* If the gamut settings are not successfully set, an error code is returned. <br>
|
|
664
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
665
|
+
*
|
|
666
|
+
*@detaileddesc
|
|
667
|
+
*@ENG_START_DOX @details For more information on white point coordinates, refer to @ref ADLX_Point. <br>
|
|
668
|
+
* For more information on color space coordinates, refer to @ref ADLX_GamutColorSpace. @ENG_END_DOX
|
|
669
|
+
*
|
|
670
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
671
|
+
*
|
|
672
|
+
*/
|
|
673
|
+
virtual ADLX_RESULT ADLX_STD_CALL SetGamut (ADLX_WHITE_POINT predefinedWhitePoint, ADLX_GamutColorSpace customGamut) = 0;
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
*@page DOX_IADLXDisplayGamut_SetGamut_CW_CG SetGamut
|
|
677
|
+
*@ENG_START_DOX @brief Sets a custom white point, for a custom color space on a display. @ENG_END_DOX
|
|
678
|
+
*
|
|
679
|
+
*@syntax
|
|
680
|
+
*@codeStart
|
|
681
|
+
* @ref ADLX_RESULT SetGamut (@ref ADLX_RGB customWhitePoint, @ref ADLX_GamutColorSpace customGamut)
|
|
682
|
+
*@codeEnd
|
|
683
|
+
*
|
|
684
|
+
* @params
|
|
685
|
+
* @paramrow{1.,[in] ,customWhitePoint,@ref ADLX_RGB ,@ENG_START_DOX The custom white point. @ENG_END_DOX}
|
|
686
|
+
* @paramrow{2.,[in] ,customGamut,@ref ADLX_GamutColorSpace ,@ENG_START_DOX The custom color space. @ENG_END_DOX}
|
|
687
|
+
*
|
|
688
|
+
* @retvalues
|
|
689
|
+
*@ENG_START_DOX If the gamut settings are successfully set, __ADLX_OK__ is returned. <br>
|
|
690
|
+
* If the gamut settings are not successfully set, an error code is returned. <br>
|
|
691
|
+
* Refer to @ref ADLX_RESULT for success codes and error codes. @ENG_END_DOX
|
|
692
|
+
*
|
|
693
|
+
*@detaileddesc
|
|
694
|
+
*@ENG_START_DOX @details For more information on white point coordinates, Refer to @ref ADLX_Point. <br>
|
|
695
|
+
* For more information on color space coordinates, refer to @ref ADLX_GamutColorSpace. @ENG_END_DOX
|
|
696
|
+
*
|
|
697
|
+
*@copydoc IADLXDisplayGamut_REQ_TABLE
|
|
698
|
+
*
|
|
699
|
+
*/
|
|
700
|
+
virtual ADLX_RESULT ADLX_STD_CALL SetGamut (ADLX_RGB customWhitePoint, ADLX_GamutColorSpace customGamut) = 0;
|
|
701
|
+
}; //IADLXDisplayGamut
|
|
702
|
+
//----------------------------------------------------------------------------------------------
|
|
703
|
+
typedef IADLXInterfacePtr_T<IADLXDisplayGamut> IADLXDisplayGamutPtr;
|
|
704
|
+
}
|
|
705
|
+
#else
|
|
706
|
+
|
|
707
|
+
ADLX_DECLARE_IID (IADLXDisplayGamut, L"IADLXDisplayGamut")
|
|
708
|
+
typedef struct IADLXDisplayGamut IADLXDisplayGamut;
|
|
709
|
+
|
|
710
|
+
typedef struct IADLXDisplayGamutVtbl
|
|
711
|
+
{
|
|
712
|
+
//IADLXInterface
|
|
713
|
+
adlx_long (ADLX_STD_CALL* Acquire)(IADLXDisplayGamut* pThis);
|
|
714
|
+
adlx_long (ADLX_STD_CALL* Release)(IADLXDisplayGamut* pThis);
|
|
715
|
+
ADLX_RESULT (ADLX_STD_CALL* QueryInterface)(IADLXDisplayGamut* pThis, const wchar_t* interfaceId, void** ppInterface);
|
|
716
|
+
|
|
717
|
+
//IADLXDisplayGamut
|
|
718
|
+
ADLX_RESULT (ADLX_STD_CALL* IsSupportedCCIR709ColorSpace)(IADLXDisplayGamut* pThis, adlx_bool* supported);
|
|
719
|
+
ADLX_RESULT (ADLX_STD_CALL* IsSupportedCCIR601ColorSpace)(IADLXDisplayGamut* pThis, adlx_bool* supported);
|
|
720
|
+
ADLX_RESULT (ADLX_STD_CALL* IsSupportedAdobeRgbColorSpace)(IADLXDisplayGamut* pThis, adlx_bool* supported);
|
|
721
|
+
ADLX_RESULT (ADLX_STD_CALL* IsSupportedCIERgbColorSpace)(IADLXDisplayGamut* pThis, adlx_bool* supported);
|
|
722
|
+
ADLX_RESULT (ADLX_STD_CALL* IsSupportedCCIR2020ColorSpace)(IADLXDisplayGamut* pThis, adlx_bool* supported);
|
|
723
|
+
ADLX_RESULT (ADLX_STD_CALL* IsSupportedCustomColorSpace)(IADLXDisplayGamut* pThis, adlx_bool* supported);
|
|
724
|
+
|
|
725
|
+
ADLX_RESULT (ADLX_STD_CALL* IsSupported5000kWhitePoint)(IADLXDisplayGamut* pThis, adlx_bool* supported);
|
|
726
|
+
ADLX_RESULT (ADLX_STD_CALL* IsSupported6500kWhitePoint)(IADLXDisplayGamut* pThis, adlx_bool* supported);
|
|
727
|
+
ADLX_RESULT (ADLX_STD_CALL* IsSupported7500kWhitePoint)(IADLXDisplayGamut* pThis, adlx_bool* supported);
|
|
728
|
+
ADLX_RESULT (ADLX_STD_CALL* IsSupported9300kWhitePoint)(IADLXDisplayGamut* pThis, adlx_bool* supported);
|
|
729
|
+
ADLX_RESULT (ADLX_STD_CALL* IsSupportedCustomWhitePoint)(IADLXDisplayGamut* pThis, adlx_bool* supported);
|
|
730
|
+
|
|
731
|
+
ADLX_RESULT (ADLX_STD_CALL* IsCurrent5000kWhitePoint)(IADLXDisplayGamut* pThis, adlx_bool* isSet);
|
|
732
|
+
ADLX_RESULT (ADLX_STD_CALL* IsCurrent6500kWhitePoint)(IADLXDisplayGamut* pThis, adlx_bool* isSet);
|
|
733
|
+
ADLX_RESULT (ADLX_STD_CALL* IsCurrent7500kWhitePoint)(IADLXDisplayGamut* pThis, adlx_bool* isSet);
|
|
734
|
+
ADLX_RESULT (ADLX_STD_CALL* IsCurrent9300kWhitePoint)(IADLXDisplayGamut* pThis, adlx_bool* isSet);
|
|
735
|
+
ADLX_RESULT (ADLX_STD_CALL* IsCurrentCustomWhitePoint)(IADLXDisplayGamut* pThis, adlx_bool* isSet);
|
|
736
|
+
ADLX_RESULT (ADLX_STD_CALL* GetWhitePoint)(IADLXDisplayGamut* pThis, ADLX_Point* point);
|
|
737
|
+
|
|
738
|
+
ADLX_RESULT (ADLX_STD_CALL* IsCurrentCCIR709ColorSpace)(IADLXDisplayGamut* pThis, adlx_bool* isSet);
|
|
739
|
+
ADLX_RESULT (ADLX_STD_CALL* IsCurrentCCIR601ColorSpace)(IADLXDisplayGamut* pThis, adlx_bool* isSet);
|
|
740
|
+
ADLX_RESULT (ADLX_STD_CALL* IsCurrentAdobeRgbColorSpace)(IADLXDisplayGamut* pThis, adlx_bool* isSet);
|
|
741
|
+
ADLX_RESULT (ADLX_STD_CALL* IsCurrentCIERgbColorSpace)(IADLXDisplayGamut* pThis, adlx_bool* isSet);
|
|
742
|
+
ADLX_RESULT (ADLX_STD_CALL* IsCurrentCCIR2020ColorSpace)(IADLXDisplayGamut* pThis, adlx_bool* isSet);
|
|
743
|
+
ADLX_RESULT (ADLX_STD_CALL* IsCurrentCustomColorSpace)(IADLXDisplayGamut* pThis, adlx_bool* isSet);
|
|
744
|
+
ADLX_RESULT (ADLX_STD_CALL* GetGamutColorSpace)(IADLXDisplayGamut* pThis, ADLX_GamutColorSpace* gamutColorSpace);
|
|
745
|
+
|
|
746
|
+
ADLX_RESULT (ADLX_STD_CALL* SetGamut_CW_CG)(IADLXDisplayGamut* pThis, ADLX_RGB customWhitePoint, ADLX_GamutColorSpace customGamut);
|
|
747
|
+
ADLX_RESULT (ADLX_STD_CALL* SetGamut_PW_CG)(IADLXDisplayGamut* pThis, ADLX_WHITE_POINT predefinedWhitePoint, ADLX_GamutColorSpace customGamut);
|
|
748
|
+
ADLX_RESULT (ADLX_STD_CALL* SetGamut_CW_PG)(IADLXDisplayGamut* pThis, ADLX_RGB customWhitePoint, ADLX_GAMUT_SPACE predefinedGamutSpace);
|
|
749
|
+
ADLX_RESULT (ADLX_STD_CALL* SetGamut_PW_PG)(IADLXDisplayGamut* pThis, ADLX_WHITE_POINT predefinedWhitePoint, ADLX_GAMUT_SPACE predefinedGamutSpace);
|
|
750
|
+
|
|
751
|
+
} IADLXDisplayGamutVtbl;
|
|
752
|
+
|
|
753
|
+
struct IADLXDisplayGamut
|
|
754
|
+
{
|
|
755
|
+
const IADLXDisplayGamutVtbl* pVtbl;
|
|
756
|
+
};
|
|
757
|
+
#endif
|
|
758
|
+
#pragma endregion IADLXDisplayGamut interface
|
|
759
|
+
|
|
760
|
+
#endif//ADLX_IDISPLAYGAMUT_H
|