NVIDIA DeepStream SDK API Reference

7.1 Release
NvBufSurfaceAllocateParams Struct Reference

Detailed Description

Hold extended parameters required to allocate NvBufSurface.

(Applicable for NvBufSurfaceAllocate API)

Definition at line 430 of file nvbufsurface.h.

Collaboration diagram for NvBufSurfaceAllocateParams:

Data Fields

NvBufSurfaceCreateParams params
 Hold legacy NvBufSurface creation parameters. More...
 
NvBufSurfaceDisplayScanFormat displayscanformat
 Display scan format. More...
 
NvBufSurfaceChromaSubsamplingParams chromaSubsampling
 Chroma Subsampling parameters. More...
 
NvBufSurfaceTag memtag
 components tag to be used for memory allocation More...
 
bool disablePitchPadding
 disable pitch padding allocation only applicable for cuda and system memory allocation
pitch would be width times bytes per pixel for the plane, for odd width it would be multiple of 2, also note for some non standard video resolution cuda kernels may fail due to unaligned pitch More...
 
uint32_t _reservedParam
 Used void* from custom param for 64 bit machine, using other uint32_t param. More...
 
void * _reserved [STRUCTURE_PADDING-1]
 

Field Documentation

◆ _reserved

void* NvBufSurfaceAllocateParams::_reserved[STRUCTURE_PADDING-1]

Definition at line 448 of file nvbufsurface.h.

◆ _reservedParam

uint32_t NvBufSurfaceAllocateParams::_reservedParam

Used void* from custom param for 64 bit machine, using other uint32_t param.

Definition at line 446 of file nvbufsurface.h.

◆ chromaSubsampling

NvBufSurfaceChromaSubsamplingParams NvBufSurfaceAllocateParams::chromaSubsampling

Chroma Subsampling parameters.

Definition at line 436 of file nvbufsurface.h.

◆ disablePitchPadding

bool NvBufSurfaceAllocateParams::disablePitchPadding

disable pitch padding allocation only applicable for cuda and system memory allocation
pitch would be width times bytes per pixel for the plane, for odd width it would be multiple of 2, also note for some non standard video resolution cuda kernels may fail due to unaligned pitch

Definition at line 444 of file nvbufsurface.h.

◆ displayscanformat

NvBufSurfaceDisplayScanFormat NvBufSurfaceAllocateParams::displayscanformat

Display scan format.

Definition at line 434 of file nvbufsurface.h.

◆ memtag

NvBufSurfaceTag NvBufSurfaceAllocateParams::memtag

components tag to be used for memory allocation

Definition at line 438 of file nvbufsurface.h.

◆ params

NvBufSurfaceCreateParams NvBufSurfaceAllocateParams::params

Hold legacy NvBufSurface creation parameters.

Definition at line 432 of file nvbufsurface.h.


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