NVIDIA DeepStream SDK API Reference

9.2 Release
sources/gst-plugins/gst-nvdsbins/gstdsnvmsgbrokerbin.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_NVMSGBROKER_BIN_H__
19 #define __GST_DS_NVMSGBROKER_BIN_H__
20 
21 #include <gst/gst.h>
22 
23 #include "nvbufsurface.h"
24 
25 G_BEGIN_DECLS
26 /* Standard GStreamer boilerplate */
27 typedef struct _GstDsNvMsgBrokerBin
28 {
29  GstBin bin;
30 
31  GstElement *queue;
32  GstElement *msgconv;
33  GstElement *msgbroker;
34 
35  gboolean disable_msgconv;
36 
37  GstPad *bin_sink_pad;
39 
41 {
42  GstBinClass parent_class;
43 
49 
50 
51 /* Standard GStreamer boilerplate */
52 #define GST_TYPE_DS_NVMSGBROKER_BIN (gst_ds_nvmsgbroker_bin_get_type())
53 #define GST_DS_NVMSGBROKER_BIN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DS_NVMSGBROKER_BIN,GstDsNvMsgBrokerBin))
54 #define GST_DS_NVMSGBROKER_BIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_DS_NVMSGBROKER_BIN,GstDsNvMsgBrokerBinClass))
55 #define GST_DS_NVMSGBROKER_BIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GST_TYPE_DS_NVMSGBROKER_BIN, GstDsNvMsgBrokerBinClass))
56 #define GST_IS_DS_NVMSGBROKER_BIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_DS_NVMSGBROKER_BIN))
57 #define GST_IS_DS_NVMSGBROKER_BIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_DS_NVMSGBROKER_BIN))
58 #define GST_DS_NVMSGBROKER_BIN_CAST(obj) ((GstDsNvMsgBrokerBin *)(obj))
59 
61 
62 G_END_DECLS
63 #endif /* __GST_INFER_H__ */
_GstDsNvMsgBrokerBin::bin_sink_pad
GstPad * bin_sink_pad
Definition: sources/gst-plugins/gst-nvdsbins/gstdsnvmsgbrokerbin.h:37
_GstDsNvMsgBrokerBin::disable_msgconv
gboolean disable_msgconv
Definition: sources/gst-plugins/gst-nvdsbins/gstdsnvmsgbrokerbin.h:35
_GstDsNvMsgBrokerBinClass::last_nvmsgbroker_prop_id
guint last_nvmsgbroker_prop_id
Definition: sources/gst-plugins/gst-nvdsbins/gstdsnvmsgbrokerbin.h:47
_GstDsNvMsgBrokerBinClass
Definition: sources/gst-plugins/gst-nvdsbins/gstdsnvmsgbrokerbin.h:40
_GstDsNvMsgBrokerBinClass::last_self_prop_id
guint last_self_prop_id
Definition: sources/gst-plugins/gst-nvdsbins/gstdsnvmsgbrokerbin.h:45
GstDsNvMsgBrokerBinClass
struct _GstDsNvMsgBrokerBinClass GstDsNvMsgBrokerBinClass
_GstDsNvMsgBrokerBinClass::last_nvmsgconv_prop_id
guint last_nvmsgconv_prop_id
Definition: sources/gst-plugins/gst-nvdsbins/gstdsnvmsgbrokerbin.h:46
_GstDsNvMsgBrokerBinClass::orig_prop_name_id_map
GPtrArray * orig_prop_name_id_map
Definition: sources/gst-plugins/gst-nvdsbins/gstdsnvmsgbrokerbin.h:44
_GstDsNvMsgBrokerBinClass::parent_class
GstBinClass parent_class
Definition: sources/gst-plugins/gst-nvdsbins/gstdsnvmsgbrokerbin.h:42
_GstDsNvMsgBrokerBin::msgconv
GstElement * msgconv
Definition: sources/gst-plugins/gst-nvdsbins/gstdsnvmsgbrokerbin.h:32
_GstDsNvMsgBrokerBin
Definition: sources/gst-plugins/gst-nvdsbins/gstdsnvmsgbrokerbin.h:27
_GstDsNvMsgBrokerBin::queue
GstElement * queue
Definition: sources/gst-plugins/gst-nvdsbins/gstdsnvmsgbrokerbin.h:31
_GstDsNvMsgBrokerBin::bin
GstBin bin
Definition: sources/gst-plugins/gst-nvdsbins/gstdsnvmsgbrokerbin.h:29
GstDsNvMsgBrokerBin
G_BEGIN_DECLS struct _GstDsNvMsgBrokerBin GstDsNvMsgBrokerBin
_GstDsNvMsgBrokerBin::msgbroker
GstElement * msgbroker
Definition: sources/gst-plugins/gst-nvdsbins/gstdsnvmsgbrokerbin.h:33
gst_ds_nvmsgbroker_bin_get_type
GType gst_ds_nvmsgbroker_bin_get_type(void)