Debian Codegraph @

gstreamer/gstreamermm/xvimagesink.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!
2 #ifndef _GSTREAMERMM_XVIMAGESINK_H
3 #define _GSTREAMERMM_XVIMAGESINK_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/videosink.h>
17 #include <gstreamermm/navigation.h>
18 #include <gstreamermm/videooverlay.h>
19 #include <gstreamermm/colorbalance.h>
20
21
22 #ifndef DOXYGEN_SHOULD_SKIP_THIS
23 using GstXvImageSink = struct _GstXvImageSink;
24 using GstXvImageSinkClass = struct _GstXvImageSinkClass;
25 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
26
27
28 #ifndef DOXYGEN_SHOULD_SKIP_THIS
29 namespace Gst
30 { class XvImageSink_Class; } // namespace Gst
31 #endif //DOXYGEN_SHOULD_SKIP_THIS
32
33 namespace Gst
34 {
35
36 /** A Wrapper for the xvimagesink plugin.
37 * Please note that not all plug-ins are available on all systems so care
38 * must be taken that they exist before they are used otherwise there will
39 * be errors and possibly a crash.
40 *
41 * @ingroup GstPlugins
42 * @deprecated Plugins API is deprecated, and should not be used in a new code.
43 */
44
45 class XvImageSink
46 : public Gst::VideoSink, public Gst::Navigation, public Gst::VideoOverlay, public Gst::ColorBalance
47 {
48
49 #ifndef DOXYGEN_SHOULD_SKIP_THIS
50
51 public:
52 using CppObjectType = XvImageSink;
53 using CppClassType = XvImageSink_Class;
54 using BaseObjectType = GstXvImageSink;
55 using BaseClassType = GstXvImageSinkClass;
56
57 // noncopyable
58 XvImageSink(const XvImageSink&) = delete;
59 XvImageSink& operator=(const XvImageSink&) = delete;
60
61 private: friend class XvImageSink_Class;
62 static CppClassType xvimagesink_class_;
63
64 protected:
65 explicit XvImageSink(const Glib::ConstructParams& construct_params);
66 explicit XvImageSink(GstXvImageSink* castitem);
67
68 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
69
70 public:
71
72 XvImageSink(XvImageSink&& src) noexcept;
73 XvImageSink& operator=(XvImageSink&& src) noexcept;
74
75 ~XvImageSink() noexcept override;
76
77 /** Get the GType for this class, for use with the underlying GObject type system.
78 */
79 static GType get_type() G_GNUC_CONST;
80
81 #ifndef DOXYGEN_SHOULD_SKIP_THIS
82
83
84 static GType get_base_type() G_GNUC_CONST;
85 #endif
86
87 ///Provides access to the underlying C GObject.
88 GstXvImageSink* gobj() { return reinterpret_cast<GstXvImageSink*>(gobject_); }
89
90 ///Provides access to the underlying C GObject.
91 const GstXvImageSink* gobj() const { return reinterpret_cast<GstXvImageSink*>(gobject_); }
92
93 ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
94 GstXvImageSink* gobj_copy();
95
96 private:
97
98
99 protected:
100 XvImageSink();
101 explicit XvImageSink(const Glib::ustring& name);
102
103 public:
104 /** Creates a new xvimagesink plugin with a unique name.
105 */
106
107 static Glib::RefPtr<XvImageSink> create();
108
109
110 /** Creates a new xvimagesink plugin with the given name.
111 */
112
113 static Glib::RefPtr<XvImageSink> create(const Glib::ustring& name);
114
115
116 /** The contrast of the video.
117 *
118 * @return A PropertyProxy that allows you to get or set the value of the property,
119 * or receive notification when the value of the property changes.
120 */
121 Glib::PropertyProxy< int > property_contrast() ;
122
123 /** The contrast of the video.
124 *
125 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
126 * or receive notification when the value of the property changes.
127 */
128 Glib::PropertyProxy_ReadOnly< int > property_contrast() const;
129
130 /** The brightness of the video.
131 *
132 * @return A PropertyProxy that allows you to get or set the value of the property,
133 * or receive notification when the value of the property changes.
134 */
135 Glib::PropertyProxy< int > property_brightness() ;
136
137 /** The brightness of the video.
138 *
139 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
140 * or receive notification when the value of the property changes.
141 */
142 Glib::PropertyProxy_ReadOnly< int > property_brightness() const;
143
144 /** The hue of the video.
145 *
146 * @return A PropertyProxy that allows you to get or set the value of the property,
147 * or receive notification when the value of the property changes.
148 */
149 Glib::PropertyProxy< int > property_hue() ;
150
151 /** The hue of the video.
152 *
153 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
154 * or receive notification when the value of the property changes.
155 */
156 Glib::PropertyProxy_ReadOnly< int > property_hue() const;
157
158 /** The saturation of the video.
159 *
160 * @return A PropertyProxy that allows you to get or set the value of the property,
161 * or receive notification when the value of the property changes.
162 */
163 Glib::PropertyProxy< int > property_saturation() ;
164
165 /** The saturation of the video.
166 *
167 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
168 * or receive notification when the value of the property changes.
169 */
170 Glib::PropertyProxy_ReadOnly< int > property_saturation() const;
171
172 /** X Display name.
173 *
174 * @return A PropertyProxy that allows you to get or set the value of the property,
175 * or receive notification when the value of the property changes.
176 */
177 Glib::PropertyProxy< Glib::ustring > property_display() ;
178
179 /** X Display name.
180 *
181 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
182 * or receive notification when the value of the property changes.
183 */
184 Glib::PropertyProxy_ReadOnly< Glib::ustring > property_display() const;
185
186 /** When enabled, runs the X display in synchronous mode. (unrelated to A/V sync, used only for debugging).
187 *
188 * @return A PropertyProxy that allows you to get or set the value of the property,
189 * or receive notification when the value of the property changes.
190 */
191 Glib::PropertyProxy< bool > property_synchronous() ;
192
193 /** When enabled, runs the X display in synchronous mode. (unrelated to A/V sync, used only for debugging).
194 *
195 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
196 * or receive notification when the value of the property changes.
197 */
198 Glib::PropertyProxy_ReadOnly< bool > property_synchronous() const;
199
200 /** The pixel aspect ratio of the device.
201 *
202 * @return A PropertyProxy that allows you to get or set the value of the property,
203 * or receive notification when the value of the property changes.
204 */
205 Glib::PropertyProxy< Glib::ustring > property_pixel_aspect_ratio() ;
206
207 /** The pixel aspect ratio of the device.
208 *
209 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
210 * or receive notification when the value of the property changes.
211 */
212 Glib::PropertyProxy_ReadOnly< Glib::ustring > property_pixel_aspect_ratio() const;
213
214 /** When enabled, scaling will respect original aspect ratio.
215 *
216 * @return A PropertyProxy that allows you to get or set the value of the property,
217 * or receive notification when the value of the property changes.
218 */
219 Glib::PropertyProxy< bool > property_force_aspect_ratio() ;
220
221 /** When enabled, scaling will respect original aspect ratio.
222 *
223 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
224 * or receive notification when the value of the property changes.
225 */
226 Glib::PropertyProxy_ReadOnly< bool > property_force_aspect_ratio() const;
227
228 /** When enabled, XEvents will be selected and handled.
229 *
230 * @return A PropertyProxy that allows you to get or set the value of the property,
231 * or receive notification when the value of the property changes.
232 */
233 Glib::PropertyProxy< bool > property_handle_events() ;
234
235 /** When enabled, XEvents will be selected and handled.
236 *
237 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
238 * or receive notification when the value of the property changes.
239 */
240 Glib::PropertyProxy_ReadOnly< bool > property_handle_events() const;
241
242 /** The number of the video adaptor.
243 *
244 * @return A PropertyProxy that allows you to get or set the value of the property,
245 * or receive notification when the value of the property changes.
246 */
247 Glib::PropertyProxy< Glib::ustring > property_device() ;
248
249 /** The number of the video adaptor.
250 *
251 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
252 * or receive notification when the value of the property changes.
253 */
254 Glib::PropertyProxy_ReadOnly< Glib::ustring > property_device() const;
255
256 /** The name of the video adaptor.
257 *
258 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
259 * or receive notification when the value of the property changes.
260 */
261 Glib::PropertyProxy_ReadOnly< Glib::ustring > property_device_name() const;
262
263
264 /** When enabled, the current frame will always be drawn in response to X Expose events.
265 *
266 * @return A PropertyProxy that allows you to get or set the value of the property,
267 * or receive notification when the value of the property changes.
268 */
269 Glib::PropertyProxy< bool > property_handle_expose() ;
270
271 /** When enabled, the current frame will always be drawn in response to X Expose events.
272 *
273 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
274 * or receive notification when the value of the property changes.
275 */
276 Glib::PropertyProxy_ReadOnly< bool > property_handle_expose() const;
277
278 /** Whether to double-buffer the output.
279 *
280 * @return A PropertyProxy that allows you to get or set the value of the property,
281 * or receive notification when the value of the property changes.
282 */
283 Glib::PropertyProxy< bool > property_double_buffer() ;
284
285 /** Whether to double-buffer the output.
286 *
287 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
288 * or receive notification when the value of the property changes.
289 */
290 Glib::PropertyProxy_ReadOnly< bool > property_double_buffer() const;
291
292 /** Whether to autofill overlay with colorkey.
293 *
294 * @return A PropertyProxy that allows you to get or set the value of the property,
295 * or receive notification when the value of the property changes.
296 */
297 Glib::PropertyProxy< bool > property_autopaint_colorkey() ;
298
299 /** Whether to autofill overlay with colorkey.
300 *
301 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
302 * or receive notification when the value of the property changes.
303 */
304 Glib::PropertyProxy_ReadOnly< bool > property_autopaint_colorkey() const;
305
306 /** Color to use for the overlay mask.
307 *
308 * @return A PropertyProxy that allows you to get or set the value of the property,
309 * or receive notification when the value of the property changes.
310 */
311 Glib::PropertyProxy< int > property_colorkey() ;
312
313 /** Color to use for the overlay mask.
314 *
315 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
316 * or receive notification when the value of the property changes.
317 */
318 Glib::PropertyProxy_ReadOnly< int > property_colorkey() const;
319
320 /** Draw black borders to fill unused area in force-aspect-ratio mode.
321 *
322 * @return A PropertyProxy that allows you to get or set the value of the property,
323 * or receive notification when the value of the property changes.
324 */
325 Glib::PropertyProxy< bool > property_draw_borders() ;
326
327 /** Draw black borders to fill unused area in force-aspect-ratio mode.
328 *
329 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
330 * or receive notification when the value of the property changes.
331 */
332 Glib::PropertyProxy_ReadOnly< bool > property_draw_borders() const;
333
334 /** Width of the window.
335 *
336 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
337 * or receive notification when the value of the property changes.
338 */
339 Glib::PropertyProxy_ReadOnly< guint64 > property_window_width() const;
340
341
342 /** Height of the window.
343 *
344 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
345 * or receive notification when the value of the property changes.
346 */
347 Glib::PropertyProxy_ReadOnly< guint64 > property_window_height() const;
348
349
350 public:
351
352 public:
353 //C++ methods used to invoke GTK+ virtual functions:
354
355 protected:
356 //GTK+ Virtual Functions (override these to change behaviour):
357
358 //Default Signal Handlers::
359
360
361 };
362
363 } // namespace Gst
364
365
366 namespace Glib
367 {
368 /** A Glib::wrap() method for this object.
369 *
370 * @param object The C instance.
371 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
372 * @result A C++ instance that wraps this C instance.
373 *
374 * @relates Gst::XvImageSink
375 */
376 Glib::RefPtr<Gst::XvImageSink> wrap(GstXvImageSink* object, bool take_copy = false);
377 }
378
379
380 #endif // GSTREAMERMM_DISABLE_DEPRECATED
381
382
383 #endif /* _GSTREAMERMM_XVIMAGESINK_H */
384