NVIDIA DeepStream SDK API Reference
9.0 Release
9.0/sources/gst-plugins/gst-nvtracker/gstnvtracker.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: Copyright (c) 2016-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3
* SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4
*
5
* NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6
* property and proprietary rights in and to this material, related
7
* documentation and any modifications thereto. Any use, reproduction,
8
* disclosure or distribution of this material and related documentation
9
* without an express license agreement from NVIDIA CORPORATION or
10
* its affiliates is strictly prohibited.
11
*/
12
13
#ifndef __GST_NVTRACKER_H__
14
#define __GST_NVTRACKER_H__
15
16
#include <gst/gst.h>
17
#include <gst/video/video.h>
18
#include <gst/video/gstvideofilter.h>
19
#include <sys/time.h>
20
21
#include "gstnvdsmeta.h"
22
#include "
invtracker_proc.h
"
23
24
using namespace
std;
25
26
G_BEGIN_DECLS
27
28
/* #defines don't like whitespacey bits */
29
#define GST_TYPE_NVTRACKER \
30
(gst_nv_tracker_get_type())
31
#define GST_NVTRACKER(obj) \
32
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVTRACKER,GstNvTracker))
33
#define GST_NVTRACKER_CLASS(klass) \
34
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVTRACKER,GstNvTrackerClass))
35
#define GST_IS_NVTRACKER(obj) \
36
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVTRACKER))
37
#define GST_IS_NVTRACKER_CLASS(klass) \
38
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVTRACKER))
39
40
41
/* Version number of package */
42
#define VERSION "2.0.0"
43
#define PACKAGE_DESCRIPTION "Gstreamer plugin to track the objects"
44
/* Define under which licence the package has been released */
45
#define PACKAGE_LICENSE "Proprietary"
46
#define PACKAGE_NAME "GStreamer nvtracker Plugin"
47
/* Define to the home page for this package. */
48
#define PACKAGE_URL "http://nvidia.com/"
49
50
typedef
struct
_GstNvTracker
GstNvTracker
;
51
typedef
struct
_GstNvTrackerClass
GstNvTrackerClass
;
52
54
struct
_GstNvTracker
55
{
56
GstBaseTransform parent_instance;
57
58
GstPad *sinkpad, *srcpad;
59
61
gboolean running;
62
TrackerConfig
trackerConfig;
63
INvTrackerProc
*trackerIface;
64
65
GCond eventCondition;
66
GMutex eventLock;
67
68
GThread *output_loop;
69
};
70
71
struct
_GstNvTrackerClass
72
{
73
GstBaseTransformClass parent_class;
74
};
75
76
GType
gst_nv_tracker_get_type
(
void
);
77
78
G_END_DECLS
79
80
#endif
/* __GST_NVTRACKER_H__ */
_GstNvTrackerClass
Definition:
sources/gst-plugins/gst-nvtracker/gstnvtracker.h:71
invtracker_proc.h
gst_nv_tracker_get_type
GType gst_nv_tracker_get_type(void)
_GstNvTracker
Basic GStreamer class for tracker.
Definition:
sources/gst-plugins/gst-nvtracker/gstnvtracker.h:54
INvTrackerProc
Virtual base class for tracker plugin processing.
Definition:
sources/gst-plugins/gst-nvtracker/invtracker_proc.h:111
TrackerConfig
Tracker plugin config params.
Definition:
sources/gst-plugins/gst-nvtracker/invtracker_proc.h:52
Privacy Policy
|
Manage My Privacy
|
Do Not Sell or Share My Data
|
Terms of Service
|
Accessibility
|
Corporate Policies
|
Product Security
|
Contact
© 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
NVIDIA Confidential | Subject to Change | For test and development only.
Fri Mar 20 2026 14:36:59 | PR-09318-R32