Debian Codegraph @

tools/extra_defs_gen/generate_defs_gst.cc

raw symbols SCIP
1 /* generate_defs_gst.cc
2 *
3 * Copyright 2008 The gstreamermm Development Team
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public
16 * License along with this library; if not, write to the Free
17 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19
20 #include <glibmm_generate_extra_defs/generate_extra_defs.h>
21
22 // Core includes
23 #include <gst/gst.h>
24
25 // Core library includes
26 #include <gst/base/gstadapter.h>
27 #include <gst/base/gstbaseparse.h>
28 #include <gst/base/gstbasesink.h>
29 #include <gst/base/gstbasesrc.h>
30 #include <gst/base/gstbasetransform.h>
31
32 #include <gst/base/gstcollectpads.h>
33 #include <gst/base/gstpushsrc.h>
34
35 #include <gst/gstcontrolsource.h>
36 #include <gst/gstcontrolbinding.h>
37
38 #include <gst/controller/gstinterpolationcontrolsource.h>
39 #include <gst/controller/gstlfocontrolsource.h>
40
41 #include <gst/net/gstnetclientclock.h>
42 #include <gst/net/gstnettimeprovider.h>
43
44
45 // Base library includes
46 #include <gst/audio/audio.h>
47 #include <gst/audio/audio-enumtypes.h>
48 #include <gst/audio/gstaudiobasesink.h>
49 #include <gst/audio/gstaudiobasesrc.h>
50 #include <gst/audio/gstaudiocdsrc.h>
51 #include <gst/audio/gstaudioclock.h>
52 #include <gst/audio/gstaudiodecoder.h>
53 #include <gst/audio/gstaudioencoder.h>
54 #include <gst/audio/gstaudiofilter.h>
55 #include <gst/audio/gstaudioringbuffer.h>
56 #include <gst/audio/gstaudiosink.h>
57 #include <gst/audio/gstaudiosrc.h>
58 #include <gst/audio/streamvolume.h>
59
60 #include <gst/rtp/gstrtpbaseaudiopayload.h>
61 #include <gst/rtp/gstrtpbasedepayload.h>
62 #include <gst/rtp/gstrtpbasepayload.h>
63
64 #include <gst/tag/gsttagdemux.h>
65
66 #include <gst/video/video.h>
67 #include <gst/video/gstvideodecoder.h>
68 #include <gst/video/gstvideoencoder.h>
69 #include <gst/video/gstvideofilter.h>
70 #include <gst/video/gstvideopool.h>
71 #include <gst/video/gstvideosink.h>
72 #include <gst/video/gstvideoutils.h>
73 #include <gst/video/videoorientation.h>
74 #include <gst/video/video-overlay-composition.h>
75 #include <gst/video/videooverlay.h>
76
77 #include <gst/video/colorbalancechannel.h>
78 #include <gst/video/colorbalance.h>
79
80 #include <gst/video/navigation.h>
81
82
83 #include <gst/pbutils/pbutils.h>
84 #include <gst/tag/tag.h>
85
86
87 bool gst_type_is_a_pointer(GType gtype)
88 {
89 return (gtype_is_a_pointer(gtype));
90 }
91
92 int main (int argc, char *argv[])
93 {
94 gst_init (&argc, &argv);
95
96 // GStreamer core types:
97 std::cout << get_defs(GST_TYPE_BUS, gst_type_is_a_pointer)
98 << get_defs(GST_TYPE_BIN, gst_type_is_a_pointer)
99 << get_defs(GST_TYPE_BUFFER, gst_type_is_a_pointer)
100 << get_defs(GST_TYPE_CAPS, gst_type_is_a_pointer)
101 << get_defs(GST_TYPE_CHILD_PROXY, gst_type_is_a_pointer)
102 << get_defs(GST_TYPE_CLOCK, gst_type_is_a_pointer)
103 << get_defs(GST_TYPE_ELEMENT, gst_type_is_a_pointer)
104 << get_defs(GST_TYPE_ELEMENT_FACTORY, gst_type_is_a_pointer)
105 << get_defs(GST_TYPE_EVENT, gst_type_is_a_pointer)
106 << get_defs(GST_TYPE_FORMAT, gst_type_is_a_pointer)
107 << get_defs(GST_TYPE_GHOST_PAD, gst_type_is_a_pointer)
108 << get_defs(GST_TYPE_MESSAGE, gst_type_is_a_pointer)
109 << get_defs(GST_TYPE_OBJECT, gst_type_is_a_pointer)
110 << get_defs(GST_TYPE_PAD, gst_type_is_a_pointer)
111 << get_defs(GST_TYPE_PAD_TEMPLATE, gst_type_is_a_pointer)
112 << get_defs(GST_TYPE_STATIC_PAD_TEMPLATE, gst_type_is_a_pointer)
113 << get_defs(GST_TYPE_PIPELINE, gst_type_is_a_pointer)
114 << get_defs(GST_TYPE_PLUGIN, gst_type_is_a_pointer)
115 << get_defs(GST_TYPE_PLUGIN_FEATURE, gst_type_is_a_pointer)
116 << get_defs(GST_TYPE_QUERY, gst_type_is_a_pointer)
117 << get_defs(GST_TYPE_REGISTRY, gst_type_is_a_pointer)
118 << get_defs(GST_TYPE_SEGMENT, gst_type_is_a_pointer)
119 << get_defs(GST_TYPE_STRUCTURE, gst_type_is_a_pointer)
120 << get_defs(GST_TYPE_SYSTEM_CLOCK, gst_type_is_a_pointer)
121 << get_defs(GST_TYPE_TAG_LIST, gst_type_is_a_pointer)
122 << get_defs(GST_TYPE_TAG_SETTER, gst_type_is_a_pointer)
123 << get_defs(GST_TYPE_TASK, gst_type_is_a_pointer)
124 << get_defs(GST_TYPE_TYPE_FIND, gst_type_is_a_pointer)
125 << get_defs(GST_TYPE_TYPE_FIND_FACTORY, gst_type_is_a_pointer)
126 << get_defs(GST_TYPE_URI_HANDLER, gst_type_is_a_pointer)
127
128 // GStreamer core library types:
129 << get_defs(GST_TYPE_BASE_SRC, gst_type_is_a_pointer)
130 << get_defs(GST_TYPE_BASE_SINK, gst_type_is_a_pointer)
131 << get_defs(GST_TYPE_BASE_TRANSFORM, gst_type_is_a_pointer)
132 << get_defs(GST_TYPE_BASE_PARSE, gst_type_is_a_pointer)
133 << get_defs(GST_TYPE_PUSH_SRC, gst_type_is_a_pointer)
134 << get_defs(GST_TYPE_ADAPTER, gst_type_is_a_pointer)
135 << get_defs(GST_TYPE_COLLECT_PADS, gst_type_is_a_pointer)
136 << get_defs(GST_TYPE_CONTROL_SOURCE, gst_type_is_a_pointer)
137 << get_defs(GST_TYPE_CONTROL_BINDING, gst_type_is_a_pointer)
138 << get_defs(GST_TYPE_INTERPOLATION_CONTROL_SOURCE, gst_type_is_a_pointer)
139 << get_defs(GST_TYPE_LFO_CONTROL_SOURCE, gst_type_is_a_pointer)
140 << get_defs(GST_TYPE_NET_CLIENT_CLOCK, gst_type_is_a_pointer)
141 << get_defs(GST_TYPE_NET_TIME_PROVIDER, gst_type_is_a_pointer)
142
143 // gst-plugins-base (GStreamer base) types:
144 << get_defs(GST_TYPE_AUDIO_BASE_SINK, gst_type_is_a_pointer)
145 << get_defs(GST_TYPE_AUDIO_BASE_SRC, gst_type_is_a_pointer)
146 << get_defs(GST_TYPE_AUDIO_CD_SRC, gst_type_is_a_pointer)
147 << get_defs(GST_TYPE_AUDIO_CLOCK, gst_type_is_a_pointer)
148 << get_defs(GST_TYPE_AUDIO_FILTER, gst_type_is_a_pointer)
149 << get_defs(GST_TYPE_AUDIO_RING_BUFFER, gst_type_is_a_pointer)
150 << get_defs(GST_TYPE_AUDIO_SINK, gst_type_is_a_pointer)
151 << get_defs(GST_TYPE_AUDIO_SRC, gst_type_is_a_pointer)
152 << get_defs(GST_TYPE_DISCOVERER, gst_type_is_a_pointer)
153 << get_defs(GST_TYPE_RTP_BASE_AUDIO_PAYLOAD, gst_type_is_a_pointer)
154 << get_defs(GST_TYPE_RTP_BASE_DEPAYLOAD, gst_type_is_a_pointer)
155 << get_defs(GST_TYPE_RTP_BASE_PAYLOAD, gst_type_is_a_pointer)
156 << get_defs(GST_TYPE_TAG_DEMUX, gst_type_is_a_pointer)
157 << get_defs(GST_TYPE_VIDEO_FILTER, gst_type_is_a_pointer)
158 << get_defs(GST_TYPE_VIDEO_SINK, gst_type_is_a_pointer)
159
160 // gst-plugins-base (GStreamer base) interfaces:
161 << get_defs(GST_TYPE_COLOR_BALANCE, gst_type_is_a_pointer)
162 << get_defs(GST_TYPE_COLOR_BALANCE_CHANNEL, gst_type_is_a_pointer)
163 << get_defs(GST_TYPE_NAVIGATION, gst_type_is_a_pointer)
164 << get_defs(GST_TYPE_STREAM_VOLUME, gst_type_is_a_pointer)
165 << get_defs(GST_TYPE_VIDEO_ORIENTATION, gst_type_is_a_pointer)
166 << get_defs(GST_TYPE_VIDEO_OVERLAY, gst_type_is_a_pointer)
167 ;
168 return 0;
169 }