NVIDIA DeepStream SDK API Reference
6.2 Release
INvDsAllocator.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
3
*
4
* NVIDIA Corporation and its licensors retain all intellectual property
5
* and proprietary rights in and to this software, related documentation
6
* and any modifications thereto. Any use, reproduction, disclosure or
7
* distribution of this software and related documentation without an express
8
* license agreement from NVIDIA Corporation is strictly prohibited.
9
*/
10
11
#ifndef _NVDS_ALLOCATOR_H_
12
#define _NVDS_ALLOCATOR_H_
13
14
#include <stdint.h>
15
16
class
INvDsAllocator
17
{
18
public
:
24
virtual
void
*
Allocate
(uint32_t size) = 0;
29
virtual
void
Deallocate
(
void
* data) = 0;
30
virtual
~INvDsAllocator
() {}
31
};
32
33
#endif
INvDsAllocator::~INvDsAllocator
virtual ~INvDsAllocator()
Definition:
INvDsAllocator.h:30
INvDsAllocator
Definition:
INvDsAllocator.h:16
INvDsAllocator::Deallocate
virtual void Deallocate(void *data)=0
Deallocate the memory allocated using Allocate()
INvDsAllocator::Allocate
virtual void * Allocate(uint32_t size)=0
Allocate memory of @size Bytes.
Advance Information | Subject to Change | Generated by NVIDIA | Fri Feb 3 2023 16:01:34 | PR-09318-R32