NVIDIA DeepStream SDK API Reference

7.0 Release

Detailed Description

Holds information about batched buffers.

Definition at line 509 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 525 of file nvbufsurface.h.

◆ batchSize

uint32_t NvBufSurface::batchSize

Holds the batch size.

Definition at line 513 of file nvbufsurface.h.

◆ gpuId

uint32_t NvBufSurface::gpuId

Holds a GPU ID.

Valid only for a multi-GPU system.

Definition at line 511 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 519 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 521 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 516 of file nvbufsurface.h.

◆ surfaceList

NvBufSurfaceParams* NvBufSurface::surfaceList

Holds a pointer to an array of batched buffers.

Definition at line 523 of file nvbufsurface.h.


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