display.h File Reference

Contains all Display functions exposed by ADL for Linux and Windows(XP, Vista and above); 32bit and 64bit platforms. More...


Defines

#define ADL_EXTERNC

Functions

int ADL2_Display_DisplayInfo_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpNumDisplays, ADLDisplayInfo **lppInfo, int iForceDetect)
 Function to retrieve the adapter display information.
int ADL_Display_DisplayInfo_Get (int iAdapterIndex, int *lpNumDisplays, ADLDisplayInfo **lppInfo, int iForceDetect)
 Function to retrieve the adapter display information.
int ADL2_Display_DpMstInfo_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpNumDisplays, ADLDisplayDPMSTInfo **lppDisplayDPMstInfo, int iForceDetect)
 Function to retrieve the Display Port MST information.
int ADL_Display_DpMstInfo_Get (int iAdapterIndex, int *lpNumDisplays, ADLDisplayDPMSTInfo **lppDisplayDPMstInfo, int iForceDetect)
 Function to retrieve the Display Port MST information.
int ADL2_Display_NumberOfDisplays_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpNumDisplays)
 Function to retrieve the number of displays supported by an adapter.
int ADL_Display_NumberOfDisplays_Get (int iAdapterIndex, int *lpNumDisplays)
 Function to retrieve the number of displays supported by an adapter.
int ADL2_Display_PreservedAspectRatio_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpSupport, int *lpCurrent, int *lpDefault)
 Function to retrieve the display perserved aspect ratio of an adapter.
int ADL_Display_PreservedAspectRatio_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport, int *lpCurrent, int *lpDefault)
 Function to retrieve the display perserved aspect ratio of an adapter.
int ADL2_Display_PreservedAspectRatio_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the display preserved aspect ratio.
int ADL_Display_PreservedAspectRatio_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the display preserved aspect ratio.
int ADL2_Display_ImageExpansion_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpSupport, int *lpCurrent, int *lpDefault)
 Function to retrieve the display image expansion setting.
int ADL_Display_ImageExpansion_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport, int *lpCurrent, int *lpDefault)
 Function to retrieve the display image expansion setting.
int ADL2_Display_ImageExpansion_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the display image expansion setting.
int ADL_Display_ImageExpansion_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the display image expansion setting.
int ADL2_Display_Position_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpX, int *lpY, int *lpXDefault, int *lpYDefault, int *lpMinX, int *lpMinY, int *lpMaxX, int *lpMaxY, int *lpStepX, int *lpStepY)
 Function to get Device Display Position.
int ADL_Display_Position_Get (int iAdapterIndex, int iDisplayIndex, int *lpX, int *lpY, int *lpXDefault, int *lpYDefault, int *lpMinX, int *lpMinY, int *lpMaxX, int *lpMaxY, int *lpStepX, int *lpStepY)
 Function to get Device Display Position.
int ADL2_Display_Position_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iX, int iY)
 Function to set the Device Display Position.
int ADL_Display_Position_Set (int iAdapterIndex, int iDisplayIndex, int iX, int iY)
 Function to set the Device Display Position.
int ADL2_Display_Size_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpWidth, int *lpHeight, int *lpDefaultWidth, int *lpDefaultHeight, int *lpMinWidth, int *lpMinHeight, int *lpMaxWidth, int *lpMaxHeight, int *lpStepWidth, int *lpStepHeight)
 Function to get the Device Display Size.
int ADL_Display_Size_Get (int iAdapterIndex, int iDisplayIndex, int *lpWidth, int *lpHeight, int *lpDefaultWidth, int *lpDefaultHeight, int *lpMinWidth, int *lpMinHeight, int *lpMaxWidth, int *lpMaxHeight, int *lpStepWidth, int *lpStepHeight)
 Function to get the Device Display Size.
int ADL2_Display_Size_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iWidth, int iHeight)
 Function to set the Device Display Size.
int ADL_Display_Size_Set (int iAdapterIndex, int iDisplayIndex, int iWidth, int iHeight)
 Function to set the Device Display Size.
int ADL2_Display_AdjustCaps_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpInfo)
 Function to retrieve the adjustment display information.
int ADL_Display_AdjustCaps_Get (int iAdapterIndex, int iDisplayIndex, int *lpInfo)
 Function to retrieve the adjustment display information.
int ADL2_Display_Capabilities_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpNumberOfControlers, int *lpNumberOfDisplays)
 Function to get the number of displays and controllers supported by an adapter.
int ADL_Display_Capabilities_Get (int iAdapterIndex, int *lpNumberOfControlers, int *lpNumberOfDisplays)
 Function to get the number of displays and controllers supported by an adapter.
int ADL2_Display_ConnectedDisplays_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpConnections)
 Function to indicate whether displays are physically connected to an adapter.
int ADL_Display_ConnectedDisplays_Get (int iAdapterIndex, int *lpConnections)
 Function to indicate whether displays are physically connected to an adapter.
int ADL2_Display_DeviceConfig_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDisplayConfig *lpDisplayConfig)
 Function to get HDTV capability settings.
int ADL_Display_DeviceConfig_Get (int iAdapterIndex, int iDisplayIndex, ADLDisplayConfig *lpDisplayConfig)
 Function to get HDTV capability settings.
int ADL2_Display_Property_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDisplayProperty *lpDisplayProperty)
 Function to get the current display property value.
int ADL_Display_Property_Get (int iAdapterIndex, int iDisplayIndex, ADLDisplayProperty *lpDisplayProperty)
 Function to get the current display property value.
int ADL2_Display_Property_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDisplayProperty *lpDisplayProperty)
 Function to set current display property value.
int ADL_Display_Property_Set (int iAdapterIndex, int iDisplayIndex, ADLDisplayProperty *lpDisplayProperty)
 Function to set current display property value.
int ADL2_Display_SwitchingCapability_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpResult)
 Function to retrieve the Display Switching Flag from the registry.
int ADL_Display_SwitchingCapability_Get (int iAdapterIndex, int *lpResult)
int ADL2_Display_DitherState_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpDitherState)
 Function to retrieve the dither state.
int ADL_Display_DitherState_Get (int iAdapterIndex, int iDisplayIndex, int *lpDitherState)
 Function to retrieve the dither state.
int ADL2_Display_DitherState_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iDitherState)
 Function to set the dither state.
int ADL_Display_DitherState_Set (int iAdapterIndex, int iDisplayIndex, int iDitherState)
 Function to set the dither state.
int ADL2_Display_SupportedPixelFormat_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpPixelFormat)
 Function to retrieve the supported pixel format. HDMI only.
int ADL_Display_SupportedPixelFormat_Get (int iAdapterIndex, int iDisplayIndex, int *lpPixelFormat)
 Function to retrieve the supported pixel format. HDMI only.
