ADL (AMD Display Library) Public APIs  Version 17.0
Functions
Digital Flat Panel APIs

This group outlines all digital flat panel related APIs. More...

Functions

int ADL2_DFP_AllowOnlyCETimings_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpSupport, int *lpCurrent, int *lpDefault)
 Function to get the Allow Only CE Timings setting. More...
 
int ADL2_DFP_AllowOnlyCETimings_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the Allow Only CE Timings setting. More...
 
int ADL2_DFP_BaseAudioSupport_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpSupport)
 Function to get the display base audio support. More...
 
int ADL2_DFP_GPUScalingEnable_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpSupport, int *lpCurrent, int *lpDefault)
 Function to get the GPUScalingEnable setting. More...
 
int ADL2_DFP_GPUScalingEnable_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the GPUScalingEnable setting. More...
 
int ADL2_DFP_HDMISupport_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpSupport)
 Function to get the display HDMI support. More...
 
int ADL2_DFP_MVPUAnalogSupport_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpSupport)
 Function to get the display MVPU analog support. More...
 
int ADL2_DFP_PixelFormat_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpValidBits, int *lpValidCaps)
 Function to retrieve PixelFormat caps. More...
 
int ADL2_DFP_PixelFormat_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpCurState, int *lpDefault)
 Function to retrieve current pixel format setting. More...
 
int ADL2_DFP_PixelFormat_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iState)
 Function to set the current pixel format setting. More...
 
int ADL_DFP_AllowOnlyCETimings_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport, int *lpCurrent, int *lpDefault)
 Function to get the Allow Only CE Timings setting. More...
 
int ADL_DFP_AllowOnlyCETimings_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the Allow Only CE Timings setting. More...
 
int ADL_DFP_BaseAudioSupport_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport)
 Function to get the display base audio support. More...
 
int ADL_DFP_GPUScalingEnable_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport, int *lpCurrent, int *lpDefault)
 Function to get the GPUScalingEnable setting. More...
 
int ADL_DFP_GPUScalingEnable_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the GPUScalingEnable setting. More...
 
int ADL_DFP_HDMISupport_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport)
 Function to get the display HDMI support. More...
 
int ADL_DFP_MVPUAnalogSupport_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport)
 Function to get the display MVPU analog support. More...
 
int ADL_DFP_PixelFormat_Caps (int iAdapterIndex, int iDisplayIndex, int *lpValidBits, int *lpValidCaps)
 Function to retrieve PixelFormat caps. More...
 
int ADL_DFP_PixelFormat_Get (int iAdapterIndex, int iDisplayIndex, int *lpCurState, int *lpDefault)
 Function to retrieve current pixel format setting. More...
 
int ADL_DFP_PixelFormat_Set (int iAdapterIndex, int iDisplayIndex, int iState)
 Function to set the current pixel format setting. More...
 

Detailed Description

This group outlines all digital flat panel related APIs.

Function Documentation

◆ ADL2_DFP_AllowOnlyCETimings_Get()

int ADL2_DFP_AllowOnlyCETimings_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int *  lpSupport,
int *  lpCurrent,
int *  lpDefault 
)

Function to get the Allow Only CE Timings setting.

This function sets the Allow Only CE Timings setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]lpSupportThe pointer to the value indicating whether AllowOnlyCETimings is supported. 1: supported; 0: not supported.
[in]lpCurrentThe pointer to the value indicating whether AllowOnlyCETimings is currently enabled. 1: enabled; 0: disabled.
[in]lpDefaultThe pointer to the AllowOnlyCETimings default setting.
Returns
If the function succeeds, the return value is ADL_OK, ADL_ERR_NULL_POINTER if any of the inputs is NULL, Otherwise the return value is an ADL_ERR. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_DFP_AllowOnlyCETimings_Set()

int ADL2_DFP_AllowOnlyCETimings_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int  iCurrent 
)

Function to set the Allow Only CE Timings setting.

This function sets the Allow Only CE Timings setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]iCurrentThe desired Allow Only CE Timings state for the specified display. 1: enabled; 0: disabled..
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Call ADL_Flush_Driver_Data() after to persist settings on reboot.
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_DFP_BaseAudioSupport_Get()

int ADL2_DFP_BaseAudioSupport_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int *  lpSupport 
)

