NVIDIA DeepStream SDK API Reference

9.2 Release
sources/gst-plugins/gst-nvdsbins/gstdsnvanalyticsbin.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2020-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: Apache-2.0
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 #ifndef __GST_DS_NVANALYTICS_BIN_H__
19 #define __GST_DS_NVANALYTICS_BIN_H__
20 
21 #include <gst/video/video.h>
22 
23 G_BEGIN_DECLS
24 /* Standard GStreamer boilerplate */
25 
26 typedef struct _GstDsNvAnalyticsBin
27 {
28  GstBin bin;
29 
30  GstElement *queue;
31  GstElement *analytics;
32 
34 
36 {
37  GstBinClass parent_class;
39 
40 
41 /* Standard GStreamer boilerplate */
42 #define GST_TYPE_DS_NVANALYTICS_BIN (gst_ds_nvanalytics_bin_get_type())
43 #define GST_DS_NVANALYTICS_BIN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DS_NVANALYTICS_BIN,GstDsNvAnalyticsBin))
44 #define GST_DS_NVANALYTICS_BIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_DS_NVANALYTICS_BIN,GstDsNvAnalyticsBinClass))
45 #define GST_DS_NVANALYTICS_BIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GST_TYPE_DS_NVANALYTICS_BIN, GstDsNvAnalyticsBinClass))
46 #define GST_IS_DS_NVANALYTICS_BIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_DS_NVANALYTICS_BIN))
47 #define GST_IS_DS_NVANALYTICS_BIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_DS_NVANALYTICS_BIN))
48 #define GST_DS_NVANALYTICS_BIN_CAST(obj) ((GstDsNvAnalyticsBin *)(obj))
49 
51 
52 G_END_DECLS
53 #endif /* __GST_DS_NVANALYTICS_BIN_H__ */
gst_ds_nvanalytics_bin_get_type
GType gst_ds_nvanalytics_bin_get_type(void)
_GstDsNvAnalyticsBinClass::parent_class
GstBinClass parent_class
Definition: sources/gst-plugins/gst-nvdsbins/gstdsnvanalyticsbin.h:37
GstDsNvAnalyticsBin
G_BEGIN_DECLS struct _GstDsNvAnalyticsBin GstDsNvAnalyticsBin
_GstDsNvAnalyticsBin::analytics
GstElement * analytics
Definition: sources/gst-plugins/gst-nvdsbins/gstdsnvanalyticsbin.h:31
_GstDsNvAnalyticsBin::bin
GstBin bin
Definition: sources/gst-plugins/gst-nvdsbins/gstdsnvanalyticsbin.h:28
_GstDsNvAnalyticsBinClass
Definition: sources/gst-plugins/gst-nvdsbins/gstdsnvanalyticsbin.h:35
_GstDsNvAnalyticsBin::queue
GstElement * queue
Definition: sources/gst-plugins/gst-nvdsbins/gstdsnvanalyticsbin.h:30
GstDsNvAnalyticsBinClass
struct _GstDsNvAnalyticsBinClass GstDsNvAnalyticsBinClass
_GstDsNvAnalyticsBin
Definition: sources/gst-plugins/gst-nvdsbins/gstdsnvanalyticsbin.h:26