Debian Codegraph @

gstreamer/gstreamermm/videotestsrc.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!
2 #ifndef _GSTREAMERMM_VIDEOTESTSRC_H
3 #define _GSTREAMERMM_VIDEOTESTSRC_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/pushsrc.h>
17
18
19 #ifndef DOXYGEN_SHOULD_SKIP_THIS
20 using GstVideoTestSrc = struct _GstVideoTestSrc;
21 using GstVideoTestSrcClass = struct _GstVideoTestSrcClass;
22 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
23
24
25 #ifndef DOXYGEN_SHOULD_SKIP_THIS
26 namespace Gst
27 { class VideoTestSrc_Class; } // namespace Gst
28 #endif //DOXYGEN_SHOULD_SKIP_THIS
29
30 namespace Gst
31 {
32
33 /** @addtogroup gstreamermmEnums gstreamermm Enums and Flags */
34
35 /**
36 *
37 * @ingroup gstreamermmEnums
38 */
39 enum VideoTestSrcPattern
40 {
41 VIDEO_TEST_SRC_SMPTE,
42 VIDEO_TEST_SRC_SNOW,
43 VIDEO_TEST_SRC_BLACK,
44 VIDEO_TEST_SRC_WHITE,
45 VIDEO_TEST_SRC_RED,
46 VIDEO_TEST_SRC_GREEN,
47 VIDEO_TEST_SRC_BLUE,
48 VIDEO_TEST_SRC_CHECKERS1,
49 VIDEO_TEST_SRC_CHECKERS2,
50 VIDEO_TEST_SRC_CHECKERS4,
51 VIDEO_TEST_SRC_CHECKERS8,
52 VIDEO_TEST_SRC_CIRCULAR,
53 VIDEO_TEST_SRC_BLINK,
54 VIDEO_TEST_SRC_SMPTE75,
55 VIDEO_TEST_SRC_ZONE_PLATE,
56 VIDEO_TEST_SRC_GAMUT,
57 VIDEO_TEST_SRC_CHROMA_ZONE_PLATE,
58 VIDEO_TEST_SRC_SOLID,
59 VIDEO_TEST_SRC_BALL,
60 VIDEO_TEST_SRC_SMPTE100,
61 VIDEO_TEST_SRC_BAR,
62 VIDEO_TEST_SRC_PINWHEEL,
63 VIDEO_TEST_SRC_SPOKES,
64 VIDEO_TEST_SRC_GRADIENT,
65 VIDEO_TEST_SRC_COLORS
66 };
67
68 } // namespace Gst
69
70 #ifndef DOXYGEN_SHOULD_SKIP_THIS
71 namespace Glib
72 {
73
74 template <>
75 class Value<Gst::VideoTestSrcPattern> : public Glib::Value_Enum<Gst::VideoTestSrcPattern>
76 {
77 public:
78 static GType value_type() G_GNUC_CONST;
79 };
80
81 } // namespace Glib
82 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
83
84 namespace Gst
85 {
86
87
88 /** A Wrapper for the videotestsrc plugin.
89 * Please note that not all plug-ins are available on all systems so care
90 * must be taken that they exist before they are used otherwise there will
91 * be errors and possibly a crash.
92 *
93 * @ingroup GstPlugins
94 * @deprecated Plugins API is deprecated, and should not be used in a new code.
95 */
96
97 class VideoTestSrc
98 : public Gst::PushSrc
99 {
100
101 #ifndef DOXYGEN_SHOULD_SKIP_THIS
102
103 public:
104 using CppObjectType = VideoTestSrc;
105 using CppClassType = VideoTestSrc_Class;
106 using BaseObjectType = GstVideoTestSrc;
107 using BaseClassType = GstVideoTestSrcClass;
108
109 // noncopyable
110 VideoTestSrc(const VideoTestSrc&) = delete;
111 VideoTestSrc& operator=(const VideoTestSrc&) = delete;
112
113 private: friend class VideoTestSrc_Class;
114 static CppClassType videotestsrc_class_;
115
116 protected:
117 explicit VideoTestSrc(const Glib::ConstructParams& construct_params);
118 explicit VideoTestSrc(GstVideoTestSrc* castitem);
119
120 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
121
122 public:
123
124 VideoTestSrc(VideoTestSrc&& src) noexcept;
125 VideoTestSrc& operator=(VideoTestSrc&& src) noexcept;
126
127 ~VideoTestSrc() noexcept override;
128
129 /** Get the GType for this class, for use with the underlying GObject type system.
130 */
131 static GType get_type() G_GNUC_CONST;
132
133 #ifndef DOXYGEN_SHOULD_SKIP_THIS
134
135
136 static GType get_base_type() G_GNUC_CONST;
137 #endif
138
139 ///Provides access to the underlying C GObject.
140 GstVideoTestSrc* gobj() { return reinterpret_cast<GstVideoTestSrc*>(gobject_); }
141
142 ///Provides access to the underlying C GObject.
143 const GstVideoTestSrc* gobj() const { return reinterpret_cast<GstVideoTestSrc*>(gobject_); }
144
145 ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
146 GstVideoTestSrc* gobj_copy();
147
148 private:
149
150
151 protected:
152 VideoTestSrc();
153 explicit VideoTestSrc(const Glib::ustring& name);
154
155 public:
156 /** Creates a new videotestsrc plugin with a unique name.
157 */
158
159 static Glib::RefPtr<VideoTestSrc> create();
160
161
162 /** Creates a new videotestsrc plugin with the given name.
163 */
164
165 static Glib::RefPtr<VideoTestSrc> create(const Glib::ustring& name);
166
167
168 /** Type of test pattern to generate.
169 *
170 * @return A PropertyProxy that allows you to get or set the value of the property,
171 * or receive notification when the value of the property changes.
172 */
173 Glib::PropertyProxy< Gst::VideoTestSrcPattern > property_pattern() ;
174
175 /** Type of test pattern to generate.
176 *
177 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
178 * or receive notification when the value of the property changes.
179 */
180 Glib::PropertyProxy_ReadOnly< Gst::VideoTestSrcPattern > property_pattern() const;
181
182 /** An offset added to timestamps set on buffers (in ns).
183 *
184 * @return A PropertyProxy that allows you to get or set the value of the property,
185 * or receive notification when the value of the property changes.
186 */
187 Glib::PropertyProxy< gint64 > property_timestamp_offset() ;
188
189 /** An offset added to timestamps set on buffers (in ns).
190 *
191 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
192 * or receive notification when the value of the property changes.
193 */
194 Glib::PropertyProxy_ReadOnly< gint64 > property_timestamp_offset() const;
195
196 /** Whether to act as a live source.
197 *
198 * @return A PropertyProxy that allows you to get or set the value of the property,
199 * or receive notification when the value of the property changes.
200 */
201 Glib::PropertyProxy< bool > property_is_live() ;
202
203 /** Whether to act as a live source.
204 *
205 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
206 * or receive notification when the value of the property changes.
207 */
208 Glib::PropertyProxy_ReadOnly< bool > property_is_live() const;
209
210 /** Zoneplate zero order phase, for generating plain fields or phase offsets.
211 *
212 * @return A PropertyProxy that allows you to get or set the value of the property,
213 * or receive notification when the value of the property changes.
214 */
215 Glib::PropertyProxy< int > property_k0() ;
216
217 /** Zoneplate zero order phase, for generating plain fields or phase offsets.
218 *
219 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
220 * or receive notification when the value of the property changes.
221 */
222 Glib::PropertyProxy_ReadOnly< int > property_k0() const;
223
224 /** Zoneplate 1st order x phase, for generating constant horizontal frequencies.
225 *
226 * @return A PropertyProxy that allows you to get or set the value of the property,
227 * or receive notification when the value of the property changes.
228 */
229 Glib::PropertyProxy< int > property_kx() ;
230
231 /** Zoneplate 1st order x phase, for generating constant horizontal frequencies.
232 *
233 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
234 * or receive notification when the value of the property changes.
235 */
236 Glib::PropertyProxy_ReadOnly< int > property_kx() const;
237
238 /** Zoneplate 1st order y phase, for generating contant vertical frequencies.
239 *
240 * @return A PropertyProxy that allows you to get or set the value of the property,
241 * or receive notification when the value of the property changes.
242 */
243 Glib::PropertyProxy< int > property_ky() ;
244
245 /** Zoneplate 1st order y phase, for generating contant vertical frequencies.
246 *
247 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
248 * or receive notification when the value of the property changes.
249 */
250 Glib::PropertyProxy_ReadOnly< int > property_ky() const;
251
252 /** Zoneplate 1st order t phase, for generating phase rotation as a function of time.
253 *
254 * @return A PropertyProxy that allows you to get or set the value of the property,
255 * or receive notification when the value of the property changes.
256 */
257 Glib::PropertyProxy< int > property_kt() ;
258
259 /** Zoneplate 1st order t phase, for generating phase rotation as a function of time.
260 *
261 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
262 * or receive notification when the value of the property changes.
263 */
264 Glib::PropertyProxy_ReadOnly< int > property_kt() const;
265
266 /** Zoneplate x*t product phase, normalised to kxy/256 cycles per vertical pixel at width/2 from origin.
267 *
268 * @return A PropertyProxy that allows you to get or set the value of the property,
269 * or receive notification when the value of the property changes.
270 */
271 Glib::PropertyProxy< int > property_kxt() ;
272
273 /** Zoneplate x*t product phase, normalised to kxy/256 cycles per vertical pixel at width/2 from origin.
274 *
275 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
276 * or receive notification when the value of the property changes.
277 */
278 Glib::PropertyProxy_ReadOnly< int > property_kxt() const;
279
280 /** Zoneplate y*t product phase.
281 *
282 * @return A PropertyProxy that allows you to get or set the value of the property,
283 * or receive notification when the value of the property changes.
284 */
285 Glib::PropertyProxy< int > property_kyt() ;
286
287 /** Zoneplate y*t product phase.
288 *
289 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
290 * or receive notification when the value of the property changes.
291 */
292 Glib::PropertyProxy_ReadOnly< int > property_kyt() const;
293
294 /** Zoneplate x*y product phase.
295 *
296 * @return A PropertyProxy that allows you to get or set the value of the property,
297 * or receive notification when the value of the property changes.
298 */
299 Glib::PropertyProxy< int > property_kxy() ;
300
301 /** Zoneplate x*y product phase.
302 *
303 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
304 * or receive notification when the value of the property changes.
305 */
306 Glib::PropertyProxy_ReadOnly< int > property_kxy() const;
307
308 /** Zoneplate 2nd order x phase, normalised to kx2/256 cycles per horizontal pixel at width/2 from origin.
309 *
310 * @return A PropertyProxy that allows you to get or set the value of the property,
311 * or receive notification when the value of the property changes.
312 */
313 Glib::PropertyProxy< int > property_kx2() ;
314
315 /** Zoneplate 2nd order x phase, normalised to kx2/256 cycles per horizontal pixel at width/2 from origin.
316 *
317 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
318 * or receive notification when the value of the property changes.
319 */
320 Glib::PropertyProxy_ReadOnly< int > property_kx2() const;
321
322 /** Zoneplate 2nd order y phase, normailsed to ky2/256 cycles per vertical pixel at height/2 from origin.
323 *
324 * @return A PropertyProxy that allows you to get or set the value of the property,
325 * or receive notification when the value of the property changes.
326 */
327 Glib::PropertyProxy< int > property_ky2() ;
328
329 /** Zoneplate 2nd order y phase, normailsed to ky2/256 cycles per vertical pixel at height/2 from origin.
330 *
331 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
332 * or receive notification when the value of the property changes.
333 */
334 Glib::PropertyProxy_ReadOnly< int > property_ky2() const;
335
336 /** Zoneplate 2nd order t phase, t*t/256 cycles per picture.
337 *
338 * @return A PropertyProxy that allows you to get or set the value of the property,
339 * or receive notification when the value of the property changes.
340 */
341 Glib::PropertyProxy< int > property_kt2() ;
342
343 /** Zoneplate 2nd order t phase, t*t/256 cycles per picture.
344 *
345 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
346 * or receive notification when the value of the property changes.
347 */
348 Glib::PropertyProxy_ReadOnly< int > property_kt2() const;
349
350 /** Zoneplate 2nd order products x offset.
351 *
352 * @return A PropertyProxy that allows you to get or set the value of the property,
353 * or receive notification when the value of the property changes.
354 */
355 Glib::PropertyProxy< int > property_xoffset() ;
356
357 /** Zoneplate 2nd order products x offset.
358 *
359 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
360 * or receive notification when the value of the property changes.
361 */
362 Glib::PropertyProxy_ReadOnly< int > property_xoffset() const;
363
364 /** Zoneplate 2nd order products y offset.
365 *
366 * @return A PropertyProxy that allows you to get or set the value of the property,
367 * or receive notification when the value of the property changes.
368 */
369 Glib::PropertyProxy< int > property_yoffset() ;
370
371 /** Zoneplate 2nd order products y offset.
372 *
373 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
374 * or receive notification when the value of the property changes.
375 */
376 Glib::PropertyProxy_ReadOnly< int > property_yoffset() const;
377
378 /** Foreground color to use (big-endian ARGB).
379 *
380 * @return A PropertyProxy that allows you to get or set the value of the property,
381 * or receive notification when the value of the property changes.
382 */
383 Glib::PropertyProxy< guint > property_foreground_color() ;
384
385 /** Foreground color to use (big-endian ARGB).
386 *
387 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
388 * or receive notification when the value of the property changes.
389 */
390 Glib::PropertyProxy_ReadOnly< guint > property_foreground_color() const;
391
392 /** Background color to use (big-endian ARGB).
393 *
394 * @return A PropertyProxy that allows you to get or set the value of the property,
395 * or receive notification when the value of the property changes.
396 */
397 Glib::PropertyProxy< guint > property_background_color() ;
398
399 /** Background color to use (big-endian ARGB).
400 *
401 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
402 * or receive notification when the value of the property changes.
403 */
404 Glib::PropertyProxy_ReadOnly< guint > property_background_color() const;
405
406 /** Scroll image number of pixels per frame (positive is scroll to the left).
407 *
408 * @return A PropertyProxy that allows you to get or set the value of the property,
409 * or receive notification when the value of the property changes.
410 */
411 Glib::PropertyProxy< int > property_horizontal_speed() ;
412
413 /** Scroll image number of pixels per frame (positive is scroll to the left).
414 *
415 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
416 * or receive notification when the value of the property changes.
417 */
418 Glib::PropertyProxy_ReadOnly< int > property_horizontal_speed() const;
419
420
421 public:
422
423 public:
424 //C++ methods used to invoke GTK+ virtual functions:
425
426 protected:
427 //GTK+ Virtual Functions (override these to change behaviour):
428
429 //Default Signal Handlers::
430
431
432 };
433
434 } // namespace Gst
435
436
437 namespace Glib
438 {
439 /** A Glib::wrap() method for this object.
440 *
441 * @param object The C instance.
442 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
443 * @result A C++ instance that wraps this C instance.
444 *
445 * @relates Gst::VideoTestSrc
446 */
447 Glib::RefPtr<Gst::VideoTestSrc> wrap(GstVideoTestSrc* object, bool take_copy = false);
448 }
449
450
451 #endif // GSTREAMERMM_DISABLE_DEPRECATED
452
453
454 #endif /* _GSTREAMERMM_VIDEOTESTSRC_H */
455