NVIDIA DeepStream SDK API Reference

4.0 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
NvBufSurface Struct Reference

Detailed Description

Holds information about batched buffers.

Definition at line 283 of file nvbufsurface.h.

Data Fields

uint32_t gpuId
 Holds a GPU ID. More...
 
uint32_t batchSize
 Holds the batch size. More...
 
uint32_t numFilled
 Holds the number valid and filled buffers. More...
 
bool isContiguous
 Holds an "is contiguous" flag. More...
 
NvBufSurfaceMemType memType
 Holds type of memory for buffers in the batch. More...
 
NvBufSurfaceParamssurfaceList
 Holds a pointer to an array of batched buffers. More...
 
void * _reserved [STRUCTURE_PADDING]
 

Field Documentation

void* NvBufSurface::_reserved[STRUCTURE_PADDING]

Definition at line 299 of file nvbufsurface.h.

uint32_t NvBufSurface::batchSize

Holds the batch size.

Definition at line 287 of file nvbufsurface.h.

uint32_t NvBufSurface::gpuId

Holds a GPU ID.

Valid only for a multi-GPU system.

Definition at line 285 of file nvbufsurface.h.

bool NvBufSurface::isContiguous

Holds an "is contiguous" flag.

If set, memory allocated for the batch is contiguous.

Definition at line 293 of file nvbufsurface.h.

NvBufSurfaceMemType NvBufSurface::memType

Holds type of memory for buffers in the batch.

Definition at line 295 of file nvbufsurface.h.

uint32_t NvBufSurface::numFilled

Holds the number valid and filled buffers.

Initialized to zero when an instance of the structure is created.

Definition at line 290 of file nvbufsurface.h.

NvBufSurfaceParams* NvBufSurface::surfaceList

Holds a pointer to an array of batched buffers.

Definition at line 297 of file nvbufsurface.h.


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