ADL (AMD Display Library) Public APIs  Version 17.1
controller.h
Go to the documentation of this file.
1 
7 
15 
16 #ifndef CONTROLLER_H_
17 #define CONTROLLER_H_
18 
19 #include "adl_structures.h"
20 
21 #ifndef ADL_EXTERNC
22 #ifdef __cplusplus
23 #define ADL_EXTERNC extern "C"
24 #else
25 #define ADL_EXTERNC
26 #endif
27 #endif
28 
29 #ifndef EXPOSED
30 #define EXPOSED
31 #endif /* EXPOSED */
32 
35 
49 ADL_EXTERNC int EXPOSED ADL2_Controller_Color_Set(ADL_CONTEXT_HANDLE context,int iAdapterIndex, int iControllerIndex, ADLGamma adlGamma);
50 
62 ADL_EXTERNC int EXPOSED ADL_Controller_Color_Set(int iAdapterIndex, int iControllerIndex, ADLGamma adlGamma);
63 
80 ADL_EXTERNC int EXPOSED ADL2_Controller_Color_Get(ADL_CONTEXT_HANDLE context,int iAdapterIndex, int iControllerIndex, ADLGamma *lpGammaCurrent, ADLGamma *lpGammaDefault, ADLGamma *lpGammaMin, ADLGamma *lpGammaMax);
81 
96 ADL_EXTERNC int EXPOSED ADL_Controller_Color_Get(int iAdapterIndex, int iControllerIndex, ADLGamma *lpGammaCurrent, ADLGamma *lpGammaDefault, ADLGamma *lpGammaMin, ADLGamma *lpGammaMax);
97 
99 
100 #endif /* CONTROLLER_H_ */
adl_structures.h
This file contains the structure declarations that are used by the public ADL interfaces for Linux an...
ADL2_Controller_Color_Get
int ADL2_Controller_Color_Get(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iControllerIndex, ADLGamma *lpGammaCurrent, ADLGamma *lpGammaDefault, ADLGamma *lpGammaMin, ADLGamma *lpGammaMax)
Function to get the current value of gamma for a controller.
ADL_Controller_Color_Set
int ADL_Controller_Color_Set(int iAdapterIndex, int iControllerIndex, ADLGamma adlGamma)
Function to set the current gamma value for a controller.
ADL2_Controller_Color_Set
int ADL2_Controller_Color_Set(ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iControllerIndex, ADLGamma adlGamma)
Function to set the current gamma value for a controller.
ADLGamma
Structure containing information controller Gamma settings.
Definition: adl_structures.h:469
ADL_Controller_Color_Get
int ADL_Controller_Color_Get(int iAdapterIndex, int iControllerIndex, ADLGamma *lpGammaCurrent, ADLGamma *lpGammaDefault, ADLGamma *lpGammaMin, ADLGamma *lpGammaMax)
Function to get the current value of gamma for a controller.
iAdapterIndex
int int iAdapterIndex
Definition: radeonusbled.h:92
ADL_CONTEXT_HANDLE
void * ADL_CONTEXT_HANDLE
Handle to ADL client context.
Definition: adl_structures.h:2336
ADL_EXTERNC
#define ADL_EXTERNC
Definition: controller.h:25

Copyright © 2009-2020 Advanced Micro Devices, Inc. All rights reserved.