Debian Codegraph @

gstreamer/gstreamermm/videoscale.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!
2 #ifndef _GSTREAMERMM_VIDEOSCALE_H
3 #define _GSTREAMERMM_VIDEOSCALE_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 GstVideoScale = struct _GstVideoScale;
21 using GstVideoScaleClass = struct _GstVideoScaleClass;
22 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
23
24
25 #ifndef DOXYGEN_SHOULD_SKIP_THIS
26 namespace Gst
27 { class VideoScale_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 VideoScaleMethod
40 {
41 VIDEO_SCALE_NEAREST,
42 VIDEO_SCALE_BILINEAR,
43 VIDEO_SCALE_4TAP,
44 VIDEO_SCALE_LANCZOS,
45 VIDEO_SCALE_BILINEAR2,
46 VIDEO_SCALE_SINC,
47 VIDEO_SCALE_HERMITE,
48 VIDEO_SCALE_SPLINE,
49 VIDEO_SCALE_CATROM,
50 VIDEO_SCALE_MITCHELL
51 };
52
53 } // namespace Gst
54
55 #ifndef DOXYGEN_SHOULD_SKIP_THIS
56 namespace Glib
57 {
58
59 template <>
60 class Value<Gst::VideoScaleMethod> : public Glib::Value_Enum<Gst::VideoScaleMethod>
61 {
62 public:
63 static GType value_type() G_GNUC_CONST;
64 };
65
66 } // namespace Glib
67 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
68
69 namespace Gst
70 {
71
72
73 /** A Wrapper for the videoscale plugin.
74 * Please note that not all plug-ins are available on all systems so care
75 * must be taken that they exist before they are used otherwise there will
76 * be errors and possibly a crash.
77 *
78 * @ingroup GstPlugins
79 * @deprecated Plugins API is deprecated, and should not be used in a new code.
80 */
81
82 class VideoScale
83 : public Gst::BaseTransform
84 {
85
86 #ifndef DOXYGEN_SHOULD_SKIP_THIS
87
88 public:
89 using CppObjectType = VideoScale;
90 using CppClassType = VideoScale_Class;
91 using BaseObjectType = GstVideoScale;
92 using BaseClassType = GstVideoScaleClass;
93
94 // noncopyable
95 VideoScale(const VideoScale&) = delete;
96 VideoScale& operator=(const VideoScale&) = delete;
97
98 private: friend class VideoScale_Class;
99 static CppClassType videoscale_class_;
100
101 protected:
102 explicit VideoScale(const Glib::ConstructParams& construct_params);
103 explicit VideoScale(GstVideoScale* castitem);
104
105 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
106
107 public:
108
109 VideoScale(VideoScale&& src) noexcept;
110 VideoScale& operator=(VideoScale&& src) noexcept;
111
112 ~VideoScale() noexcept override;
113
114 /** Get the GType for this class, for use with the underlying GObject type system.
115 */
116 static GType get_type() G_GNUC_CONST;
117
118 #ifndef DOXYGEN_SHOULD_SKIP_THIS
119
120
121 static GType get_base_type() G_GNUC_CONST;
122 #endif
123
124 ///Provides access to the underlying C GObject.
125 GstVideoScale* gobj() { return reinterpret_cast<GstVideoScale*>(gobject_); }
126
127 ///Provides access to the underlying C GObject.
128 const GstVideoScale* gobj() const { return reinterpret_cast<GstVideoScale*>(gobject_); }
129
130 ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
131 GstVideoScale* gobj_copy();
132
133 private:
134
135
136 protected:
137 VideoScale();
138 explicit VideoScale(const Glib::ustring& name);
139
140 public:
141 /** Creates a new videoscale plugin with a unique name.
142 */
143
144 static Glib::RefPtr<VideoScale> create();
145
146
147 /** Creates a new videoscale plugin with the given name.
148 */
149
150 static Glib::RefPtr<VideoScale> create(const Glib::ustring& name);
151
152
153 /** method.
154 *
155 * @return A PropertyProxy that allows you to get or set the value of the property,
156 * or receive notification when the value of the property changes.
157 */
158 Glib::PropertyProxy< Gst::VideoScaleMethod > property_method() ;
159
160 /** method.
161 *
162 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
163 * or receive notification when the value of the property changes.
164 */
165 Glib::PropertyProxy_ReadOnly< Gst::VideoScaleMethod > property_method() const;
166
167 /** Add black borders if necessary to keep the display aspect ratio.
168 *
169 * @return A PropertyProxy that allows you to get or set the value of the property,
170 * or receive notification when the value of the property changes.
171 */
172 Glib::PropertyProxy< bool > property_add_borders() ;
173
174 /** Add black borders if necessary to keep the display aspect ratio.
175 *
176 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
177 * or receive notification when the value of the property changes.
178 */
179 Glib::PropertyProxy_ReadOnly< bool > property_add_borders() const;
180
181 /** Sharpness of filter.
182 *
183 * @return A PropertyProxy that allows you to get or set the value of the property,
184 * or receive notification when the value of the property changes.
185 */
186 Glib::PropertyProxy< double > property_sharpness() ;
187
188 /** Sharpness of filter.
189 *
190 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
191 * or receive notification when the value of the property changes.
192 */
193 Glib::PropertyProxy_ReadOnly< double > property_sharpness() const;
194
195 /** Sharpening.
196 *
197 * @return A PropertyProxy that allows you to get or set the value of the property,
198 * or receive notification when the value of the property changes.
199 */
200 Glib::PropertyProxy< double > property_sharpen() ;
201
202 /** Sharpening.
203 *
204 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
205 * or receive notification when the value of the property changes.
206 */
207 Glib::PropertyProxy_ReadOnly< double > property_sharpen() const;
208
209 /** Add dither (only used for Lanczos method).
210 *
211 * @return A PropertyProxy that allows you to get or set the value of the property,
212 * or receive notification when the value of the property changes.
213 */
214 Glib::PropertyProxy< bool > property_dither() ;
215
216 /** Add dither (only used for Lanczos method).
217 *
218 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
219 * or receive notification when the value of the property changes.
220 */
221 Glib::PropertyProxy_ReadOnly< bool > property_dither() const;
222
223 /** Size of filter envelope.
224 *
225 * @return A PropertyProxy that allows you to get or set the value of the property,
226 * or receive notification when the value of the property changes.
227 */
228 Glib::PropertyProxy< double > property_envelope() ;
229
230 /** Size of filter envelope.
231 *
232 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
233 * or receive notification when the value of the property changes.
234 */
235 Glib::PropertyProxy_ReadOnly< double > property_envelope() const;
236
237 /** Decode gamma before scaling.
238 *
239 * @return A PropertyProxy that allows you to get or set the value of the property,
240 * or receive notification when the value of the property changes.
241 */
242 Glib::PropertyProxy< bool > property_gamma_decode() ;
243
244 /** Decode gamma before scaling.
245 *
246 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
247 * or receive notification when the value of the property changes.
248 */
249 Glib::PropertyProxy_ReadOnly< bool > property_gamma_decode() const;
250
251
252 public:
253
254 public:
255 //C++ methods used to invoke GTK+ virtual functions:
256
257 protected:
258 //GTK+ Virtual Functions (override these to change behaviour):
259
260 //Default Signal Handlers::
261
262
263 };
264
265 } // namespace Gst
266
267
268 namespace Glib
269 {
270 /** A Glib::wrap() method for this object.
271 *
272 * @param object The C instance.
273 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
274 * @result A C++ instance that wraps this C instance.
275 *
276 * @relates Gst::VideoScale
277 */
278 Glib::RefPtr<Gst::VideoScale> wrap(GstVideoScale* object, bool take_copy = false);
279 }
280
281
282 #endif // GSTREAMERMM_DISABLE_DEPRECATED
283
284
285 #endif /* _GSTREAMERMM_VIDEOSCALE_H */
286