Debian Codegraph @

gstreamer/gstreamermm/videosink.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/videosink.h`/
2 #ifndef _GSTREAMERMM_VIDEOSINK_H
3 #define _GSTREAMERMM_VIDEOSINK_Hcxx . . $ `gstreamer/gstreamermm/videosink.h:3:9`!
4
5
6 #include <glibmm/ustring.h>
7 #include <sigc++/sigc++.h>
8
9 /* gstreamermm - a C++ wrapper for gstreamer
10 *
11 * Copyright 2008 The gstreamermm Development Team
12 *
13 * This library is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU Lesser General Public
15 * License as published by the Free Software Foundation; either
16 * version 2.1 of the License, or (at your option) any later version.
17 *
18 * This library is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * Lesser General Public License for more details.
22 *
23 * You should have received a copy of the GNU Lesser General Public
24 * License along with this library; if not, write to the Free
25 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26 */
27
28 #include <gstreamermm/basesink.h>cxx . . $ `<file>/gstreamer/gstreamermm/basesink.h`/
29
30
31 #ifndef DOXYGEN_SHOULD_SKIP_THIS
32 using GstVideoSinkcxx . . $ GstVideoSink# = struct _GstVideoSinkcxx . . $ _GstVideoSink#;
33 using GstVideoSinkClasscxx . . $ GstVideoSinkClass# = struct _GstVideoSinkClasscxx . . $ _GstVideoSinkClass#;
34 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
35
36
37 #ifndef DOXYGEN_SHOULD_SKIP_THIS
38 namespace Gstcxx . . $ Gst/
39 { class VideoSink_Classcxx . . $ Gst/VideoSink_Class#; } // namespace Gst
40 #endif //DOXYGEN_SHOULD_SKIP_THIS
41
42 namespace Gstcxx . . $ Gst/
43 {
44
45 /** A helper structure for the Gst::VideoSink class representing a rectangular
46 * area.
47 */
48 struct VideoRectanglecxx . . $ Gst/VideoRectangle#
49 {
50 /// The X coordinate of the rectangle's top-left point.
51 int xcxx . . $ Gst/VideoRectangle#x.;
52
53 /// The Y coordinate of rectangle's top-left point.
54 int ycxx . . $ Gst/VideoRectangle#y.;
55
56 /// The width of the rectangle.
57 int wcxx . . $ Gst/VideoRectangle#w.;
58
59 /// The height of the rectangle.
60 int hcxx . . $ Gst/VideoRectangle#h.;
61 };
62
63 /** A base class for video sinks.
64 * Gst::VideoSink provides useful functions and a base class for video sinks.
65 *
66 * Gst::VideoSink will configure the default base sink to drop frames that
67 * arrive later than 20ms as this is considered the default threshold for
68 * observing out-of-sync frames.
69 *
70 * @ingroup GstBaseClasses
71 */
72
73 class VideoSinkcxx . . $ Gst/VideoSink# : public Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#
74 {
75
76 #ifndef DOXYGEN_SHOULD_SKIP_THIS
77
78 public:
79 using CppObjectTypecxx . . $ Gst/VideoSink#CppObjectType# = VideoSinkcxx . . $ Gst/VideoSink#;
80 using CppClassTypecxx . . $ Gst/VideoSink#CppClassType# = VideoSink_Classcxx . . $ Gst/VideoSink_Class#;
81 using BaseObjectTypecxx . . $ Gst/VideoSink#BaseObjectType# = GstVideoSinkcxx . . $ GstVideoSink#;
82 using BaseClassTypecxx . . $ Gst/VideoSink#BaseClassType# = GstVideoSinkClasscxx . . $ GstVideoSinkClass#;
83
84 // noncopyable
85 VideoSinkcxx . . $ Gst/VideoSink#VideoSink(34e0c1787f2aded).(const VideoSinkcxx . . $ Gst/VideoSink#&) = delete;
86 VideoSinkcxx . . $ Gst/VideoSink#& operatorcxx . . $ Gst/VideoSink#`operator=`(a01c417d5f180303).=(const VideoSinkcxx . . $ Gst/VideoSink#&) = delete;
87
88 private: friend class VideoSink_Classcxx . . $ Gst/VideoSink_Class#;
89 static CppClassTypecxx . . $ Gst/VideoSink#CppClassType# videosink_class_cxx . . $ Gst/VideoSink#videosink_class_.;
90
91 protected:
92 explicit VideoSinkcxx . . $ Gst/VideoSink#VideoSink(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params);
93 explicit VideoSinkcxx . . $ Gst/VideoSink#VideoSink(b4ea6bf0ba768419).(GstVideoSinkcxx . . $ GstVideoSink#* castitem);
94
95 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
96
97 public:
98
99 VideoSinkcxx . . $ Gst/VideoSink#VideoSink(249bcff0e2b30ec7).(VideoSinkcxx . . $ Gst/VideoSink#&& src) noexcept;
100 VideoSinkcxx . . $ Gst/VideoSink#& operatorcxx . . $ Gst/VideoSink#`operator=`(999df51348e414e0).=(VideoSinkcxx . . $ Gst/VideoSink#&& src) noexcept;
101
102 ~cxx . . $ Gst/VideoSink#`~VideoSink`(ced63f7c635d850d).VideoSinkcxx . . $ Gst/VideoSink#() noexcept override;
103
104 /** Get the GType for this class, for use with the underlying GObject type system.
105 */
106 static GType get_typecxx . . $ Gst/VideoSink#get_type(f708dce9a8856c70).() G_GNUC_CONSTcxx . . $ `<external>/12741050725406041920/gmacros.h:640:9`!;
107
108 #ifndef DOXYGEN_SHOULD_SKIP_THIS
109
110
111 static GType get_base_typecxx . . $ Gst/VideoSink#get_base_type(f708dce9a8856c70).() G_GNUC_CONSTcxx . . $ `<external>/12741050725406041920/gmacros.h:640:9`!;
112 #endif
113
114 ///Provides access to the underlying C GObject.
115 GstVideoSinkcxx . . $ GstVideoSink#* gobjcxx . . $ Gst/VideoSink#gobj(5b07b7f4e6ee7efa).() { return reinterpret_cast<GstVideoSinkcxx . . $ GstVideoSink#*>(gobject_cxx . . $ Glib/ObjectBase#gobject_.); }
116
117 ///Provides access to the underlying C GObject.
118 const GstVideoSinkcxx . . $ GstVideoSink#* gobjcxx . . $ Gst/VideoSink#gobj(fcfd395aab06e26e).() const { return reinterpret_cast<GstVideoSinkcxx . . $ GstVideoSink#*>(gobject_cxx . . $ Glib/ObjectBase#gobject_.); }
119
120 ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
121 GstVideoSinkcxx . . $ GstVideoSink#* gobj_copycxx . . $ Gst/VideoSink#gobj_copy(5b07b7f4e6ee7efa).();
122
123 private:
124
125
126 public:
127 /** Get height of Gst::VideoSink.
128 */
129 int get_heightcxx . . $ Gst/VideoSink#get_height(455f465bc33b4cdf).() const;
130
131 /** Get width of Gst::VideoSink.
132 */
133 int get_widthcxx . . $ Gst/VideoSink#get_width(455f465bc33b4cdf).() const;
134
135
136 /** Takes @a src rectangle and position it at the center of @a dst rectangle with or
137 * without @a scaling. It handles clipping if the @a src rectangle is bigger than
138 * the @a dst one and @a scaling is set to <tt>false</tt>.
139 *
140 * @param src The Gst::VideoRectangle describing the source area.
141 * @param dst The Gst::VideoRectangle describing the destination area.
142 * @param result A pointer to a Gst::VideoRectangle which will receive the result area.
143 * @param scaling A <tt>bool</tt> indicating if scaling should be applied or not.
144 */
145 static void center_rectcxx . . $ Gst/VideoSink#center_rect(4e3deb426a2d53a8).(const Gstcxx . . $ Gst/::VideoRectanglecxx . . $ Gst/VideoRectangle#& src, const Gstcxx . . $ Gst/::VideoRectanglecxx . . $ Gst/VideoRectangle#& dst, Gstcxx . . $ Gst/::VideoRectanglecxx . . $ Gst/VideoRectangle#& result, bool scaling = false);
146
147 /** Whether to render video frames during preroll.
148 *
149 * @return A PropertyProxy that allows you to get or set the value of the property,
150 * or receive notification when the value of the property changes.
151 */
152 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< bool > property_show_preroll_framecxx . . $ Gst/VideoSink#property_show_preroll_frame(962e4b383dc974dc).() ;
153
154 /** Whether to render video frames during preroll.
155 *
156 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
157 * or receive notification when the value of the property changes.
158 */
159 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool > property_show_preroll_framecxx . . $ Gst/VideoSink#property_show_preroll_frame(bb701360c56d84c7).() const;
160
161
162 public:
163
164 public:
165 //C++ methods used to invoke GTK+ virtual functions:
166
167 protected:
168 //GTK+ Virtual Functions (override these to change behaviour):
169
170 //Default Signal Handlers::
171
172
173 };
174
175 } // namespace Gst
176
177
178 namespace Glibcxx . . $ Glib/
179 {
180 /** A Glib::wrap() method for this object.
181 *
182 * @param object The C instance.
183 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
184 * @result A C++ instance that wraps this C instance.
185 *
186 * @relates Gst::VideoSink
187 */
188 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::VideoSinkcxx . . $ Gst/VideoSink#> wrapcxx . . $ Glib/wrap(7ef2a21f36086be8).(GstVideoSinkcxx . . $ GstVideoSink#* object, bool take_copy = false);
189 }
190
191
192 #endif /* _GSTREAMERMM_VIDEOSINK_H */
193