NVIDIA DeepStream SDK API Reference

6.4 Release
NvBufSurfaceMapParams Struct Reference

Detailed Description

Holds buffer parameters to map the buffer received from another process.

Definition at line 550 of file nvbufsurface.h.

Collaboration diagram for NvBufSurfaceMapParams:

Data Fields

uint32_t num_planes
 Holds the number of planes. More...
 
uint32_t gpuId
 Holds a GPU ID. More...
 
uint64_t fd
 Holds a DMABUF FD. More...
 
uint32_t totalSize
 Holds the total size of allocated memory. More...
 
NvBufSurfaceMemType memType
 Holds type of memory. More...
 
NvBufSurfaceLayout layout
 Holds BL or PL layout. More...
 
NvBufSurfaceDisplayScanFormat scanformat
 Holds display scan format. More...
 
NvBufSurfaceColorFormat colorFormat
 Holds the color format. More...
 
NvBufSurfaceChromaSubsamplingParams chromaSubsampling
 Holds chroma subsampling parameters. More...
 
NvBufSurfaceMapPlaneParams planes [NVBUF_MAX_PLANES]
 Holds plane parameters. More...
 
uint8_t reserved [64]
 Reserved. More...
 

Field Documentation

◆ chromaSubsampling

NvBufSurfaceChromaSubsamplingParams NvBufSurfaceMapParams::chromaSubsampling

Holds chroma subsampling parameters.

Definition at line 568 of file nvbufsurface.h.

◆ colorFormat

NvBufSurfaceColorFormat NvBufSurfaceMapParams::colorFormat

Holds the color format.

Definition at line 566 of file nvbufsurface.h.

◆ fd

uint64_t NvBufSurfaceMapParams::fd

Holds a DMABUF FD.

Definition at line 556 of file nvbufsurface.h.

◆ gpuId

uint32_t NvBufSurfaceMapParams::gpuId

Holds a GPU ID.

Definition at line 554 of file nvbufsurface.h.

◆ layout

NvBufSurfaceLayout NvBufSurfaceMapParams::layout

Holds BL or PL layout.

Definition at line 562 of file nvbufsurface.h.

◆ memType

NvBufSurfaceMemType NvBufSurfaceMapParams::memType

Holds type of memory.

Definition at line 560 of file nvbufsurface.h.

◆ num_planes

uint32_t NvBufSurfaceMapParams::num_planes

Holds the number of planes.

Definition at line 552 of file nvbufsurface.h.

◆ planes

NvBufSurfaceMapPlaneParams NvBufSurfaceMapParams::planes[NVBUF_MAX_PLANES]

Holds plane parameters.

Definition at line 570 of file nvbufsurface.h.

◆ reserved

uint8_t NvBufSurfaceMapParams::reserved[64]

Reserved.

Definition at line 572 of file nvbufsurface.h.

◆ scanformat

NvBufSurfaceDisplayScanFormat NvBufSurfaceMapParams::scanformat

Holds display scan format.

Definition at line 564 of file nvbufsurface.h.

◆ totalSize

uint32_t NvBufSurfaceMapParams::totalSize

Holds the total size of allocated memory.

Definition at line 558 of file nvbufsurface.h.


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