Holds parameters required to allocate an NvBufSurface.
Definition at line 352 of file nvbufsurface.h.
| Data Fields | |
| uint32_t | gpuId | 
| Holds the GPU ID.  More... | |
| uint32_t | width | 
| Holds the width of the buffer.  More... | |
| uint32_t | height | 
| Holds the height of the buffer.  More... | |
| uint32_t | size | 
| Holds the amount of memory to be allocated.  More... | |
| bool | isContiguous | 
| Holds a "contiguous memory" flag.  More... | |
| NvBufSurfaceColorFormat | colorFormat | 
| Holds the color format of the buffer.  More... | |
| NvBufSurfaceLayout | layout | 
| Holds the surface layout.  More... | |
| NvBufSurfaceMemType | memType | 
| Holds the type of memory to be allocated.  More... | |
| NvBufSurfaceColorFormat NvBufSurfaceCreateParams::colorFormat | 
Holds the color format of the buffer.
Definition at line 366 of file nvbufsurface.h.
| uint32_t NvBufSurfaceCreateParams::gpuId | 
| uint32_t NvBufSurfaceCreateParams::height | 
Holds the height of the buffer.
Definition at line 358 of file nvbufsurface.h.
| bool NvBufSurfaceCreateParams::isContiguous | 
Holds a "contiguous memory" flag.
If set, contiguous memory is allocated for the batch. Valid only for CUDA memory types.
Definition at line 364 of file nvbufsurface.h.
| NvBufSurfaceLayout NvBufSurfaceCreateParams::layout | 
Holds the surface layout.
May be Block Linear (BL) or Pitch Linear (PL). For a dGPU, only PL is valid.
Definition at line 369 of file nvbufsurface.h.
| NvBufSurfaceMemType NvBufSurfaceCreateParams::memType | 
Holds the type of memory to be allocated.
Definition at line 371 of file nvbufsurface.h.
| uint32_t NvBufSurfaceCreateParams::size | 
Holds the amount of memory to be allocated.
Optional; if set, all other parameters (width, height, etc.) are ignored.
Definition at line 361 of file nvbufsurface.h.
| uint32_t NvBufSurfaceCreateParams::width | 
Holds the width of the buffer.
Definition at line 356 of file nvbufsurface.h.