int ADL2_Display_PixelFormat_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpPixelFormat)
 Function to retrieve the current display pixel format. HDMI only.
int ADL_Display_PixelFormat_Get (int iAdapterIndex, int iDisplayIndex, int *lpPixelFormat)
 Function to retrieve the current display pixel format. HDMI only.
int ADL2_Display_PixelFormatDefault_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpDefPixelFormat)
 Function to retrieve the current display pixel format. HDMI only.
int ADL2_Display_PixelFormat_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iPixelFormat)
 Function to set the current display pixel format. HDMI only.
int ADL_Display_PixelFormat_Set (int iAdapterIndex, int iDisplayIndex, int iPixelFormat)
 Function to set the current display pixel format. HDMI only.
int ADL2_Display_SupportedColorDepth_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpColorDepth)
 Function to retrieve the supported color depth. HDMI and DPonly.
int ADL_Display_SupportedColorDepth_Get (int iAdapterIndex, int iDisplayIndex, int *lpColorDepth)
 Function to retrieve the supported color depth. HDMI and DPonly.
int ADL2_Display_ColorDepth_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpColorDepth)
 Function to get color depth. HDMI and DPonly.
int ADL_Display_ColorDepth_Get (int iAdapterIndex, int iDisplayIndex, int *lpColorDepth)
 Function to get color depth. HDMI and DPonly.
int ADL2_Display_ColorDepth_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iColorDepth)
 Function to set color depth. HDMI and DPonly.
int ADL_Display_ColorDepth_Set (int iAdapterIndex, int iDisplayIndex, int iColorDepth)
 Function to set color depth. HDMI and DPonly.
int ADL2_Display_ODClockInfo_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLAdapterODClockInfo *lpOdClockInfo)
 Function to retrieve the OD clock information.
int ADL_Display_ODClockInfo_Get (int iAdapterIndex, ADLAdapterODClockInfo *lpOdClockInfo)
 Function to retrieve the OD clock information.
int ADL2_Display_ODClockConfig_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLAdapterODClockConfig *lpOdClockConfig)
 Function to set the OD clock configuration.
int ADL_Display_ODClockConfig_Set (int iAdapterIndex, ADLAdapterODClockConfig *lpOdClockConfig)
 Function to set the OD clock configuration.
int ADL2_Display_AdjustmentCoherent_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpAdjustmentCoherentCurrent, int *lpAdjustmentCoherentDefault)
 Function to retrieve the adjustment coherent setting.
int ADL_Display_AdjustmentCoherent_Get (int iAdapterIndex, int iDisplayIndex, int *lpAdjustmentCoherentCurrent, int *lpAdjustmentCoherentDefault)
 Function to retrieve the adjustment coherent setting.
int ADL2_Display_AdjustmentCoherent_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iAdjustmentCoherent)
 Function to set the adjustment coherent setting.
int ADL_Display_AdjustmentCoherent_Set (int iAdapterIndex, int iDisplayIndex, int iAdjustmentCoherent)
 Function to set the adjustment coherent setting.
int ADL2_Display_ReducedBlanking_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpReducedBlankingCurrent, int *lpReducedBlankingDefault)
 Function to retrieve the reduced blanking setting.
int ADL_Display_ReducedBlanking_Get (int iAdapterIndex, int iDisplayIndex, int *lpReducedBlankingCurrent, int *lpReducedBlankingDefault)
 Function to retrieve the reduced blanking setting.
int ADL2_Display_ReducedBlanking_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iReducedBlanking)
 Function to set the reduced blanking setting.
int ADL_Display_ReducedBlanking_Set (int iAdapterIndex, int iDisplayIndex, int iReducedBlanking)
 Function to set the reduced blanking setting.
int ADL2_Display_FormatsOverride_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpSettingsSupported, int *lpSettingsSupportedEx, int *lpCurSettings)
 Function to retrieve the available display formats.
int ADL_Display_FormatsOverride_Get (int iAdapterIndex, int iDisplayIndex, int *lpSettingsSupported, int *lpSettingsSupportedEx, int *lpCurSettings)
 Function to retrieve the available display formats.
int ADL2_Display_FormatsOverride_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iOverrideSettings)
 Function to overide the display formats.
int ADL_Display_FormatsOverride_Set (int iAdapterIndex, int iDisplayIndex, int iOverrideSettings)
 Function to overide the display formats.
int ADL2_Display_MVPUCaps_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLMVPUCaps *lpMvpuCaps)
 Function to retrieve the information about MultiVPU capabilities.
int ADL_Display_MVPUCaps_Get (int iAdapterIndex, ADLMVPUCaps *lpMvpuCaps)
 Function to retrieve the information about MultiVPU capabilities.
int ADL2_Display_MVPUStatus_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLMVPUStatus *lpMvpuStatus)
 Function to retrieve information about MultiVPU status.
int ADL_Display_MVPUStatus_Get (int iAdapterIndex, ADLMVPUStatus *lpMvpuStatus)
 Function to retrieve information about MultiVPU status.
int ADL2_Display_ControllerOverlayAdjustmentCaps_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLControllerOverlayInput *lpOverlayInput, ADLControllerOverlayInfo *lpCapsInfo)
 Function to get the minimum, maximum, and default values of an overlay adjustment.
int ADL_Display_ControllerOverlayAdjustmentCaps_Get (int iAdapterIndex, ADLControllerOverlayInput *lpOverlayInput, ADLControllerOverlayInfo *lpCapsInfo)
 Function to get the minimum, maximum, and default values of an overlay adjustment.
int ADL2_Display_ControllerOverlayAdjustmentData_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLControllerOverlayInput *lpOverlay)
 Function to retrieve the current setting of an overlay adjustment.
int ADL_Display_ControllerOverlayAdjustmentData_Get (int iAdapterIndex, ADLControllerOverlayInput *lpOverlay)
 Function to retrieve the current setting of an overlay adjustment.
int ADL2_Display_ControllerOverlayAdjustmentData_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLControllerOverlayInput *lpOverlay)
 Function to set the current setting of an overlay adjustment.
int ADL_Display_ControllerOverlayAdjustmentData_Set (int iAdapterIndex, ADLControllerOverlayInput *lpOverlay)
 Function to set the current setting of an overlay adjustment.
int ADL2_Display_ViewPort_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLControllerMode *lpControllerMode)
 Function to change the view position, view size or view pan lock of a selected display.
int ADL_Display_ViewPort_Set (int iAdapterIndex, int iDisplayIndex, ADLControllerMode *lpControllerMode)
 Function to change the view position, view size or view pan lock of a selected display.
