![]() |
NVIDIA DeepStream SDK API Reference4.0.2 Release |
Hold parameters required to allocate NvBufSurface.
Definition at line 196 of file nvbufsurface.h.
Data Fields | |
uint32_t | gpuId |
GPU id - valid for multi GPU system. More... | |
uint32_t | width |
width of buffer More... | |
uint32_t | height |
height of buffer More... | |
uint32_t | size |
optional but if set memory of that size will be allocated and all other parameters (width, height etc.) will be ignored More... | |
bool | isContiguous |
optional but if set contiguous memory is allocated for batch. More... | |
NvBufSurfaceColorFormat | colorFormat |
color format of buffer More... | |
NvBufSurfaceLayout | layout |
BL or PL for Jetson, ONLY PL in case of dGPU. More... | |
NvBufSurfaceMemType | memType |
type of memory to be allocated More... | |
NvBufSurfaceColorFormat NvBufSurfaceCreateParams::colorFormat |
color format of buffer
Definition at line 210 of file nvbufsurface.h.
uint32_t NvBufSurfaceCreateParams::gpuId |
GPU id - valid for multi GPU system.
Definition at line 198 of file nvbufsurface.h.
uint32_t NvBufSurfaceCreateParams::height |
height of buffer
Definition at line 202 of file nvbufsurface.h.
bool NvBufSurfaceCreateParams::isContiguous |
optional but if set contiguous memory is allocated for batch.
valid for CUDA memory types only.
Definition at line 208 of file nvbufsurface.h.
NvBufSurfaceLayout NvBufSurfaceCreateParams::layout |
BL or PL for Jetson, ONLY PL in case of dGPU.
Definition at line 212 of file nvbufsurface.h.
NvBufSurfaceMemType NvBufSurfaceCreateParams::memType |
type of memory to be allocated
Definition at line 214 of file nvbufsurface.h.
uint32_t NvBufSurfaceCreateParams::size |
optional but if set memory of that size will be allocated and all other parameters (width, height etc.) will be ignored
Definition at line 205 of file nvbufsurface.h.
uint32_t NvBufSurfaceCreateParams::width |
width of buffer
Definition at line 200 of file nvbufsurface.h.