-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy pathClutterGst-1.0.gir
296 lines (296 loc) · 12.3 KB
/
ClutterGst-1.0.gir
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository version="1.0"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0"
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<include name="Clutter" version="1.0"/>
<include name="Cogl" version="1.0"/>
<include name="GL" version="1.0"/>
<include name="GLib" version="2.0"/>
<include name="GModule" version="2.0"/>
<include name="GObject" version="2.0"/>
<include name="Gst" version="0.10"/>
<include name="GstAudio" version="0.10"/>
<include name="GstBase" version="0.10"/>
<include name="GstInterfaces" version="0.10"/>
<include name="GstVideo" version="0.10"/>
<include name="Json" version="1.0"/>
<include name="Pango" version="1.0"/>
<include name="PangoCairo" version="1.0"/>
<include name="cairo" version="1.0"/>
<include name="libxml2" version="2.0"/>
<package name="clutter-1.0"/>
<package name="gobject-2.0"/>
<package name="gstreamer-0.10"/>
<package name="gstreamer-base-0.10"/>
<c:include name="clutter-gst/clutter-gst.h"/>
<namespace name="ClutterGst"
version="1.0"
shared-library="libclutter-gst-1.0.so.0"
c:prefix="ClutterGst">
<constant name="CLUTTER_GST_MAJOR_VERSION" value="1">
<type name="int"/>
</constant>
<constant name="CLUTTER_GST_MICRO_VERSION" value="0">
<type name="int"/>
</constant>
<constant name="CLUTTER_GST_MINOR_VERSION" value="0">
<type name="int"/>
</constant>
<constant name="CLUTTER_GST_VERSION_HEX" value="0">
<type name="int"/>
</constant>
<constant name="CLUTTER_GST_VERSION_S" value="1.0.0">
<type name="utf8"/>
</constant>
<class name="VideoSink"
c:type="ClutterGstVideoSink"
doc="Class implementing a GStreamer sink element for #ClutterTexture<!-- -->s.
The #ClutterGstVideoSink structure contains only private data and should
not be accessed directly."
parent="GstBase.BaseSink"
glib:type-name="ClutterGstVideoSink"
glib:get-type="clutter_gst_video_sink_get_type"
glib:type-struct="VideoSinkClass">
<constructor name="new"
c:identifier="clutter_gst_video_sink_new"
doc="Creates a new GStreamer video sink which uses @texture as the target
for sinking a video stream from GStreamer.
<note>This function has to be called from Clutter's main thread. While
GStreamer will spawn threads to do its work, we want all the GL calls to
happen in the same thread. Clutter-gst knows which thread it is by
assuming this constructor is called from the Clutter thread.</note>">
<return-value transfer-ownership="full">
<type name="VideoSink" c:type="GstElement*"/>
</return-value>
<parameters>
<parameter name="texture" transfer-ownership="none">
<type name="Clutter.Texture" c:type="ClutterTexture*"/>
</parameter>
</parameters>
</constructor>
<property name="texture"
writable="1"
doc="This is the texture the video is decoded into. It can be any
#ClutterTexture, however Cluter-Gst has a handy subclass,
#ClutterGstVideoTexture, that implements the #ClutterMedia
interface.">
<type name="Clutter.Texture" c:type="ClutterTexture"/>
</property>
<property name="update-priority"
writable="1"
doc="Clutter-Gst installs a #GSource to signal that a new frame is ready to
the Clutter thread. This property allows to tweak the priority of the
source (Lower value is higher priority).
Since 1.0">
<type name="int" c:type="gint"/>
</property>
<field name="parent">
<type name="GstBase.BaseSink" c:type="GstBaseSink"/>
</field>
<field name="priv">
<type name="VideoSinkPrivate" c:type="ClutterGstVideoSinkPrivate*"/>
</field>
</class>
<record name="VideoSinkClass"
c:type="ClutterGstVideoSinkClass"
glib:is-gtype-struct-for="VideoSink"
doc="Base class for #ClutterGstVideoSink.">
<field name="parent_class">
<type name="GstBase.BaseSinkClass" c:type="GstBaseSinkClass"/>
</field>
<field name="clutter_reserved1">
<callback name="clutter_reserved1" c:type="_clutter_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="clutter_reserved2">
<callback name="clutter_reserved2" c:type="_clutter_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="clutter_reserved3">
<callback name="clutter_reserved3" c:type="_clutter_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="clutter_reserved4">
<callback name="clutter_reserved4" c:type="_clutter_reserved4">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="clutter_reserved5">
<callback name="clutter_reserved5" c:type="_clutter_reserved5">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="clutter_reserved6">
<callback name="clutter_reserved6" c:type="_clutter_reserved6">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="VideoSinkPrivate" c:type="ClutterGstVideoSinkPrivate">
</record>
<class name="VideoTexture"
c:type="ClutterGstVideoTexture"
doc="Subclass of #ClutterTexture that displays videos using GStreamer.
The #ClutterGstVideoTexture structure contains only private data and
should not be accessed directly."
parent="Clutter.Texture"
glib:type-name="ClutterGstVideoTexture"
glib:get-type="clutter_gst_video_texture_get_type"
glib:type-struct="VideoTextureClass">
<implements name="Clutter.Media"/>
<implements name="Clutter.Scriptable"/>
<constructor name="new"
c:identifier="clutter_gst_video_texture_new"
doc="Creates a video texture.
<note>This function has to be called from Clutter's main thread. While
GStreamer will spawn threads to do its work, we want all the GL calls to
happen in the same thread. Clutter-gst knows which thread it is by
assuming this constructor is called from the Clutter thread.</note>">
<return-value transfer-ownership="full">
<type name="VideoTexture" c:type="ClutterActor*"/>
</return-value>
</constructor>
<method name="get_pipeline"
c:identifier="clutter_gst_video_texture_get_pipeline"
doc="Retrieves the #GstPipeline used by the @texture, for direct use with
GStreamer API.">
<return-value transfer-ownership="full">
<type name="Gst.Element" c:type="GstElement*"/>
</return-value>
</method>
<field name="parent">
<type name="Clutter.Texture" c:type="ClutterTexture"/>
</field>
<field name="priv">
<type name="VideoTexturePrivate"
c:type="ClutterGstVideoTexturePrivate*"/>
</field>
</class>
<record name="VideoTextureClass"
c:type="ClutterGstVideoTextureClass"
glib:is-gtype-struct-for="VideoTexture"
doc="Base class for #ClutterGstVideoTexture.">
<field name="parent_class">
<type name="Clutter.TextureClass" c:type="ClutterTextureClass"/>
</field>
<field name="clutter_reserved1">
<callback name="clutter_reserved1" c:type="_clutter_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="clutter_reserved2">
<callback name="clutter_reserved2" c:type="_clutter_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="clutter_reserved3">
<callback name="clutter_reserved3" c:type="_clutter_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="clutter_reserved4">
<callback name="clutter_reserved4" c:type="_clutter_reserved4">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="clutter_reserved5">
<callback name="clutter_reserved5" c:type="_clutter_reserved5">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="clutter_reserved6">
<callback name="clutter_reserved6" c:type="_clutter_reserved6">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="VideoTexturePrivate" c:type="ClutterGstVideoTexturePrivate">
</record>
<function name="init"
c:identifier="clutter_gst_init"
doc="Utility function to initialize both Clutter and GStreamer.
This function should be called before calling any other GLib functions. If
this is not an option, your program must initialise the GLib thread system
using g_thread_init() before any other GLib functions are called.">
<return-value transfer-ownership="full">
<type name="Clutter.InitError" c:type="ClutterInitError"/>
</return-value>
<parameters>
<parameter name="argc" direction="out" transfer-ownership="full">
<type name="int" c:type="int*"/>
</parameter>
<parameter name="argv" transfer-ownership="none">
<type name="utf8" c:type="char***"/>
</parameter>
</parameters>
</function>
<function name="init_with_args"
c:identifier="clutter_gst_init_with_args"
doc="the first line of <option>--help</option> output, after
<literal><replaceable>programname</replaceable> [OPTION...]</literal>
describing the options of your program
the <option>--help</option> output for the options in @entries
with gettext(), or %NULL
This function does the same work as clutter_gst_init(). Additionally, it
allows you to add your own command line options, and it automatically
generates nicely formatted --help output. Clutter's and GStreamer's
#GOptionGroup<!-- -->s are added to the set of available options.
Your program must initialise the GLib thread system using g_thread_init()
before any other GLib functions are called.
on failure."
version="1.0"
throws="1">
<return-value transfer-ownership="full">
<type name="Clutter.InitError" c:type="ClutterInitError"/>
</return-value>
<parameters>
<parameter name="argc" direction="out" transfer-ownership="full">
<type name="int" c:type="int*"/>
</parameter>
<parameter name="argv" transfer-ownership="none">
<type name="utf8" c:type="char***"/>
</parameter>
<parameter name="parameter_string" transfer-ownership="none">
<type name="utf8" c:type="char*"/>
</parameter>
<parameter name="entries" transfer-ownership="none">
<type name="GLib.OptionEntry" c:type="GOptionEntry*"/>
</parameter>
<parameter name="translation_domain" transfer-ownership="none">
<type name="utf8" c:type="char*"/>
</parameter>
</parameters>
</function>
</namespace>
</repository>