int ADL2_Display_ViewPort_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLControllerMode *lpControllerMode)
 Function to get the view position, view size or view pan lock of a selected display.
int ADL_Display_ViewPort_Get (int iAdapterIndex, int iDisplayIndex, ADLControllerMode *lpControllerMode)
 Function to get the view position, view size or view pan lock of a selected display.
int ADL2_Display_ViewPort_Cap (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpSupported)
 Function to check if the selected adapter supports the view port control.
int ADL_Display_ViewPort_Cap (int iAdapterIndex, int *lpSupported)
 Function to check if the selected adapter supports the view port control.
int ADL2_Display_WriteAndReadI2CRev_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpMajor, int *lpMinor)
 Function to retrieve the I2C API revision.
int ADL_Display_WriteAndReadI2CRev_Get (int iAdapterIndex, int *lpMajor, int *lpMinor)
 Function to retrieve the I2C API revision.
int ADL2_Display_WriteAndReadI2C (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLI2C *plI2C)
 Function to write and read I2C.
int ADL_Display_WriteAndReadI2C (int iAdapterIndex, ADLI2C *plI2C)
 Function to write and read I2C.
int ADL2_Display_DDCBlockAccess_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iOption, int iCommandIndex, int iSendMsgLen, char *lpucSendMsgBuf, int *lpulRecvMsgLen, char *lpucRecvMsgBuf)
 Function to get Display DDC block access.
int ADL_Display_DDCBlockAccess_Get (int iAdapterIndex, int iDisplayIndex, int iOption, int iCommandIndex, int iSendMsgLen, char *lpucSendMsgBuf, int *lpulRecvMsgLen, char *lpucRecvMsgBuf)
 Function to get Display DDC block access.
int ADL2_Display_DDCInfo_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDDCInfo *lpInfo)
 Function to get the DDC info.
int ADL_Display_DDCInfo_Get (int iAdapterIndex, int iDisplayIndex, ADLDDCInfo *lpInfo)
 Function to get the DDC info.
int ADL2_Display_DDCInfo2_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDDCInfo2 *lpInfo)
 Function to get the DDC info.
int ADL_Display_DDCInfo2_Get (int iAdapterIndex, int iDisplayIndex, ADLDDCInfo2 *lpInfo)
 Function to get the DDC info.
int ADL2_Display_EdidData_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDisplayEDIDData *lpEDIDData)
 Function to get the EDID data.
int ADL_Display_EdidData_Get (int iAdapterIndex, int iDisplayIndex, ADLDisplayEDIDData *lpEDIDData)
 Function to get the EDID data.
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.
int ADL_Display_ColorCaps_Get (int iAdapterIndex, int iDisplayIndex, int *lpCaps, int *lpValids)
 Function to get the Color Caps display information.
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.
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.
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.
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.
int ADL2_Display_ColorTemperatureSource_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpTempSource)
 Function to get color temperature source.
int ADL_Display_ColorTemperatureSource_Get (int iAdapterIndex, int iDisplayIndex, int *lpTempSource)
 Function to get color temperature source.
int ADL2_Display_ColorTemperatureSourceDefault_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpTempSourceDefault)
 Function to get default color temperature source.
int ADL2_Display_ColorTemperatureSource_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iTempSource)
 Function to set the color temperature source.
int ADL_Display_ColorTemperatureSource_Set (int iAdapterIndex, int iDisplayIndex, int iTempSource)
 Function to set the color temperature source.
int ADL2_Display_ModeTimingOverride_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDisplayMode *lpModeIn, ADLDisplayModeInfo *lpModeInfoOut)
 Function to retrieve display mode timing override information.
int ADL_Display_ModeTimingOverride_Get (int iAdapterIndex, int iDisplayIndex, ADLDisplayMode *lpModeIn, ADLDisplayModeInfo *lpModeInfoOut)
 Function to retrieve display mode timing override information.
int ADL2_Display_ModeTimingOverride_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDisplayModeInfo *lpMode, int iForceUpdate)
 Function to set display mode timing override information.
int ADL_Display_ModeTimingOverride_Set (int iAdapterIndex, int iDisplayIndex, ADLDisplayModeInfo *lpMode, int iForceUpdate)
 Function to set display mode timing override information.
int ADL2_Display_ModeTimingOverrideList_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iMaxNumOfOverrides, ADLDisplayModeInfo *lpModeInfoList, int *lpNumOfOverrides)
 Function to get the display mode timing override list.
int ADL_Display_ModeTimingOverrideList_Get (int iAdapterIndex, int iDisplayIndex, int iMaxNumOfOverrides, ADLDisplayModeInfo *lpModeInfoList, int *lpNumOfOverrides)
 Function to get the display mode timing override list.
int ADL2_Display_CustomizedModeListNum_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpListNum)
 Function to retrieve the number of customized modes.
int ADL_Display_CustomizedModeListNum_Get (int iAdapterIndex, int iDisplayIndex, int *lpListNum)
 Function to retrieve the number of customized modes.
int ADL2_Display_CustomizedModeList_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLCustomMode *lpCustomModeList, int iBuffSize)
 Function to retrieve the customized mode list.
int ADL_Display_CustomizedModeList_Get (int iAdapterIndex, int iDisplayIndex, ADLCustomMode *lpCustomModeList, int iBuffSize)
 Function to retrieve the customized mode list.
int ADL2_Display_CustomizedMode_Add (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLCustomMode customMode)
 Function to add a customized mode.
int ADL_Display_CustomizedMode_Add (int iAdapterIndex, int iDisplayIndex, ADLCustomMode customMode)
 Function to add a customized mode.
int ADL2_Display_CustomizedMode_Delete (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iIndex)
 Function to delete a customized mode.
int ADL_Display_CustomizedMode_Delete (int iAdapterIndex, int iDisplayIndex, int iIndex)
 Function to delete a customized mode.
int ADL2_Display_CustomizedMode_Validate (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLCustomMode customMode, int *lpValid)
 Function to validate a customized mode.
int ADL_Display_CustomizedMode_Validate (int iAdapterIndex, int iDisplayIndex, ADLCustomMode customMode, int *lpValid)
 Function to validate a customized mode.
int ADL2_Display_UnderscanSupport_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpSupport)
 Function to get the value of under scan support.
int ADL2_Display_UnderscanState_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault)
 Function to get the value of under scan enabled.
int ADL2_Display_UnderscanState_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iUnderscanEnabled)
 Function to set the value of under scan enabled.
