| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/videorate.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <gstreamermmconfig.h>cxx . . $ `<file>/config.h`/ |
| 5 | #ifndef GSTREAMERMM_DISABLE_DEPRECATED |
| 6 | |
| 7 | |
| 8 | #include <glibmm.h> |
| 9 | |
| 10 | #include <gstreamermm/videorate.h>cxx . . $ `<file>/gstreamer/gstreamermm/videorate.h`/ |
| 11 | #include <gstreamermm/private/videorate_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/videorate_p.h`/ |
| 12 | |
| 13 | |
| 14 | // Generated by generate_plugin_gmmproc_file. Don't edit this file. |
| 15 | |
| 16 | |
| 17 | extern "C" |
| 18 | { |
| 19 | |
| 20 | GType gst_video_rate_gstreamermm_get_type() |
| 21 | { |
| 22 | static GType type = 0; |
| 23 | GstElementFactory* factory = 0; |
| 24 | GstPluginFeature* feature = 0; |
| 25 | |
| 26 | if(!type) |
| 27 | { |
| 28 | factory = gst_element_factory_find("videorate"); |
| 29 | // Make sure that the feature is actually loaded: |
| 30 | if(factory) |
| 31 | { |
| 32 | feature = |
| 33 | gst_plugin_feature_load(GST_PLUGIN_FEATUREcxx . . $ `<external>/139039714904699713/gstpluginfeature.h:34:9`!(factory)); |
| 34 | |
| 35 | g_object_unref(factory); |
| 36 | factory = GST_ELEMENT_FACTORYcxx . . $ `<external>/15193377161217626871/gstelementfactory.h:45:9`!(feature); |
| 37 | type = gst_element_factory_get_element_type(factory); |
| 38 | g_object_unref(factory); |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | return type; |
| 43 | } |
| 44 | |
| 45 | } // extern "C" |
| 46 | |
| 47 | namespace Gstcxx . . $ Gst/ |
| 48 | { |
| 49 | |
| 50 | VideoRatecxx . . $ Gst/VideoRate#::VideoRatecxx . . $ Gst/VideoRate#VideoRate(49f6e7a06ebc5aa8).() |
| 51 | : // Mark this class as non-derived to allow C++ vfuncs to be skipped. |
| 52 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#(nullptr), |
| 53 | Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#(Glibcxx . . $ Glib/ConstructParams#ConstructParams(88d8205c725482fb).::ConstructParamscxx . . $ Glib/ConstructParams#(videorate_class_cxx . . $ Gst/VideoRate#videorate_class_..initcxx . . $ Gst/VideoRate_Class#init(bf348c0cd369184d).(), "name",static_cast<char*>(0), nullptr)) |
| 54 | {} |
| 55 | |
| 56 | VideoRatecxx . . $ Gst/VideoRate#::VideoRatecxx . . $ Gst/VideoRate#VideoRate(1ff0bff2cee2bc51).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 57 | : // Mark this class as non-derived to allow C++ vfuncs to be skipped. |
| 58 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#(nullptr), |
| 59 | Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#(Glibcxx . . $ Glib/ConstructParams#ConstructParams(88d8205c725482fb).::ConstructParamscxx . . $ Glib/ConstructParams#(videorate_class_cxx . . $ Gst/VideoRate#videorate_class_..initcxx . . $ Gst/VideoRate_Class#init(bf348c0cd369184d).(), "name",name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), nullptr)) |
| 60 | {} |
| 61 | |
| 62 | } |
| 63 | |
| 64 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/videorate.cc`/ |
| 65 | { |
| 66 | } // anonymous namespace |
| 67 | |
| 68 | |
| 69 | namespace Glibcxx . . $ Glib/ |
| 70 | { |
| 71 | |
| 72 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::VideoRatecxx . . $ Gst/VideoRate#> wrapcxx . . $ Glib/wrap(445eb42cced27916).(GstVideoRatecxx . . $ GstVideoRate#* object, bool take_copy) |
| 73 | { |
| 74 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::VideoRatecxx . . $ Gst/VideoRate#>( dynamic_cast<Gstcxx . . $ Gst/::VideoRatecxx . . $ Gst/VideoRate#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) ); |
| 75 | //We use dynamic_cast<> in case of multiple inheritance. |
| 76 | } |
| 77 | |
| 78 | } /* namespace Glib */ |
| 79 | |
| 80 | |
| 81 | namespace Gstcxx . . $ Gst/ |
| 82 | { |
| 83 | |
| 84 | |
| 85 | /* The *_Class implementation: */ |
| 86 | |
| 87 | const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& VideoRate_Classcxx . . $ Gst/VideoRate_Class#::initcxx . . $ Gst/VideoRate_Class#init(bf348c0cd369184d).() |
| 88 | { |
| 89 | if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary |
| 90 | { |
| 91 | // Glib::Class has to know the class init function to clone custom types. |
| 92 | class_init_func_cxx . . $ Glib/Class#class_init_func_. = &VideoRate_Classcxx . . $ Gst/VideoRate_Class#::class_init_functioncxx . . $ Gst/VideoRate_Class#class_init_function(6c58c5e2437d25a2).; |
| 93 | |
| 94 | // This is actually just optimized away, apparently with no harm. |
| 95 | // Make sure that the parent type has been created. |
| 96 | //CppClassParent::CppObjectType::get_type(); |
| 97 | |
| 98 | // Create the wrapper type, with the same class/instance size as the base type. |
| 99 | register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_video_rate_gstreamermm_get_type()); |
| 100 | |
| 101 | // Add derived versions of interfaces, if the C type implements any interfaces: |
| 102 | |
| 103 | } |
| 104 | |
| 105 | return *this; |
| 106 | } |
| 107 | |
| 108 | |
| 109 | void VideoRate_Classcxx . . $ Gst/VideoRate_Class#::class_init_functioncxx . . $ Gst/VideoRate_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data) |
| 110 | { |
| 111 | const auto klass = static_cast<BaseClassTypecxx . . $ Gst/VideoRate_Class#BaseClassType#*>(g_class); |
| 112 | CppClassParentcxx . . $ Gst/VideoRate_Class#CppClassParent#::class_init_functioncxx . . $ Gst/BaseTransform_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data); |
| 113 | |
| 114 | |
| 115 | } |
| 116 | |
| 117 | |
| 118 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* VideoRate_Classcxx . . $ Gst/VideoRate_Class#::wrap_newcxx . . $ Gst/VideoRate_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object) |
| 119 | { |
| 120 | return new VideoRatecxx . . $ Gst/VideoRate#((GstVideoRatecxx . . $ GstVideoRate#*)object); |
| 121 | } |
| 122 | |
| 123 | |
| 124 | /* The implementation: */ |
| 125 | |
| 126 | GstVideoRatecxx . . $ GstVideoRate#* VideoRatecxx . . $ Gst/VideoRate#::gobj_copycxx . . $ Gst/VideoRate#gobj_copy(ca265e3cbc044546).() |
| 127 | { |
| 128 | referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 129 | return gobjcxx . . $ Gst/VideoRate#gobj(ca265e3cbc044546).(); |
| 130 | } |
| 131 | |
| 132 | VideoRatecxx . . $ Gst/VideoRate#::VideoRatecxx . . $ Gst/VideoRate#VideoRate(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params) |
| 133 | : |
| 134 | Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#(construct_params) |
| 135 | { |
| 136 | |
| 137 | } |
| 138 | |
| 139 | VideoRatecxx . . $ Gst/VideoRate#::VideoRatecxx . . $ Gst/VideoRate#VideoRate(8c6c54a51da1d161).(GstVideoRatecxx . . $ GstVideoRate#* castitem) |
| 140 | : |
| 141 | Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#((GstBaseTransformcxx . . $ GstBaseTransform#*)(castitem)) |
| 142 | {} |
| 143 | |
| 144 | |
| 145 | VideoRatecxx . . $ Gst/VideoRate#::VideoRatecxx . . $ Gst/VideoRate#VideoRate(e88c66b20ce926b7).(VideoRatecxx . . $ Gst/VideoRate#&& src) noexcept |
| 146 | : Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)) |
| 147 | {} |
| 148 | |
| 149 | VideoRatecxx . . $ Gst/VideoRate#& VideoRatecxx . . $ Gst/VideoRate#::operatorcxx . . $ Gst/VideoRate#`operator=`(7d6ad9827650de94).=(VideoRatecxx . . $ Gst/VideoRate#&& src) noexcept |
| 150 | { |
| 151 | Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)); |
| 152 | return *this; |
| 153 | } |
| 154 | |
| 155 | |
| 156 | VideoRatecxx . . $ Gst/VideoRate#::~cxx . . $ Gst/VideoRate#`~VideoRate`(ced63f7c635d850d).VideoRatecxx . . $ Gst/VideoRate#() noexcept |
| 157 | {} |
| 158 | |
| 159 | |
| 160 | VideoRatecxx . . $ Gst/VideoRate#::CppClassTypecxx . . $ Gst/VideoRate#CppClassType# VideoRatecxx . . $ Gst/VideoRate#::videorate_class_cxx . . $ Gst/VideoRate#videorate_class_.; // initialize static member |
| 161 | |
| 162 | GType VideoRatecxx . . $ Gst/VideoRate#::get_typecxx . . $ Gst/VideoRate#get_type(f708dce9a8856c70).() |
| 163 | { |
| 164 | return videorate_class_cxx . . $ Gst/VideoRate#videorate_class_..initcxx . . $ Gst/VideoRate_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).(); |
| 165 | } |
| 166 | |
| 167 | |
| 168 | GType VideoRatecxx . . $ Gst/VideoRate#::get_base_typecxx . . $ Gst/VideoRate#get_base_type(f708dce9a8856c70).() |
| 169 | { |
| 170 | return gst_video_rate_gstreamermm_get_type(); |
| 171 | } |
| 172 | |
| 173 | |
| 174 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<VideoRatecxx . . $ Gst/VideoRate#> VideoRatecxx . . $ Gst/VideoRate#::createcxx . . $ Gst/VideoRate#create(f0b3d97e62c29b5b).() |
| 175 | { |
| 176 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<VideoRatecxx . . $ Gst/VideoRate#>( new VideoRatecxx . . $ Gst/VideoRate#() ); |
| 177 | } |
| 178 | |
| 179 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<VideoRatecxx . . $ Gst/VideoRate#> VideoRatecxx . . $ Gst/VideoRate#::createcxx . . $ Gst/VideoRate#create(2b94f9e62d69435e).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 180 | { |
| 181 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<VideoRatecxx . . $ Gst/VideoRate#>( new VideoRatecxx . . $ Gst/VideoRate#(name) ); |
| 182 | } |
| 183 | |
| 184 | |
| 185 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 > VideoRatecxx . . $ Gst/VideoRate#::property_incxx . . $ Gst/VideoRate#property_in(626cd103ac35282).() const |
| 186 | { |
| 187 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 >(this, "in"); |
| 188 | } |
| 189 | |
| 190 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 > VideoRatecxx . . $ Gst/VideoRate#::property_outcxx . . $ Gst/VideoRate#property_out(626cd103ac35282).() const |
| 191 | { |
| 192 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 >(this, "out"); |
| 193 | } |
| 194 | |
| 195 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 > VideoRatecxx . . $ Gst/VideoRate#::property_duplicatecxx . . $ Gst/VideoRate#property_duplicate(626cd103ac35282).() const |
| 196 | { |
| 197 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 >(this, "duplicate"); |
| 198 | } |
| 199 | |
| 200 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 > VideoRatecxx . . $ Gst/VideoRate#::property_dropcxx . . $ Gst/VideoRate#property_drop(626cd103ac35282).() const |
| 201 | { |
| 202 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 >(this, "drop"); |
| 203 | } |
| 204 | |
| 205 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< bool > VideoRatecxx . . $ Gst/VideoRate#::property_silentcxx . . $ Gst/VideoRate#property_silent(962e4b383dc974dc).() |
| 206 | { |
| 207 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< bool >(this, "silent"); |
| 208 | } |
| 209 | |
| 210 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool > VideoRatecxx . . $ Gst/VideoRate#::property_silentcxx . . $ Gst/VideoRate#property_silent(bb701360c56d84c7).() const |
| 211 | { |
| 212 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool >(this, "silent"); |
| 213 | } |
| 214 | |
| 215 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< double > VideoRatecxx . . $ Gst/VideoRate#::property_new_prefcxx . . $ Gst/VideoRate#property_new_pref(5902f01579e2dcb0).() |
| 216 | { |
| 217 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< double >(this, "new-pref"); |
| 218 | } |
| 219 | |
| 220 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< double > VideoRatecxx . . $ Gst/VideoRate#::property_new_prefcxx . . $ Gst/VideoRate#property_new_pref(f7f19ddbcc831471).() const |
| 221 | { |
| 222 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< double >(this, "new-pref"); |
| 223 | } |
| 224 | |
| 225 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< bool > VideoRatecxx . . $ Gst/VideoRate#::property_skip_to_firstcxx . . $ Gst/VideoRate#property_skip_to_first(962e4b383dc974dc).() |
| 226 | { |
| 227 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< bool >(this, "skip-to-first"); |
| 228 | } |
| 229 | |
| 230 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool > VideoRatecxx . . $ Gst/VideoRate#::property_skip_to_firstcxx . . $ Gst/VideoRate#property_skip_to_first(bb701360c56d84c7).() const |
| 231 | { |
| 232 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool >(this, "skip-to-first"); |
| 233 | } |
| 234 | |
| 235 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< bool > VideoRatecxx . . $ Gst/VideoRate#::property_drop_onlycxx . . $ Gst/VideoRate#property_drop_only(962e4b383dc974dc).() |
| 236 | { |
| 237 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< bool >(this, "drop-only"); |
| 238 | } |
| 239 | |
| 240 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool > VideoRatecxx . . $ Gst/VideoRate#::property_drop_onlycxx . . $ Gst/VideoRate#property_drop_only(bb701360c56d84c7).() const |
| 241 | { |
| 242 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool >(this, "drop-only"); |
| 243 | } |
| 244 | |
| 245 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< guint64 > VideoRatecxx . . $ Gst/VideoRate#::property_average_periodcxx . . $ Gst/VideoRate#property_average_period(d486e8c449033ce8).() |
| 246 | { |
| 247 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< guint64 >(this, "average-period"); |
| 248 | } |
| 249 | |
| 250 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 > VideoRatecxx . . $ Gst/VideoRate#::property_average_periodcxx . . $ Gst/VideoRate#property_average_period(626cd103ac35282).() const |
| 251 | { |
| 252 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 >(this, "average-period"); |
| 253 | } |
| 254 | |
| 255 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< int > VideoRatecxx . . $ Gst/VideoRate#::property_max_ratecxx . . $ Gst/VideoRate#property_max_rate(bf3998fdb218c766).() |
| 256 | { |
| 257 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< int >(this, "max-rate"); |
| 258 | } |
| 259 | |
| 260 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< int > VideoRatecxx . . $ Gst/VideoRate#::property_max_ratecxx . . $ Gst/VideoRate#property_max_rate(7e9006e11d14f0d6).() const |
| 261 | { |
| 262 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< int >(this, "max-rate"); |
| 263 | } |
| 264 | |
| 265 | |
| 266 | } // namespace Gst |
| 267 | |
| 268 | #endif // GSTREAMERMM_DISABLE_DEPRECATED |
| 269 | |
| 270 |