Video Device Buffer
The following code block shows the data structure for the video device buffer structure.
typedef struct _ST_VDO_BUF {
STF_U32 u32Index;
STF_INT nDmaBufFd;
STF_U32 u32Length;
STF_VOID *pvBuffer;
} ST_VDO_BUF, *PST_VDO_BUF;
The following table describes the fields in the above code block.
| Field | Description |
|---|---|
| u32Index | Buffer index |
| nDmaBufFd | DMA buffer file descriptor |
| u32Length | DMA buffer size |
| pvBuffer | Point to user space buffer |