int ADL2_Display_Underscan_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the current value of underscan.
int ADL_Display_Underscan_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the current value of underscan.
int ADL2_Display_Underscan_Get (ADL_CONTEXT_HANDLE context, 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_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 ADL2_Display_Overscan_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the current value of gamma for each controller.
int ADL_Display_Overscan_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the current value of gamma for each controller.
int ADL2_Display_Overscan_Get (ADL_CONTEXT_HANDLE context, 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.
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.
int ADL2_DFP_BaseAudioSupport_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpSupport)
 Function to get the display base audio support.
int ADL_DFP_BaseAudioSupport_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport)
 Function to get the display base audio support.
int ADL2_DFP_HDMISupport_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpSupport)
 Function to get the display HDMI support.
int ADL_DFP_HDMISupport_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport)
 Function to get the display HDMI support.
int ADL2_DFP_MVPUAnalogSupport_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpSupport)
 Function to get the display MVPU analog support.
int ADL_DFP_MVPUAnalogSupport_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport)
 Function to get the display MVPU analog support.
int ADL2_DFP_PixelFormat_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpValidBits, int *lpValidCaps)
 Function to retrieve PixelFormat caps.
int ADL_DFP_PixelFormat_Caps (int iAdapterIndex, int iDisplayIndex, int *lpValidBits, int *lpValidCaps)
 Function to retrieve PixelFormat caps.
int ADL2_DFP_PixelFormat_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpCurState, int *lpDefault)
 Function to retrieve current pixel format setting.
int ADL_DFP_PixelFormat_Get (int iAdapterIndex, int iDisplayIndex, int *lpCurState, int *lpDefault)
 Function to retrieve current pixel format setting.
int ADL2_DFP_PixelFormat_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iState)
 Function to set the current pixel format setting.
int ADL_DFP_PixelFormat_Set (int iAdapterIndex, int iDisplayIndex, int iState)
 Function to set the current pixel format setting.
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.
int ADL_DFP_GPUScalingEnable_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport, int *lpCurrent, int *lpDefault)
 Function to get the GPUScalingEnable setting.
int ADL2_DFP_GPUScalingEnable_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the GPUScalingEnable setting.
int ADL_DFP_GPUScalingEnable_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the GPUScalingEnable setting.
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.
int ADL_DFP_AllowOnlyCETimings_Get (int iAdapterIndex, int iDisplayIndex, int *lpSupport, int *lpCurrent, int *lpDefault)
 Function to get the Allow Only CE Timings setting.
int ADL2_DFP_AllowOnlyCETimings_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the Allow Only CE Timings setting.
int ADL_DFP_AllowOnlyCETimings_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the Allow Only CE Timings setting.
int ADL2_Display_TVCaps_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpcaps)
 Function to retrieve the TV Caps display information.
int ADL_Display_TVCaps_Get (int iAdapterIndex, int iDisplayIndex, int *lpcaps)
 Function to retrieve the TV Caps display information.
int ADL2_TV_Standard_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the TV standard.
int ADL_TV_Standard_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the TV standard.
int ADL2_TV_Standard_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault, int *lpSupportedStandards)
 Function to retrieve the TV standard.
int ADL_TV_Standard_Get (int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault, int *lpSupportedStandards)
 Function to retrieve the TV standard.
int ADL2_CV_DongleSettings_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpDongleSetting, int *lpOverrideSettingsSupported, int *lpCurOverrideSettings)
 Function to retrieve the settings of the CV dongle.
int ADL_CV_DongleSettings_Get (int iAdapterIndex, int iDisplayIndex, int *lpDongleSetting, int *lpOverrideSettingsSupported, int *lpCurOverrideSettings)
 Function to retrieve the settings of the CV dongle.
int ADL2_CV_DongleSettings_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iOverrideSettings)
 Function to set the current CV dongle settings.
int ADL_CV_DongleSettings_Set (int iAdapterIndex, int iDisplayIndex, int iOverrideSettings)
 Function to set the current CV dongle settings.
int ADL2_CV_DongleSettings_Reset (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex)
 Function to reset the CV settings to its default settings.
int ADL_CV_DongleSettings_Reset (int iAdapterIndex, int iDisplayIndex)
 Function to reset the CV settings to its default settings.
int ADL2_Display_UnderScan_Auto_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault, int *lpMin, int *lpMax, int *lpStep)
 Function to get the current UnderScan Auto setting from the display. This function retrieves the UnderScan Auto information for a specified display.
int ADL_Display_UnderScan_Auto_Get (int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault, int *lpMin, int *lpMax, int *lpStep)
 Function to get the current UnderScan Auto setting from the display. This function retrieves the UnderScan Auto information for a specified display.
int ADL2_Display_UnderScan_Auto_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the current UnderScan Auto setting for the display. This function set the UnderScan Auto setting for a specified display.
int ADL_Display_UnderScan_Auto_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the current UnderScan Auto setting for the display. This function set the UnderScan Auto setting for a specified display.
int ADL2_Display_Deflicker_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault, int *lpMin, int *lpMax, int *lpStep)
 Function to get the current Deflicker setting from the display. This function retrieves the Deflicker information for a specified display.
int ADL_Display_Deflicker_Get (int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault, int *lpMin, int *lpMax, int *lpStep)
 Function to get the current Deflicker setting from the display. This function retrieves the Deflicker information for a specified display.
int ADL2_Display_Deflicker_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayindex, int iCurrent)
 Function to set the current Deflicker setting for the display. This function set the Deflicker setting for a specified display.
int ADL_Display_Deflicker_Set (int iAdapterIndex, int iDisplayindex, int iCurrent)
 Function to set the current Deflicker setting for the display. This function set the Deflicker setting for a specified display.
int ADL2_Display_FilterSVideo_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault, int *lpMin, int *lpMax, int *lpStep)
 Function to get the current FilterSVideo setting from the display. This function retrieves the S-Video Sharpness Control information for a specified display.
int ADL_Display_FilterSVideo_Get (int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault, int *lpMin, int *lpMax, int *lpStep)
 Function to get the current FilterSVideo setting from the display. This function retrieves the S-Video Sharpness Control information for a specified display.
int ADL2_Display_FilterSVideo_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the current FilterSVideo setting for the display. This function set the S-Video Sharpness Control setting for a specified display.
int ADL_Display_FilterSVideo_Set (int iAdapterIndex, int iDisplayIndex, int iCurrent)
 Function to set the current FilterSVideo setting for the display. This function set the S-Video Sharpness Control setting for a specified display.
int ADL2_Display_DisplayContent_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iContent)
 This function sets the picture setting (Graphics, Photo, Cinema or Gaming) on any HDMI that supports these modes. The application associated with this function is designed such that, the ITC display option must be toggled 'ON' (checked) before display content options become available for setting. If the display content is set, but the ITC is toggled 'OFF', the display content options will disable (gray-out), but still show which display content was last 'set'.
