NVIDIA DeepStream SDK API Reference

9.2 Release
sources/gst-plugins/gst-nvds3dbridge/gstnvds3dbridge.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2021-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 
19 #ifndef __GST_NVDS_3D_FILTER_H__
20 #define __GST_NVDS_3D_FILTER_H__
21 
22 #include <glib-object.h>
23 #include <gst/base/gstbasetransform.h>
24 
25 #include <ds3d/common/func_utils.h>
26 #include <ds3d/common/config.h>
27 #include <ds3d/common/hpp/obj.hpp>
28 #include <ds3d/common/hpp/databridge.hpp>
29 #include <ds3d/common/hpp/yaml_config.hpp>
30 
31 #include <ds3d/gst/custom_lib_factory.h>
32 #include <ds3d/gst/nvds3d_gst_plugin.h>
33 #include <ds3d/gst/nvds3d_gst_ptr.h>
34 #include <ds3d/gst/nvds3d_meta.h>
35 
36 /* Package and library details required for plugin_init */
37 #define PACKAGE "nvds3dbridge"
38 #define VERSION "1.0"
39 #define LICENSE "Proprietary"
40 #define DESCRIPTION "NVIDIA DeepStream Plugin for 3d bridge custom plugin"
41 #define BINARY_PACKAGE "NVIDIA DeepStream 3D Bridge Plugin"
42 #define URL "http://nvidia.com/"
43 
44 G_BEGIN_DECLS
45 /* Standard boilerplate stuff */
48 
49 /* Standard boilerplate stuff */
50 #define GST_TYPE_NVDS3DFILTER (gst_nvds3d_bridge_get_type())
51 #define GST_NVDS3DFILTER(obj) \
52  (G_TYPE_CHECK_INSTANCE_CAST((obj), GST_TYPE_NVDS3DFILTER, GstNvDs3dBridge))
53 #define GST_NVDS3DFILTER_CLASS(klass) \
54  (G_TYPE_CHECK_CLASS_CAST((klass), GST_TYPE_NVDS3DFILTER, GstNvDs3dBridgeClass))
55 #define GST_NVDS3DFILTER_GET_CLASS(obj) \
56  (G_TYPE_INSTANCE_GET_CLASS((obj), GST_TYPE_NVDS3DFILTER, GstNvDs3dBridgeClass))
57 #define GST_IS_NVDS3DFILTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GST_TYPE_NVDS3DFILTER))
58 #define GST_IS_NVDS3DFILTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_NVDS3DFILTER))
59 #define GST_NVDS3DFILTER_CAST(obj) ((GstNvDs3dBridge*)(obj))
60 
61 struct GstNvDs3dBridgeImpl;
62 
64  GstBaseTransform base_trans;
65 
66  GstNvDs3dBridgeImpl* impl;
67 };
68 
70  GstBaseTransformClass parent_class;
71 };
72 
73 GType gst_nvds3d_bridge_get_type(void);
74 
75 G_END_DECLS
76 #endif /* __GST_NVDS_3D_FILTER_H__ */
_GstNvDs3dBridge
Definition: sources/gst-plugins/gst-nvds3dbridge/gstnvds3dbridge.h:63
_GstNvDs3dBridgeClass
Definition: sources/gst-plugins/gst-nvds3dbridge/gstnvds3dbridge.h:69
_GstNvDs3dBridge::impl
GstNvDs3dBridgeImpl * impl
Definition: sources/gst-plugins/gst-nvds3dbridge/gstnvds3dbridge.h:66
_GstNvDs3dBridge::base_trans
GstBaseTransform base_trans
Definition: sources/gst-plugins/gst-nvds3dbridge/gstnvds3dbridge.h:64
GstNvDs3dBridge
typedefG_BEGIN_DECLS struct _GstNvDs3dBridge GstNvDs3dBridge
Definition: sources/gst-plugins/gst-nvds3dbridge/gstnvds3dbridge.h:46
_GstNvDs3dBridgeClass::parent_class
GstBaseTransformClass parent_class
Definition: sources/gst-plugins/gst-nvds3dbridge/gstnvds3dbridge.h:70
gst_nvds3d_bridge_get_type
GType gst_nvds3d_bridge_get_type(void)