NVIDIA DeepStream SDK API Reference

7.1 Release

Detailed Description

Hold the information of single buffer in the batch.

Definition at line 487 of file nvbufsurface.h.

Collaboration diagram for NvBufSurfaceParams:

Data Fields

uint32_t width
 Holds the width of the buffer. More...
 
uint32_t height
 Holds the height of the buffer. More...
 
uint32_t pitch
 Holds the pitch of the buffer. More...
 
NvBufSurfaceColorFormat colorFormat
 Holds the color format of the buffer. More...
 
NvBufSurfaceLayout layout
 Holds BL or PL. More...
 
uint64_t bufferDesc
 Holds a DMABUF FD. More...
 
uint32_t dataSize
 Holds the amount of allocated memory. More...
 
void * dataPtr
 Holds a pointer to allocated memory. More...
 
NvBufSurfacePlaneParams planeParams
 Holds planewise information (width, height, pitch, offset, etc.). More...
 
NvBufSurfaceMappedAddr mappedAddr
 Holds pointers to mapped buffers. More...
 
NvBufSurfaceParamsExparamex
 pointers of extended parameters of single buffer in the batch. More...
 
void * _reserved [STRUCTURE_PADDING - 1]
 

Field Documentation

◆ _reserved

void* NvBufSurfaceParams::_reserved[STRUCTURE_PADDING - 1]

Definition at line 514 of file nvbufsurface.h.

◆ bufferDesc

uint64_t NvBufSurfaceParams::bufferDesc

Holds a DMABUF FD.

Valid only for NVBUF_MEM_SURFACE_ARRAY and NVBUF_MEM_HANDLE type memory.

Definition at line 500 of file nvbufsurface.h.

◆ colorFormat

NvBufSurfaceColorFormat NvBufSurfaceParams::colorFormat

Holds the color format of the buffer.

Definition at line 495 of file nvbufsurface.h.

◆ dataPtr

void* NvBufSurfaceParams::dataPtr

Holds a pointer to allocated memory.

Not valid for NVBUF_MEM_SURFACE_ARRAY or NVBUF_MEM_HANDLE.

Definition at line 505 of file nvbufsurface.h.

◆ dataSize

uint32_t NvBufSurfaceParams::dataSize

Holds the amount of allocated memory.

Definition at line 502 of file nvbufsurface.h.

◆ height

uint32_t NvBufSurfaceParams::height

Holds the height of the buffer.

Definition at line 491 of file nvbufsurface.h.

◆ layout

NvBufSurfaceLayout NvBufSurfaceParams::layout

Holds BL or PL.

For dGPU, only PL is valid.

Definition at line 497 of file nvbufsurface.h.

◆ mappedAddr

NvBufSurfaceMappedAddr NvBufSurfaceParams::mappedAddr

Holds pointers to mapped buffers.

Initialized to NULL when the structure is created.

Definition at line 510 of file nvbufsurface.h.

◆ paramex

NvBufSurfaceParamsEx* NvBufSurfaceParams::paramex

pointers of extended parameters of single buffer in the batch.

Definition at line 512 of file nvbufsurface.h.

◆ pitch

uint32_t NvBufSurfaceParams::pitch

Holds the pitch of the buffer.

Definition at line 493 of file nvbufsurface.h.

◆ planeParams

NvBufSurfacePlaneParams NvBufSurfaceParams::planeParams

Holds planewise information (width, height, pitch, offset, etc.).

Definition at line 507 of file nvbufsurface.h.

◆ width

uint32_t NvBufSurfaceParams::width

Holds the width of the buffer.

Definition at line 489 of file nvbufsurface.h.


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