NVIDIA DeepStream SDK API Reference

8.0 Release
NvBufSurfaceCreateParams Struct Reference

Detailed Description

Holds parameters required to allocate an NvBufSurface.

Definition at line 427 of file nvbufsurface.h.

Data Fields

uint32_t gpuId
 Holds the GPU ID. More...
 
uint32_t width
 Holds the width of the buffer. More...
 
uint32_t height
 Holds the height of the buffer. More...
 
uint32_t size
 Holds the amount of memory to be allocated. More...
 
bool isContiguous
 Holds a "contiguous memory" flag. More...
 
NvBufSurfaceColorFormat colorFormat
 Holds the color format of the buffer. More...
 
NvBufSurfaceLayout layout
 Holds the surface layout. More...
 
NvBufSurfaceMemType memType
 Holds the type of memory to be allocated. More...
 
void * _reserved [STRUCTURE_PADDING]
 Holds the reserved space for future use. More...
 

The documentation for this struct was generated from the following file: