NVIDIA DeepStream SDK API Reference

9.1 Release
sources/gst-plugins/gst-nvmultistream2/gstnvstreamdemux.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 #ifndef __GST_NVSTREAMDEMUX_H__
19 #define __GST_NVSTREAMDEMUX_H__
20 
21 #include <gst/gst.h>
22 
23 G_BEGIN_DECLS
24 #define GST_TYPE_NVSTREAMDEMUX \
25  (gst_nvstreamdemux_2_get_type ())
26 #define GST_NVSTREAMDEMUX(obj) \
27  (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVSTREAMDEMUX,GstNvStreamDemux))
28 #define GST_NVSTREAMDEMUX_CLASS(klass) \
29  (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVSTREAMDEMUX,GstNvStreamDemuxClass))
30 #define GST_IS_NVSTREAMDEMUX(obj) \
31  (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVSTREAMDEMUX))
32 #define GST_IS_NVSTREAMDEMUX_CLASS(klass) \
33  (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVSTREAMDEMUX))
36 
38 {
39  GstElement element;
40 
41  GstPad *sinkpad;
42 
43  GHashTable *pad_indexes;
44  GHashTable *pad_framerates;
45  GHashTable *pad_caps_is_raw;
46  GHashTable *pad_stream_start_sent;
47  GHashTable *eos_flag;
48 
50 
51  GstCaps *sink_caps;
52 
53  GMutex ctx_lock;
54  gboolean isAudio;
55 };
56 
58 {
59  GstElementClass parent_class;
60 };
61 
62 G_GNUC_INTERNAL GType gst_nvstreamdemux_2_get_type (void);
63 
64 G_END_DECLS
65 #endif
_GstNvStreamDemux::sinkpad
GstPad * sinkpad
Definition: sources/gst-plugins/gst-nvmultistream2/gstnvstreamdemux.h:41
_GstNvStreamDemux
Definition: sources/gst-plugins/gst-nvmultistream2/gstnvstreamdemux.h:37
_GstNvStreamDemux::pad_caps_is_raw
GHashTable * pad_caps_is_raw
Definition: sources/gst-plugins/gst-nvmultistream2/gstnvstreamdemux.h:45
_GstNvStreamDemux::element
GstElement element
Definition: sources/gst-plugins/gst-nvmultistream2/gstnvstreamdemux.h:39
_GstNvStreamDemux::num_surfaces_per_frame
guint num_surfaces_per_frame
Definition: sources/gst-plugins/gst-nvmultistream2/gstnvstreamdemux.h:49
_GstNvStreamDemux::isAudio
gboolean isAudio
Definition: sources/gst-plugins/gst-nvmultistream2/gstnvstreamdemux.h:54
_GstNvStreamDemux::eos_flag
GHashTable * eos_flag
Definition: sources/gst-plugins/gst-nvmultistream2/gstnvstreamdemux.h:47
_GstNvStreamDemux::pad_stream_start_sent
GHashTable * pad_stream_start_sent
Definition: sources/gst-plugins/gst-nvmultistream2/gstnvstreamdemux.h:46
_GstNvStreamDemuxClass
Definition: sources/gst-plugins/gst-nvmultistream2/gstnvstreamdemux.h:57
_GstNvStreamDemux::pad_indexes
GHashTable * pad_indexes
Definition: sources/gst-plugins/gst-nvmultistream2/gstnvstreamdemux.h:43
gst_nvstreamdemux_2_get_type
G_GNUC_INTERNAL GType gst_nvstreamdemux_2_get_type(void)
_GstNvStreamDemux::sink_caps
GstCaps * sink_caps
Definition: sources/gst-plugins/gst-nvmultistream2/gstnvstreamdemux.h:51
_GstNvStreamDemuxClass::parent_class
GstElementClass parent_class
Definition: sources/gst-plugins/gst-nvmultistream2/gstnvstreamdemux.h:59
_GstNvStreamDemux::pad_framerates
GHashTable * pad_framerates
Definition: sources/gst-plugins/gst-nvmultistream2/gstnvstreamdemux.h:44
_GstNvStreamDemux::ctx_lock
GMutex ctx_lock
Definition: sources/gst-plugins/gst-nvmultistream2/gstnvstreamdemux.h:53