NVIDIA DeepStream SDK API Reference

6.4 Release

Detailed Description

Holds information about batched buffers.

Definition at line 503 of file nvbufsurface.h.

Collaboration diagram for NvBufSurface:

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

◆ _reserved

void* NvBufSurface::_reserved[STRUCTURE_PADDING]

Definition at line 519 of file nvbufsurface.h.

◆ batchSize

uint32_t NvBufSurface::batchSize

Holds the batch size.

Definition at line 507 of file nvbufsurface.h.

◆ gpuId

uint32_t NvBufSurface::gpuId

Holds a GPU ID.

Valid only for a multi-GPU system.

Definition at line 505 of file nvbufsurface.h.

◆ isContiguous

bool NvBufSurface::isContiguous

Holds an "is contiguous" flag.

If set, memory allocated for the batch is contiguous.

Definition at line 513 of file nvbufsurface.h.

Referenced by nvdsinferserver::SurfaceBuffer::getBufOffset().

◆ memType

NvBufSurfaceMemType NvBufSurface::memType

Holds type of memory for buffers in the batch.

Definition at line 515 of file nvbufsurface.h.

◆ numFilled

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 510 of file nvbufsurface.h.

◆ surfaceList

NvBufSurfaceParams* NvBufSurface::surfaceList

Holds a pointer to an array of batched buffers.

Definition at line 517 of file nvbufsurface.h.


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