Debian Codegraph @

gstreamer/gstreamermm/videorate.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!
2 #ifndef _GSTREAMERMM_VIDEORATE_H
3 #define _GSTREAMERMM_VIDEORATE_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/basetransform.h>
17
18
19 #ifndef DOXYGEN_SHOULD_SKIP_THIS
20 using GstVideoRate = struct _GstVideoRate;
21 using GstVideoRateClass = struct _GstVideoRateClass;
22 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
23
24
25 #ifndef DOXYGEN_SHOULD_SKIP_THIS
26 namespace Gst
27 { class VideoRate_Class; } // namespace Gst
28 #endif //DOXYGEN_SHOULD_SKIP_THIS
29
30 namespace Gst
31 {
32
33 /** A Wrapper for the videorate plugin.
34 * Please note that not all plug-ins are available on all systems so care
35 * must be taken that they exist before they are used otherwise there will
36 * be errors and possibly a crash.
37 *
38 * @ingroup GstPlugins
39 * @deprecated Plugins API is deprecated, and should not be used in a new code.
40 */
41
42 class VideoRate
43 : public Gst::BaseTransform
44 {
45
46 #ifndef DOXYGEN_SHOULD_SKIP_THIS
47
48 public:
49 using CppObjectType = VideoRate;
50 using CppClassType = VideoRate_Class;
51 using BaseObjectType = GstVideoRate;
52 using BaseClassType = GstVideoRateClass;
53
54 // noncopyable
55 VideoRate(const VideoRate&) = delete;
56 VideoRate& operator=(const VideoRate&) = delete;
57
58 private: friend class VideoRate_Class;
59 static CppClassType videorate_class_;
60
61 protected:
62 explicit VideoRate(const Glib::ConstructParams& construct_params);
63 explicit VideoRate(GstVideoRate* castitem);
64
65 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
66
67 public:
68
69 VideoRate(VideoRate&& src) noexcept;
70 VideoRate& operator=(VideoRate&& src) noexcept;
71
72 ~VideoRate() noexcept override;
73
74 /** Get the GType for this class, for use with the underlying GObject type system.
75 */
76 static GType get_type() G_GNUC_CONST;
77
78 #ifndef DOXYGEN_SHOULD_SKIP_THIS
79
80
81 static GType get_base_type() G_GNUC_CONST;
82 #endif
83
84 ///Provides access to the underlying C GObject.
85 GstVideoRate* gobj() { return reinterpret_cast<GstVideoRate*>(gobject_); }
86
87 ///Provides access to the underlying C GObject.
88 const GstVideoRate* gobj() const { return reinterpret_cast<GstVideoRate*>(gobject_); }
89
90 ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
91 GstVideoRate* gobj_copy();
92
93 private:
94
95
96 protected:
97 VideoRate();
98 explicit VideoRate(const Glib::ustring& name);
99
100 public:
101 /** Creates a new videorate plugin with a unique name.
102 */
103
104 static Glib::RefPtr<VideoRate> create();
105
106
107 /** Creates a new videorate plugin with the given name.
108 */
109
110 static Glib::RefPtr<VideoRate> create(const Glib::ustring& name);
111
112
113 /** Number of input frames.
114 *
115 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
116 * or receive notification when the value of the property changes.
117 */
118 Glib::PropertyProxy_ReadOnly< guint64 > property_in() const;
119
120
121 /** Number of output frames.
122 *
123 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
124 * or receive notification when the value of the property changes.
125 */
126 Glib::PropertyProxy_ReadOnly< guint64 > property_out() const;
127
128
129 /** Number of duplicated frames.
130 *
131 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
132 * or receive notification when the value of the property changes.
133 */
134 Glib::PropertyProxy_ReadOnly< guint64 > property_duplicate() const;
135
136
137 /** Number of dropped frames.
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< guint64 > property_drop() const;
143
144
145 /** Don't emit notify for dropped and duplicated frames.
146 *
147 * @return A PropertyProxy that allows you to get or set the value of the property,
148 * or receive notification when the value of the property changes.
149 */
150 Glib::PropertyProxy< bool > property_silent() ;
151
152 /** Don't emit notify for dropped and duplicated frames.
153 *
154 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
155 * or receive notification when the value of the property changes.
156 */
157 Glib::PropertyProxy_ReadOnly< bool > property_silent() const;
158
159 /** Value indicating how much to prefer new frames (unused).
160 *
161 * @return A PropertyProxy that allows you to get or set the value of the property,
162 * or receive notification when the value of the property changes.
163 */
164 Glib::PropertyProxy< double > property_new_pref() ;
165
166 /** Value indicating how much to prefer new frames (unused).
167 *
168 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
169 * or receive notification when the value of the property changes.
170 */
171 Glib::PropertyProxy_ReadOnly< double > property_new_pref() const;
172
173 /** Don't produce buffers before the first one we receive.
174 *
175 * @return A PropertyProxy that allows you to get or set the value of the property,
176 * or receive notification when the value of the property changes.
177 */
178 Glib::PropertyProxy< bool > property_skip_to_first() ;
179
180 /** Don't produce buffers before the first one we receive.
181 *
182 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
183 * or receive notification when the value of the property changes.
184 */
185 Glib::PropertyProxy_ReadOnly< bool > property_skip_to_first() const;
186
187 /** Only drop frames, no duplicates are produced.
188 *
189 * @return A PropertyProxy that allows you to get or set the value of the property,
190 * or receive notification when the value of the property changes.
191 */
192 Glib::PropertyProxy< bool > property_drop_only() ;
193
194 /** Only drop frames, no duplicates are produced.
195 *
196 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
197 * or receive notification when the value of the property changes.
198 */
199 Glib::PropertyProxy_ReadOnly< bool > property_drop_only() const;
200
201 /** Period over which to average the framerate (in ns) (0 = disabled).
202 *
203 * @return A PropertyProxy that allows you to get or set the value of the property,
204 * or receive notification when the value of the property changes.
205 */
206 Glib::PropertyProxy< guint64 > property_average_period() ;
207
208 /** Period over which to average the framerate (in ns) (0 = disabled).
209 *
210 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
211 * or receive notification when the value of the property changes.
212 */
213 Glib::PropertyProxy_ReadOnly< guint64 > property_average_period() const;
214
215 /** Maximum framerate allowed to pass through (in frames per second, implies drop-only).
216 *
217 * @return A PropertyProxy that allows you to get or set the value of the property,
218 * or receive notification when the value of the property changes.
219 */
220 Glib::PropertyProxy< int > property_max_rate() ;
221
222 /** Maximum framerate allowed to pass through (in frames per second, implies drop-only).
223 *
224 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
225 * or receive notification when the value of the property changes.
226 */
227 Glib::PropertyProxy_ReadOnly< int > property_max_rate() const;
228
229
230 public:
231
232 public:
233 //C++ methods used to invoke GTK+ virtual functions:
234
235 protected:
236 //GTK+ Virtual Functions (override these to change behaviour):
237
238 //Default Signal Handlers::
239
240
241 };
242
243 } // namespace Gst
244
245
246 namespace Glib
247 {
248 /** A Glib::wrap() method for this object.
249 *
250 * @param object The C instance.
251 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
252 * @result A C++ instance that wraps this C instance.
253 *
254 * @relates Gst::VideoRate
255 */
256 Glib::RefPtr<Gst::VideoRate> wrap(GstVideoRate* object, bool take_copy = false);
257 }
258
259
260 #endif // GSTREAMERMM_DISABLE_DEPRECATED
261
262
263 #endif /* _GSTREAMERMM_VIDEORATE_H */
264