NVIDIA DeepStream SDK API Reference

7.1 Release
NvBufSurfaceMapParams Struct Reference

Detailed Description

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

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

◆ colorFormat

NvBufSurfaceColorFormat NvBufSurfaceMapParams::colorFormat

Holds the color format.

Definition at line 583 of file nvbufsurface.h.

◆ fd

uint64_t NvBufSurfaceMapParams::fd

Holds a DMABUF FD.

Definition at line 573 of file nvbufsurface.h.

◆ gpuId

uint32_t NvBufSurfaceMapParams::gpuId

Holds a GPU ID.

Definition at line 571 of file nvbufsurface.h.

◆ layout

NvBufSurfaceLayout NvBufSurfaceMapParams::layout

Holds BL or PL layout.

Definition at line 579 of file nvbufsurface.h.

◆ memType

NvBufSurfaceMemType NvBufSurfaceMapParams::memType

Holds type of memory.

Definition at line 577 of file nvbufsurface.h.

◆ num_planes

uint32_t NvBufSurfaceMapParams::num_planes

Holds the number of planes.

Definition at line 569 of file nvbufsurface.h.

◆ planes

NvBufSurfaceMapPlaneParams NvBufSurfaceMapParams::planes[NVBUF_MAX_PLANES]

Holds plane parameters.

Definition at line 587 of file nvbufsurface.h.

◆ reserved

uint8_t NvBufSurfaceMapParams::reserved[64]

Reserved.

Definition at line 589 of file nvbufsurface.h.

◆ scanformat

NvBufSurfaceDisplayScanFormat NvBufSurfaceMapParams::scanformat

Holds display scan format.

Definition at line 581 of file nvbufsurface.h.

◆ totalSize

uint32_t NvBufSurfaceMapParams::totalSize

Holds the total size of allocated memory.

Definition at line 575 of file nvbufsurface.h.


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