int ADL_Display_DisplayContent_Set (int iAdapterIndex, int iDisplayIndex, int iContent)
 This function sets the picture setting (Graphics, Photo, Cinema or Gaming) on any HDMI that supports these modes. The application associated with this function is designed such that, the ITC display option must be toggled 'ON' (checked) before display content options become available for setting. If the display content is set, but the ITC is toggled 'OFF', the display content options will disable (gray-out), but still show which display content was last 'set'.
int ADL2_Display_DisplayContent_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *piContent)
 This function gets the picture setting (Graphics, Photo, Cinema or Gaming) on any HDMI that supports these modes. The application associated with this function is designed such that, even if the ITC display option is toggled 'OFF' (unchecked), this function will still return the last display content mode that was set (or initial value of Graphics).
int ADL_Display_DisplayContent_Get (int iAdapterIndex, int iDisplayIndex, int *piContent)
 This function gets the picture setting (Graphics, Photo, Cinema or Gaming) on any HDMI that supports these modes. The application associated with this function is designed such that, even if the ITC display option is toggled 'OFF' (unchecked), this function will still return the last display content mode that was set (or initial value of Graphics).
int ADL2_Display_DisplayContent_Cap (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *pCapContent)
 This function gets the application availability for display content value and ITC flag.
int ADL_Display_DisplayContent_Cap (int iAdapterIndex, int iDisplayIndex, int *pCapContent)
 This function gets the application availability for display content value and ITC flag.
int ADL2_Adapter_ModeTimingOverride_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int *lpSupported)
 Function to retrieve Timing Override support.
int ADL_Adapter_ModeTimingOverride_Caps (int iAdapterIndex, int *lpSupported)
 Function to retrieve Timing Override support.
int ADL2_Display_TargetTiming_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDisplayID displayID, ADLDisplayModeInfo *lpModeInfoOut)
 Function to retrieve current display mode timing override information.
int ADL_Display_TargetTiming_Get (int iAdapterIndex, ADLDisplayID displayID, ADLDisplayModeInfo *lpModeInfoOut)
 Function to retrieve current display mode timing override information.
int ADL2_Display_ModeTimingOverrideX2_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDisplayID displayID, ADLDisplayModeX2 *lpModeIn, ADLDisplayModeInfo *lpModeInfoOut)
 Function to retrieve display mode timing override information.
int ADL_Display_ModeTimingOverrideX2_Get (int iAdapterIndex, ADLDisplayID displayID, ADLDisplayModeX2 *lpModeIn, ADLDisplayModeInfo *lpModeInfoOut)
 Function to retrieve display mode timing override information.
int ADL2_Display_ModeTimingOverrideListX2_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDisplayID displayID, int *lpNumOfModes, ADLDisplayModeInfo **lpModeInfoList)
 Function to get the display mode timing override list.
int ADL_Display_ModeTimingOverrideListX2_Get (int iAdapterIndex, ADLDisplayID displayID, int *lpNumOfModes, ADLDisplayModeInfo **lpModeInfoList)
 Function to get the display mode timing override list.
int ADL2_Display_ModeTimingOverride_Delete (ADL_CONTEXT_HANDLE context, int iAdapterIndex, ADLDisplayID displayID, ADLDisplayModeX2 *lpMode, int iForceUpdate)
 Function to delete display mode timing override information.
int ADL_Display_ModeTimingOverride_Delete (int iAdapterIndex, ADLDisplayID displayID, ADLDisplayModeX2 *lpMode, int iForceUpdate)
 Function to delete display mode timing override information.
int ADL_Display_Downscaling_Caps (int iAdapterIndex, int iDisplayID, int *lpCaps)
 Function to get the Down-scaling Caps display information.
int ADL2_Display_Downscaling_Caps (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayID, int *lpCaps)
 Function to get the Down-scaling Caps display information.
int ADL_Display_FreeSyncState_Get (int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault, int *lpMinRefreshRateInMicroHz, int *lpMaxRefreshRateInMicroHz)
 Function to get the current state and capability of the FreeSync feature.
int ADL2_Display_FreeSyncState_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int *lpCurrent, int *lpDefault, int *lpMinRefreshRateInMicroHz, int *lpMaxRefreshRateInMicroHz)
 Function to get the current state and capability of the FreeSync feature.
int ADL_Display_FreeSyncState_Set (int iAdapterIndex, int iDisplayIndex, int iSetting, int iRefreshRateInMicroHz)
 Function to set the current state of the FreeSync feature.
int ADL2_Display_FreeSyncState_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, int iSetting, int iRefreshRateInMicroHz)
 Function to set the current state of the FreeSync feature.
int ADL2_Display_DCE_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDceSettings *lpADLDceSettings)
 Function to retrieve per display Display Connectivity Experience information.
int ADL_Display_DCE_Set (int iAdapterIndex, int iDisplayIndex, ADLDceSettings *lpADLDceSettings)
 Function to retrieve per display Display Connectivity Experience information.
int ADL2_Display_DCE_Get (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLDceSettings *lpADLDceSettings)
 Function to retrieve per display Display Connectivity Experience information.
int ADL_Display_DCE_Get (int iAdapterIndex, int iDisplayIndex, ADLDceSettings *lpADLDceSettings)
 Function to retrieve per display Display Connectivity Experience information.
int ADL2_Display_FreeSync_Cap (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int iDisplayIndex, ADLFreeSyncCap *lpFreeSyncCaps)
 Function to retrieve per display FreeSync capability information.
int ADL_Display_FreeSync_Cap (int iAdapterIndex, int iDisplayIndex, ADLFreeSyncCap *lpFreeSyncCaps)
 Function to retrieve per display FreeSync capability information.
int ADL_CDS_UnsafeMode_Set (int iAdapterIndex, int unsafeMode)
 Function to set the current EDS mode enumeration mode.
int ADL2_CDS_UnsafeMode_Set (ADL_CONTEXT_HANDLE context, int iAdapterIndex, int unsafeMode)
 Function to set the current EDS mode enumeration mode.


Detailed Description

Contains all Display functions exposed by ADL for Linux and Windows(XP, Vista and above); 32bit and 64bit platforms.

Copyright (c) 2008 - 2018 Advanced Micro Devices, Inc. THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. This file contains all display-related functions exposed by ADL for Linux and Windows(XP, Vista and above); 32bit and 64bit platforms. All functions in this file can be used as a reference to ensure the appropriate function pointers can be used by the appropriate runtime dynamic library loaders.


Define Documentation

#define ADL_EXTERNC


Function Documentation

int ADL2_Display_UnderScan_Auto_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int *  lpCurrent,
int *  lpDefault,
int *  lpMin,
int *  lpMax,
int *  lpStep 
)

