|
ADL (AMD Display Library) Public APIs
Version 18.1
|
This group describes the Color related APIs. More...
Functions | |
| int | ADL2_Display_Color_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iColorType, int *lpCurrent, int *lpDefault, int *lpMin, int *lpMax, int *lpStep) |
| Function to retrieve the detailed information a specified display color item. More... | |
| int | ADL2_Display_Color_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iColorType, int iCurrent) |
| Function to set the current value of a specific color and type. More... | |
| int | ADL2_Display_ColorCaps_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpCaps, int *lpValids) |
| Function to get the Color Caps display information. More... | |
| int | ADL2_Display_ColorTemperatureSource_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpTempSource) |
| Function to get color temperature source. More... | |
| int | ADL2_Display_ColorTemperatureSource_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iTempSource) |
| Function to set the color temperature source. More... | |
| int | ADL2_Display_ColorTemperatureSourceDefault_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpTempSourceDefault) |
| Function to get default color temperature source. More... | |
| int | ADL2_Display_Gamut_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLGamutReference gamut, ADLGamutInfo *lpCap) |
| int | ADL2_Display_Gamut_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLGamutReference gamut, ADLGamutData *lpSource) |
| int | ADL2_Display_Gamut_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLGamutReference gamut, const ADLGamutData *lpSource) |
| int | ADL_Display_Color_Get (int iAdapterIndex, int iDisplayIndex, int iColorType, int *lpCurrent, int *lpDefault, int *lpMin, int *lpMax, int *lpStep) |
| Function to retrieve the detailed information a specified display color item. More... | |
| int | ADL_Display_Color_Set (int iAdapterIndex, int iDisplayIndex, int iColorType, int iCurrent) |
| Function to set the current value of a specific color and type. More... | |
| int | ADL_Display_ColorCaps_Get (int iAdapterIndex, int iDisplayIndex, int *lpCaps, int *lpValids) |
| Function to get the Color Caps display information. More... | |
| int | ADL_Display_ColorTemperatureSource_Get (int iAdapterIndex, int iDisplayIndex, int *lpTempSource) |
| Function to get color temperature source. More... | |
| int | ADL_Display_ColorTemperatureSource_Set (int iAdapterIndex, int iDisplayIndex, int iTempSource) |
| Function to set the color temperature source. More... | |
| int | ADL_Display_Gamut_Caps (int iAdapterIndex, int iDisplayIndex, ADLGamutReference gamut, ADLGamutInfo *lpCap) |
| int | ADL_Display_Gamut_Get (int iAdapterIndex, int iDisplayIndex, ADLGamutReference gamut, ADLGamutData *lpSource) |
| Function to get the current ADLGamutData setting for the display. This function get the ADLGamutData setting for a specified display. More... | |
| int | ADL_Display_Gamut_Set (int iAdapterIndex, int iDisplayIndex, ADLGamutReference gamut, const ADLGamutData *lpSource) |
This group describes the Color related APIs.
| int ADL2_Display_Color_Get | ( | ADL_CONTEXT_HANDLE | context, |
| int | iAdapterIndex, | ||
| int | iDisplayIndex, | ||
| int | iColorType, | ||
| int * | lpCurrent, | ||
| int * | lpDefault, | ||
| int * | lpMin, | ||
| int * | lpMax, | ||
| int * | lpStep | ||
| ) |
Function to retrieve the detailed information a specified display color item.
This function retrieves the detailed information for a specified display color.
| [in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
| [in] | iAdapterIndex | The ADL index handle of the desired adapter. |
| [in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
| [in] | iColorType | The desired color type. It can be any of the defined type. Display Color Type and Source |
| [out] | lpCurrent | The pointer to the current color value. |
| [out] | lpDefault | The pointer to the default color value. |
| [out] | lpMin | The pointer to the minimum color value. |
| [out] | lpMax | The pointer to the maximum color value. |
| [out] | lpStep | The pointer to the increment of the color setting. |
| int ADL2_Display_Color_Set | ( | ADL_CONTEXT_HANDLE | context, |
| int | iAdapterIndex, | ||
| int | iDisplayIndex, | ||
| int | iColorType, | ||
| int | iCurrent | ||
| ) |
Function to set the current value of a specific color and type.
This function sets the display color for a specified adapter, display, and color type.
| [in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
| [in] | iAdapterIndex | The ADL index handle of the desired adapter. |
| [in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
| [in] | iColorType | The desired color type. It can be any of the defined type. Display Color Type and Source |
| [in] | iCurrent | The desired color value. |
| int ADL2_Display_ColorCaps_Get | ( | ADL_CONTEXT_HANDLE | context, |
| int | iAdapterIndex, | ||
| int | iDisplayIndex, | ||
| int * | lpCaps, | ||
| int * | lpValids | ||
| ) |
Function to get the Color Caps display information.
This function retrieves the display Color Caps information for a specified adapter and display.
| [in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
| [in] | iAdapterIndex | The ADL index handle of the desired adapter. |
| [in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
| [out] | lpCaps | The pointer to the Color Caps information retrieved from the driver. Display Color Type and Source |
| [out] | lpValids | The pointer to the bit vector indicating which bit is valid on the lpCaps returned. |
| int ADL2_Display_ColorTemperatureSource_Get | ( | ADL_CONTEXT_HANDLE | context, |
| int | iAdapterIndex, | ||
| int | iDisplayIndex, | ||
| int * | lpTempSource | ||
| ) |
Function to get color temperature source.
This function retrieves the current color temperature source.
| [in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
| [in] | iAdapterIndex | The ADL index handle of the desired adapter. |
| [in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
| [out] | lpTempSource | The pointer of the retrieved current color temperature source. Display Color Type and Source |
| int ADL2_Display_ColorTemperatureSource_Set | ( | ADL_CONTEXT_HANDLE | context, |
| int | iAdapterIndex, | ||
| int | iDisplayIndex, | ||
| int | iTempSource | ||
| ) |
Function to set the color temperature source.
This function sets the current color temperature source.
| [in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
| [in] | iAdapterIndex | The ADL index handle of the desired adapter. |
| [in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
| [in] | iTempSource | The desired color temperature source. Display Color Type and Source |
| int ADL2_Display_ColorTemperatureSourceDefault_Get | ( | ADL_CONTEXT_HANDLE | context, |
| int | iAdapterIndex, | ||
| int | iDisplayIndex, | ||
| int * | lpTempSourceDefault | ||
| ) |
Function to get default color temperature source.
This function retrieves the default color temperature source.
| [in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
| [in] | iAdapterIndex | The ADL index handle of the desired adapter. |
| [in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
| [out] | lpTempSourceDefault | The pointer of the retrieved default color temperature source. Display Color Type and Source |
| int ADL2_Display_Gamut_Caps | ( | ADL_CONTEXT_HANDLE | context, |
| int | iAdapterIndex, | ||
| int | iDisplayIndex, | ||
| ADLGamutReference | gamut, | ||
| ADLGamutInfo * | lpCap | ||
| ) |
| [in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
| [in] | iAdapterIndex | The index of the desired adapter. |
| [in] | iDisplayIndex | The index of the desired display. |
| [in] | gamut | The gamut reference - whether it is related to graphics or video, source or destination |
| [out] | ADLGamutInfo | driver supplies the mask of supported gamut spaces and white points, driver supports this feature from NI ASIC. |
| int ADL2_Display_Gamut_Get | ( | ADL_CONTEXT_HANDLE | context, |
| int | iAdapterIndex, | ||
| int | iDisplayIndex, | ||
| ADLGamutReference | gamut, | ||
| ADLGamutData * | lpSource | ||
| ) |
| [in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
| [in] | iAdapterIndex | The index of the desired adapter. |
| [in] | iDisplayIndex | The index of the desired display. |
| [in] | gamut | . The gamut reference - whether it is related to graphics or video, source or destination |
| [out] | ADLGamutData | driver supplies the currently used gamut, driver supports this feature from NI ASIC. |
| int ADL2_Display_Gamut_Set | ( | ADL_CONTEXT_HANDLE | context, |
| int | iAdapterIndex, | ||
| int | iDisplayIndex, | ||
| ADLGamutReference | gamut, | ||
| const ADLGamutData * | lpSource | ||
| ) |
| [in] | context | Client's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create. |
| [in] | iAdapterIndex | The index of the desired adapter. |
| [in] | iDisplayIndex | The index of the desired display. |
| [in] | gamut | The gamut reference - whether it is related to graphics or video, source or destination |
| [in] | ADLGamutData | to be set, the method sets the new gamut or saves the requested gamut if the current destination if gamut from EDID. |
| int ADL_Display_Color_Get | ( | int | iAdapterIndex, |
| int | iDisplayIndex, | ||
| int | iColorType, | ||
| int * | lpCurrent, | ||
| int * | lpDefault, | ||
| int * | lpMin, | ||
| int * | lpMax, | ||
| int * | lpStep | ||
| ) |
Function to retrieve the detailed information a specified display color item.
This function retrieves the detailed information for a specified display color.
| [in] | iAdapterIndex | The ADL index handle of the desired adapter. |
| [in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
| [in] | iColorType | The desired color type. It can be any of the defined type. Display Color Type and Source |
| [out] | lpCurrent | The pointer to the current color value. |
| [out] | lpDefault | The pointer to the default color value. |
| [out] | lpMin | The pointer to the minimum color value. |
| [out] | lpMax | The pointer to the maximum color value. |
| [out] | lpStep | The pointer to the increment of the color setting. |
| int ADL_Display_Color_Set | ( | int | iAdapterIndex, |
| int | iDisplayIndex, | ||
| int | iColorType, | ||
| int | iCurrent | ||
| ) |
Function to set the current value of a specific color and type.
This function sets the display color for a specified adapter, display, and color type.
| [in] | iAdapterIndex | The ADL index handle of the desired adapter. |
| [in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
| [in] | iColorType | The desired color type. It can be any of the defined type. Display Color Type and Source |
| [in] | iCurrent | The desired color value. |
| int ADL_Display_ColorCaps_Get | ( | int | iAdapterIndex, |
| int | iDisplayIndex, | ||
| int * | lpCaps, | ||
| int * | lpValids | ||
| ) |
Function to get the Color Caps display information.
This function retrieves the display Color Caps information for a specified adapter and display.
| [in] | iAdapterIndex | The ADL index handle of the desired adapter. |
| [in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
| [out] | lpCaps | The pointer to the Color Caps information retrieved from the driver. Display Color Type and Source |
| [out] | lpValids | The pointer to the bit vector indicating which bit is valid on the lpCaps returned. |
| int ADL_Display_ColorTemperatureSource_Get | ( | int | iAdapterIndex, |
| int | iDisplayIndex, | ||
| int * | lpTempSource | ||
| ) |
Function to get color temperature source.
This function retrieves the current color temperature source.
| [in] | iAdapterIndex | The ADL index handle of the desired adapter. |
| [in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
| [out] | lpTempSource | The pointer of the retrieved current color temperature source. Display Color Type and Source |
| int ADL_Display_ColorTemperatureSource_Set | ( | int | iAdapterIndex, |
| int | iDisplayIndex, | ||
| int | iTempSource | ||
| ) |
Function to set the color temperature source.
This function sets the current color temperature source.
| [in] | iAdapterIndex | The ADL index handle of the desired adapter. |
| [in] | iDisplayIndex | The desired display index. It can be retrieved from the ADLDisplayInfo data structure. |
| [in] | iTempSource | The desired color temperature source. Display Color Type and Source |
| int ADL_Display_Gamut_Caps | ( | int | iAdapterIndex, |
| int | iDisplayIndex, | ||
| ADLGamutReference | gamut, | ||
| ADLGamutInfo * | lpCap | ||
| ) |
| [in] | iAdapterIndex | The index of the desired adapter. |
| [in] | iDisplayIndex | The index of the desired display. |
| [in] | gamut | The gamut reference - whether it is related to graphics or video, source or destination |
| [out] | ADLGamutInfo | driver supplies the mask of supported gamut spaces and white points, driver supports this feature from NI ASIC. |
| int ADL_Display_Gamut_Get | ( | int | iAdapterIndex, |
| int | iDisplayIndex, | ||
| ADLGamutReference | gamut, | ||
| ADLGamutData * | lpSource | ||
| ) |
Function to get the current ADLGamutData setting for the display. This function get the ADLGamutData setting for a specified display.
| [in] | iAdapterIndex | The index of the desired adapter. |
| [in] | iDisplayIndex | The index of the desired display. |
| [in] | gamut | . The gamut reference - whether it is related to graphics or video, source or destination |
| [out] | ADLGamutData | driver supplies the currently used gamut, driver supports this feature from NI ASIC. |
| int ADL_Display_Gamut_Set | ( | int | iAdapterIndex, |
| int | iDisplayIndex, | ||
| ADLGamutReference | gamut, | ||
| const ADLGamutData * | lpSource | ||
| ) |
| [in] | iAdapterIndex | The index of the desired adapter. |
| [in] | iDisplayIndex | The index of the desired display. |
| [in] | gamut | The gamut reference - whether it is related to graphics or video, source or destination |
| [in] | ADLGamutData | to be set, the method sets the new gamut or saves the requested gamut if the current destination if gamut from EDID. |