Debian Codegraph @

gstreamer/gstreamermm/encodingprofile.cc

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/encodingprofile.cc`/
2
3
4 #include <glibmm.h>
5
6 #include <gstreamermm/encodingprofile.h>cxx . . $ `<file>/gstreamer/gstreamermm/encodingprofile.h`/
7 #include <gstreamermm/private/encodingprofile_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/encodingprofile_p.h`/
8
9
10 /* gstreamermm - a C++ wrapper for gstreamer
11 *
12 * Copyright 2008-2016 The gstreamermm Development Team
13 *
14 * This library is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU Lesser General Public
16 * License as published by the Free Software Foundation; either
17 * version 2.1 of the License, or (at your option) any later version.
18 *
19 * This library is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * Lesser General Public License for more details.
23 *
24 * You should have received a copy of the GNU Lesser General Public
25 * License along with this library; if not, write to the Free
26 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27 */
28 #include <gst/pbutils/encoding-profile.h>
29 #include <gstreamermm/caps.h>cxx . . $ `<file>/gstreamer/gstreamermm/caps.h`/
30
31
32 namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/encodingprofile.cc`/
33 {
34 } // anonymous namespace
35
36
37 namespace Glibcxx . . $ Glib/
38 {
39
40 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::EncodingProfilecxx . . $ Gst/EncodingProfile#> wrapcxx . . $ Glib/wrap(2f68639e5197b05).(GstEncodingProfilecxx . . $ GstEncodingProfile#* object, bool take_copy)
41 {
42 return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::EncodingProfilecxx . . $ Gst/EncodingProfile#>( dynamic_cast<Gstcxx . . $ Gst/::EncodingProfilecxx . . $ Gst/EncodingProfile#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) );
43 //We use dynamic_cast<> in case of multiple inheritance.
44 }
45
46 } /* namespace Glib */
47
48
49 namespace Gstcxx . . $ Gst/
50 {
51
52
53 /* The *_Class implementation: */
54
55 const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& EncodingProfile_Classcxx . . $ Gst/EncodingProfile_Class#::initcxx . . $ Gst/EncodingProfile_Class#init(bf348c0cd369184d).()
56 {
57 if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary
58 {
59 // Glib::Class has to know the class init function to clone custom types.
60 class_init_func_cxx . . $ Glib/Class#class_init_func_. = &EncodingProfile_Classcxx . . $ Gst/EncodingProfile_Class#::class_init_functioncxx . . $ Gst/EncodingProfile_Class#class_init_function(6c58c5e2437d25a2).;
61
62 // This is actually just optimized away, apparently with no harm.
63 // Make sure that the parent type has been created.
64 //CppClassParent::CppObjectType::get_type();
65
66 // Create the wrapper type, with the same class/instance size as the base type.
67 register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_encoding_profile_get_type());
68
69 // Add derived versions of interfaces, if the C type implements any interfaces:
70
71 }
72
73 return *this;
74 }
75
76
77 void EncodingProfile_Classcxx . . $ Gst/EncodingProfile_Class#::class_init_functioncxx . . $ Gst/EncodingProfile_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data)
78 {
79 const auto klass = static_cast<BaseClassTypecxx . . $ Gst/EncodingProfile_Class#BaseClassType#*>(g_class);
80 CppClassParentcxx . . $ Gst/EncodingProfile_Class#CppClassParent#::class_init_functioncxx . . $ Gst/Object_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data);
81
82
83 }
84
85
86 Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* EncodingProfile_Classcxx . . $ Gst/EncodingProfile_Class#::wrap_newcxx . . $ Gst/EncodingProfile_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object)
87 {
88 return new EncodingProfilecxx . . $ Gst/EncodingProfile#((GstEncodingProfilecxx . . $ GstEncodingProfile#*)object);
89 }
90
91
92 /* The implementation: */
93
94 GstEncodingProfilecxx . . $ GstEncodingProfile#* EncodingProfilecxx . . $ Gst/EncodingProfile#::gobj_copycxx . . $ Gst/EncodingProfile#gobj_copy(3dd676f5d6fd6151).()
95 {
96 referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).();
97 return gobjcxx . . $ Gst/EncodingProfile#gobj(3dd676f5d6fd6151).();
98 }
99
100 EncodingProfilecxx . . $ Gst/EncodingProfile#::EncodingProfilecxx . . $ Gst/EncodingProfile#EncodingProfile(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params)
101 :
102 Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#(construct_params)
103 {
104
105 }
106
107 EncodingProfilecxx . . $ Gst/EncodingProfile#::EncodingProfilecxx . . $ Gst/EncodingProfile#EncodingProfile(6de5c8617faa5c1f).(GstEncodingProfilecxx . . $ GstEncodingProfile#* castitem)
108 :
109 Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#((GstObjectcxx . . $ GstObject#*)(castitem))
110 {}
111
112
113 EncodingProfilecxx . . $ Gst/EncodingProfile#::EncodingProfilecxx . . $ Gst/EncodingProfile#EncodingProfile(2d84d72570ad53da).(EncodingProfilecxx . . $ Gst/EncodingProfile#&& src) noexcept
114 : Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src))
115 {}
116
117 EncodingProfilecxx . . $ Gst/EncodingProfile#& EncodingProfilecxx . . $ Gst/EncodingProfile#::operatorcxx . . $ Gst/EncodingProfile#`operator=`(53ec3af42e623743).=(EncodingProfilecxx . . $ Gst/EncodingProfile#&& src) noexcept
118 {
119 Gstcxx . . $ Gst/::Objectcxx . . $ Gst/Object#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src));
120 return *this;
121 }
122
123
124 EncodingProfilecxx . . $ Gst/EncodingProfile#::~cxx . . $ Gst/EncodingProfile#`~EncodingProfile`(ced63f7c635d850d).EncodingProfilecxx . . $ Gst/EncodingProfile#() noexcept
125 {}
126
127
128 EncodingProfilecxx . . $ Gst/EncodingProfile#::CppClassTypecxx . . $ Gst/EncodingProfile#CppClassType# EncodingProfilecxx . . $ Gst/EncodingProfile#::encodingprofile_class_cxx . . $ Gst/EncodingProfile#encodingprofile_class_.; // initialize static member
129
130 GType EncodingProfilecxx . . $ Gst/EncodingProfile#::get_typecxx . . $ Gst/EncodingProfile#get_type(f708dce9a8856c70).()
131 {
132 return encodingprofile_class_cxx . . $ Gst/EncodingProfile#encodingprofile_class_..initcxx . . $ Gst/EncodingProfile_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).();
133 }
134
135
136 GType EncodingProfilecxx . . $ Gst/EncodingProfile#::get_base_typecxx . . $ Gst/EncodingProfile#get_base_type(f708dce9a8856c70).()
137 {
138 return gst_encoding_profile_get_type();
139 }
140
141
142 Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# EncodingProfilecxx . . $ Gst/EncodingProfile#::get_namecxx . . $ Gst/EncodingProfile#get_name(fff0f585954e56f3).() const
143 {
144 return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gst_encoding_profile_get_name(const_cast<GstEncodingProfilecxx . . $ GstEncodingProfile#*>(gobjcxx . . $ Gst/EncodingProfile#gobj(3add5c3accef9824).())));
145 }
146
147 Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# EncodingProfilecxx . . $ Gst/EncodingProfile#::get_descriptioncxx . . $ Gst/EncodingProfile#get_description(fff0f585954e56f3).() const
148 {
149 return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gst_encoding_profile_get_description(const_cast<GstEncodingProfilecxx . . $ GstEncodingProfile#*>(gobjcxx . . $ Gst/EncodingProfile#gobj(3add5c3accef9824).())));
150 }
151
152 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> EncodingProfilecxx . . $ Gst/EncodingProfile#::get_formatcxx . . $ Gst/EncodingProfile#get_format(22811ab509ec2061).()
153 {
154 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(gst_encoding_profile_get_format(gobjcxx . . $ Gst/EncodingProfile#gobj(3dd676f5d6fd6151).()));
155 }
156
157 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> EncodingProfilecxx . . $ Gst/EncodingProfile#::get_formatcxx . . $ Gst/EncodingProfile#get_format(b365bf96c1803900).() const
158 {
159 return Glibcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(gst_encoding_profile_get_format(const_cast<GstEncodingProfilecxx . . $ GstEncodingProfile#*>(gobjcxx . . $ Gst/EncodingProfile#gobj(3add5c3accef9824).())));
160 }
161
162 Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# EncodingProfilecxx . . $ Gst/EncodingProfile#::get_presetcxx . . $ Gst/EncodingProfile#get_preset(fff0f585954e56f3).() const
163 {
164 return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gst_encoding_profile_get_preset(const_cast<GstEncodingProfilecxx . . $ GstEncodingProfile#*>(gobjcxx . . $ Gst/EncodingProfile#gobj(3add5c3accef9824).())));
165 }
166
167 Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# EncodingProfilecxx . . $ Gst/EncodingProfile#::get_preset_namecxx . . $ Gst/EncodingProfile#get_preset_name(fff0f585954e56f3).() const
168 {
169 return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gst_encoding_profile_get_preset_name(const_cast<GstEncodingProfilecxx . . $ GstEncodingProfile#*>(gobjcxx . . $ Gst/EncodingProfile#gobj(3add5c3accef9824).())));
170 }
171
172 guint EncodingProfilecxx . . $ Gst/EncodingProfile#::get_presencecxx . . $ Gst/EncodingProfile#get_presence(ddd8539a2fcdd4ce).() const
173 {
174 return gst_encoding_profile_get_presence(const_cast<GstEncodingProfilecxx . . $ GstEncodingProfile#*>(gobjcxx . . $ Gst/EncodingProfile#gobj(3add5c3accef9824).()));
175 }
176
177 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> EncodingProfilecxx . . $ Gst/EncodingProfile#::get_restrictioncxx . . $ Gst/EncodingProfile#get_restriction(22811ab509ec2061).()
178 {
179 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(gst_encoding_profile_get_restriction(gobjcxx . . $ Gst/EncodingProfile#gobj(3dd676f5d6fd6151).()));
180 }
181
182 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> EncodingProfilecxx . . $ Gst/EncodingProfile#::get_restrictioncxx . . $ Gst/EncodingProfile#get_restriction(b365bf96c1803900).() const
183 {
184 return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<EncodingProfilecxx . . $ Gst/EncodingProfile#*>(this)->get_restrictioncxx . . $ Gst/EncodingProfile#get_restriction(22811ab509ec2061).();
185 }
186
187 Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# EncodingProfilecxx . . $ Gst/EncodingProfile#::get_file_extensioncxx . . $ Gst/EncodingProfile#get_file_extension(fff0f585954e56f3).() const
188 {
189 return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gst_encoding_profile_get_file_extension(const_cast<GstEncodingProfilecxx . . $ GstEncodingProfile#*>(gobjcxx . . $ Gst/EncodingProfile#gobj(3add5c3accef9824).())));
190 }
191
192 void EncodingProfilecxx . . $ Gst/EncodingProfile#::set_namecxx . . $ Gst/EncodingProfile#set_name(1ff0bff2cee2bc51).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name)
193 {
194 gst_encoding_profile_set_name(gobjcxx . . $ Gst/EncodingProfile#gobj(3dd676f5d6fd6151).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).());
195 }
196
197 void EncodingProfilecxx . . $ Gst/EncodingProfile#::set_descriptioncxx . . $ Gst/EncodingProfile#set_description(1ff0bff2cee2bc51).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name)
198 {
199 gst_encoding_profile_set_description(gobjcxx . . $ Gst/EncodingProfile#gobj(3dd676f5d6fd6151).(), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).());
200 }
201
202 void EncodingProfilecxx . . $ Gst/EncodingProfile#::set_enabledcxx . . $ Gst/EncodingProfile#set_enabled(b45ddcbc8423892c).(bool enabled)
203 {
204 gst_encoding_profile_set_enabled(gobjcxx . . $ Gst/EncodingProfile#gobj(3dd676f5d6fd6151).(), static_cast<int>(enabled));
205 }
206
207 void EncodingProfilecxx . . $ Gst/EncodingProfile#::set_formatcxx . . $ Gst/EncodingProfile#set_format(73baa747cf392ab9).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& format)
208 {
209 gst_encoding_profile_set_format(gobjcxx . . $ Gst/EncodingProfile#gobj(3dd676f5d6fd6151).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(format));
210 }
211
212 void EncodingProfilecxx . . $ Gst/EncodingProfile#::set_presetcxx . . $ Gst/EncodingProfile#set_preset(1ff0bff2cee2bc51).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& preset)
213 {
214 gst_encoding_profile_set_preset(gobjcxx . . $ Gst/EncodingProfile#gobj(3dd676f5d6fd6151).(), preset.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).());
215 }
216
217 void EncodingProfilecxx . . $ Gst/EncodingProfile#::set_preset_namecxx . . $ Gst/EncodingProfile#set_preset_name(1ff0bff2cee2bc51).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& preset_name)
218 {
219 gst_encoding_profile_set_preset_name(gobjcxx . . $ Gst/EncodingProfile#gobj(3dd676f5d6fd6151).(), preset_name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).());
220 }
221
222 void EncodingProfilecxx . . $ Gst/EncodingProfile#::set_restrictioncxx . . $ Gst/EncodingProfile#set_restriction(73baa747cf392ab9).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& restriction)
223 {
224 gst_encoding_profile_set_restriction(gobjcxx . . $ Gst/EncodingProfile#gobj(3dd676f5d6fd6151).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(restriction));
225 }
226
227 void EncodingProfilecxx . . $ Gst/EncodingProfile#::set_presencecxx . . $ Gst/EncodingProfile#set_presence(cb2f890c2fdad230).(guint presence)
228 {
229 gst_encoding_profile_set_presence(gobjcxx . . $ Gst/EncodingProfile#gobj(3dd676f5d6fd6151).(), presence);
230 }
231
232 bool EncodingProfilecxx . . $ Gst/EncodingProfile#::is_equalcxx . . $ Gst/EncodingProfile#is_equal(f45d90f5757c105c).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::EncodingProfilecxx . . $ Gst/EncodingProfile#>& profile2) const
233 {
234 return gst_encoding_profile_is_equal(const_cast<GstEncodingProfilecxx . . $ GstEncodingProfile#*>(gobjcxx . . $ Gst/EncodingProfile#gobj(3add5c3accef9824).()), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(profile2));
235 }
236
237 bool EncodingProfilecxx . . $ Gst/EncodingProfile#::is_enabledcxx . . $ Gst/EncodingProfile#is_enabled(50ce9a9e25b4a850).() const
238 {
239 return gst_encoding_profile_is_enabled(const_cast<GstEncodingProfilecxx . . $ GstEncodingProfile#*>(gobjcxx . . $ Gst/EncodingProfile#gobj(3add5c3accef9824).()));
240 }
241
242 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> EncodingProfilecxx . . $ Gst/EncodingProfile#::get_input_capscxx . . $ Gst/EncodingProfile#get_input_caps(4265aad93b8ec881).() const
243 {
244 return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(gst_encoding_profile_get_input_caps(const_cast<GstEncodingProfilecxx . . $ GstEncodingProfile#*>(gobjcxx . . $ Gst/EncodingProfile#gobj(3add5c3accef9824).())));
245 }
246
247 Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# EncodingProfilecxx . . $ Gst/EncodingProfile#::get_type_nickcxx . . $ Gst/EncodingProfile#get_type_nick(fff0f585954e56f3).() const
248 {
249 return Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_ustringcxx . . $ Glib/convert_const_gchar_ptr_to_ustring(cf5f32d7f0671127).(gst_encoding_profile_get_type_nick(const_cast<GstEncodingProfilecxx . . $ GstEncodingProfile#*>(gobjcxx . . $ Gst/EncodingProfile#gobj(3add5c3accef9824).())));
250 }
251
252 bool EncodingProfilecxx . . $ Gst/EncodingProfile#::get_allow_dynamic_outputcxx . . $ Gst/EncodingProfile#get_allow_dynamic_output(50ce9a9e25b4a850).() const
253 {
254 return gst_encoding_profile_get_allow_dynamic_output(const_cast<GstEncodingProfilecxx . . $ GstEncodingProfile#*>(gobjcxx . . $ Gst/EncodingProfile#gobj(3add5c3accef9824).()));
255 }
256
257 void EncodingProfilecxx . . $ Gst/EncodingProfile#::set_allow_dynamic_outputcxx . . $ Gst/EncodingProfile#set_allow_dynamic_output(b45ddcbc8423892c).(bool allow_dynamic_output)
258 {
259 gst_encoding_profile_set_allow_dynamic_output(gobjcxx . . $ Gst/EncodingProfile#gobj(3dd676f5d6fd6151).(), static_cast<int>(allow_dynamic_output));
260 }
261
262
263 } // namespace Gst
264
265