RDK Documentation (Open Sourced RDK Components)
dsDisplay.h File Reference
#include "dsError.h"
#include "dsTypes.h"
Include dependency graph for dsDisplay.h:
This graph shows which files directly or indirectly include this file:

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 applications of display events. More...
 

Enumerations

enum  _dsDisplayEvent_t
 

Functions

dsError_t dsDisplayInit ()
 Initialize the Display sub-system. More...
 
dsError_t dsGetDisplay (dsVideoPortType_t vType, int index, intptr_t *handle)
 Get the handle of a display device. More...
 
dsError_t dsGetEDID (intptr_t handle, dsDisplayEDID_t *edid)
 Get the EDID information from the specified display device. More...
 
dsError_t dsGetEDIDBytes (intptr_t handle, unsigned char **edid, int *length)
 This function is used to get the EDID buffer and length of the connected display. More...
 
dsError_t dsGetDisplayAspectRatio (intptr_t handle, dsVideoAspectRatio_t *aspectRatio)
 This function gets the aspect ratio for the dsiaply device. This function returns the aspect ratio of the display corresponding to the specified display device handle. More...
 
dsError_t dsDisplayTerm ()
 This function deinitialize the display sub-system. This function deallocates the data structures used within the display module and releases any display specific handles. More...
 
dsError_t dsRegisterDisplayEventCallback (intptr_t handle, dsDisplayEventCallback_t cb)
 Register a callback function to listen for display events. More...