Function to get the display base audio support.

This function determines whether base display audio support is available.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpSupportThe int pointer to the value indicating whether the feature is supported by the driver. 1: feature is supported; 0: feature is not supported.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_DFP_GPUScalingEnable_Get()

int ADL2_DFP_GPUScalingEnable_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int *  lpSupport,
int *  lpCurrent,
int *  lpDefault 
)

Function to get the GPUScalingEnable setting.

This function sets the GPU Scaling Enable setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]lpSupportThe pointer to the value indicating whether GPUScalingEnable is supported. 1: supported; 0: not supported.
[in]lpCurrentThe pointer to the value indicating whether GPUScalingEnable is currently enabled. 1: enabled; 0: disabled.
[in]lpDefaultThe pointer to the GPUScalingEnable default setting.
Returns
If the function succeeds, the return value is ADL_OK, ADL_ERR_NULL_POINTER if any of the inputs is NULL, Otherwise the return value is an ADL_ERR. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_DFP_GPUScalingEnable_Set()

int ADL2_DFP_GPUScalingEnable_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int  iCurrent 
)

Function to set the GPUScalingEnable setting.

This function sets the GPU Scaling Enable setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]iCurrentThe desired GPU Scaling Enable state for the specified display. 1: enabled; 0: disabled..
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Call ADL_Flush_Driver_Data() after to persist settings on reboot.
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_DFP_HDMISupport_Get()

int ADL2_DFP_HDMISupport_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int *  lpSupport 
)

Function to get the display HDMI support.

This function determines whether the base display HDMI support is available.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpSupportThe int pointer indicating whether the feature is supported by the driver. If the feature is supported, a value of 1 is stored. Otherwise, a value of 0 is stored.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_DFP_MVPUAnalogSupport_Get()

int ADL2_DFP_MVPUAnalogSupport_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int *  lpSupport 
)

Function to get the display MVPU analog support.

This function determines whether display MVPU analog support is available.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpSupportThe int pointer to the value indicating whether the feature is supported by the driver. 1: feature is supported; 0: feature is not supported.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_DFP_PixelFormat_Caps()

int ADL2_DFP_PixelFormat_Caps ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int *  lpValidBits,
int *  lpValidCaps 
)

Function to retrieve PixelFormat caps.

This function retrieves the pixel format caps for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpValidBitsThe pointer to the bit field indicating which bits in the lpValidCaps parameter are valid.
[out]lpValidCapsThe pointer to the valid pixel formats caps. Pixel Formats values
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
This API is supported only by HDMI.
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_DFP_PixelFormat_Get()

int ADL2_DFP_PixelFormat_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int *  lpCurState,
int *  lpDefault 
)

Function to retrieve current pixel format setting.

This function retrieves the pixel format setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpCurStateThe pointer to the current pixel format of the display. Pixel Formats values
[out]lpDefaultThe pointer to the default pixel format of the display. Pixel Formats values
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
This API is supported only by HDMI.
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL2_DFP_PixelFormat_Set()

int ADL2_DFP_PixelFormat_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int  iState 
)

Function to set the current pixel format setting.

This function sets the pixel format setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]contextClient's ADL context handle ADL_CONTEXT_HANDLE obtained from ADL2_Main_Control_Create.
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]iStateThe desired pixel format for the specified display. Pixel Formats values
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
This API is supported only by HDMI.
Clients can use ADL2 version of the API to assure that there is no interference with other ADL clients that are running in the same process . Such clients have to call ADL2_Main_Control_Create first to obtain ADL_CONTEXT_HANDLE instance that has to be passed to each subsequent ADL2 call and finally destroyed using ADL2_Main_Control_Destroy.

◆ ADL_DFP_AllowOnlyCETimings_Get()

int ADL_DFP_AllowOnlyCETimings_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpSupport,
int *  lpCurrent,
int *  lpDefault 
)

Function to get the Allow Only CE Timings setting.

This function sets the Allow Only CE Timings setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]lpSupportThe pointer to the value indicating whether AllowOnlyCETimings is supported. 1: supported; 0: not supported.
[in]lpCurrentThe pointer to the value indicating whether AllowOnlyCETimings is currently enabled. 1: enabled; 0: disabled.
[in]lpDefaultThe pointer to the AllowOnlyCETimings default setting.
Returns
If the function succeeds, the return value is ADL_OK, ADL_ERR_NULL_POINTER if any of the inputs is NULL, Otherwise the return value is an ADL_ERR. Result Codes

