PDK API Guide for J721E
dss_disp.h File Reference

Introduction

DSS Display Driver interface file.

Go to the source code of this file.

Data Structures

struct  Dss_DispCreateParams
 Structure containing display driver create arguments, used when calling Fvid2_create(). More...
 
struct  Dss_DispCreateStatus
 Structure containing create status for the display driver. This should be passed as a status argument while creating the driver. More...
 
struct  Dss_DispPipeCropParams
 Structure containing video pipeline crop configuration. More...
 
struct  Dss_DispParams
 Structure containing DSS parameters. This structure is used as an argument to IOCTL_DSS_DISP_SET_DSS_PARAMS. More...
 
struct  Dss_DispPipeMflagParams
 Structure containing Video Pipe Mflag Information. This structure is used as an argument to IOCTL_DSS_DISP_SET_PIPE_MFLAG_PARAMS. More...
 
struct  Dss_DispCurrentStatus
 Structure containing current status of the display driver. This structure is used as an argument to IOCTL_DSS_DISP_GET_CURRENT_STATUS. More...
 
struct  Dss_DispPipeSafetyChkParams
 Structure containing Safety Check configuration of Video Port. This structure is used as an argument to IOCTL_DSS_DISP_SET_PIPE_SAFETY_CHK_PARAMS. More...
 
struct  Dss_DispBufPrgmCbParams
 Structure containing display buffer program callback parameters. This structure is used as an argument to IOCTL_DSS_DISP_REGISTER_BUF_PRGM_CB. More...
 
struct  Dss_DispPipePrgmCbParams
 Structure containing video pipe program callback parameters. This structure is used as an argument to IOCTL_DSS_DISP_REGISTER_PIPE_PRGM_CB. More...
 
struct  Dss_DispUnderFlowCbParams
 Structure containing pipe under flow callback parameters. This structure is used as an argument to IOCTL_DSS_DISP_REGISTER_PIPE_UNDERFLOW_CB. More...
 
struct  Dss_ScRtParams
 Structure containing run time scaler configuration. More...
 
struct  Dss_FrameRtParams
 Structure containing run time configuration per frame. More...
 
struct  Dss_DispRtParams
 Structure containing run time configuration of the display driver. This needs to be passed along with frame list to update any supported run time parameters. More...
 

Macros

#define DSS_BUFFER_ALIGNMENT   (16U)
 DSS video buffer alignment. All application buffer address and line pitch should be aligned to this byte boundary. More...
 
#define IOCTL_DSS_DISP_SET_DSS_PARAMS   (DSS_DISP_IOCTL_BASE + 0x0001U)
 Command to set DSS display parameters. More...
 
#define IOCTL_DSS_DISP_SET_PIPE_MFLAG_PARAMS   (DSS_DISP_IOCTL_BASE + 0x0002U)
 Command to set MFLAG parameters for video pipe. More...
 
#define IOCTL_DSS_DISP_GET_CURRENT_STATUS   (DSS_DISP_IOCTL_BASE + 0x0003U)
 Command to get the display status. More...
 
#define IOCTL_DSS_DISP_SET_PIPE_SAFETY_CHK_PARAMS   (DSS_DISP_IOCTL_BASE + 0x0004U)
 Command to program Safety Check configuration at Video Pipe Output. More...
 
#define IOCTL_DSS_DISP_SET_PIPE_CSC_COEFF   (DSS_DISP_IOCTL_BASE + 0x0005U)
 Command to program the CSC coefficients for Video Pipe. By default BT 601 coefficients are set. More...
 
#define IOCTL_DSS_DISP_REGISTER_BUF_PRGM_CB   (DSS_DISP_IOCTL_BASE + 0x0006U)
 Command to register buffer program callback function. More...
 
#define IOCTL_DSS_DISP_REGISTER_PIPE_PRGM_CB   (DSS_DISP_IOCTL_BASE + 0x0007U)
 Command to register video pipe program callback function. More...
 
#define IOCTL_DSS_DISP_REGISTER_PIPE_UNDERFLOW_CB   (DSS_DISP_IOCTL_BASE + 0x0008U)
 Command to register video pipe underflow callback function. More...
 

Typedefs

typedef Fvid2_Frame *(* Dss_DispBufPrgmCbFxn) (Fvid2_Handle handle, Fvid2_Frame *curFrm, uint32_t isFrmRepeat, uint32_t frmRepeatCnt)
 Display driver buffer program callback function prototype. More...
 
typedef int32_t(* Dss_DispPipePrgmCbFxn) (Fvid2_Frame *progFrm, void *appData)
 Display driver video pipe program callback function prototype. More...
 
typedef void(* Dss_DispUnderFlowCbFxn) (void *appData)
 Video pipe underflow callback function prototype. More...
 
typedef void(* Dss_DispSafetyErrCbFxn) (uint32_t capturedSign, void *appData)
 Video Pipe safety error callback function prototype. More...
 

Functions

static void Dss_dispCreateParamsInit (Dss_DispCreateParams *createParams)
 Dss_DispCreateParams structure init function. More...
 
static void Dss_dispParamsInit (Dss_DispParams *dssParams)
 Dss_DispParams structure init function. More...
 
static void Dss_dispPipeMflagParamsInit (Dss_DispPipeMflagParams *pipeMflagParams)
 Dss_DispPipeMflagParams structure init function. More...
 
static void Dss_dispPipeSafetyChkParamsInit (Dss_DispPipeSafetyChkParams *pipeSafetyChkParams)
 Dss_DispPipeSafetyChkParams structure init function. More...
 
static void Dss_dispBufPrgmCbParamsInit (Dss_DispBufPrgmCbParams *bufPrgmCbParams)
 Dss_DispBufPrgmCbParams structure init function. More...
 
static void Dss_dispPipePrgmCbParamsInit (Dss_DispPipePrgmCbParams *pipePrgmCbParams)
 Dss_DispPipePrgmCbParams structure init function. More...
 
static void Dss_dispUnderFlowCbParamsInit (Dss_DispUnderFlowCbParams *underFlowCbParams)
 Dss_DispUnderFlowCbParams structure init function. More...
 
static void Dss_scRtParamsInit (Dss_ScRtParams *scRtParams)
 Dss_ScRtParams structure init function. More...
 
static void Dss_frameRtParamsInit (Dss_FrameRtParams *frameRtParams)
 Dss_FrameRtParams structure init function. More...
 
static void Dss_dispRtParamsInit (Dss_DispRtParams *rtParams)
 Dss_DispRtParams structure init function. More...
 
static void Dss_dispPipeCropParamsInit (Dss_DispPipeCropParams *cropParams)