|
NVIDIA DeepStream SDK API Reference
|
6.4 Release
|
Go to the documentation of this file.
12 #ifndef __GSTNVINFERALLOCATOR_H__
13 #define __GSTNVINFERALLOCATOR_H__
15 #include <cuda_runtime_api.h>
void * dev_memory_ptr
Pointer to the memory allocated for the batch of frames (DGPU).
std::vector< CUgraphicsResource > cuda_resources
Vector of cuda resources created by registering the above egl images in CUDA.
std::vector< CUeglFrame > egl_frames
Vector of CUDA eglFrames created by mapping the above cuda resources.
Holds information about batched buffers.
Copyright (c) 2018-2020, NVIDIA CORPORATION.
std::vector< void * > frame_memory_ptrs
Vector of pointer to individual frame memories in the batch memory.
struct _GstBuffer GstBuffer
GstNvInferMemory * gst_nvinfer_buffer_get_memory(GstBuffer *buffer)
Get GstNvInferMemory structure associated with buffer allocated using GstNvInferAllocator.
GstAllocator * gst_nvinfer_allocator_new(guint width, guint height, NvBufSurfaceColorFormat color_format, guint batch_size, guint gpu_id)
Create a new GstNvInferAllocator with the given parameters.
NvBufSurfaceColorFormat
Defines color formats for NvBufSurface.