Function to get the current UnderScan Auto setting from the display. This function retrieves the UnderScan Auto information for a specified display.

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

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

Function to get the current UnderScan Auto setting from the display. This function retrieves the UnderScan Auto information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[in] iAdapterIndex The index of the desired adapter.
[in] iDisplayIndex The index of the desired display.
[out] lpCurrent The current underscan auto setting
[out] lpDefault The default underscan auto setting
[out] lpMin The current underscan auto setting
[out] lpMax The default underscan auto setting
[out] lpStep The current underscan auto setting
Returns:
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). Result Codes

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

Function to set the current UnderScan Auto setting for the display. This function set the UnderScan Auto setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[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] iCurrent The new underscan auto setting
Returns:
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). 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.

int ADL_Display_UnderScan_Auto_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iCurrent 
)

Function to set the current UnderScan Auto setting for the display. This function set the UnderScan Auto setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[in] iAdapterIndex The index of the desired adapter.
[in] iDisplayIndex The index of the desired display.
[in] iCurrent The new underscan auto setting
Returns:
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). Result Codes
Remarks:
Call ADL_Flush_Driver_Data() after to persist settings on reboot.

int ADL2_Display_Deflicker_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int *  lpCurrent,
int *  lpDefault,
int *  lpMin,
int *  lpMax,
int *  lpStep 
)

Function to get the current Deflicker setting from the display. This function retrieves the Deflicker information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[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.
[out] lpCurrent The current Deflicker setting
[out] lpDefault The default Deflicker setting
[out] lpMin The current Deflicker setting
[out] lpMax The default Deflicker setting
[out] lpStep The current Deflicker setting
Returns:
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). 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.

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

Function to get the current Deflicker setting from the display. This function retrieves the Deflicker information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[in] iAdapterIndex The index of the desired adapter.
[in] iDisplayIndex The index of the desired display.
[out] lpCurrent The current Deflicker setting
[out] lpDefault The default Deflicker setting
[out] lpMin The current Deflicker setting
[out] lpMax The default Deflicker setting
[out] lpStep The current Deflicker setting
Returns:
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). Result Codes

int ADL2_Display_Deflicker_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayindex,
int  iCurrent 
)

Function to set the current Deflicker setting for the display. This function set the Deflicker setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[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] iCurrent The new Deflicker setting
Returns:
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). 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.

int ADL_Display_Deflicker_Set ( int  iAdapterIndex,
int  iDisplayindex,
int  iCurrent 
)

Function to set the current Deflicker setting for the display. This function set the Deflicker setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[in] iAdapterIndex The index of the desired adapter.
[in] iDisplayIndex The index of the desired display.
[in] iCurrent The new Deflicker setting
Returns:
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). Result Codes
Remarks:
Call ADL_Flush_Driver_Data() after to persist settings on reboot.

int ADL2_Display_FilterSVideo_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int *  lpCurrent,
int *  lpDefault,
int *  lpMin,
int *  lpMax,
int *  lpStep 
)

Function to get the current FilterSVideo setting from the display. This function retrieves the S-Video Sharpness Control information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[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.
[out] lpCurrent The current FilterSVideo setting
[out] lpDefault The default FilterSVideo setting
[out] lpMin The current FilterSVideo setting
[out] lpMax The default FilterSVideo setting
[out] lpStep The current FilterSVideo setting
Returns:
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). 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.

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

Function to get the current FilterSVideo setting from the display. This function retrieves the S-Video Sharpness Control information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[in] iAdapterIndex The index of the desired adapter.
[in] iDisplayIndex The index of the desired display.
[out] lpCurrent The current FilterSVideo setting
[out] lpDefault The default FilterSVideo setting
[out] lpMin The current FilterSVideo setting
[out] lpMax The default FilterSVideo setting
[out] lpStep The current FilterSVideo setting
Returns:
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). Result Codes

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

Function to set the current FilterSVideo setting for the display. This function set the S-Video Sharpness Control setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[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] iCurrent The new FilterSVideo setting
Returns:
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). 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.

int ADL_Display_FilterSVideo_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iCurrent 
)

Function to set the current FilterSVideo setting for the display. This function set the S-Video Sharpness Control setting for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[in] iAdapterIndex The index of the desired adapter.
[in] iDisplayIndex The index of the desired display.
[in] iCurrent The new FilterSVideo setting
Returns:
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). Result Codes
Remarks:
Call ADL_Flush_Driver_Data() after to persist settings on reboot.

int ADL2_Display_DisplayContent_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int  iContent 
)

This function sets the picture setting (Graphics, Photo, Cinema or Gaming) on any HDMI that supports these modes. The application associated with this function is designed such that, the ITC display option must be toggled 'ON' (checked) before display content options become available for setting. If the display content is set, but the ITC is toggled 'OFF', the display content options will disable (gray-out), but still show which display content was last 'set'.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[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] iContent The display content desired to be set; where iContent is one of ADLDisplayContent.iContentType
Returns:
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). 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.

int ADL_Display_DisplayContent_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iContent 
)

This function sets the picture setting (Graphics, Photo, Cinema or Gaming) on any HDMI that supports these modes. The application associated with this function is designed such that, the ITC display option must be toggled 'ON' (checked) before display content options become available for setting. If the display content is set, but the ITC is toggled 'OFF', the display content options will disable (gray-out), but still show which display content was last 'set'.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[in] iAdapterIndex The index of the desired adapter.
[in] iDisplayIndex The index of the desired display.
[in] iContent The display content desired to be set; where iContent is one of ADLDisplayContent.iContentType
Returns:
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). Result Codes
Remarks:
Call ADL_Flush_Driver_Data() after to persist settings on reboot.

int ADL2_Display_DisplayContent_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int *  piContent 
)

This function gets the picture setting (Graphics, Photo, Cinema or Gaming) on any HDMI that supports these modes. The application associated with this function is designed such that, even if the ITC display option is toggled 'OFF' (unchecked), this function will still return the last display content mode that was set (or initial value of Graphics).

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[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] piContent The current display content setting; where piContent is one of ADLDisplayContent.iContentType
Returns:
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). 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.

int ADL_Display_DisplayContent_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  piContent 
)

This function gets the picture setting (Graphics, Photo, Cinema or Gaming) on any HDMI that supports these modes. The application associated with this function is designed such that, even if the ITC display option is toggled 'OFF' (unchecked), this function will still return the last display content mode that was set (or initial value of Graphics).

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[in] iAdapterIndex The index of the desired adapter.
[in] iDisplayIndex The index of the desired display.
[in] piContent The current display content setting; where piContent is one of ADLDisplayContent.iContentType
Returns:
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). Result Codes

