Debian Codegraph @

gstreamer/gstreamermm/decodebin.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!
2 #ifndef _GSTREAMERMM_DECODEBIN_H
3 #define _GSTREAMERMM_DECODEBIN_H
4
5 #include <gstreamermmconfig.h>
6
7 #ifndef GSTREAMERMM_DISABLE_DEPRECATED
8
9
10 #include <glibmm/ustring.h>
11 #include <sigc++/sigc++.h>
12
13 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
14
15
16 #include <gstreamermm/bin.h>
17 #include <gstreamermm/caps.h>
18 #include <gstreamermm/pad.h>
19 #include <glibmm/valuearray.h>
20 #include <gstreamermm/enums.h>
21 #include <gstreamermm/elementfactory.h>
22 #include <gstreamermm/element.h>
23 #include <gstreamermm/query.h>
24
25
26 // Plug-in C enums used in signals:
27 #ifndef DOXYGEN_SHOULD_SKIP_THIS
28 using GstDecodeBin = struct _GstDecodeBin;
29 using GstDecodeBinClass = struct _GstDecodeBinClass;
30 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
31
32
33 #ifndef DOXYGEN_SHOULD_SKIP_THIS
34 namespace Gst
35 { class DecodeBin_Class; } // namespace Gst
36 #endif //DOXYGEN_SHOULD_SKIP_THIS
37
38 namespace Gst
39 {
40
41 /** A Wrapper for the decodebin plugin.
42 * Please note that not all plug-ins are available on all systems so care
43 * must be taken that they exist before they are used otherwise there will
44 * be errors and possibly a crash.
45 *
46 * @ingroup GstPlugins
47 * @deprecated Plugins API is deprecated, and should not be used in a new code.
48 */
49
50 class DecodeBin
51 : public Gst::Bin
52 {
53
54 #ifndef DOXYGEN_SHOULD_SKIP_THIS
55
56 public:
57 using CppObjectType = DecodeBin;
58 using CppClassType = DecodeBin_Class;
59 using BaseObjectType = GstDecodeBin;
60 using BaseClassType = GstDecodeBinClass;
61
62 // noncopyable
63 DecodeBin(const DecodeBin&) = delete;
64 DecodeBin& operator=(const DecodeBin&) = delete;
65
66 private: friend class DecodeBin_Class;
67 static CppClassType decodebin_class_;
68
69 protected:
70 explicit DecodeBin(const Glib::ConstructParams& construct_params);
71 explicit DecodeBin(GstDecodeBin* castitem);
72
73 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
74
75 public:
76
77 DecodeBin(DecodeBin&& src) noexcept;
78 DecodeBin& operator=(DecodeBin&& src) noexcept;
79
80 ~DecodeBin() noexcept override;
81
82 /** Get the GType for this class, for use with the underlying GObject type system.
83 */
84 static GType get_type() G_GNUC_CONST;
85
86 #ifndef DOXYGEN_SHOULD_SKIP_THIS
87
88
89 static GType get_base_type() G_GNUC_CONST;
90 #endif
91
92 ///Provides access to the underlying C GObject.
93 GstDecodeBin* gobj() { return reinterpret_cast<GstDecodeBin*>(gobject_); }
94
95 ///Provides access to the underlying C GObject.
96 const GstDecodeBin* gobj() const { return reinterpret_cast<GstDecodeBin*>(gobject_); }
97
98 ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
99 GstDecodeBin* gobj_copy();
100
101 private:
102
103
104 protected:
105 DecodeBin();
106 explicit DecodeBin(const Glib::ustring& name);
107
108 public:
109 /** Creates a new decodebin plugin with a unique name.
110 */
111
112 static Glib::RefPtr<DecodeBin> create();
113
114
115 /** Creates a new decodebin plugin with the given name.
116 */
117
118 static Glib::RefPtr<DecodeBin> create(const Glib::ustring& name);
119
120
121 /** The caps on which to stop decoding.
122 *
123 * @return A PropertyProxy that allows you to get or set the value of the property,
124 * or receive notification when the value of the property changes.
125 */
126 Glib::PropertyProxy< Glib::RefPtr<Gst::Caps> > property_caps() ;
127
128 /** The caps on which to stop decoding.
129 *
130 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
131 * or receive notification when the value of the property changes.
132 */
133 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Caps> > property_caps() const;
134
135 /** Encoding to assume if input subtitles are not in UTF-8 encoding. If not set, the GST_SUBTITLE_ENCODING environment variable will be checked for an encoding to use. If that is not set either, ISO-8859-15 will be assumed.
136 *
137 * @return A PropertyProxy that allows you to get or set the value of the property,
138 * or receive notification when the value of the property changes.
139 */
140 Glib::PropertyProxy< Glib::ustring > property_subtitle_encoding() ;
141
142 /** Encoding to assume if input subtitles are not in UTF-8 encoding. If not set, the GST_SUBTITLE_ENCODING environment variable will be checked for an encoding to use. If that is not set either, ISO-8859-15 will be assumed.
143 *
144 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
145 * or receive notification when the value of the property changes.
146 */
147 Glib::PropertyProxy_ReadOnly< Glib::ustring > property_subtitle_encoding() const;
148
149 /** The caps of the input data. (NULL = use typefind element).
150 *
151 * @return A PropertyProxy that allows you to get or set the value of the property,
152 * or receive notification when the value of the property changes.
153 */
154 Glib::PropertyProxy< Glib::RefPtr<Gst::Caps> > property_sink_caps() ;
155
156 /** The caps of the input data. (NULL = use typefind element).
157 *
158 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
159 * or receive notification when the value of the property changes.
160 */
161 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Caps> > property_sink_caps() const;
162
163 /** Emit GST_MESSAGE_BUFFERING based on low-/high-percent thresholds.
164 *
165 * @return A PropertyProxy that allows you to get or set the value of the property,
166 * or receive notification when the value of the property changes.
167 */
168 Glib::PropertyProxy< bool > property_use_buffering() ;
169
170 /** Emit GST_MESSAGE_BUFFERING based on low-/high-percent thresholds.
171 *
172 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
173 * or receive notification when the value of the property changes.
174 */
175 Glib::PropertyProxy_ReadOnly< bool > property_use_buffering() const;
176
177 /** Low threshold for buffering to start.
178 *
179 * @return A PropertyProxy that allows you to get or set the value of the property,
180 * or receive notification when the value of the property changes.
181 */
182 Glib::PropertyProxy< int > property_low_percent() ;
183
184 /** Low threshold for buffering to start.
185 *
186 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
187 * or receive notification when the value of the property changes.
188 */
189 Glib::PropertyProxy_ReadOnly< int > property_low_percent() const;
190
191 /** High threshold for buffering to finish.
192 *
193 * @return A PropertyProxy that allows you to get or set the value of the property,
194 * or receive notification when the value of the property changes.
195 */
196 Glib::PropertyProxy< int > property_high_percent() ;
197
198 /** High threshold for buffering to finish.
199 *
200 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
201 * or receive notification when the value of the property changes.
202 */
203 Glib::PropertyProxy_ReadOnly< int > property_high_percent() const;
204
205 /** Max. amount of bytes in the queue (0=automatic).
206 *
207 * @return A PropertyProxy that allows you to get or set the value of the property,
208 * or receive notification when the value of the property changes.
209 */
210 Glib::PropertyProxy< guint > property_max_size_bytes() ;
211
212 /** Max. amount of bytes in the queue (0=automatic).
213 *
214 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
215 * or receive notification when the value of the property changes.
216 */
217 Glib::PropertyProxy_ReadOnly< guint > property_max_size_bytes() const;
218
219 /** Max. number of buffers in the queue (0=automatic).
220 *
221 * @return A PropertyProxy that allows you to get or set the value of the property,
222 * or receive notification when the value of the property changes.
223 */
224 Glib::PropertyProxy< guint > property_max_size_buffers() ;
225
226 /** Max. number of buffers in the queue (0=automatic).
227 *
228 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
229 * or receive notification when the value of the property changes.
230 */
231 Glib::PropertyProxy_ReadOnly< guint > property_max_size_buffers() const;
232
233 /** Max. amount of data in the queue (in ns, 0=automatic).
234 *
235 * @return A PropertyProxy that allows you to get or set the value of the property,
236 * or receive notification when the value of the property changes.
237 */
238 Glib::PropertyProxy< guint64 > property_max_size_time() ;
239
240 /** Max. amount of data in the queue (in ns, 0=automatic).
241 *
242 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
243 * or receive notification when the value of the property changes.
244 */
245 Glib::PropertyProxy_ReadOnly< guint64 > property_max_size_time() const;
246
247 /** Post stream-topology messages.
248 *
249 * @return A PropertyProxy that allows you to get or set the value of the property,
250 * or receive notification when the value of the property changes.
251 */
252 Glib::PropertyProxy< bool > property_post_stream_topology() ;
253
254 /** Post stream-topology messages.
255 *
256 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
257 * or receive notification when the value of the property changes.
258 */
259 Glib::PropertyProxy_ReadOnly< bool > property_post_stream_topology() const;
260
261 /** Expose all streams, including those of unknown type or that don't match the 'caps' property.
262 *
263 * @return A PropertyProxy that allows you to get or set the value of the property,
264 * or receive notification when the value of the property changes.
265 */
266 Glib::PropertyProxy< bool > property_expose_all_streams() ;
267
268 /** Expose all streams, including those of unknown type or that don't match the 'caps' property.
269 *
270 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
271 * or receive notification when the value of the property changes.
272 */
273 Glib::PropertyProxy_ReadOnly< bool > property_expose_all_streams() const;
274
275 /** Network connection speed in kbps (0 = unknown).
276 *
277 * @return A PropertyProxy that allows you to get or set the value of the property,
278 * or receive notification when the value of the property changes.
279 */
280 Glib::PropertyProxy< guint64 > property_connection_speed() ;
281
282 /** Network connection speed in kbps (0 = unknown).
283 *
284 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
285 * or receive notification when the value of the property changes.
286 */
287 Glib::PropertyProxy_ReadOnly< guint64 > property_connection_speed() const;
288
289
290 /**
291 * @par Slot Prototype:
292 * <tt>void on_my_%unknown_type(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1)</tt>
293 *
294 */
295
296 Glib::SignalProxy< void,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>& > signal_unknown_type();
297
298
299 /**
300 * @par Slot Prototype:
301 * <tt>bool on_my_%autoplug_continue(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1)</tt>
302 *
303 */
304
305 Glib::SignalProxy< bool,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>& > signal_autoplug_continue();
306
307
308 /**
309 * @par Slot Prototype:
310 * <tt>Glib::ValueArray on_my_%autoplug_factories(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1)</tt>
311 *
312 */
313
314 Glib::SignalProxy< Glib::ValueArray,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>& > signal_autoplug_factories();
315
316
317 /**
318 * @par Slot Prototype:
319 * <tt>Glib::ValueArray on_my_%autoplug_sort(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1, const Glib::ValueArray& arg2)</tt>
320 *
321 */
322
323 Glib::SignalProxy< Glib::ValueArray,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>&,const Glib::ValueArray& > signal_autoplug_sort();
324
325
326 /**
327 * @par Slot Prototype:
328 * <tt>Gst::AutoplugSelectResult on_my_%autoplug_select(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1, const Glib::RefPtr<Gst::ElementFactory>& arg2)</tt>
329 *
330 */
331
332 Glib::SignalProxy< Gst::AutoplugSelectResult,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>&,const Glib::RefPtr<Gst::ElementFactory>& > signal_autoplug_select();
333
334
335 /**
336 * @par Slot Prototype:
337 * <tt>bool on_my_%autoplug_query(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Element>& arg1, const Glib::RefPtr<Gst::Query>& arg2)</tt>
338 *
339 */
340
341 Glib::SignalProxy< bool,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Element>&,const Glib::RefPtr<Gst::Query>& > signal_autoplug_query();
342
343
344 /**
345 * @par Slot Prototype:
346 * <tt>void on_my_%drained()</tt>
347 *
348 */
349
350 Glib::SignalProxy< void > signal_drained();
351
352
353 public:
354
355 public:
356 //C++ methods used to invoke GTK+ virtual functions:
357
358 protected:
359 //GTK+ Virtual Functions (override these to change behaviour):
360
361 //Default Signal Handlers::
362
363
364 };
365
366 } // namespace Gst
367
368
369 namespace Glib
370 {
371 /** A Glib::wrap() method for this object.
372 *
373 * @param object The C instance.
374 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
375 * @result A C++ instance that wraps this C instance.
376 *
377 * @relates Gst::DecodeBin
378 */
379 Glib::RefPtr<Gst::DecodeBin> wrap(GstDecodeBin* object, bool take_copy = false);
380 }
381
382
383 #endif // GSTREAMERMM_DISABLE_DEPRECATED
384
385
386 #endif /* _GSTREAMERMM_DECODEBIN_H */
387