NVIDIA DeepStream SDK API Reference

9.2 Release
9.2/sources/gst-plugins/gst-nvds3dmixer/gstnvds3dmixer.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2023-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_NVDS3DMIXER_H__
19 #define __GST_NVDS3DMIXER_H__
20 
21 #include <gst/gst.h>
22 #include <gst/video/video.h>
23 
24 #ifndef PACKAGE
25 #define PACKAGE "nvds3dmixer"
26 #endif
27 
28 #define VERSION "1.0"
29 #define LICENSE "Proprietary"
30 #define DESCRIPTION "NVIDIA 3D Mixer Plugin"
31 #define BINARY_PACKAGE "NVIDIA 3D Mixer Plugin"
32 #define URL "http://nvidia.com/"
33 
34 
35 G_BEGIN_DECLS
36 #define GST_TYPE_NVDS3DMIXER (gst_nvds3dmixer_get_type())
37 #define GST_NVDS3DMIXER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GST_TYPE_NVDS3DMIXER, GstNvDs3dMixer))
38 #define GST_NVDS3DMIXER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GST_TYPE_NVDS3DMIXER, GstNvDs3dMixerClass))
39 #define GST_IS_NVDS3DMIXER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GST_TYPE_NVDS3DMIXER))
40 #define GST_IS_NVDS3DMIXER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_NVDS3DMIXER))
43 
44 struct GstNvDs3dMixerImpl;
45 
46 struct _GstNvDs3dMixer {
47  GstElement element;
48  GstPad* srcpad;
49  GstNvDs3dMixerImpl* impl;
50 };
51 
52 struct _GstNvDs3dMixerClass {
53  GstElementClass parent_class;
54 };
55 
56 GType gst_nvds3dmixer_get_type(void);
57 
59 #define GST_TYPE_NVDS3DMIXER_PAD (gst_nvds3dmixer_pad_get_type())
60 #define GST_NVDS3DMIXER_PAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GST_TYPE_NVDS3DMIXER_PAD, GstNvDs3dMixerPad))
61 #define GST_NVDS3DMIXER_PAD_CLASS(klass) \
62  (G_TYPE_CHECK_CLASS_CAST((klass), GST_TYPE_NVDS3DMIXER_PAD, GstNvDs3dMixerPadClass))
63 #define GST_IS_NVDS3DMIXER_PAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GST_TYPE_NVDS3DMIXER_PAD))
64 #define GST_IS_NVDS3DMIXER_PAD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_NVDS3DMIXER_PAD))
65 #define GST_NVDS3DMIXER_PAD_CAST(obj) ((GstNvDs3dMixerPad*)(obj))
66 
69 
70 struct _GstNvDs3dMixerPad {
71  GstPad parent;
72 
73  gboolean got_eos;
74 };
75 
77  GstPadClass parent;
78 };
79 
80 G_END_DECLS
81 #endif
gst_nvds3dmixer_get_type
GType gst_nvds3dmixer_get_type(void)
_GstNvDs3dMixerPad::got_eos
gboolean got_eos
Definition: sources/gst-plugins/gst-nvds3dmixer/gstnvds3dmixer.h:73
_GstNvDs3dMixer::impl
GstNvDs3dMixerImpl * impl
Definition: sources/gst-plugins/gst-nvds3dmixer/gstnvds3dmixer.h:49
_GstNvDs3dMixerPad::parent
GstPad parent
Definition: sources/gst-plugins/gst-nvds3dmixer/gstnvds3dmixer.h:71
_GstNvDs3dMixer::element
GstElement element
Definition: sources/gst-plugins/gst-nvds3dmixer/gstnvds3dmixer.h:47
_GstNvDs3dMixerPadClass::parent
GstPadClass parent
Definition: sources/gst-plugins/gst-nvds3dmixer/gstnvds3dmixer.h:77
_GstNvDs3dMixer
Definition: sources/gst-plugins/gst-nvds3dmixer/gstnvds3dmixer.h:46
_GstNvDs3dMixerPadClass
Definition: sources/gst-plugins/gst-nvds3dmixer/gstnvds3dmixer.h:76
_GstNvDs3dMixerClass::parent_class
GstElementClass parent_class
Definition: sources/gst-plugins/gst-nvds3dmixer/gstnvds3dmixer.h:53
_GstNvDs3dMixerPad
Definition: sources/gst-plugins/gst-nvds3dmixer/gstnvds3dmixer.h:70
_GstNvDs3dMixerClass
Definition: sources/gst-plugins/gst-nvds3dmixer/gstnvds3dmixer.h:52
gst_nvds3dmixer_pad_get_type
GType gst_nvds3dmixer_pad_get_type(void)
_GstNvDs3dMixer::srcpad
GstPad * srcpad
Definition: sources/gst-plugins/gst-nvds3dmixer/gstnvds3dmixer.h:48