DRM Device Parameter
The following code block shows the data structure for the DRM device parameter structure.
typedef struct _ST_DRM_DEV_PARAM {
STF_U16 u16Width;
STF_U16 u16Height;
STF_U32 u32PixelFormat;
STF_U32 u32BufCount;
STF_INT nConnectorId;
ST_DRM_DEV *pstDrmDevHead;
} ST_DRM_DEV_PARAM, *PST_DRM_DEV_PARAM;
The following table describes the fields in the above code block.
| Field | Description |
|---|---|
| u16Width | The width of DRM buffer |
| u16Height | The height of DRM buffer |
| u32PixelFormat | The pixel format |
| u32BufCount | Indicate the amount of DRM buffers |
| nConnectorId | The connector id of DRM device |
| pstDrmDevHead | Point to the head of the DRM device list |
