Skip to content

Commit d2b8200

Browse files
author
ericjunwei
committed
ADLX SDK v1.0
1 parent fa1fbbb commit d2b8200

2,392 files changed

Lines changed: 139180 additions & 9980 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

SDK/ADLXHelper/Windows/C/ADLXHelper.h

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,10 @@
2323
* N/A
2424
*
2525
* @retvalues
26-
* @ENG_START_DOX
2726
* If __ADLXHelper_Initialize__ is successfully executed, __ADLX_OK__ is returned.<br>
2827
* If __ADLXHelper_Initialize__ is not successfully executed, an error code is returned.<br>
2928
* If ADLX was previously successfully initialized with any of the initialization functions, __ADLX_ALREADY_INITIALIZED__ is returned.<br>
3029
* Refer to @ref ADLX_RESULT for success codes and error codes.
31-
* @ENG_END_DOX
3230
*
3331
* @detaileddesc
3432
* @ENG_START_DOX
@@ -55,12 +53,10 @@ ADLX_RESULT ADLXHelper_Initialize();
5553
* N/A
5654
*
5755
* @retvalues
58-
* @ENG_START_DOX
5956
* If __ADLXHelper_InitializeWithIncompatibleDriver__ is successfully executed, __ADLX_OK__ is returned.<br>
6057
* If __ADLXHelper_InitializeWithIncompatibleDriver__ is not successfully executed, an error code is returned.<br>
6158
* If ADLX was previously successfully initialized with any of the initialization functions, __ADLX_ALREADY_INITIALIZED__ is returned.<br>
6259
* Refer to @ref ADLX_RESULT for success codes and error codes.<br>
63-
* @ENG_END_DOX
6460
*
6561
* @detaileddesc
6662
* @ENG_START_DOX
@@ -88,12 +84,10 @@ ADLX_RESULT ADLXHelper_InitializeWithIncompatibleDriver();
8884
* @paramrow{2.,[in],adlMainMemoryFree,@ref ADLX_ADL_Main_Memory_Free,@ENG_START_DOX The callback handler of the memory deallocation function. @ENG_END_DOX}
8985
*
9086
* @retvalues
91-
* @ENG_START_DOX
9287
* If __ADLXHelper_InitializeWithCallerAdl__ is successfully executed, __ADLX_OK__ is returned.<br>
9388
* If __ADLXHelper_InitializeWithCallerAdl__ is not successfully executed, an error code is returned.<br>
9489
* If ADLX was previously successfully initialized with any of the Initialize versions, __ADLX_ALREADY_INITIALIZED__ is returned.<br>
9590
* Refer to @ref ADLX_RESULT for success codes and error codes.<br>
96-
* @ENG_END_DOX
9791
*
9892
* @detaileddesc
9993
* @ENG_START_DOX
@@ -122,11 +116,9 @@ ADLX_RESULT ADLXHelper_InitializeWithCallerAdl (adlx_handle adlConte
122116
* N/A
123117
*
124118
* @retvalues
125-
* @ENG_START_DOX
126119
* If __ADLXHelper_Terminate__ is successfully executed, __ADLX_OK__ is returned.<br>
127120
* If __ADLXHelper_Terminate__ is not successfully executed, an error code is returned.<br>
128121
* Refer to @ref ADLX_RESULT for success codes and error codes.
129-
* @ENG_END_DOX
130122
*
131123
* @detaileddesc
132124
* @ENG_START_DOX
@@ -154,11 +146,8 @@ ADLX_RESULT ADLXHelper_Terminate();
154146
* N/A
155147
*
156148
* @retvalues
157-
* @ENG_START_DOX
158149
* If ADLX was successfully initialized before this function call, the @ref DOX_IADLXSystem interface is returned.<br>
159150
* If ADLX was not successfully initialized, __nullptr__ is returned.
160-
* @ENG_END_DOX
161-
*
162151
* @requirements
163152
* @DetailsTable{#include "ADLXHelper/Windows/C/ADLXHelper.h", @ADLX_First_Ver}
164153
*/
@@ -178,13 +167,11 @@ IADLXSystem* ADLXHelper_GetSystemServices ();
178167
* N/A
179168
*
180169
* @retvalues
181-
* @ENG_START_DOX
182170
* If ADLX was successfully initialized with ADL, a valid pointer of the @ref DOX_IADLMapping interface is returned.<br>
183171
* If ADLX was initialized under any of the following circumstances, __nullptr__ is returned.<br>
184172
* - ADLX initialization was with other initialization methods.<br>
185173
* - ADLX initialization was failed.<br>
186174
* - ADLX initialization was not called.<br>
187-
* @ENG_END_DOX
188175
*
189176
* @detaileddesc
190177
* @ENG_START_DOX
@@ -210,10 +197,7 @@ IADLMapping* ADLXHelper_GetAdlMapping();
210197
* N/A
211198
*
212199
* @retvalues
213-
* @ENG_START_DOX
214200
* The full version of ADLX.
215-
* @ENG_END_DOX
216-
*
217201
* @requirements
218202
* @DetailsTable{#include "ADLXHelper/Windows/C/ADLXHelper.h", @ADLX_First_Ver}
219203
*/
@@ -233,10 +217,7 @@ adlx_uint64 ADLXHelper_QueryFullVersion();
233217
* N/A
234218
*
235219
* @retvalues
236-
* @ENG_START_DOX
237220
* The version of ADLX.
238-
* @ENG_END_DOX
239-
*
240221
* @requirements
241222
* @DetailsTable{#include "ADLXHelper/Windows/C/ADLXHelper.h", @ADLX_First_Ver}
242223
*/

SDK/ADLXHelper/Windows/Cpp/ADLXHelper.h

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ class ADLXHelper
2727
* N/A
2828
*
2929
* @retvalues
30-
* @ENG_START_DOX
3130
* An ADLXHelper object.
32-
* @ENG_END_DOX
33-
*
3431
* @requirements
3532
* @DetailsTable{#include "ADLXHelper/Windows/Cpp/ADLXHelper.h", @ADLX_First_Ver}
3633
*/
@@ -56,7 +53,6 @@ class ADLXHelper
5653
* @ENG_START_DOX
5754
* @details This method calls @ref page_cppHelpTerminate.
5855
* @ENG_END_DOX
59-
*
6056
* @requirements
6157
* @DetailsTable{#include "ADLXHelper/Windows/Cpp/ADLXHelper.h", @ADLX_First_Ver}
6258
*/
@@ -79,12 +75,10 @@ class ADLXHelper
7975
* @paramrow{2.,[in],adlMainMemoryFree,@ref ADLX_ADL_Main_Memory_Free,@ENG_START_DOX The callback handler of the memory deallocation. @ENG_END_DOX}
8076
*
8177
* @retvalues
82-
* @ENG_START_DOX
8378
* If __InitializeWithCallerAdl__ is successfully executed, __ADLX_OK__ is returned.<br>
8479
* If __InitializeWithCallerAdl__ is not successfully executed, an error code is returned.<br>
8580
* If ADLX was previously successfully initialized with any of the Initialize versions, __ADLX_ALREADY_INITIALIZED__ is returned.<br>
8681
* Refer to @ref ADLX_RESULT for success codes and error codes.<br>
87-
* @ENG_END_DOX
8882
*
8983
* @detaileddesc
9084
* @ENG_START_DOX
@@ -114,19 +108,15 @@ class ADLXHelper
114108
* N/A
115109
*
116110
* @retvalues
117-
* @ENG_START_DOX
118111
* If __Initialize__ is successfully executed, __ADLX_OK__ is returned.<br>
119112
* If __Initialize__ is not successfully executed, an error code is returned.<br>
120113
* If ADLX was previously successfully initialized with any of the initialization functions, __ADLX_ALREADY_INITIALIZED__ is returned.<br>
121114
* Refer to @ref ADLX_RESULT for success codes and error codes.<br>
122-
* @ENG_END_DOX
123115
*
124116
* @detaileddesc
125-
* @ENG_START_DOX
126117
* @details
127118
* This method is used when an application does not use the ADL library and initializes ADLX with default parameters.<br>
128119
* For more information for initializing ADLX with default parameters, refer to @ref @adlx_gpu_support "ADLX GPU Support".<br>
129-
* @ENG_END_DOX
130120
*
131121
* @requirements
132122
* @DetailsTable{#include "ADLXHelper/Windows/Cpp/ADLXHelper.h", @ADLX_First_Ver}
@@ -147,19 +137,15 @@ class ADLXHelper
147137
* N/A
148138
*
149139
* @retvalues
150-
* @ENG_START_DOX
151140
* If __InitializeWithIncompatibleDriver__ is successfully executed, __ADLX_OK__ is returned.<br>
152141
* If __InitializeWithIncompatibleDriver__ is not successfully executed, an error code is returned.<br>
153142
* If ADLX was previously successfully initialized with any of the Initialize versions, __ADLX_ALREADY_INITIALIZED__ is returned.<br>
154143
* Refer to @ref ADLX_RESULT for success codes and error codes.<br>
155-
* @ENG_END_DOX
156144
*
157145
* @detaileddesc
158-
* @ENG_START_DOX
159146
* @details
160147
* This method is used when an application does not use the ADL library and initializes ADLX to consider AMD GPUs using legacy AMD graphics driver.<br>
161148
* For more information for initializing ADLX with a legacy driver, refer to @ref @adlx_gpu_support "ADLX GPU Support".<br>
162-
* @ENG_END_DOX
163149
*
164150
* @requirements
165151
* @DetailsTable{#include "ADLXHelper/Windows/Cpp/ADLXHelper.h", @ADLX_First_Ver}
@@ -184,18 +170,14 @@ class ADLXHelper
184170
* N/A
185171
*
186172
* @retvalues
187-
* @ENG_START_DOX
188173
* If __Terminate__ is successfully executed, __ADLX_OK__ is returned.<br>
189174
* If __Terminate__ is not successfully executed, an error code is returned.<br>
190175
* Refer to @ref ADLX_RESULT for success codes and error codes.
191-
* @ENG_END_DOX
192176
*
193177
* @detaileddesc
194-
* @ENG_START_DOX
195178
* @details
196179
* Any interface obtained from ADLX that is not released becomes invalid.<br>
197180
* Any attempt of calling ADLX interface after termination could result in errors such as exceptions or crashes.<br>
198-
* @ENG_END_DOX
199181
*
200182
* @requirements
201183
*
@@ -219,9 +201,7 @@ class ADLXHelper
219201
* N/A
220202
*
221203
* @retvalues
222-
* @ENG_START_DOX
223204
* The full version of ADLX.
224-
* @ENG_END_DOX
225205
*
226206
* @requirements
227207
* @DetailsTable{#include "ADLXHelper/Windows/Cpp/ADLXHelper.h", @ADLX_First_Ver}
@@ -242,9 +222,7 @@ class ADLXHelper
242222
* N/A
243223
*
244224
* @retvalues
245-
* @ENG_START_DOX
246225
* The version of ADLX.
247-
* @ENG_END_DOX
248226
*
249227
* @requirements
250228
* @DetailsTable{#include "ADLXHelper/Windows/Cpp/ADLXHelper.h", @ADLX_First_Ver}
@@ -265,10 +243,8 @@ class ADLXHelper
265243
* N/A
266244
*
267245
* @retvalues
268-
* @ENG_START_DOX
269246
* If ADLX was successfully initialized before this method call, the @ref DOX_IADLXSystem interface is returned.<br>
270247
* If ADLX was not successfully initialized, __nullptr__ is returned.
271-
* @ENG_END_DOX
272248
*
273249
* @requirements
274250
* @DetailsTable{#include "ADLXHelper/Windows/Cpp/ADLXHelper.h", @ADLX_First_Ver}
@@ -289,19 +265,15 @@ class ADLXHelper
289265
* N/A
290266
*
291267
* @retvalues
292-
* @ENG_START_DOX
293268
* If ADLX was successfully initialized with ADL, a valid pointer of the @ref DOX_IADLMapping interface is returned.<br>
294269
* If ADLX was initialized under any of the following circumstances, __nullptr__ is returned.<br>
295270
* - ADLX initialization was with other initialization methods.<br>
296271
* - ADLX initialization was failed.<br>
297272
* - ADLX initialization was not called.<br>
298-
* @ENG_END_DOX
299273
*
300274
* @detaileddesc
301-
* @ENG_START_DOX
302275
* @details
303276
* __GetAdlMapping__ is used to convert data between ADL and ADLX in applications where ADLX was initialized with @ref page_cppHelpInitializeWithCallerAdl.
304-
* @ENG_END_DOX
305277
*
306278
* @requirements
307279
* @DetailsTable{#include "ADLXHelper/Windows/Cpp/ADLXHelper.h", @ADLX_First_Ver}

SDK/Include/ADLX.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -187,17 +187,17 @@ extern "C"
187187
* If the full version is successfully returned, __ADLX_OK__ is returned.<br>
188188
* If the full version is not successfully returned, an error code is returned.<br>
189189
* Refer to @ref ADLX_RESULT for success codes and error codes.<br>
190+
* @ENG_END_DOX
190191
* @detaileddesc
191192
* The pointer of the function is returned by the @ref adlx_get_proc_address using the @ref ADLX_QUERY_FULL_VERSION_FUNCTION_NAME as the function name.
192-
* @ENG_END_DOX
193193
* @requirements
194194
* @DetailsTable{#include "ADLX.h", @ADLX_First_Ver}
195195
*/
196196

197197
/**
198198
* @typedef ADLXQueryFullVersion_Fn
199199
* @ingroup ADLXDefs
200-
* @ENG_START_DOX The typedef of QueryFullVersion function. @ENG_END_DOX
200+
* The typedef of QueryFullVersion function.
201201
* @definition
202202
* @codeStart
203203
* typedef @ref ADLX_RESULT (ADLX_CDECL_CALL *QueryFullVersion_Fn)(adlx_uint64* fullVersion)
@@ -223,17 +223,17 @@ extern "C"
223223
* If the version is successfully returned, __ADLX_OK__ is returned.<br>
224224
* If the version is not successfully returned, an error code is returned.<br>
225225
* Refer to @ref ADLX_RESULT for success codes and error codes.<br>
226+
* @ENG_END_DOX
226227
* @detaileddesc
227228
* The pointer of the function is returned by the @ref adlx_get_proc_address using the @ref ADLX_QUERY_VERSION_FUNCTION_NAME as the function name.
228-
* @ENG_END_DOX
229229
* @requirements
230230
* @DetailsTable{#include "ADLX.h", @ADLX_First_Ver}
231231
*/
232232

233233
/**
234234
* @typedef ADLXQueryVersion_Fn
235235
* @ingroup ADLXDefs
236-
* @ENG_START_DOX The typedef of QueryVersion function. @ENG_END_DOX
236+
* The typedef of QueryVersion function.
237237
* @definition
238238
* @codeStart
239239
* typedef @ref ADLX_RESULT (ADLX_CDECL_CALL *QueryVersion_Fn)(const char** version)
@@ -260,17 +260,17 @@ extern "C"
260260
* If ADLX was successfully initialized, __ADLX_OK__ is returned.<br>
261261
* If ADLX was not successfully initialized, an error code is returned.<br>
262262
* Refer to @ref ADLX_RESULT for success codes and error codes.<br>
263+
* @ENG_END_DOX
263264
* @detaileddesc
264265
* The pointer of the function is returned by the @ref adlx_get_proc_address using the @ref ADLX_INIT_FUNCTION_NAME or @ref ADLX_INIT_WITH_INCOMPATIBLE_DRIVER_FUNCTION_NAME as the function name.
265-
* @ENG_END_DOX
266266
* @requirements
267267
* @DetailsTable{#include "ADLX.h", @ADLX_First_Ver}
268268
*/
269269

270270
/**
271271
* @typedef ADLXInitialize_Fn
272272
* @ingroup ADLXDefs
273-
* @ENG_START_DOX The typedef of ADLXInitialize function. @ENG_END_DOX
273+
* The typedef of ADLXInitialize function.
274274
* @definition
275275
* @codeStart
276276
* typedef @ref ADLX_RESULT (ADLX_CDECL_CALL *ADLXInitialize_Fn)(adlx_uint64 version, @ref DOX_IADLXSystem** ppSystem)
@@ -300,17 +300,17 @@ extern "C"
300300
* If ADLX was successfully initialized, __ADLX_OK__ is returned.<br>
301301
* If ADLX was not successfully initialized, an error code is returned.<br>
302302
* Refer to @ref ADLX_RESULT for success codes and error codes.<br>
303+
* @ENG_END_DOX
303304
* @detaileddesc
304305
* The pointer of the function is returned by the @ref adlx_get_proc_address using the @ref ADLX_INIT_WITH_CALLER_ADL_FUNCTION_NAME as the function name.
305-
* @ENG_END_DOX
306306
* @requirements
307307
* @DetailsTable{#include "ADLX.h", @ADLX_First_Ver}
308308
*/
309309

310310
/**
311311
* @typedef ADLXInitializeWithCallerAdl_Fn
312312
* @ingroup ADLXDefs
313-
* @ENG_START_DOX The typedef of ADLXInitializeWithCallerAdl function. @ENG_END_DOX
313+
* The typedef of ADLXInitializeWithCallerAdl function.
314314
* @definition
315315
* @codeStart
316316
* typedef @ref ADLX_RESULT (ADLX_CDECL_CALL *ADLXInitializeWithCallerAdl_Fn)(adlx_uint64 version, @ref DOX_IADLXSystem** ppSystem, @ref DOX_IADLMapping** ppAdlMapping, adlx_handle adlContext, @ref ADLX_ADL_Main_Memory_Free adlMainMemoryFree)
@@ -336,17 +336,17 @@ extern "C"
336336
* If the function is successfully executed, __ADLX_OK__ is returned.<br>
337337
* If the function is not successfully executed, an error code is returned.<br>
338338
* Refer to @ref ADLX_RESULT for success codes and error codes.<br>
339+
* @ENG_END_DOX
339340
* @detaileddesc
340341
* The pointer of the function is returned by the @ref adlx_get_proc_address using the @ref ADLX_TERMINATE_FUNCTION_NAME as the function name.
341-
* @ENG_END_DOX
342342
* @requirements
343343
* @DetailsTable{#include "ADLX.h", @ADLX_First_Ver}
344344
*/
345345

346346
/**
347347
* @typedef ADLXTerminate_Fn
348348
* @ingroup ADLXDefs
349-
* @ENG_START_DOX The typedef of ADLXTerminate function. @ENG_END_DOX
349+
* The typedef of ADLXTerminate function.
350350
* @definition
351351
* @codeStart
352352
* typedef ADLX_RESULT (ADLX_CDECL_CALL *ADLXTerminate_Fn)()

SDK/Include/ADLXDefines.h

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -886,21 +886,6 @@ typedef enum
886886
} ADLX_3DLUT_COLORSPACE;
887887
#pragma endregion ADLX_3DLUT_COLORSPACE
888888

889-
#pragma region ADLX_ANTILAG_STATE
890-
/**
891-
* @enum ADLX_ANTILAG_STATE
892-
* @ingroup enumerations
893-
* @ENG_START_DOX
894-
* @brief Indicates the state of Anti Lag.
895-
* @ENG_END_DOX
896-
*/
897-
typedef enum
898-
{
899-
ANTILAG = 0, /**< @ENG_START_DOX The Antilag level is AntiLag. @ENG_END_DOX */
900-
ANTILAGNEXT, /**< @ENG_START_DOX The Antilag level is AntiLag Next. @ENG_END_DOX */
901-
} ADLX_ANTILAG_STATE;
902-
#pragma endregion ADLX_ANTILAG_STATE
903-
904889
#pragma endregion ADLX data types
905890

906891
//-------------------------------------------------------------------------------------------------
@@ -1225,7 +1210,6 @@ namespace adlx
12251210
}; //IADLXInterfacePtr_T
12261211

12271212
typedef IADLXInterfacePtr_T<IADLXInterface> IADLXInterfacePtr;
1228-
12291213
} // namespace adlx
12301214
#endif //__cplusplus
12311215
#pragma endregion IADLXInterfacePtr

0 commit comments

Comments
 (0)