Overscan/Underscan APIs
[Display Related APIs]


Functions

int ADL_Display_Underscan_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the current value of underscan.
int ADL_Display_Underscan_Get (int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault, int *lpMin, int *lpMax, int *lpStep)
 Function to retrieve the detailed information for underscan.
int ADL_Display_Overscan_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the current value of gamma for each controller.
int ADL_Display_Overscan_Get (int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefualt, int *lpMin, int *lpMax, int *lpStep)
 Function to retrieve the current value of gamma for each controller.

Detailed Description

This group outlines Overscan and Underscan related APIs.

Function Documentation

int ADL_Display_Underscan_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iCurrent 
)

Function to set the current value of underscan.

This function sets the display underscan for a specified adapter, display.

Supported Platforms:
Linux and Windows(XP, Vista and Windows 7); 32bit and 64bit
Parameters:
[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] iCurrent The desired underscan value.
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.

int ADL_Display_Underscan_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpCurrent,
int *  lpDefault,
int *  lpMin,
int *  lpMax,
int *  lpStep 
)

Function to retrieve the detailed information for underscan.

This function retrieves the detailed information for underscan.

Supported Platforms:
Linux and Windows(XP, Vista and Windows 7); 32bit and 64bit
Parameters:
[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] lpCurrent The pointer to the current underscan value.
[out] lpDefault The pointer to the default underscan value.
[out] lpMin The pointer to the minimum underscan value.
[out] lpMax The pointer to the maximum underscan value.
[out] lpStep The pointer to the increment of the underscan setting.
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

int ADL_Display_Overscan_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iCurrent 
)

Function to set the current value of gamma for each controller.

This function sets the Overscan value for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and Windows 7); 32bit and 64bit
Parameters:
[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] iCurrent The desired Overscan value.
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.

int ADL_Display_Overscan_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpCurrent,
int *  lpDefualt,
int *  lpMin,
int *  lpMax,
int *  lpStep 
)

Function to retrieve the current value of gamma for each controller.

This function retrieves the Overscan value for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and Windows 7); 32bit and 64bit
Parameters:
[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] lpCurrent The pointer to the current Overscan value.
[out] lpDefualt The pointer to the default Overscan value.
[out] lpMin The pointer to the minimum Overscan value.
[out] lpMax The pointer to the maximum Overscan value.
[out] lpStep The pointer to the increment of the Overscan value.
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code.


Copyright © 2009-2013 Advanced Micro Devices, Inc. All rights reserved.  AMD Developer