NVIDIA DeepStream SDK API Reference6.0.1 Release |
Holds information about a single buffer in a batch.
Definition at line 263 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 288 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 276 of file nvbufsurface.h.
NvBufSurfaceColorFormat NvBufSurfaceParams::colorFormat |
Holds the color format of the buffer.
Definition at line 271 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 281 of file nvbufsurface.h.
uint32_t NvBufSurfaceParams::dataSize |
Holds the amount of allocated memory.
Definition at line 278 of file nvbufsurface.h.
uint32_t NvBufSurfaceParams::height |
Holds the height of the buffer.
Definition at line 267 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 286 of file nvbufsurface.h.
uint32_t NvBufSurfaceParams::pitch |
Holds the pitch of the buffer.
Definition at line 269 of file nvbufsurface.h.
NvBufSurfacePlaneParams NvBufSurfaceParams::planeParams |
Holds planewise information (width, height, pitch, offset, etc.).
Definition at line 283 of file nvbufsurface.h.
uint32_t NvBufSurfaceParams::width |
Holds the width of the buffer.
Definition at line 265 of file nvbufsurface.h.