int ADL2_Display_DisplayContent_Cap ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int *  pCapContent 
)

This function gets the application availability for display content value and ITC flag.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[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] pCapContent The current cap setting(if display content and ITC data are retrievable); where pCapContent returns the bitOR value of all supported ADLDisplayContent.iContentType (i.e. according to definitions of ADLDisplayContent.iContentType, if all content is supported it is expected that pCapContent will return with a value of, Graphics | Photo | Cinema |Game = 15)
Returns:
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). 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.

int ADL_Display_DisplayContent_Cap ( int  iAdapterIndex,
int  iDisplayIndex,
int *  pCapContent 
)

This function gets the application availability for display content value and ITC flag.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[in] iAdapterIndex The index of the desired adapter.
[in] iDisplayIndex The index of the desired display.
[in] pCapContent The current cap setting(if display content and ITC data are retrievable); where pCapContent returns the bitOR value of all supported ADLDisplayContent.iContentType (i.e. according to definitions of ADLDisplayContent.iContentType, if all content is supported it is expected that pCapContent will return with a value of, Graphics | Photo | Cinema |Game = 15)
Returns:
If the function succeeds, the return value is ADL_OK (zero). Otherwise the return value is an ADL error code (non-zero). Result Codes
Remarks:
Call ADL_Flush_Driver_Data() after to persist settings on reboot.

int ADL2_Adapter_ModeTimingOverride_Caps ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int *  lpSupported 
)

Function to retrieve Timing Override support.

This function retrieves Timing Override support for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[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.
[out] lpSupported If the specified adapter supports Custom Resolutions then returns ADL_TRUE else ADL_FALSE
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.

int ADL_Adapter_ModeTimingOverride_Caps ( int  iAdapterIndex,
int *  lpSupported 
)

Function to retrieve Timing Override support.

This function retrieves Timing Override support for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[in] iAdapterIndex The ADL index handle of the desired adapter.
[out] lpSupported If the specified adapter supports Custom Resolutions then returns ADL_TRUE else ADL_FALSE
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

int ADL2_Display_TargetTiming_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLDisplayID  displayID,
ADLDisplayModeInfo lpModeInfoOut 
)

Function to retrieve current display mode timing override information.

This function retrieves current display mode timing override information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[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] displayID The desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out] lpModeInfoOut The pointer to the ADLDisplayModeInfo structure storing the retrieved display mode information.
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.

int ADL_Display_TargetTiming_Get ( int  iAdapterIndex,
ADLDisplayID  displayID,
ADLDisplayModeInfo lpModeInfoOut 
)

Function to retrieve current display mode timing override information.

This function retrieves current display mode timing override information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[in] iAdapterIndex The ADL index handle of the desired adapter.
[in] displayID The desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out] lpModeInfoOut The pointer to the ADLDisplayModeInfo structure storing the retrieved display mode information.
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

int ADL2_Display_ModeTimingOverrideX2_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLDisplayID  displayID,
ADLDisplayModeX2 lpModeIn,
ADLDisplayModeInfo lpModeInfoOut 
)

Function to retrieve display mode timing override information.

This function retrieves display mode timing override information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[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] displayID The desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in] lpModeIn The pointer to the ADLDisplayMode structure storing the desired display mode.
[out] lpModeInfoOut The pointer to the ADLDisplayModeInfo structure storing the retrieved display mode information.
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.

int ADL_Display_ModeTimingOverrideX2_Get ( int  iAdapterIndex,
ADLDisplayID  displayID,
ADLDisplayModeX2 lpModeIn,
ADLDisplayModeInfo lpModeInfoOut 
)

Function to retrieve display mode timing override information.

This function retrieves display mode timing override information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[in] iAdapterIndex The ADL index handle of the desired adapter.
[in] displayID The desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in] lpModeIn The pointer to the ADLDisplayMode structure storing the desired display mode.
[out] lpModeInfoOut The pointer to the ADLDisplayModeInfo structure storing the retrieved display mode information.
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

int ADL2_Display_ModeTimingOverrideListX2_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLDisplayID  displayID,
int *  lpNumOfModes,
ADLDisplayModeInfo **  lpModeInfoList 
)

Function to get the display mode timing override list.

This function retrieves display mode timing override list.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[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] displayID The desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out] lpNumOfModes The pointer to the actual number of the retrieved overridden modes.
[out] lpModeInfoList The pointer to the retrieved ADLDisplayModeInfo structure. This pointer must be allocated by the user.
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.

int ADL_Display_ModeTimingOverrideListX2_Get ( int  iAdapterIndex,
ADLDisplayID  displayID,
int *  lpNumOfModes,
ADLDisplayModeInfo **  lpModeInfoList 
)

Function to get the display mode timing override list.

This function retrieves display mode timing override list.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[in] iAdapterIndex The ADL index handle of the desired adapter.
[in] displayID The desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[out] lpNumOfModes The pointer to the actual number of the retrieved overridden modes.
[out] lpModeInfoList The pointer to the retrieved ADLDisplayModeInfo structure. This pointer must be allocated by the user.
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

int ADL2_Display_ModeTimingOverride_Delete ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
ADLDisplayID  displayID,
ADLDisplayModeX2 lpMode,
int  iForceUpdate 
)

Function to delete display mode timing override information.

This function delete display mode timing override information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[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] displayID The desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in] lpModeIn The pointer to the ADLDisplayMode structure storing the desired display mode.
[in] iForceUpdate The value which forces the update of the timing override information.
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.

int ADL_Display_ModeTimingOverride_Delete ( int  iAdapterIndex,
ADLDisplayID  displayID,
ADLDisplayModeX2 lpMode,
int  iForceUpdate 
)

Function to delete display mode timing override information.

This function delete display mode timing override information for a specified display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[in] iAdapterIndex The ADL index handle of the desired adapter.
[in] displayID The desired display index. It can be retrieved from the ADLDisplayInfo data structure.
[in] lpModeIn The pointer to the ADLDisplayMode structure storing the desired display mode.
[in] iForceUpdate The value which forces the update of the timing override information.
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_Downscaling_Caps ( int  iAdapterIndex,
int  iDisplayID,
int *  lpCaps 
)

Function to get the Down-scaling Caps display information.

This function retrieves the Down-scaling Caps information for a specified adapter and display.

Supported Platforms:
and above
Parameters:
[in] iAdapterIndex The ADL index handle of the desired adapter.
[in] iDisplayID The desired display ID. It can be retrieved from the ADLDisplayInfo data structure.
[out] lpCaps The pointer to the Down-scaling Caps information retrieved from the driver.
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

int ADL2_Display_Downscaling_Caps ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayID,
int *  lpCaps 
)

Function to get the Down-scaling Caps display information.

