libtiepie  0.3.0
 All Files Functions Typedefs Groups
Resolution

Functions

uint32_t ScpGetResolutions (TpDeviceHandle_t hDevice, uint8_t *pList, uint32_t dwLength)
uint8_t ScpGetResolution (TpDeviceHandle_t hDevice)
uint8_t ScpSetResolution (TpDeviceHandle_t hDevice, uint8_t byResolution)
bool8_t ScpIsResolutionEnhanced (TpDeviceHandle_t hDevice)
bool8_t ScpIsResolutionEnhancedEx (TpDeviceHandle_t hDevice, uint8_t byResolution)

Detailed Description


Function Documentation

uint8_t ScpGetResolution ( TpDeviceHandle_t  hDevice)

Get current resolution

Parameters:
hDevicea device handle
Returns:
current resolution
uint32_t ScpGetResolutions ( TpDeviceHandle_t  hDevice,
uint8_t *  pList,
uint32_t  dwLength 
)

Get array with supported resolutions

Parameters:
hDevicea device handle
pListpointer to array
dwLengthnumber of elements in array
Returns:
total number of resolutions
bool8_t ScpIsResolutionEnhanced ( TpDeviceHandle_t  hDevice)

Check if current resolution is enhanced

Parameters:
hDevicea device handle
Returns:
1 if current resolution is enhanced, 0 otherwise
bool8_t ScpIsResolutionEnhancedEx ( TpDeviceHandle_t  hDevice,
uint8_t  byResolution 
)

Check if resolution is enhanced

Parameters:
hDevicea device handle
byResolutionresolution in bits
Returns:
1 if resolution is enhanced, 0 otherwise
uint8_t ScpSetResolution ( TpDeviceHandle_t  hDevice,
uint8_t  byResolution 
)

Set resolution

Parameters:
hDevicea device handle
byResolutionresolution in bits
Returns:
current resolution