Debian Codegraph @

ext/adaptivedemux2/dash/gstmpdrepresentationbasenode.h

raw
1 /* GStreamer
2 *
3 * Copyright (C) 2019 Collabora Ltd.
4 * Author: Stéphane Cerveau <[email protected]>
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library (COPYING); if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
20 */
21 #ifndef __GSTMPDREPRESENTATIONBASENODE_H__
22 #define __GSTMPDREPRESENTATIONBASENODE_H__
23
24 #include <gst/gst.h>
25 #include "gstmpdhelper.h"
26 G_BEGIN_DECLS
27
28 #define GST_TYPE_MPD_REPRESENTATION_BASE_NODE gst_mpd_representation_base_node_get_type ()
29 G_DECLARE_FINAL_TYPE (GstMPDRepresentationBaseNode2, gst_mpd_representation_base_node, GST, MPD_REPRESENTATION_BASE_NODE, GstMPDNode)
30
31 typedef GstMPDRepresentationBaseNode2 GstMPDRepresentationBaseNode;
32 typedef GstMPDRepresentationBaseNode2Class GstMPDRepresentationBaseNodeClass;
33
34 #define glib_autoptr_clear_GstMPDRepresentationBaseNode glib_autoptr_clear_GstMPDRepresentationBaseNode2
35
36 struct _GstMPDRepresentationBaseNode2
37 {
38 GstObject base;
39 gchar *profiles;
40 guint width;
41 guint height;
42 GstXMLRatio *sar;
43 GstXMLFrameRate *minFrameRate;
44 GstXMLFrameRate *maxFrameRate;
45 GstXMLFrameRate *frameRate;
46 gchar *audioSamplingRate;
47 gchar *mimeType;
48 gchar *segmentProfiles;
49 gchar *codecs;
50 GstCaps *caps;
51 gdouble maximumSAPPeriod;
52 GstMPDSAPType startWithSAP;
53 gdouble maxPlayoutRate;
54 gboolean codingDependency;
55 gchar *scanType;
56 /* list of FramePacking DescriptorType nodes */
57 GList *FramePacking;
58 /* list of AudioChannelConfiguration DescriptorType nodes */
59 GList *AudioChannelConfiguration;
60 /* list of ContentProtection DescriptorType nodes */
61 GList *ContentProtection;
62 };
63
64
65 void gst_mpd_representation_base_node_get_list_item (gpointer data, gpointer user_data);
66
67 G_END_DECLS
68 #endif /* __GSTMPDREPRESENTATIONBASENODE_H__ */