This function retrieves the Down-scaling Caps information for a specified adapter and display.

Supported Platforms:
and above
Parameters:
[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] iDisplayID The desired display ID. It can be retrieved from the ADLDisplayInfo data structure.
[out] lpCaps The pointer to the Down-scaling Caps information retrieved from the driver.
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_FreeSyncState_Get ( int  iAdapterIndex,
int  iDisplayIndex,
int *  lpCurrent,
int *  lpDefault,
int *  lpMinRefreshRateInMicroHz,
int *  lpMaxRefreshRateInMicroHz 
)

Function to get the current state and capability of the FreeSync feature.

This function gets the current and default FreeSync settings for a specified display along with the supported FreeSync refresh rate range.

Supported Platforms:
Linux and Windows(XP, Vista and above); 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 FreeSync setting currently applied. It is a bit vector. Define_freesync_usecase
[out] lpDefault The pointer to the default FreeSync setting. It is a bit vector. Define_freesync_usecase
[out] lpMinRefreshRateInMicroHz The pointer to the minimum refresh rate in the range supported by FreeSync in microhertz.
[out] lpMaxRefreshRateInMicroHz The pointer to the maximum refresh rate in the range supported by FreeSync in microhertz.
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.

int ADL2_Display_FreeSyncState_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int *  lpCurrent,
int *  lpDefault,
int *  lpMinRefreshRateInMicroHz,
int *  lpMaxRefreshRateInMicroHz 
)

Function to get the current state and capability of the FreeSync feature.

This function gets the current and default FreeSync settings for a specified display along with the supported FreeSync refresh rate range.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[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] lpCurrent The pointer to the FreeSync setting currently applied. It is a bit vector. Define_freesync_usecase
[out] lpDefault The pointer to the default FreeSync setting. It is a bit vector. Define_freesync_usecase
[out] lpMinRefreshRateInMicroHz The pointer to the minimum refresh rate in the range supported by FreeSync in microhertz.
[out] lpMaxRefreshRateInMicroHz The pointer to the maximum refresh rate in the range supported by FreeSync in microhertz.
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.

int ADL_Display_FreeSyncState_Set ( int  iAdapterIndex,
int  iDisplayIndex,
int  iSetting,
int  iRefreshRateInMicroHz 
)

Function to set the current state of the FreeSync feature.

This function sets the FreeSync feature enable state for a specified display. There is a second input parameter that may be used to request a specific refresh rate to be applied.

Supported Platforms:
Linux and Windows(XP, Vista and above); 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] iSetting The desired FreeSync setting to be applied for the specified display. Define_freesync_usecase
[in] iRefreshRateInMicroHz If non-zero value is specified, this indicates a request to set a specific refresh rate in microhertz. Otherwise, driver default will decide FreeSync refresh rate dynamically.
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.

int ADL2_Display_FreeSyncState_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
int  iSetting,
int  iRefreshRateInMicroHz 
)

Function to set the current state of the FreeSync feature.

This function sets the FreeSync feature enable state for a specified display. There is a second input parameter that may be used to request a specific refresh rate to be applied.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[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] iSetting The desired FreeSync setting to be applied for the specified display. Define_freesync_usecase
[in] iRefreshRateInMicroHz If non-zero value is specified, this indicates a request to set a specific refresh rate in microhertz. Otherwise, driver default will decide FreeSync refresh rate dynamically.
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.

int ADL2_Display_DCE_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
ADLDceSettings lpADLDceSettings 
)

Function to retrieve per display Display Connectivity Experience information.

This function sets the Display Connectivity Experience settings of a display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[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] lpFreeSyncCaps The pointer to the ADLDceSettings structure
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.

int ADL_Display_DCE_Set ( int  iAdapterIndex,
int  iDisplayIndex,
ADLDceSettings lpADLDceSettings 
)

Function to retrieve per display Display Connectivity Experience information.

This function sets the Display Connectivity Experience settings of a display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 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] lpFreeSyncCaps The pointer to the ADLDceSettings structure
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

int ADL2_Display_DCE_Get ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
ADLDceSettings lpADLDceSettings 
)

Function to retrieve per display Display Connectivity Experience information.

This function retrieves the Display Connectivity Experience settings of a display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[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] lpFreeSyncCaps The pointer to the ADLDceSettings structure
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.

int ADL_Display_DCE_Get ( int  iAdapterIndex,
int  iDisplayIndex,
ADLDceSettings lpADLDceSettings 
)

Function to retrieve per display Display Connectivity Experience information.

This function retrieves the Display Connectivity Experience settings of a display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 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] lpFreeSyncCaps The pointer to the ADLDceSettings structure
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

int ADL2_Display_FreeSync_Cap ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  iDisplayIndex,
ADLFreeSyncCap lpFreeSyncCaps 
)

Function to retrieve per display FreeSync capability information.

This function retrieves the FreeSync capabilities of a display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[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] lpFreeSyncCaps The pointer to the ADLFreeSyncCap structure storing the retrieved FreeSync capabilities for the requested display index.
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.

int ADL_Display_FreeSync_Cap ( int  iAdapterIndex,
int  iDisplayIndex,
ADLFreeSyncCap lpFreeSyncCaps 
)

Function to retrieve per display FreeSync capability information.

This function retrieves the FreeSync capabilities of a display.

Supported Platforms:
Linux and Windows(XP, Vista and above); 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] lpFreeSyncCaps The pointer to the ADLFreeSyncCap structure storing the retrieved FreeSync capabilities for the requested display index.
Returns:
If the function succeeds, the return value is ADL_OK. Otherwise the return value is an ADL error code. Result Codes

int ADL_CDS_UnsafeMode_Set ( int  iAdapterIndex,
int  unsafeMode 
)

Function to set the current EDS mode enumeration mode.

This function sets the current EDS mode enumeration mode: Safe or Unsafe(raw modes).

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[in] iAdapterIndex The ADL index handle of the desired adapter.
[in] unsafeMode The EDS mode enumeration mode to set (0: Safe mode, 1: Unsafe mode).
Returns:
Succeed: ADL_OK. Otherwise: ADL error code Result Codes

int ADL2_CDS_UnsafeMode_Set ( ADL_CONTEXT_HANDLE  context,
int  iAdapterIndex,
int  unsafeMode 
)

Function to set the current EDS mode enumeration mode.

This function sets the current EDS mode enumeration mode: Safe or Unsafe(raw modes).

Supported Platforms:
Linux and Windows(XP, Vista and above); 32bit and 64bit
Parameters:
[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] unsafeMode The EDS mode enumeration mode to set (0: Safe mode, 1: Unsafe mode).
Returns:
Succeed: ADL_OK. Otherwise: ADL error code Result Codes


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