NVIDIA DeepStream SDK API Reference

6.4 Release
INvDsAllocator Class Referenceabstract

Detailed Description

Definition at line 16 of file INvDsAllocator.h.

Inheritance diagram for INvDsAllocator:

Public Member Functions

virtual void * Allocate (uint32_t size)=0
 Allocate memory of @size Bytes. More...
 
virtual void Deallocate (void *data)=0
 Deallocate the memory allocated using Allocate() More...
 
virtual ~INvDsAllocator ()
 

Constructor & Destructor Documentation

◆ ~INvDsAllocator()

virtual INvDsAllocator::~INvDsAllocator ( )
inlinevirtual

Definition at line 30 of file INvDsAllocator.h.

Member Function Documentation

◆ Allocate()

virtual void* INvDsAllocator::Allocate ( uint32_t  size)
pure virtual

Allocate memory of @size Bytes.

Parameters
size[IN] The # of bytes to allocate
Returns
The newly allocated Memory buffer handle

Implemented in NvDsMemoryAllocator.

◆ Deallocate()

virtual void INvDsAllocator::Deallocate ( void *  data)
pure virtual

Deallocate the memory allocated using Allocate()

Parameters
data[IN] The Memory buffer handle

Implemented in NvDsMemoryAllocator.


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