NVIDIA DeepStream SDK API Reference

9.2 Release
sources/gst-plugins/gst-nvblender/gstnvdsblenderpad.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_NVBLENDER_PAD_H__
19 #define __GST_NVBLENDER_PAD_H__
20 
21 #include <gst/gst.h>
22 #include <gst/video/video.h>
23 
24 G_BEGIN_DECLS
25 
26 #define GST_TYPE_NVBLENDER_PAD (gst_nvblender_pad_get_type())
27 #define GST_NVBLENDER_PAD(obj) \
28  (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVBLENDER_PAD, GstNvblenderPad))
29 #define GST_NVBLENDER_PAD_CLASS(klass) \
30  (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVBLENDER_PAD, GstNvblenderPadClass))
31 #define GST_IS_NVBLENDER_PAD(obj) \
32  (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVBLENDER_PAD))
33 #define GST_IS_NVBLENDER_PAD_CLASS(klass) \
34  (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVBLENDER_PAD))
35 
38 
45 {
46  GstVideoAggregatorPad parent;
47 
48  /* properties */
49  gint xpos, ypos;
50  gint width, height;
51  gdouble alpha;
52  gdouble crossfade;
53 
54  GstVideoConverter *convert;
55  GstVideoInfo conversion_info;
57 
58  gboolean crossfaded;
59 };
60 
62 {
63  GstVideoAggregatorPadClass parent_class;
64 };
65 
66 GType gst_nvblender_pad_get_type (void);
67 
68 G_END_DECLS
69 #endif /* __GST_NVBLENDER_PAD_H__ */
_GstNvblenderPad::convert
GstVideoConverter * convert
Definition: sources/gst-plugins/gst-nvblender/gstnvdsblenderpad.h:54
_GstNvblenderPad::height
gint height
Definition: sources/gst-plugins/gst-nvblender/gstnvdsblenderpad.h:50
gst_nvblender_pad_get_type
GType gst_nvblender_pad_get_type(void)
_GstNvblenderPad::xpos
gint xpos
Definition: sources/gst-plugins/gst-nvblender/gstnvdsblenderpad.h:49
_GstNvblenderPad
GstNvblenderPad:
Definition: sources/gst-plugins/gst-nvblender/gstnvdsblenderpad.h:44
GstBuffer
struct _GstBuffer GstBuffer
Definition: includes/ds3d/common/idatatype.h:24
_GstNvblenderPad::width
gint width
Definition: sources/gst-plugins/gst-nvblender/gstnvdsblenderpad.h:50
_GstNvblenderPad::converted_buffer
GstBuffer * converted_buffer
Definition: sources/gst-plugins/gst-nvblender/gstnvdsblenderpad.h:56
_GstNvblenderPad::crossfade
gdouble crossfade
Definition: sources/gst-plugins/gst-nvblender/gstnvdsblenderpad.h:52
_GstNvblenderPadClass
Definition: sources/gst-plugins/gst-nvblender/gstnvdsblenderpad.h:61
_GstNvblenderPad::conversion_info
GstVideoInfo conversion_info
Definition: sources/gst-plugins/gst-nvblender/gstnvdsblenderpad.h:55
_GstNvblenderPad::parent
GstVideoAggregatorPad parent
Definition: sources/gst-plugins/gst-nvblender/gstnvdsblenderpad.h:46
_GstNvblenderPad::crossfaded
gboolean crossfaded
Definition: sources/gst-plugins/gst-nvblender/gstnvdsblenderpad.h:58
_GstNvblenderPad::ypos
gint ypos
Definition: sources/gst-plugins/gst-nvblender/gstnvdsblenderpad.h:49
_GstNvblenderPad::alpha
gdouble alpha
Definition: sources/gst-plugins/gst-nvblender/gstnvdsblenderpad.h:51
_GstNvblenderPadClass::parent_class
GstVideoAggregatorPadClass parent_class
Definition: sources/gst-plugins/gst-nvblender/gstnvdsblenderpad.h:63