NVIDIA DeepStream SDK API Reference

9.2 Release
GstNvDsTensorMemory Struct Reference

Detailed Description

This file describes the custom memory allocator for the Gstreamer TensorRT plugin.

The allocator allocates memory for a specified batch_size of frames of resolution equal to the network input resolution. The frames are allocated on device memory. Holds the pointer for the allocated memory.

Definition at line 40 of file sources/libs/gst-nvdstensor/gstnvdstensor.h.

Collaboration diagram for GstNvDsTensorMemory:

Data Fields

NvDsTensorArray * tensors
 
std::vector< void * > tensor_memory_ptrs
 Vector of pointer to individual tensor memories in the batch memory. More...
 

Field Documentation

◆ tensor_memory_ptrs

std::vector< void * > GstNvDsTensorMemory::tensor_memory_ptrs

Vector of pointer to individual tensor memories in the batch memory.

Definition at line 44 of file sources/libs/gst-nvdstensor/gstnvdstensor.h.

◆ tensors

NvDsTensorArray * GstNvDsTensorMemory::tensors

Definition at line 42 of file sources/libs/gst-nvdstensor/gstnvdstensor.h.


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