Device Settings HAL 0.2.0
 
Loading...
Searching...
No Matches
#include <sys/types.h>
#include "dsError.h"
#include "dsTypes.h"
Include dependency graph for dsVideoDevice.h:

Go to the source code of this file.

Typedefs

typedef void(* dsRegisterFrameratePreChangeCB_t) (unsigned int tSecond)
 Call back function to receive the framerate change event form the HAL side.
 
typedef void(* dsRegisterFrameratePostChangeCB_t) (unsigned int tSecond)
 Call back function to receive the framerate change is event.
 

Functions

dsError_t dsVideoDeviceInit ()
 Initializes all the video devices in the system.
 
dsError_t dsGetVideoDevice (int index, intptr_t *handle)
 Gets the handle for the video device requested.
 
dsError_t dsSetDFC (intptr_t handle, dsVideoZoom_t dfc)
 Sets the screen zoom mode (decoder format conversion)
 
dsError_t dsGetDFC (intptr_t handle, dsVideoZoom_t *dfc)
 Gets the screen zoom mode (decoder format conversion)
 
dsError_t dsVideoDeviceTerm ()
 De-initializes all the video devices in the system.
 
dsError_t dsGetHDRCapabilities (intptr_t handle, int *capabilities)
 Gets the HDR capabilities.
 
dsError_t dsGetSupportedVideoCodingFormats (intptr_t handle, unsigned int *supported_formats)
 Gets the video formats supported.
 
dsError_t dsGetVideoCodecInfo (intptr_t handle, dsVideoCodingFormat_t codec, dsVideoCodecInfo_t *info)
 Gets the video codec information.
 
dsError_t dsForceDisableHDRSupport (intptr_t handle, bool disable)
 Disables, forcefully the HDR support of the device.
 
dsError_t dsSetFRFMode (intptr_t handle, int frfmode)
 Sets the FRF mode of the device.
 
dsError_t dsGetFRFMode (intptr_t handle, int *frfmode)
 Gets the FRF mode of the device.
 
dsError_t dsGetCurrentDisplayframerate (intptr_t handle, char *framerate)
 Gets the current framerate of the device.
 
dsError_t dsSetDisplayframerate (intptr_t handle, char *framerate)
 Sets the display framerate for the device.
 
dsError_t dsRegisterFrameratePreChangeCB (dsRegisterFrameratePreChangeCB_t CBFunc)
 This function is used to register the callback function for the Display framerate pre change event.
 
dsError_t dsRegisterFrameratePostChangeCB (dsRegisterFrameratePostChangeCB_t CBFunc)
 This function is used to register a callback function for the Display framerate post change event from the HAL side.