◆ ADL_DFP_AllowOnlyCETimings_Set()

int ADL_DFP_AllowOnlyCETimings_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iCurrent 
)

Function to set the Allow Only CE Timings setting.

This function sets the Allow Only CE Timings setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]iCurrentThe desired Allow Only CE Timings state for the specified display. 1: enabled; 0: disabled..
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Call ADL_Flush_Driver_Data() after to persist settings on reboot.

◆ ADL_DFP_BaseAudioSupport_Get()

int ADL_DFP_BaseAudioSupport_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpSupport 
)

Function to get the display base audio support.

This function determines whether base display audio support is available.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpSupportThe int pointer to the value indicating whether the feature is supported by the driver. 1: feature is supported; 0: feature is not supported.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

◆ ADL_DFP_GPUScalingEnable_Get()

int ADL_DFP_GPUScalingEnable_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpSupport,
int *  lpCurrent,
int *  lpDefault 
)

Function to get the GPUScalingEnable setting.

This function sets the GPU Scaling Enable setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]lpSupportThe pointer to the value indicating whether GPUScalingEnable is supported. 1: supported; 0: not supported.
[in]lpCurrentThe pointer to the value indicating whether GPUScalingEnable is currently enabled. 1: enabled; 0: disabled.
[in]lpDefaultThe pointer to the GPUScalingEnable default setting.
Returns
If the function succeeds, the return value is ADL_OK, ADL_ERR_NULL_POINTER if any of the inputs is NULL, Otherwise the return value is an ADL_ERR. Result Codes

◆ ADL_DFP_GPUScalingEnable_Set()

int ADL_DFP_GPUScalingEnable_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iCurrent 
)

Function to set the GPUScalingEnable setting.

This function sets the GPU Scaling Enable setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]iCurrentThe desired GPU Scaling Enable state for the specified display. 1: enabled; 0: disabled..
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
Call ADL_Flush_Driver_Data() after to persist settings on reboot.

◆ ADL_DFP_HDMISupport_Get()

int ADL_DFP_HDMISupport_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpSupport 
)

Function to get the display HDMI support.

This function determines whether the base display HDMI support is available.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpSupportThe int pointer indicating whether the feature is supported by the driver. If the feature is supported, a value of 1 is stored. Otherwise, a value of 0 is stored.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

◆ ADL_DFP_MVPUAnalogSupport_Get()

int ADL_DFP_MVPUAnalogSupport_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpSupport 
)

Function to get the display MVPU analog support.

This function determines whether display MVPU analog support is available.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpSupportThe int pointer to the value indicating whether the feature is supported by the driver. 1: feature is supported; 0: feature is not supported.
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

◆ ADL_DFP_PixelFormat_Caps()

int ADL_DFP_PixelFormat_Caps ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpValidBits,
int *  lpValidCaps 
)

Function to retrieve PixelFormat caps.

This function retrieves the pixel format caps for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpValidBitsThe pointer to the bit field indicating which bits in the lpValidCaps parameter are valid.
[out]lpValidCapsThe pointer to the valid pixel formats caps. Pixel Formats values
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
This API is supported only by HDMI.

◆ ADL_DFP_PixelFormat_Get()

int ADL_DFP_PixelFormat_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpCurState,
int *  lpDefault 
)

Function to retrieve current pixel format setting.

This function retrieves the pixel format setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out]lpCurStateThe pointer to the current pixel format of the display. Pixel Formats values
[out]lpDefaultThe pointer to the default pixel format of the display. Pixel Formats values
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
This API is supported only by HDMI.

◆ ADL_DFP_PixelFormat_Set()

int ADL_DFP_PixelFormat_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iState 
)

Function to set the current pixel format setting.

This function sets the pixel format setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters
[in]iAdapterIndexThe ADL index handle of the desired adapter.
[in]iDisplayIndexThe desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in]iStateThe desired pixel format for the specified display. Pixel Formats values
Returns
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes
Remarks
This API is supported only by HDMI.

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