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