|  | NVIDIA DeepStream SDK API Reference5.0 Release | 
Holds information about a single buffer in a batch.
Definition at line 247 of file nvbufsurface.h.

| Data Fields | |
| uint32_t | width | 
| Holds the width of the buffer.  More... | |
| uint32_t | height | 
| Holds the height of the buffer.  More... | |
| uint32_t | pitch | 
| Holds the pitch of the buffer.  More... | |
| NvBufSurfaceColorFormat | colorFormat | 
| Holds the color format of the buffer.  More... | |
| NvBufSurfaceLayout | layout | 
| Holds BL or PL.  More... | |
| uint64_t | bufferDesc | 
| Holds a DMABUF FD.  More... | |
| uint32_t | dataSize | 
| Holds the amount of allocated memory.  More... | |
| void * | dataPtr | 
| Holds a pointer to allocated memory.  More... | |
| NvBufSurfacePlaneParams | planeParams | 
| Holds planewise information (width, height, pitch, offset, etc.).  More... | |
| NvBufSurfaceMappedAddr | mappedAddr | 
| Holds pointers to mapped buffers.  More... | |
| void * | _reserved [STRUCTURE_PADDING] | 
| void* NvBufSurfaceParams::_reserved[STRUCTURE_PADDING] | 
Definition at line 272 of file nvbufsurface.h.
| uint64_t NvBufSurfaceParams::bufferDesc | 
Holds a DMABUF FD.
Valid only for NVBUF_MEM_SURFACE_ARRAY and NVBUF_MEM_HANDLE type memory.
Definition at line 260 of file nvbufsurface.h.
| NvBufSurfaceColorFormat NvBufSurfaceParams::colorFormat | 
Holds the color format of the buffer.
Definition at line 255 of file nvbufsurface.h.
| void* NvBufSurfaceParams::dataPtr | 
Holds a pointer to allocated memory.
Not valid for NVBUF_MEM_SURFACE_ARRAY or NVBUF_MEM_HANDLE.
Definition at line 265 of file nvbufsurface.h.
| uint32_t NvBufSurfaceParams::dataSize | 
Holds the amount of allocated memory.
Definition at line 262 of file nvbufsurface.h.
| uint32_t NvBufSurfaceParams::height | 
Holds the height of the buffer.
Definition at line 251 of file nvbufsurface.h.
| NvBufSurfaceLayout NvBufSurfaceParams::layout | 
| NvBufSurfaceMappedAddr NvBufSurfaceParams::mappedAddr | 
Holds pointers to mapped buffers.
Initialized to NULL when the structure is created.
Definition at line 270 of file nvbufsurface.h.
| uint32_t NvBufSurfaceParams::pitch | 
Holds the pitch of the buffer.
Definition at line 253 of file nvbufsurface.h.
| NvBufSurfacePlaneParams NvBufSurfaceParams::planeParams | 
Holds planewise information (width, height, pitch, offset, etc.).
Definition at line 267 of file nvbufsurface.h.
| uint32_t NvBufSurfaceParams::width | 
Holds the width of the buffer.
Definition at line 249 of file nvbufsurface.h.