Device Settings HAL 0.2.0
 
Loading...
Searching...
No Matches
dsDisplay.h File Reference
#include "dsError.h"
#include "dsTypes.h"
Include dependency graph for dsDisplay.h:

Go to the source code of this file.

Typedefs

typedef enum _dsDisplayEvent_t dsDisplayEvent_t
 
typedef void(* dsDisplayEventCallback_t) (intptr_t handle, dsDisplayEvent_t event, void *eventData)
 Callback function used to notify display related events to the caller.
 

Enumerations

enum  _dsDisplayEvent_t {
  dsDISPLAY_EVENT_CONNECTED = 0 , dsDISPLAY_EVENT_DISCONNECTED , dsDISPLAY_RXSENSE_ON , dsDISPLAY_RXSENSE_OFF ,
  dsDISPLAY_HDCPPROTOCOL_CHANGE , dsDISPLAY_EVENT_MAX
}
 This enumeration defines standard display event types. More...
 

Functions

dsError_t dsDisplayInit ()
 Initializes the DS Display sub-system.
 
dsError_t dsGetDisplay (dsVideoPortType_t vType, int index, intptr_t *handle)
 Gets the handle of connected display device.
 
dsError_t dsGetEDID (intptr_t handle, dsDisplayEDID_t *edid)
 Gets the EDID information from the specified display device.
 
dsError_t dsGetEDIDBytes (intptr_t handle, unsigned char **edid, int *length)
 Gets the EDID buffer and EDID length of connected display device.
 
dsError_t dsGetDisplayAspectRatio (intptr_t handle, dsVideoAspectRatio_t *aspectRatio)
 Gets the aspect ratio of connected display device.
 
dsError_t dsDisplayTerm ()
 Terminates the display sub-system.
 
dsError_t dsRegisterDisplayEventCallback (intptr_t handle, dsDisplayEventCallback_t cb)
 Callback registration for display related events.
 

Detailed Description

Document
Document reference.
Open Issues (in no particular order)
  1. None
Assumptions
  1. None
Abbreviations
  • cb: Callback function (suffix).
  • DS: Device Settings.
  • HAL: Hardware Abstraction Layer.
  • EDID: Extended Display Identification Data.
  • HDMI: High-Definition Multimedia Interface
  • DVI: Digital Visual Interface
  • EDID: Extended Display Identification Data
  • HDCP: High-bandwidth Digital Content Protection
  • SoC: System on chip
Implementation Notes
  1. None