NVIDIA DeepStream SDK API Reference

4.0.2 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvBufSurfaceParams Struct Reference

Detailed Description

Hold the information of single buffer in the batch.

Definition at line 232 of file nvbufsurface.h.

Collaboration diagram for NvBufSurfaceParams:

Data Fields

uint32_t width
 width of buffer More...
 
uint32_t height
 height of buffer More...
 
uint32_t pitch
 pitch of buffer More...
 
NvBufSurfaceColorFormat colorFormat
 color format More...
 
NvBufSurfaceLayout layout
 BL or PL for Jetson, ONLY PL in case of dGPU. More...
 
uint64_t bufferDesc
 dmabuf fd in case of NVBUF_MEM_SURFACE_ARRAY and NVBUF_MEM_HANDLE type memory. More...
 
uint32_t dataSize
 size of allocated memory More...
 
void * dataPtr
 pointer to allocated memory, Not valid for NVBUF_MEM_SURFACE_ARRAY and NVBUF_MEM_HANDLE More...
 
NvBufSurfacePlaneParams planeParams
 plane wise info (w, h, p, offset etc.) More...
 
NvBufSurfaceMappedAddr mappedAddr
 pointers of mapped buffers. More...
 
void * _reserved [STRUCTURE_PADDING]
 

Field Documentation

void* NvBufSurfaceParams::_reserved[STRUCTURE_PADDING]

Definition at line 258 of file nvbufsurface.h.

uint64_t NvBufSurfaceParams::bufferDesc

dmabuf fd in case of NVBUF_MEM_SURFACE_ARRAY and NVBUF_MEM_HANDLE type memory.

Invalid for other types.

Definition at line 246 of file nvbufsurface.h.

NvBufSurfaceColorFormat NvBufSurfaceParams::colorFormat

color format

Definition at line 240 of file nvbufsurface.h.

void* NvBufSurfaceParams::dataPtr

pointer to allocated memory, Not valid for NVBUF_MEM_SURFACE_ARRAY and NVBUF_MEM_HANDLE

Definition at line 252 of file nvbufsurface.h.

uint32_t NvBufSurfaceParams::dataSize

size of allocated memory

Definition at line 248 of file nvbufsurface.h.

uint32_t NvBufSurfaceParams::height

height of buffer

Definition at line 236 of file nvbufsurface.h.

NvBufSurfaceLayout NvBufSurfaceParams::layout

BL or PL for Jetson, ONLY PL in case of dGPU.

Definition at line 242 of file nvbufsurface.h.

NvBufSurfaceMappedAddr NvBufSurfaceParams::mappedAddr

pointers of mapped buffers.

Null Initialized values.

Definition at line 256 of file nvbufsurface.h.

uint32_t NvBufSurfaceParams::pitch

pitch of buffer

Definition at line 238 of file nvbufsurface.h.

NvBufSurfacePlaneParams NvBufSurfaceParams::planeParams

plane wise info (w, h, p, offset etc.)

Definition at line 254 of file nvbufsurface.h.

uint32_t NvBufSurfaceParams::width

width of buffer

Definition at line 234 of file nvbufsurface.h.


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