| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/basetransform.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <glibmm.h> |
| 5 | |
| 6 | #include <gstreamermm/basetransform.h>cxx . . $ `<file>/gstreamer/gstreamermm/basetransform.h`/ |
| 7 | #include <gstreamermm/private/basetransform_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/basetransform_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 | |
| 29 | #include <gstreamermm/pad.h>cxx . . $ `<file>/gstreamer/gstreamermm/pad.h`/ |
| 30 | #include <gstreamermm/caps.h>cxx . . $ `<file>/gstreamer/gstreamermm/caps.h`/ |
| 31 | #include <gstreamermm/buffer.h>cxx . . $ `<file>/gstreamer/gstreamermm/buffer.h`/ |
| 32 | |
| 33 | |
| 34 | #define IGNORE_RESULTcxx . . $ `gstreamer/gstreamermm/basetransform.cc:34:9`!(x) { auto release_value = x; (void)release_value; } |
| 35 | |
| 36 | namespace Gstcxx . . $ Gst/ |
| 37 | { |
| 38 | |
| 39 | const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# BaseTransformcxx . . $ Gst/BaseTransform#::SINK_NAMEcxx . . $ Gst/BaseTransform#SINK_NAME. = GST_BASE_TRANSFORM_SINK_NAMEcxx . . $ `<external>/1872744949843216413/gstbasetransform.h:42:9`!; |
| 40 | const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# BaseTransformcxx . . $ Gst/BaseTransform#::SRC_NAMEcxx . . $ Gst/BaseTransform#SRC_NAME. = GST_BASE_TRANSFORM_SRC_NAMEcxx . . $ `<external>/1872744949843216413/gstbasetransform.h:48:9`!; |
| 41 | |
| 42 | GstFlowReturn BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::prepare_output_buffer_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#prepare_output_buffer_vfunc_callback(c4c939a2aecaf0a3).(GstBaseTransformcxx . . $ GstBaseTransform#* self, GstBuffer* input, GstBuffer** buffer) |
| 43 | { |
| 44 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase# *const obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 45 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 46 | |
| 47 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 48 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 49 | // generated classes can use this optimisation, which avoids the unnecessary |
| 50 | // parameter conversions if there is no possibility of the virtual function |
| 51 | // being overridden: |
| 52 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 53 | { |
| 54 | CppObjectTypecxx . . $ Gst/BaseTransform_Class#CppObjectType# *const obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseTransform_Class#CppObjectType#* const>(obj_base); |
| 55 | if(obj) // This can be NULL during destruction. |
| 56 | { |
| 57 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 58 | { |
| 59 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#> cpp_buffercxx . . $ Glib/RefPtr#RefPtr(ced63f7c635d850d).; |
| 60 | // Call the virtual member method, which derived classes might override. |
| 61 | const GstFlowReturn result = |
| 62 | static_cast<GstFlowReturn>(obj->prepare_output_buffer_vfunccxx . . $ Gst/BaseTransform#prepare_output_buffer_vfunc(21b9bdc5d48d18fb).( |
| 63 | Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(input, true), cpp_buffer)); |
| 64 | *buffer = cpp_buffer ? cpp_buffer->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).gobj_copycxx . . $ Gst/Buffer#gobj_copy(59f4d47c2cb1ef1a).() : 0; |
| 65 | return result; |
| 66 | } |
| 67 | catch(...) |
| 68 | { |
| 69 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 70 | } |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType#*>( |
| 75 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 76 | ); |
| 77 | |
| 78 | // Call the original underlying C function: |
| 79 | if(base && base->prepare_output_buffercxx . . $ _GstBaseTransformClass#prepare_output_buffer.) |
| 80 | return (*base->prepare_output_buffercxx . . $ _GstBaseTransformClass#prepare_output_buffer.)(self, input, buffer); |
| 81 | |
| 82 | |
| 83 | typedef GstFlowReturn RTypecxx . . $ Gst/BaseTransform_Class#prepare_output_buffer_vfunc_callback(c4c939a2aecaf0a3).RType#; |
| 84 | return RTypecxx . . $ Gst/BaseTransform_Class#prepare_output_buffer_vfunc_callback(c4c939a2aecaf0a3).RType#(); |
| 85 | } |
| 86 | FlowReturncxx . . $ Gst/FlowReturn# Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#::prepare_output_buffer_vfunccxx . . $ Gst/BaseTransform#prepare_output_buffer_vfunc(21b9bdc5d48d18fb).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& input, Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& buffer) |
| 87 | { |
| 88 | BaseClassTypecxx . . $ Gst/BaseTransform#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform#BaseClassType#*>( |
| 89 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 90 | ); |
| 91 | |
| 92 | if(base && base->prepare_output_buffercxx . . $ _GstBaseTransformClass#prepare_output_buffer.) |
| 93 | { |
| 94 | GstBuffer* gst_buffer; |
| 95 | const Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn# result = |
| 96 | static_cast<Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn#>((*base->prepare_output_buffercxx . . $ _GstBaseTransformClass#prepare_output_buffer.)(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(), |
| 97 | Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(input), &gst_buffer)); |
| 98 | buffer =cxx . . $ Glib/RefPtr#`operator=`(dc512bde7586264e). Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(gst_buffer, false); // Don't take copy because callback returns a newly created copy. |
| 99 | return result; |
| 100 | } |
| 101 | |
| 102 | typedef FlowReturncxx . . $ Gst/FlowReturn# RTypecxx . . $ Gst/BaseTransform#prepare_output_buffer_vfunc(21b9bdc5d48d18fb).RType#; |
| 103 | return RTypecxx . . $ Gst/BaseTransform#prepare_output_buffer_vfunc(21b9bdc5d48d18fb).RType#(); |
| 104 | } |
| 105 | |
| 106 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Allocatorcxx . . $ Gst/Allocator#> BaseTransformcxx . . $ Gst/BaseTransform#::get_allocatorcxx . . $ Gst/BaseTransform#get_allocator(83c1a0bc496c7b91).(AllocationParamscxx . . $ Gst/AllocationParams#& params) |
| 107 | { |
| 108 | GstAllocatorcxx . . $ GstAllocator#* alloc; |
| 109 | gst_base_transform_get_allocator(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(), &alloc, params.gobjcxx . . $ Gst/AllocationParams#gobj(52bfd5f39dfd).()); |
| 110 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(c608c0ab6ce247e5).(alloc, false); |
| 111 | } |
| 112 | |
| 113 | GstFlowReturn BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::transform_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#transform_vfunc_callback(a16cae381ac92626).(GstBaseTransformcxx . . $ GstBaseTransform#* self, GstBuffer* inbuf, GstBuffer* outbuf) |
| 114 | { |
| 115 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase# *const obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 116 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 117 | |
| 118 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 119 | { |
| 120 | CppObjectTypecxx . . $ Gst/BaseTransform_Class#CppObjectType# *const obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseTransform_Class#CppObjectType#* const>(obj_base); |
| 121 | if(obj) // This can be NULL during destruction. |
| 122 | { |
| 123 | #ifdef GLIBMM_EXCEPTIONS_ENABLEDcxx . . $ `<external>/2871488740682878224/glibmmconfig.h:29:9`! |
| 124 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 125 | { |
| 126 | #endif //GLIBMM_EXCEPTIONS_ENABLED |
| 127 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#> w_inbuf = Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(inbuf, false), |
| 128 | w_outbuf = Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(outbuf, false); |
| 129 | // Call the virtual member method, which derived classes might override. |
| 130 | GstFlowReturn ret = ((GstFlowReturn)(obj->transform_vfunccxx . . $ Gst/BaseTransform#transform_vfunc(2b2467c807fc562a).(w_inbuf, w_outbuf))); |
| 131 | w_inbuf->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Gst/Buffer#reference(83f5f38750778ac8).(); w_outbuf->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Gst/Buffer#reference(83f5f38750778ac8).(); |
| 132 | return ret; |
| 133 | #ifdef GLIBMM_EXCEPTIONS_ENABLEDcxx . . $ `<external>/2871488740682878224/glibmmconfig.h:29:9`! |
| 134 | } |
| 135 | catch(...) |
| 136 | { |
| 137 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 138 | } |
| 139 | #endif //GLIBMM_EXCEPTIONS_ENABLED |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType#*>( |
| 144 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 145 | ); |
| 146 | |
| 147 | // Call the original underlying C function: |
| 148 | if(base && base->transformcxx . . $ _GstBaseTransformClass#transform.) |
| 149 | { |
| 150 | GstFlowReturn retval = (*base->transformcxx . . $ _GstBaseTransformClass#transform.)(self, inbuf, outbuf); |
| 151 | return retval; |
| 152 | } |
| 153 | |
| 154 | typedef GstFlowReturn RTypecxx . . $ Gst/BaseTransform_Class#transform_vfunc_callback(a16cae381ac92626).RType#; |
| 155 | return RTypecxx . . $ Gst/BaseTransform_Class#transform_vfunc_callback(a16cae381ac92626).RType#(); |
| 156 | } |
| 157 | |
| 158 | FlowReturncxx . . $ Gst/FlowReturn# Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#::transform_vfunccxx . . $ Gst/BaseTransform#transform_vfunc(2b2467c807fc562a).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& inbuf, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& outbuf) |
| 159 | { |
| 160 | BaseClassTypecxx . . $ Gst/BaseTransform#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform#BaseClassType#*>( |
| 161 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 162 | ); |
| 163 | |
| 164 | if(base && base->transformcxx . . $ _GstBaseTransformClass#transform.) |
| 165 | { |
| 166 | FlowReturncxx . . $ Gst/FlowReturn# retval(((FlowReturncxx . . $ Gst/FlowReturn#)((*base->transformcxx . . $ _GstBaseTransformClass#transform.)(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(inbuf),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(outbuf))))); |
| 167 | return retval; |
| 168 | } |
| 169 | |
| 170 | typedef FlowReturncxx . . $ Gst/FlowReturn# RTypecxx . . $ Gst/BaseTransform#transform_vfunc(2b2467c807fc562a).RType#; |
| 171 | return RTypecxx . . $ Gst/BaseTransform#transform_vfunc(2b2467c807fc562a).RType#(); |
| 172 | } |
| 173 | |
| 174 | GstFlowReturn BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::generate_output_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#generate_output_vfunc_callback(1108dcf1005b639d).(GstBaseTransformcxx . . $ GstBaseTransform#* self, GstBuffer** outbuf) |
| 175 | { |
| 176 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase# *const obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 177 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 178 | |
| 179 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 180 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 181 | // generated classes can use this optimisation, which avoids the unnecessary |
| 182 | // parameter conversions if there is no possibility of the virtual function |
| 183 | // being overridden: |
| 184 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 185 | { |
| 186 | CppObjectTypecxx . . $ Gst/BaseTransform_Class#CppObjectType# *const obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseTransform_Class#CppObjectType#* const>(obj_base); |
| 187 | if(obj) // This can be NULL during destruction. |
| 188 | { |
| 189 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 190 | { |
| 191 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#> cpp_buffercxx . . $ Glib/RefPtr#RefPtr(ced63f7c635d850d).; |
| 192 | // Call the virtual member method, which derived classes might override. |
| 193 | const GstFlowReturn result = |
| 194 | static_cast<GstFlowReturn>(obj->generate_output_vfunccxx . . $ Gst/BaseTransform#generate_output_vfunc(4de5a8a31d42db07).( |
| 195 | cpp_buffer)); |
| 196 | *outbuf = cpp_buffer ? cpp_buffer->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).gobj_copycxx . . $ Gst/Buffer#gobj_copy(59f4d47c2cb1ef1a).() : 0; |
| 197 | return result; |
| 198 | } |
| 199 | catch(...) |
| 200 | { |
| 201 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 202 | } |
| 203 | } |
| 204 | } |
| 205 | |
| 206 | BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType#*>( |
| 207 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 208 | ); |
| 209 | |
| 210 | // Call the original underlying C function: |
| 211 | if(base && base->generate_outputcxx . . $ _GstBaseTransformClass#generate_output.) |
| 212 | return (*base->generate_outputcxx . . $ _GstBaseTransformClass#generate_output.)(self, outbuf); |
| 213 | |
| 214 | |
| 215 | typedef GstFlowReturn RTypecxx . . $ Gst/BaseTransform_Class#generate_output_vfunc_callback(1108dcf1005b639d).RType#; |
| 216 | return RTypecxx . . $ Gst/BaseTransform_Class#generate_output_vfunc_callback(1108dcf1005b639d).RType#(); |
| 217 | } |
| 218 | |
| 219 | FlowReturncxx . . $ Gst/FlowReturn# Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#::generate_output_vfunccxx . . $ Gst/BaseTransform#generate_output_vfunc(4de5a8a31d42db07).(Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& outbuf) |
| 220 | { |
| 221 | BaseClassTypecxx . . $ Gst/BaseTransform#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform#BaseClassType#*>( |
| 222 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 223 | ); |
| 224 | |
| 225 | if(base && base->generate_outputcxx . . $ _GstBaseTransformClass#generate_output.) |
| 226 | { |
| 227 | GstBuffer* gst_buffer = nullptr; |
| 228 | const Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn# result = |
| 229 | static_cast<Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn#>((*base->generate_outputcxx . . $ _GstBaseTransformClass#generate_output.)(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(), &gst_buffer)); |
| 230 | outbuf =cxx . . $ Glib/RefPtr#`operator=`(dc512bde7586264e). Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(gst_buffer, false); // Don't take copy because callback returns a newly created copy. |
| 231 | return result; |
| 232 | } |
| 233 | |
| 234 | typedef FlowReturncxx . . $ Gst/FlowReturn# RTypecxx . . $ Gst/BaseTransform#generate_output_vfunc(4de5a8a31d42db07).RType#; |
| 235 | return RTypecxx . . $ Gst/BaseTransform#generate_output_vfunc(4de5a8a31d42db07).RType#(); |
| 236 | } |
| 237 | |
| 238 | gboolean BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::query_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#query_vfunc_callback(9699c4eded8afe56).(GstBaseTransformcxx . . $ GstBaseTransform#* self, GstPadDirection direction, GstQuery* query) |
| 239 | { |
| 240 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 241 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 242 | |
| 243 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 244 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 245 | // generated classes can use this optimisation, which avoids the unnecessary |
| 246 | // parameter conversions if there is no possibility of the virtual function |
| 247 | // being overridden: |
| 248 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 249 | { |
| 250 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseTransform_Class#CppObjectType#* const>(obj_base); |
| 251 | if(obj) // This can be NULL during destruction. |
| 252 | { |
| 253 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 254 | { |
| 255 | // Call the virtual member method, which derived classes might override. |
| 256 | auto query_cpp = Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(query, false); |
| 257 | int ret = static_cast<int>(obj->base_transform_query_vfunccxx . . $ Gst/BaseTransform#base_transform_query_vfunc(52721c255ad2c5ff).(static_cast<Gstcxx . . $ Gst/::PadDirectioncxx . . $ Gst/PadDirection#>(direction), query_cpp)); |
| 258 | IGNORE_RESULTcxx . . $ `gstreamer/gstreamermm/basetransform.cc:34:9`!(query_cpp.release()); |
| 259 | return ret; |
| 260 | } |
| 261 | catch(...) |
| 262 | { |
| 263 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 264 | } |
| 265 | } |
| 266 | } |
| 267 | |
| 268 | BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType#*>( |
| 269 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 270 | ); |
| 271 | |
| 272 | // Call the original underlying C function: |
| 273 | if(base && base->querycxx . . $ _GstBaseTransformClass#query.) |
| 274 | { |
| 275 | gboolean retval = (*base->querycxx . . $ _GstBaseTransformClass#query.)(self, direction, query); |
| 276 | return retval; |
| 277 | } |
| 278 | |
| 279 | typedef gboolean RTypecxx . . $ Gst/BaseTransform_Class#query_vfunc_callback(9699c4eded8afe56).RType#; |
| 280 | return RTypecxx . . $ Gst/BaseTransform_Class#query_vfunc_callback(9699c4eded8afe56).RType#(); |
| 281 | } |
| 282 | |
| 283 | |
| 284 | bool Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#::base_transform_query_vfunccxx . . $ Gst/BaseTransform#base_transform_query_vfunc(52721c255ad2c5ff).(Gstcxx . . $ Gst/::PadDirectioncxx . . $ Gst/PadDirection# direction, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#>& query) |
| 285 | { |
| 286 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform#BaseClassType#*>( |
| 287 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 288 | ); |
| 289 | |
| 290 | if(base && base->querycxx . . $ _GstBaseTransformClass#query.) |
| 291 | { |
| 292 | bool retval((*base->querycxx . . $ _GstBaseTransformClass#query.)(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(), static_cast<GstPadDirection>(direction), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(query))); |
| 293 | return retval; |
| 294 | } |
| 295 | |
| 296 | typedef bool RTypecxx . . $ Gst/BaseTransform#base_transform_query_vfunc(52721c255ad2c5ff).RType#; |
| 297 | return RTypecxx . . $ Gst/BaseTransform#base_transform_query_vfunc(52721c255ad2c5ff).RType#(); |
| 298 | } |
| 299 | |
| 300 | bool BaseTransformcxx . . $ Gst/BaseTransform#::propose_allocation_vfunccxx . . $ Gst/BaseTransform#propose_allocation_vfunc(99649fc0a9bb8d8d).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#>& decide_query, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#>& query) |
| 301 | { |
| 302 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform#BaseClassType#*>( |
| 303 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 304 | ); |
| 305 | |
| 306 | if(base && base->propose_allocationcxx . . $ _GstBaseTransformClass#propose_allocation.) |
| 307 | { |
| 308 | bool retval((*base->propose_allocationcxx . . $ _GstBaseTransformClass#propose_allocation.)(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(decide_query),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(query))); |
| 309 | return retval; |
| 310 | } |
| 311 | |
| 312 | typedef bool RTypecxx . . $ Gst/BaseTransform#propose_allocation_vfunc(99649fc0a9bb8d8d).RType#; |
| 313 | return RTypecxx . . $ Gst/BaseTransform#propose_allocation_vfunc(99649fc0a9bb8d8d).RType#(); |
| 314 | } |
| 315 | |
| 316 | gboolean BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::propose_allocation_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#propose_allocation_vfunc_callback(527f1a519629da47).(GstBaseTransformcxx . . $ GstBaseTransform#* self, GstQuery* decide_query, GstQuery* query) |
| 317 | { |
| 318 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 319 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 320 | |
| 321 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 322 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 323 | // generated classes can use this optimisation, which avoids the unnecessary |
| 324 | // parameter conversions if there is no possibility of the virtual function |
| 325 | // being overridden: |
| 326 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 327 | { |
| 328 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseTransform_Class#CppObjectType#* const>(obj_base); |
| 329 | if(obj) // This can be NULL during destruction. |
| 330 | { |
| 331 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 332 | { |
| 333 | // Call the virtual member method, which derived classes might override. |
| 334 | auto query_cpp = Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(query, false); |
| 335 | auto decide_query_cpp = Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(decide_query, false); |
| 336 | auto ret = static_cast<int>(obj->propose_allocation_vfunccxx . . $ Gst/BaseTransform#propose_allocation_vfunc(99649fc0a9bb8d8d).(decide_query_cpp, query_cpp)); |
| 337 | IGNORE_RESULTcxx . . $ `gstreamer/gstreamermm/basetransform.cc:34:9`!(query_cpp.release()); |
| 338 | IGNORE_RESULTcxx . . $ `gstreamer/gstreamermm/basetransform.cc:34:9`!(decide_query_cpp.release()); |
| 339 | return ret; |
| 340 | } |
| 341 | catch(...) |
| 342 | { |
| 343 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 344 | } |
| 345 | } |
| 346 | } |
| 347 | |
| 348 | BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType#*>( |
| 349 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 350 | ); |
| 351 | |
| 352 | // Call the original underlying C function: |
| 353 | if(base && base->propose_allocationcxx . . $ _GstBaseTransformClass#propose_allocation.) |
| 354 | return (*base->propose_allocationcxx . . $ _GstBaseTransformClass#propose_allocation.)(self, decide_query, query); |
| 355 | |
| 356 | typedef gboolean RTypecxx . . $ Gst/BaseTransform_Class#propose_allocation_vfunc_callback(527f1a519629da47).RType#; |
| 357 | return RTypecxx . . $ Gst/BaseTransform_Class#propose_allocation_vfunc_callback(527f1a519629da47).RType#(); |
| 358 | } |
| 359 | |
| 360 | bool Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#::decide_allocation_vfunccxx . . $ Gst/BaseTransform#decide_allocation_vfunc(363e9ac1e31c4481).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#>& query) |
| 361 | { |
| 362 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform#BaseClassType#*>( |
| 363 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 364 | ); |
| 365 | |
| 366 | if(base && base->decide_allocationcxx . . $ _GstBaseTransformClass#decide_allocation.) |
| 367 | { |
| 368 | bool retval((*base->decide_allocationcxx . . $ _GstBaseTransformClass#decide_allocation.)(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(query))); |
| 369 | return retval; |
| 370 | } |
| 371 | |
| 372 | typedef bool RTypecxx . . $ Gst/BaseTransform#decide_allocation_vfunc(363e9ac1e31c4481).RType#; |
| 373 | return RTypecxx . . $ Gst/BaseTransform#decide_allocation_vfunc(363e9ac1e31c4481).RType#(); |
| 374 | } |
| 375 | |
| 376 | gboolean BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::decide_allocation_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#decide_allocation_vfunc_callback(75542912326c97e9).(GstBaseTransformcxx . . $ GstBaseTransform#* self, GstQuery* query) |
| 377 | { |
| 378 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 379 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 380 | |
| 381 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 382 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 383 | // generated classes can use this optimisation, which avoids the unnecessary |
| 384 | // parameter conversions if there is no possibility of the virtual function |
| 385 | // being overridden: |
| 386 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 387 | { |
| 388 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseTransform_Class#CppObjectType#* const>(obj_base); |
| 389 | if(obj) // This can be NULL during destruction. |
| 390 | { |
| 391 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 392 | { |
| 393 | // Call the virtual member method, which derived classes might override. |
| 394 | auto query_cpp = Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(query, false); |
| 395 | auto ret = static_cast<int>(obj->decide_allocation_vfunccxx . . $ Gst/BaseTransform#decide_allocation_vfunc(363e9ac1e31c4481).(query_cpp)); |
| 396 | IGNORE_RESULTcxx . . $ `gstreamer/gstreamermm/basetransform.cc:34:9`!(query_cpp.release()); |
| 397 | return ret; |
| 398 | } |
| 399 | catch(...) |
| 400 | { |
| 401 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 402 | } |
| 403 | } |
| 404 | } |
| 405 | |
| 406 | BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType#*>( |
| 407 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 408 | ); |
| 409 | |
| 410 | // Call the original underlying C function: |
| 411 | if(base && base->decide_allocationcxx . . $ _GstBaseTransformClass#decide_allocation.) |
| 412 | return (*base->decide_allocationcxx . . $ _GstBaseTransformClass#decide_allocation.)(self, query); |
| 413 | |
| 414 | typedef gboolean RTypecxx . . $ Gst/BaseTransform_Class#decide_allocation_vfunc_callback(75542912326c97e9).RType#; |
| 415 | return RTypecxx . . $ Gst/BaseTransform_Class#decide_allocation_vfunc_callback(75542912326c97e9).RType#(); |
| 416 | } |
| 417 | |
| 418 | |
| 419 | } //namespace Gst |
| 420 | |
| 421 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/basetransform.cc`/ |
| 422 | { |
| 423 | } // anonymous namespace |
| 424 | |
| 425 | |
| 426 | namespace Glibcxx . . $ Glib/ |
| 427 | { |
| 428 | |
| 429 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#> wrapcxx . . $ Glib/wrap(a6a6fb04bdaa579a).(GstBaseTransformcxx . . $ GstBaseTransform#* object, bool take_copy) |
| 430 | { |
| 431 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#>( dynamic_cast<Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) ); |
| 432 | //We use dynamic_cast<> in case of multiple inheritance. |
| 433 | } |
| 434 | |
| 435 | } /* namespace Glib */ |
| 436 | |
| 437 | |
| 438 | namespace Gstcxx . . $ Gst/ |
| 439 | { |
| 440 | |
| 441 | |
| 442 | /* The *_Class implementation: */ |
| 443 | |
| 444 | const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::initcxx . . $ Gst/BaseTransform_Class#init(bf348c0cd369184d).() |
| 445 | { |
| 446 | if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary |
| 447 | { |
| 448 | // Glib::Class has to know the class init function to clone custom types. |
| 449 | class_init_func_cxx . . $ Glib/Class#class_init_func_. = &BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::class_init_functioncxx . . $ Gst/BaseTransform_Class#class_init_function(6c58c5e2437d25a2).; |
| 450 | |
| 451 | // This is actually just optimized away, apparently with no harm. |
| 452 | // Make sure that the parent type has been created. |
| 453 | //CppClassParent::CppObjectType::get_type(); |
| 454 | |
| 455 | // Create the wrapper type, with the same class/instance size as the base type. |
| 456 | register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_base_transform_get_type()); |
| 457 | |
| 458 | // Add derived versions of interfaces, if the C type implements any interfaces: |
| 459 | |
| 460 | } |
| 461 | |
| 462 | return *this; |
| 463 | } |
| 464 | |
| 465 | |
| 466 | void BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::class_init_functioncxx . . $ Gst/BaseTransform_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data) |
| 467 | { |
| 468 | const auto klass = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType#*>(g_class); |
| 469 | CppClassParentcxx . . $ Gst/BaseTransform_Class#CppClassParent#::class_init_functioncxx . . $ Gst/Element_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data); |
| 470 | |
| 471 | klass->transform_capscxx . . $ _GstBaseTransformClass#transform_caps. = &transform_caps_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#transform_caps_vfunc_callback(fcf5c373a831c5bb).; |
| 472 | klass->fixate_capscxx . . $ _GstBaseTransformClass#fixate_caps. = &fixate_caps_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#fixate_caps_vfunc_callback(fcf5c373a831c5bb).; |
| 473 | klass->get_unit_sizecxx . . $ _GstBaseTransformClass#get_unit_size. = &get_unit_size_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#get_unit_size_vfunc_callback(a5734418a8ffade2).; |
| 474 | klass->set_capscxx . . $ _GstBaseTransformClass#set_caps. = &set_caps_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#set_caps_vfunc_callback(8f98ae0d0bead0cb).; |
| 475 | klass->transform_ipcxx . . $ _GstBaseTransformClass#transform_ip. = &transform_ip_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#transform_ip_vfunc_callback(372bf274caa224c8).; |
| 476 | klass->src_eventcxx . . $ _GstBaseTransformClass#src_event. = &src_event_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#src_event_vfunc_callback(746dc5a1665c589).; |
| 477 | klass->sink_eventcxx . . $ _GstBaseTransformClass#sink_event. = &sink_event_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#sink_event_vfunc_callback(746dc5a1665c589).; |
| 478 | klass->before_transformcxx . . $ _GstBaseTransformClass#before_transform. = &before_transform_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#before_transform_vfunc_callback(d62cd599a37642d8).; |
| 479 | klass->accept_capscxx . . $ _GstBaseTransformClass#accept_caps. = &accept_caps_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#accept_caps_vfunc_callback(7d487cdd2f64e744).; |
| 480 | klass->startcxx . . $ _GstBaseTransformClass#start. = &start_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#start_vfunc_callback(27d5387a2e491b3).; |
| 481 | klass->stopcxx . . $ _GstBaseTransformClass#stop. = &stop_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#stop_vfunc_callback(27d5387a2e491b3).; |
| 482 | klass->filter_metacxx . . $ _GstBaseTransformClass#filter_meta. = &filter_meta_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#filter_meta_vfunc_callback(ed29e6c0a1df4c1f).; |
| 483 | klass->submit_input_buffercxx . . $ _GstBaseTransformClass#submit_input_buffer. = &submit_input_buffer_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#submit_input_buffer_vfunc_callback(ed82b6d86e7309af).; |
| 484 | klass->copy_metadatacxx . . $ _GstBaseTransformClass#copy_metadata. = ©_metadata_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#copy_metadata_vfunc_callback(f68a27d8079b1f87).; |
| 485 | klass->prepare_output_buffercxx . . $ _GstBaseTransformClass#prepare_output_buffer. = &prepare_output_buffer_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#prepare_output_buffer_vfunc_callback(c4c939a2aecaf0a3).; |
| 486 | klass->transformcxx . . $ _GstBaseTransformClass#transform. = &transform_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#transform_vfunc_callback(a16cae381ac92626).; |
| 487 | klass->generate_outputcxx . . $ _GstBaseTransformClass#generate_output. = &generate_output_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#generate_output_vfunc_callback(1108dcf1005b639d).; |
| 488 | klass->querycxx . . $ _GstBaseTransformClass#query. = &query_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#query_vfunc_callback(9699c4eded8afe56).; |
| 489 | klass->propose_allocationcxx . . $ _GstBaseTransformClass#propose_allocation. = &propose_allocation_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#propose_allocation_vfunc_callback(527f1a519629da47).; |
| 490 | klass->decide_allocationcxx . . $ _GstBaseTransformClass#decide_allocation. = &decide_allocation_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#decide_allocation_vfunc_callback(75542912326c97e9).; |
| 491 | |
| 492 | } |
| 493 | |
| 494 | GstCaps* BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::transform_caps_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#transform_caps_vfunc_callback(fcf5c373a831c5bb).(GstBaseTransformcxx . . $ GstBaseTransform#* self, GstPadDirection direction, GstCaps* caps, GstCaps* filter) |
| 495 | { |
| 496 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 497 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 498 | |
| 499 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 500 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 501 | // generated classes can use this optimisation, which avoids the unnecessary |
| 502 | // parameter conversions if there is no possibility of the virtual function |
| 503 | // being overridden: |
| 504 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 505 | { |
| 506 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseTransform_Class#CppObjectType#* const>(obj_base); |
| 507 | if(obj) // This can be NULL during destruction. |
| 508 | { |
| 509 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 510 | { |
| 511 | // Call the virtual member method, which derived classes might override. |
| 512 | return Glibcxx . . $ Glib/::unwrap_copycxx . . $ Glib/unwrap_copy(d8611424b789c87e).(obj->transform_caps_vfunccxx . . $ Gst/BaseTransform#transform_caps_vfunc(66b82210e894f08e).(((PadDirectioncxx . . $ Gst/PadDirection#)(direction)) |
| 513 | , Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(caps, true) |
| 514 | , Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(filter, true) |
| 515 | )); |
| 516 | } |
| 517 | catch(...) |
| 518 | { |
| 519 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 520 | } |
| 521 | } |
| 522 | } |
| 523 | |
| 524 | BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType#*>( |
| 525 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 526 | ); |
| 527 | |
| 528 | // Call the original underlying C function: |
| 529 | if(base && base->transform_capscxx . . $ _GstBaseTransformClass#transform_caps.) |
| 530 | return (*base->transform_capscxx . . $ _GstBaseTransformClass#transform_caps.)(self, direction, caps, filter); |
| 531 | |
| 532 | using RTypecxx . . $ Gst/BaseTransform_Class#transform_caps_vfunc_callback(fcf5c373a831c5bb).RType# = GstCaps*; |
| 533 | return RTypecxx . . $ Gst/BaseTransform_Class#transform_caps_vfunc_callback(fcf5c373a831c5bb).RType#(); |
| 534 | } |
| 535 | GstCaps* BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::fixate_caps_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#fixate_caps_vfunc_callback(fcf5c373a831c5bb).(GstBaseTransformcxx . . $ GstBaseTransform#* self, GstPadDirection direction, GstCaps* caps, GstCaps* othercaps) |
| 536 | { |
| 537 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 538 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 539 | |
| 540 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 541 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 542 | // generated classes can use this optimisation, which avoids the unnecessary |
| 543 | // parameter conversions if there is no possibility of the virtual function |
| 544 | // being overridden: |
| 545 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 546 | { |
| 547 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseTransform_Class#CppObjectType#* const>(obj_base); |
| 548 | if(obj) // This can be NULL during destruction. |
| 549 | { |
| 550 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 551 | { |
| 552 | // Call the virtual member method, which derived classes might override. |
| 553 | return Glibcxx . . $ Glib/::unwrap_copycxx . . $ Glib/unwrap_copy(d8611424b789c87e).(obj->fixate_caps_vfunccxx . . $ Gst/BaseTransform#fixate_caps_vfunc(66b82210e894f08e).(((PadDirectioncxx . . $ Gst/PadDirection#)(direction)) |
| 554 | , Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(caps, true) |
| 555 | , Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(othercaps, true) |
| 556 | )); |
| 557 | } |
| 558 | catch(...) |
| 559 | { |
| 560 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 561 | } |
| 562 | } |
| 563 | } |
| 564 | |
| 565 | BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType#*>( |
| 566 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 567 | ); |
| 568 | |
| 569 | // Call the original underlying C function: |
| 570 | if(base && base->fixate_capscxx . . $ _GstBaseTransformClass#fixate_caps.) |
| 571 | return (*base->fixate_capscxx . . $ _GstBaseTransformClass#fixate_caps.)(self, direction, caps, othercaps); |
| 572 | |
| 573 | using RTypecxx . . $ Gst/BaseTransform_Class#fixate_caps_vfunc_callback(fcf5c373a831c5bb).RType# = GstCaps*; |
| 574 | return RTypecxx . . $ Gst/BaseTransform_Class#fixate_caps_vfunc_callback(fcf5c373a831c5bb).RType#(); |
| 575 | } |
| 576 | gboolean BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::get_unit_size_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#get_unit_size_vfunc_callback(a5734418a8ffade2).(GstBaseTransformcxx . . $ GstBaseTransform#* self, GstCaps* caps, gsize* size) |
| 577 | { |
| 578 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 579 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 580 | |
| 581 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 582 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 583 | // generated classes can use this optimisation, which avoids the unnecessary |
| 584 | // parameter conversions if there is no possibility of the virtual function |
| 585 | // being overridden: |
| 586 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 587 | { |
| 588 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseTransform_Class#CppObjectType#* const>(obj_base); |
| 589 | if(obj) // This can be NULL during destruction. |
| 590 | { |
| 591 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 592 | { |
| 593 | // Call the virtual member method, which derived classes might override. |
| 594 | return static_cast<int>(obj->get_unit_size_vfunccxx . . $ Gst/BaseTransform#get_unit_size_vfunc(b7d2dd3e6ad1d51b).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(caps, true) |
| 595 | , *size |
| 596 | )); |
| 597 | } |
| 598 | catch(...) |
| 599 | { |
| 600 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 601 | } |
| 602 | } |
| 603 | } |
| 604 | |
| 605 | BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType#*>( |
| 606 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 607 | ); |
| 608 | |
| 609 | // Call the original underlying C function: |
| 610 | if(base && base->get_unit_sizecxx . . $ _GstBaseTransformClass#get_unit_size.) |
| 611 | return (*base->get_unit_sizecxx . . $ _GstBaseTransformClass#get_unit_size.)(self, caps, size); |
| 612 | |
| 613 | using RTypecxx . . $ Gst/BaseTransform_Class#get_unit_size_vfunc_callback(a5734418a8ffade2).RType# = gboolean; |
| 614 | return RTypecxx . . $ Gst/BaseTransform_Class#get_unit_size_vfunc_callback(a5734418a8ffade2).RType#(); |
| 615 | } |
| 616 | gboolean BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::set_caps_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#set_caps_vfunc_callback(8f98ae0d0bead0cb).(GstBaseTransformcxx . . $ GstBaseTransform#* self, GstCaps* incaps, GstCaps* outcaps) |
| 617 | { |
| 618 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 619 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 620 | |
| 621 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 622 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 623 | // generated classes can use this optimisation, which avoids the unnecessary |
| 624 | // parameter conversions if there is no possibility of the virtual function |
| 625 | // being overridden: |
| 626 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 627 | { |
| 628 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseTransform_Class#CppObjectType#* const>(obj_base); |
| 629 | if(obj) // This can be NULL during destruction. |
| 630 | { |
| 631 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 632 | { |
| 633 | // Call the virtual member method, which derived classes might override. |
| 634 | return static_cast<int>(obj->set_caps_vfunccxx . . $ Gst/BaseTransform#set_caps_vfunc(a2bca148d109fcf6).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(incaps, true) |
| 635 | , Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(outcaps, true) |
| 636 | )); |
| 637 | } |
| 638 | catch(...) |
| 639 | { |
| 640 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 641 | } |
| 642 | } |
| 643 | } |
| 644 | |
| 645 | BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType#*>( |
| 646 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 647 | ); |
| 648 | |
| 649 | // Call the original underlying C function: |
| 650 | if(base && base->set_capscxx . . $ _GstBaseTransformClass#set_caps.) |
| 651 | return (*base->set_capscxx . . $ _GstBaseTransformClass#set_caps.)(self, incaps, outcaps); |
| 652 | |
| 653 | return static_cast<int>(true); |
| 654 | } |
| 655 | GstFlowReturn BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::transform_ip_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#transform_ip_vfunc_callback(372bf274caa224c8).(GstBaseTransformcxx . . $ GstBaseTransform#* self, GstBuffer* buf) |
| 656 | { |
| 657 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 658 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 659 | |
| 660 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 661 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 662 | // generated classes can use this optimisation, which avoids the unnecessary |
| 663 | // parameter conversions if there is no possibility of the virtual function |
| 664 | // being overridden: |
| 665 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 666 | { |
| 667 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseTransform_Class#CppObjectType#* const>(obj_base); |
| 668 | if(obj) // This can be NULL during destruction. |
| 669 | { |
| 670 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 671 | { |
| 672 | // Call the virtual member method, which derived classes might override. |
| 673 | return ((GstFlowReturn)(obj->transform_ip_vfunccxx . . $ Gst/BaseTransform#transform_ip_vfunc(a9092e90601b697e).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(buf, true) |
| 674 | ))); |
| 675 | } |
| 676 | catch(...) |
| 677 | { |
| 678 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 679 | } |
| 680 | } |
| 681 | } |
| 682 | |
| 683 | BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType#*>( |
| 684 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 685 | ); |
| 686 | |
| 687 | // Call the original underlying C function: |
| 688 | if(base && base->transform_ipcxx . . $ _GstBaseTransformClass#transform_ip.) |
| 689 | return (*base->transform_ipcxx . . $ _GstBaseTransformClass#transform_ip.)(self, buf); |
| 690 | |
| 691 | using RTypecxx . . $ Gst/BaseTransform_Class#transform_ip_vfunc_callback(372bf274caa224c8).RType# = GstFlowReturn; |
| 692 | return RTypecxx . . $ Gst/BaseTransform_Class#transform_ip_vfunc_callback(372bf274caa224c8).RType#(); |
| 693 | } |
| 694 | gboolean BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::src_event_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#src_event_vfunc_callback(746dc5a1665c589).(GstBaseTransformcxx . . $ GstBaseTransform#* self, GstEvent* event) |
| 695 | { |
| 696 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 697 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 698 | |
| 699 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 700 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 701 | // generated classes can use this optimisation, which avoids the unnecessary |
| 702 | // parameter conversions if there is no possibility of the virtual function |
| 703 | // being overridden: |
| 704 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 705 | { |
| 706 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseTransform_Class#CppObjectType#* const>(obj_base); |
| 707 | if(obj) // This can be NULL during destruction. |
| 708 | { |
| 709 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 710 | { |
| 711 | // Call the virtual member method, which derived classes might override. |
| 712 | return static_cast<int>(obj->src_event_vfunccxx . . $ Gst/BaseTransform#src_event_vfunc(2055ffde69ae5030).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(dec56968f86598a5).(event, true) |
| 713 | )); |
| 714 | } |
| 715 | catch(...) |
| 716 | { |
| 717 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 718 | } |
| 719 | } |
| 720 | } |
| 721 | |
| 722 | BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType#*>( |
| 723 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 724 | ); |
| 725 | |
| 726 | // Call the original underlying C function: |
| 727 | if(base && base->src_eventcxx . . $ _GstBaseTransformClass#src_event.) |
| 728 | return (*base->src_eventcxx . . $ _GstBaseTransformClass#src_event.)(self, event); |
| 729 | |
| 730 | using RTypecxx . . $ Gst/BaseTransform_Class#src_event_vfunc_callback(746dc5a1665c589).RType# = gboolean; |
| 731 | return RTypecxx . . $ Gst/BaseTransform_Class#src_event_vfunc_callback(746dc5a1665c589).RType#(); |
| 732 | } |
| 733 | gboolean BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::sink_event_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#sink_event_vfunc_callback(746dc5a1665c589).(GstBaseTransformcxx . . $ GstBaseTransform#* self, GstEvent* event) |
| 734 | { |
| 735 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 736 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 737 | |
| 738 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 739 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 740 | // generated classes can use this optimisation, which avoids the unnecessary |
| 741 | // parameter conversions if there is no possibility of the virtual function |
| 742 | // being overridden: |
| 743 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 744 | { |
| 745 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseTransform_Class#CppObjectType#* const>(obj_base); |
| 746 | if(obj) // This can be NULL during destruction. |
| 747 | { |
| 748 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 749 | { |
| 750 | // Call the virtual member method, which derived classes might override. |
| 751 | return static_cast<int>(obj->sink_event_vfunccxx . . $ Gst/BaseTransform#sink_event_vfunc(2055ffde69ae5030).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(dec56968f86598a5).(event, true) |
| 752 | )); |
| 753 | } |
| 754 | catch(...) |
| 755 | { |
| 756 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 757 | } |
| 758 | } |
| 759 | } |
| 760 | |
| 761 | BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType#*>( |
| 762 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 763 | ); |
| 764 | |
| 765 | // Call the original underlying C function: |
| 766 | if(base && base->sink_eventcxx . . $ _GstBaseTransformClass#sink_event.) |
| 767 | return (*base->sink_eventcxx . . $ _GstBaseTransformClass#sink_event.)(self, event); |
| 768 | |
| 769 | using RTypecxx . . $ Gst/BaseTransform_Class#sink_event_vfunc_callback(746dc5a1665c589).RType# = gboolean; |
| 770 | return RTypecxx . . $ Gst/BaseTransform_Class#sink_event_vfunc_callback(746dc5a1665c589).RType#(); |
| 771 | } |
| 772 | void BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::before_transform_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#before_transform_vfunc_callback(d62cd599a37642d8).(GstBaseTransformcxx . . $ GstBaseTransform#* self, GstBuffer* buffer) |
| 773 | { |
| 774 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 775 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 776 | |
| 777 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 778 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 779 | // generated classes can use this optimisation, which avoids the unnecessary |
| 780 | // parameter conversions if there is no possibility of the virtual function |
| 781 | // being overridden: |
| 782 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 783 | { |
| 784 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseTransform_Class#CppObjectType#* const>(obj_base); |
| 785 | if(obj) // This can be NULL during destruction. |
| 786 | { |
| 787 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 788 | { |
| 789 | // Call the virtual member method, which derived classes might override. |
| 790 | obj->before_transform_vfunccxx . . $ Gst/BaseTransform#before_transform_vfunc(1c92f0efcb0d0a9f).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(buffer, true) |
| 791 | ); |
| 792 | return; |
| 793 | } |
| 794 | catch(...) |
| 795 | { |
| 796 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 797 | } |
| 798 | } |
| 799 | } |
| 800 | |
| 801 | BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType#*>( |
| 802 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 803 | ); |
| 804 | |
| 805 | // Call the original underlying C function: |
| 806 | if(base && base->before_transformcxx . . $ _GstBaseTransformClass#before_transform.) |
| 807 | (*base->before_transformcxx . . $ _GstBaseTransformClass#before_transform.)(self, buffer); |
| 808 | } |
| 809 | gboolean BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::accept_caps_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#accept_caps_vfunc_callback(7d487cdd2f64e744).(GstBaseTransformcxx . . $ GstBaseTransform#* self, GstPadDirection direction, GstCaps* caps) |
| 810 | { |
| 811 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 812 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 813 | |
| 814 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 815 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 816 | // generated classes can use this optimisation, which avoids the unnecessary |
| 817 | // parameter conversions if there is no possibility of the virtual function |
| 818 | // being overridden: |
| 819 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 820 | { |
| 821 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseTransform_Class#CppObjectType#* const>(obj_base); |
| 822 | if(obj) // This can be NULL during destruction. |
| 823 | { |
| 824 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 825 | { |
| 826 | // Call the virtual member method, which derived classes might override. |
| 827 | return static_cast<int>(obj->accept_caps_vfunccxx . . $ Gst/BaseTransform#accept_caps_vfunc(e95691030dbf8ac6).(((PadDirectioncxx . . $ Gst/PadDirection#)(direction)) |
| 828 | , Glibcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(caps, true) |
| 829 | )); |
| 830 | } |
| 831 | catch(...) |
| 832 | { |
| 833 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 834 | } |
| 835 | } |
| 836 | } |
| 837 | |
| 838 | BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType#*>( |
| 839 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 840 | ); |
| 841 | |
| 842 | // Call the original underlying C function: |
| 843 | if(base && base->accept_capscxx . . $ _GstBaseTransformClass#accept_caps.) |
| 844 | return (*base->accept_capscxx . . $ _GstBaseTransformClass#accept_caps.)(self, direction, caps); |
| 845 | |
| 846 | using RTypecxx . . $ Gst/BaseTransform_Class#accept_caps_vfunc_callback(7d487cdd2f64e744).RType# = gboolean; |
| 847 | return RTypecxx . . $ Gst/BaseTransform_Class#accept_caps_vfunc_callback(7d487cdd2f64e744).RType#(); |
| 848 | } |
| 849 | gboolean BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::start_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#start_vfunc_callback(27d5387a2e491b3).(GstBaseTransformcxx . . $ GstBaseTransform#* self) |
| 850 | { |
| 851 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 852 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 853 | |
| 854 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 855 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 856 | // generated classes can use this optimisation, which avoids the unnecessary |
| 857 | // parameter conversions if there is no possibility of the virtual function |
| 858 | // being overridden: |
| 859 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 860 | { |
| 861 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseTransform_Class#CppObjectType#* const>(obj_base); |
| 862 | if(obj) // This can be NULL during destruction. |
| 863 | { |
| 864 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 865 | { |
| 866 | // Call the virtual member method, which derived classes might override. |
| 867 | return static_cast<int>(obj->start_vfunccxx . . $ Gst/BaseTransform#start_vfunc(c9857a73d68e59ba).()); |
| 868 | } |
| 869 | catch(...) |
| 870 | { |
| 871 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 872 | } |
| 873 | } |
| 874 | } |
| 875 | |
| 876 | BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType#*>( |
| 877 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 878 | ); |
| 879 | |
| 880 | // Call the original underlying C function: |
| 881 | if(base && base->startcxx . . $ _GstBaseTransformClass#start.) |
| 882 | return (*base->startcxx . . $ _GstBaseTransformClass#start.)(self); |
| 883 | |
| 884 | return static_cast<int>(true); |
| 885 | } |
| 886 | gboolean BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::stop_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#stop_vfunc_callback(27d5387a2e491b3).(GstBaseTransformcxx . . $ GstBaseTransform#* self) |
| 887 | { |
| 888 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 889 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 890 | |
| 891 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 892 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 893 | // generated classes can use this optimisation, which avoids the unnecessary |
| 894 | // parameter conversions if there is no possibility of the virtual function |
| 895 | // being overridden: |
| 896 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 897 | { |
| 898 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseTransform_Class#CppObjectType#* const>(obj_base); |
| 899 | if(obj) // This can be NULL during destruction. |
| 900 | { |
| 901 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 902 | { |
| 903 | // Call the virtual member method, which derived classes might override. |
| 904 | return static_cast<int>(obj->stop_vfunccxx . . $ Gst/BaseTransform#stop_vfunc(c9857a73d68e59ba).()); |
| 905 | } |
| 906 | catch(...) |
| 907 | { |
| 908 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 909 | } |
| 910 | } |
| 911 | } |
| 912 | |
| 913 | BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType#*>( |
| 914 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 915 | ); |
| 916 | |
| 917 | // Call the original underlying C function: |
| 918 | if(base && base->stopcxx . . $ _GstBaseTransformClass#stop.) |
| 919 | return (*base->stopcxx . . $ _GstBaseTransformClass#stop.)(self); |
| 920 | |
| 921 | return static_cast<int>(true); |
| 922 | } |
| 923 | gboolean BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::filter_meta_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#filter_meta_vfunc_callback(ed29e6c0a1df4c1f).(GstBaseTransformcxx . . $ GstBaseTransform#* self, GstQuery* query, GType api, const GstStructure* params) |
| 924 | { |
| 925 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 926 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 927 | |
| 928 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 929 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 930 | // generated classes can use this optimisation, which avoids the unnecessary |
| 931 | // parameter conversions if there is no possibility of the virtual function |
| 932 | // being overridden: |
| 933 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 934 | { |
| 935 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseTransform_Class#CppObjectType#* const>(obj_base); |
| 936 | if(obj) // This can be NULL during destruction. |
| 937 | { |
| 938 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 939 | { |
| 940 | // Call the virtual member method, which derived classes might override. |
| 941 | return static_cast<int>(obj->filter_meta_vfunccxx . . $ Gst/BaseTransform#filter_meta_vfunc(28e670992d06bc2e).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(7b383c8dd7fcdbfb).(query, true) |
| 942 | , api, Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(51e1331ca9e65d80).(const_cast<GstStructure*>(params), false) |
| 943 | )); |
| 944 | } |
| 945 | catch(...) |
| 946 | { |
| 947 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 948 | } |
| 949 | } |
| 950 | } |
| 951 | |
| 952 | BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType#*>( |
| 953 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 954 | ); |
| 955 | |
| 956 | // Call the original underlying C function: |
| 957 | if(base && base->filter_metacxx . . $ _GstBaseTransformClass#filter_meta.) |
| 958 | return (*base->filter_metacxx . . $ _GstBaseTransformClass#filter_meta.)(self, query, api, params); |
| 959 | |
| 960 | return static_cast<int>(true); |
| 961 | } |
| 962 | GstFlowReturn BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::submit_input_buffer_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#submit_input_buffer_vfunc_callback(ed82b6d86e7309af).(GstBaseTransformcxx . . $ GstBaseTransform#* self, gboolean is_discont, GstBuffer* input) |
| 963 | { |
| 964 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 965 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 966 | |
| 967 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 968 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 969 | // generated classes can use this optimisation, which avoids the unnecessary |
| 970 | // parameter conversions if there is no possibility of the virtual function |
| 971 | // being overridden: |
| 972 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 973 | { |
| 974 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseTransform_Class#CppObjectType#* const>(obj_base); |
| 975 | if(obj) // This can be NULL during destruction. |
| 976 | { |
| 977 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 978 | { |
| 979 | // Call the virtual member method, which derived classes might override. |
| 980 | return ((GstFlowReturn)(obj->submit_input_buffer_vfunccxx . . $ Gst/BaseTransform#submit_input_buffer_vfunc(d4b085e6a3f19b13).(is_discont |
| 981 | , Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(input, true) |
| 982 | ))); |
| 983 | } |
| 984 | catch(...) |
| 985 | { |
| 986 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 987 | } |
| 988 | } |
| 989 | } |
| 990 | |
| 991 | BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType#*>( |
| 992 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 993 | ); |
| 994 | |
| 995 | // Call the original underlying C function: |
| 996 | if(base && base->submit_input_buffercxx . . $ _GstBaseTransformClass#submit_input_buffer.) |
| 997 | return (*base->submit_input_buffercxx . . $ _GstBaseTransformClass#submit_input_buffer.)(self, is_discont, input); |
| 998 | |
| 999 | using RTypecxx . . $ Gst/BaseTransform_Class#submit_input_buffer_vfunc_callback(ed82b6d86e7309af).RType# = GstFlowReturn; |
| 1000 | return RTypecxx . . $ Gst/BaseTransform_Class#submit_input_buffer_vfunc_callback(ed82b6d86e7309af).RType#(); |
| 1001 | } |
| 1002 | gboolean BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::copy_metadata_vfunc_callbackcxx . . $ Gst/BaseTransform_Class#copy_metadata_vfunc_callback(f68a27d8079b1f87).(GstBaseTransformcxx . . $ GstBaseTransform#* self, GstBuffer* input, GstBuffer* outbuf) |
| 1003 | { |
| 1004 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 1005 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 1006 | |
| 1007 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 1008 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 1009 | // generated classes can use this optimisation, which avoids the unnecessary |
| 1010 | // parameter conversions if there is no possibility of the virtual function |
| 1011 | // being overridden: |
| 1012 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 1013 | { |
| 1014 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/BaseTransform_Class#CppObjectType#* const>(obj_base); |
| 1015 | if(obj) // This can be NULL during destruction. |
| 1016 | { |
| 1017 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 1018 | { |
| 1019 | // Call the virtual member method, which derived classes might override. |
| 1020 | return static_cast<int>(obj->copy_metadata_vfunccxx . . $ Gst/BaseTransform#copy_metadata_vfunc(1a63a105f7944b35).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(input, true) |
| 1021 | , Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(outbuf, true) |
| 1022 | )); |
| 1023 | } |
| 1024 | catch(...) |
| 1025 | { |
| 1026 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 1027 | } |
| 1028 | } |
| 1029 | } |
| 1030 | |
| 1031 | BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform_Class#BaseClassType#*>( |
| 1032 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 1033 | ); |
| 1034 | |
| 1035 | // Call the original underlying C function: |
| 1036 | if(base && base->copy_metadatacxx . . $ _GstBaseTransformClass#copy_metadata.) |
| 1037 | return (*base->copy_metadatacxx . . $ _GstBaseTransformClass#copy_metadata.)(self, input, outbuf); |
| 1038 | |
| 1039 | using RTypecxx . . $ Gst/BaseTransform_Class#copy_metadata_vfunc_callback(f68a27d8079b1f87).RType# = gboolean; |
| 1040 | return RTypecxx . . $ Gst/BaseTransform_Class#copy_metadata_vfunc_callback(f68a27d8079b1f87).RType#(); |
| 1041 | } |
| 1042 | |
| 1043 | |
| 1044 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* BaseTransform_Classcxx . . $ Gst/BaseTransform_Class#::wrap_newcxx . . $ Gst/BaseTransform_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object) |
| 1045 | { |
| 1046 | return new BaseTransformcxx . . $ Gst/BaseTransform#((GstBaseTransformcxx . . $ GstBaseTransform#*)object); |
| 1047 | } |
| 1048 | |
| 1049 | |
| 1050 | /* The implementation: */ |
| 1051 | |
| 1052 | GstBaseTransformcxx . . $ GstBaseTransform#* BaseTransformcxx . . $ Gst/BaseTransform#::gobj_copycxx . . $ Gst/BaseTransform#gobj_copy(4b4de85b63932b07).() |
| 1053 | { |
| 1054 | referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 1055 | return gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(); |
| 1056 | } |
| 1057 | |
| 1058 | BaseTransformcxx . . $ Gst/BaseTransform#::BaseTransformcxx . . $ Gst/BaseTransform#BaseTransform(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params) |
| 1059 | : |
| 1060 | Elementcxx . . $ Gst/Element#Element(237165b4a42a691a).(construct_params) |
| 1061 | { |
| 1062 | |
| 1063 | } |
| 1064 | |
| 1065 | BaseTransformcxx . . $ Gst/BaseTransform#::BaseTransformcxx . . $ Gst/BaseTransform#BaseTransform(94c589df0126a00c).(GstBaseTransformcxx . . $ GstBaseTransform#* castitem) |
| 1066 | : |
| 1067 | Elementcxx . . $ Gst/Element#Element(175aa13ace29d0d5).((GstElementcxx . . $ GstElement#*)(castitem)) |
| 1068 | {} |
| 1069 | |
| 1070 | |
| 1071 | BaseTransformcxx . . $ Gst/BaseTransform#::BaseTransformcxx . . $ Gst/BaseTransform#BaseTransform(d2f59631ca9e9e6b).(BaseTransformcxx . . $ Gst/BaseTransform#&& src) noexcept |
| 1072 | : Elementcxx . . $ Gst/Element#Element(9bd74731f3b9d759).(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)) |
| 1073 | {} |
| 1074 | |
| 1075 | BaseTransformcxx . . $ Gst/BaseTransform#& BaseTransformcxx . . $ Gst/BaseTransform#::operatorcxx . . $ Gst/BaseTransform#`operator=`(3647634224484520).=(BaseTransformcxx . . $ Gst/BaseTransform#&& src) noexcept |
| 1076 | { |
| 1077 | Elementcxx . . $ Gst/Element#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)); |
| 1078 | return *this; |
| 1079 | } |
| 1080 | |
| 1081 | |
| 1082 | BaseTransformcxx . . $ Gst/BaseTransform#::~cxx . . $ Gst/BaseTransform#`~BaseTransform`(ced63f7c635d850d).BaseTransformcxx . . $ Gst/BaseTransform#() noexcept |
| 1083 | {} |
| 1084 | |
| 1085 | |
| 1086 | BaseTransformcxx . . $ Gst/BaseTransform#::CppClassTypecxx . . $ Gst/BaseTransform#CppClassType# BaseTransformcxx . . $ Gst/BaseTransform#::basetransform_class_cxx . . $ Gst/BaseTransform#basetransform_class_.; // initialize static member |
| 1087 | |
| 1088 | GType BaseTransformcxx . . $ Gst/BaseTransform#::get_typecxx . . $ Gst/BaseTransform#get_type(f708dce9a8856c70).() |
| 1089 | { |
| 1090 | return basetransform_class_cxx . . $ Gst/BaseTransform#basetransform_class_..initcxx . . $ Gst/BaseTransform_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).(); |
| 1091 | } |
| 1092 | |
| 1093 | |
| 1094 | GType BaseTransformcxx . . $ Gst/BaseTransform#::get_base_typecxx . . $ Gst/BaseTransform#get_base_type(f708dce9a8856c70).() |
| 1095 | { |
| 1096 | return gst_base_transform_get_type(); |
| 1097 | } |
| 1098 | |
| 1099 | |
| 1100 | bool BaseTransformcxx . . $ Gst/BaseTransform#::is_passthroughcxx . . $ Gst/BaseTransform#is_passthrough(50ce9a9e25b4a850).() const |
| 1101 | { |
| 1102 | return gst_base_transform_is_passthrough(const_cast<GstBaseTransformcxx . . $ GstBaseTransform#*>(gobjcxx . . $ Gst/BaseTransform#gobj(20cbb71fb525e729).())); |
| 1103 | } |
| 1104 | |
| 1105 | void BaseTransformcxx . . $ Gst/BaseTransform#::set_passthroughcxx . . $ Gst/BaseTransform#set_passthrough(b45ddcbc8423892c).(bool passthrough) |
| 1106 | { |
| 1107 | gst_base_transform_set_passthrough(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(), static_cast<int>(passthrough)); |
| 1108 | } |
| 1109 | |
| 1110 | bool BaseTransformcxx . . $ Gst/BaseTransform#::is_in_placecxx . . $ Gst/BaseTransform#is_in_place(50ce9a9e25b4a850).() const |
| 1111 | { |
| 1112 | return gst_base_transform_is_in_place(const_cast<GstBaseTransformcxx . . $ GstBaseTransform#*>(gobjcxx . . $ Gst/BaseTransform#gobj(20cbb71fb525e729).())); |
| 1113 | } |
| 1114 | |
| 1115 | void BaseTransformcxx . . $ Gst/BaseTransform#::set_in_placecxx . . $ Gst/BaseTransform#set_in_place(b45ddcbc8423892c).(bool in_place) |
| 1116 | { |
| 1117 | gst_base_transform_set_in_place(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(), static_cast<int>(in_place)); |
| 1118 | } |
| 1119 | |
| 1120 | bool BaseTransformcxx . . $ Gst/BaseTransform#::is_qos_enabledcxx . . $ Gst/BaseTransform#is_qos_enabled(50ce9a9e25b4a850).() const |
| 1121 | { |
| 1122 | return gst_base_transform_is_qos_enabled(const_cast<GstBaseTransformcxx . . $ GstBaseTransform#*>(gobjcxx . . $ Gst/BaseTransform#gobj(20cbb71fb525e729).())); |
| 1123 | } |
| 1124 | |
| 1125 | void BaseTransformcxx . . $ Gst/BaseTransform#::set_qos_enabledcxx . . $ Gst/BaseTransform#set_qos_enabled(b45ddcbc8423892c).(bool enabled) |
| 1126 | { |
| 1127 | gst_base_transform_set_qos_enabled(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(), static_cast<int>(enabled)); |
| 1128 | } |
| 1129 | |
| 1130 | void BaseTransformcxx . . $ Gst/BaseTransform#::update_qoscxx . . $ Gst/BaseTransform#update_qos(d56e861649f2c542).(double proportion, Gstcxx . . $ Gst/::ClockTimeDiffcxx . . $ Gst/ClockTimeDiff# diff, Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# timestamp) |
| 1131 | { |
| 1132 | gst_base_transform_update_qos(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(), proportion, GstClockTimeDiff(diff), ((GstClockTime)(timestamp))); |
| 1133 | } |
| 1134 | |
| 1135 | void BaseTransformcxx . . $ Gst/BaseTransform#::set_gap_awarecxx . . $ Gst/BaseTransform#set_gap_aware(b45ddcbc8423892c).(bool gap_aware) |
| 1136 | { |
| 1137 | gst_base_transform_set_gap_aware(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(), static_cast<int>(gap_aware)); |
| 1138 | } |
| 1139 | |
| 1140 | void BaseTransformcxx . . $ Gst/BaseTransform#::reconfigure_sinkcxx . . $ Gst/BaseTransform#reconfigure_sink(49f6e7a06ebc5aa8).() |
| 1141 | { |
| 1142 | gst_base_transform_reconfigure_sink(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).()); |
| 1143 | } |
| 1144 | |
| 1145 | void BaseTransformcxx . . $ Gst/BaseTransform#::reconfigure_srccxx . . $ Gst/BaseTransform#reconfigure_src(49f6e7a06ebc5aa8).() |
| 1146 | { |
| 1147 | gst_base_transform_reconfigure_src(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).()); |
| 1148 | } |
| 1149 | |
| 1150 | void BaseTransformcxx . . $ Gst/BaseTransform#::set_prefer_passthroughcxx . . $ Gst/BaseTransform#set_prefer_passthrough(b45ddcbc8423892c).(bool prefer_passthrough) |
| 1151 | { |
| 1152 | gst_base_transform_set_prefer_passthrough(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(), static_cast<int>(prefer_passthrough)); |
| 1153 | } |
| 1154 | |
| 1155 | bool BaseTransformcxx . . $ Gst/BaseTransform#::update_src_capscxx . . $ Gst/BaseTransform#update_src_caps(d71e2c92ee80648b).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& updated_caps) |
| 1156 | { |
| 1157 | return gst_base_transform_update_src_caps(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(updated_caps)); |
| 1158 | } |
| 1159 | |
| 1160 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> BaseTransformcxx . . $ Gst/BaseTransform#::get_sink_padcxx . . $ Gst/BaseTransform#get_sink_pad(933c6ba9162839d3).() |
| 1161 | { |
| 1162 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> ref_ptr(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).()->sinkpadcxx . . $ _GstBaseTransform#sinkpad.)); |
| 1163 | |
| 1164 | if(ref_ptr) |
| 1165 | ref_ptr->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 1166 | |
| 1167 | return ref_ptrcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).; |
| 1168 | } |
| 1169 | |
| 1170 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> BaseTransformcxx . . $ Gst/BaseTransform#::get_sink_padcxx . . $ Gst/BaseTransform#get_sink_pad(dca65d54e9e25cdd).() const |
| 1171 | { |
| 1172 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> ref_ptrcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(gobjcxx . . $ Gst/BaseTransform#gobj(20cbb71fb525e729).()->sinkpadcxx . . $ _GstBaseTransform#sinkpad.)); |
| 1173 | |
| 1174 | if(ref_ptr) |
| 1175 | ref_ptr->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 1176 | |
| 1177 | return ref_ptrcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).; |
| 1178 | } |
| 1179 | |
| 1180 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> BaseTransformcxx . . $ Gst/BaseTransform#::get_src_padcxx . . $ Gst/BaseTransform#get_src_pad(933c6ba9162839d3).() |
| 1181 | { |
| 1182 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> ref_ptr(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).()->srcpadcxx . . $ _GstBaseTransform#srcpad.)); |
| 1183 | |
| 1184 | if(ref_ptr) |
| 1185 | ref_ptr->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 1186 | |
| 1187 | return ref_ptrcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).; |
| 1188 | } |
| 1189 | |
| 1190 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> BaseTransformcxx . . $ Gst/BaseTransform#::get_src_padcxx . . $ Gst/BaseTransform#get_src_pad(dca65d54e9e25cdd).() const |
| 1191 | { |
| 1192 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Padcxx . . $ Gst/Pad#> ref_ptrcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(f876ccea82ec9b6e).(gobjcxx . . $ Gst/BaseTransform#gobj(20cbb71fb525e729).()->srcpadcxx . . $ _GstBaseTransform#srcpad.)); |
| 1193 | |
| 1194 | if(ref_ptr) |
| 1195 | ref_ptr->cxx . . $ Glib/RefPtr#`operator->`(34d6acfd341ba7ab).referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 1196 | |
| 1197 | return ref_ptrcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).; |
| 1198 | } |
| 1199 | |
| 1200 | |
| 1201 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< bool > BaseTransformcxx . . $ Gst/BaseTransform#::property_qoscxx . . $ Gst/BaseTransform#property_qos(962e4b383dc974dc).() |
| 1202 | { |
| 1203 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< bool >(this, "qos"); |
| 1204 | } |
| 1205 | |
| 1206 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool > BaseTransformcxx . . $ Gst/BaseTransform#::property_qoscxx . . $ Gst/BaseTransform#property_qos(bb701360c56d84c7).() const |
| 1207 | { |
| 1208 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool >(this, "qos"); |
| 1209 | } |
| 1210 | |
| 1211 | |
| 1212 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#::transform_caps_vfunccxx . . $ Gst/BaseTransform#transform_caps_vfunc(66b82210e894f08e).(PadDirectioncxx . . $ Gst/PadDirection# direction, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& filter) |
| 1213 | { |
| 1214 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform#BaseClassType#*>( |
| 1215 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1216 | ); |
| 1217 | |
| 1218 | if(base && base->transform_capscxx . . $ _GstBaseTransformClass#transform_caps.) |
| 1219 | { |
| 1220 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> retval(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).((*base->transform_capscxx . . $ _GstBaseTransformClass#transform_caps.)(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(),((GstPadDirection)(direction)),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(caps),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(filter)))); |
| 1221 | return retvalcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).; |
| 1222 | } |
| 1223 | |
| 1224 | using RTypecxx . . $ Gst/BaseTransform#transform_caps_vfunc(66b82210e894f08e).RType# = Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>; |
| 1225 | return RTypecxx . . $ Glib/RefPtr#RefPtr(ced63f7c635d850d).(); |
| 1226 | } |
| 1227 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#::fixate_caps_vfunccxx . . $ Gst/BaseTransform#fixate_caps_vfunc(66b82210e894f08e).(PadDirectioncxx . . $ Gst/PadDirection# direction, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& othercaps) |
| 1228 | { |
| 1229 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform#BaseClassType#*>( |
| 1230 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1231 | ); |
| 1232 | |
| 1233 | if(base && base->fixate_capscxx . . $ _GstBaseTransformClass#fixate_caps.) |
| 1234 | { |
| 1235 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> retval(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).((*base->fixate_capscxx . . $ _GstBaseTransformClass#fixate_caps.)(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(),((GstPadDirection)(direction)),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(caps),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(othercaps)))); |
| 1236 | return retvalcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).; |
| 1237 | } |
| 1238 | |
| 1239 | using RTypecxx . . $ Gst/BaseTransform#fixate_caps_vfunc(66b82210e894f08e).RType# = Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>; |
| 1240 | return RTypecxx . . $ Glib/RefPtr#RefPtr(ced63f7c635d850d).(); |
| 1241 | } |
| 1242 | bool Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#::get_unit_size_vfunccxx . . $ Gst/BaseTransform#get_unit_size_vfunc(b7d2dd3e6ad1d51b).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps, gsize& size) const |
| 1243 | { |
| 1244 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform#BaseClassType#*>( |
| 1245 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1246 | ); |
| 1247 | |
| 1248 | if(base && base->get_unit_sizecxx . . $ _GstBaseTransformClass#get_unit_size.) |
| 1249 | { |
| 1250 | bool retval((*base->get_unit_sizecxx . . $ _GstBaseTransformClass#get_unit_size.)(const_cast<GstBaseTransformcxx . . $ GstBaseTransform#*>(gobjcxx . . $ Gst/BaseTransform#gobj(20cbb71fb525e729).()),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(caps),&(size))); |
| 1251 | return retval; |
| 1252 | } |
| 1253 | |
| 1254 | using RTypecxx . . $ Gst/BaseTransform#get_unit_size_vfunc(b7d2dd3e6ad1d51b).RType# = bool; |
| 1255 | return RTypecxx . . $ Gst/BaseTransform#get_unit_size_vfunc(b7d2dd3e6ad1d51b).RType#(); |
| 1256 | } |
| 1257 | bool Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#::set_caps_vfunccxx . . $ Gst/BaseTransform#set_caps_vfunc(a2bca148d109fcf6).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& incaps, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& outcaps) |
| 1258 | { |
| 1259 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform#BaseClassType#*>( |
| 1260 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1261 | ); |
| 1262 | |
| 1263 | if(base && base->set_capscxx . . $ _GstBaseTransformClass#set_caps.) |
| 1264 | { |
| 1265 | bool retval((*base->set_capscxx . . $ _GstBaseTransformClass#set_caps.)(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(incaps),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(outcaps))); |
| 1266 | return retval; |
| 1267 | } |
| 1268 | |
| 1269 | return true; |
| 1270 | } |
| 1271 | FlowReturncxx . . $ Gst/FlowReturn# Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#::transform_ip_vfunccxx . . $ Gst/BaseTransform#transform_ip_vfunc(a9092e90601b697e).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& buf) |
| 1272 | { |
| 1273 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform#BaseClassType#*>( |
| 1274 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1275 | ); |
| 1276 | |
| 1277 | if(base && base->transform_ipcxx . . $ _GstBaseTransformClass#transform_ip.) |
| 1278 | { |
| 1279 | FlowReturncxx . . $ Gst/FlowReturn# retval(((FlowReturncxx . . $ Gst/FlowReturn#)((*base->transform_ipcxx . . $ _GstBaseTransformClass#transform_ip.)(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(buf))))); |
| 1280 | return retval; |
| 1281 | } |
| 1282 | |
| 1283 | using RTypecxx . . $ Gst/BaseTransform#transform_ip_vfunc(a9092e90601b697e).RType# = FlowReturncxx . . $ Gst/FlowReturn#; |
| 1284 | return RTypecxx . . $ Gst/BaseTransform#transform_ip_vfunc(a9092e90601b697e).RType#(); |
| 1285 | } |
| 1286 | bool Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#::src_event_vfunccxx . . $ Gst/BaseTransform#src_event_vfunc(2055ffde69ae5030).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#>& event) |
| 1287 | { |
| 1288 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform#BaseClassType#*>( |
| 1289 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1290 | ); |
| 1291 | |
| 1292 | if(base && base->src_eventcxx . . $ _GstBaseTransformClass#src_event.) |
| 1293 | { |
| 1294 | bool retval((*base->src_eventcxx . . $ _GstBaseTransformClass#src_event.)(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(event))); |
| 1295 | return retval; |
| 1296 | } |
| 1297 | |
| 1298 | using RTypecxx . . $ Gst/BaseTransform#src_event_vfunc(2055ffde69ae5030).RType# = bool; |
| 1299 | return RTypecxx . . $ Gst/BaseTransform#src_event_vfunc(2055ffde69ae5030).RType#(); |
| 1300 | } |
| 1301 | bool Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#::sink_event_vfunccxx . . $ Gst/BaseTransform#sink_event_vfunc(2055ffde69ae5030).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#>& event) |
| 1302 | { |
| 1303 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform#BaseClassType#*>( |
| 1304 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1305 | ); |
| 1306 | |
| 1307 | if(base && base->sink_eventcxx . . $ _GstBaseTransformClass#sink_event.) |
| 1308 | { |
| 1309 | bool retval((*base->sink_eventcxx . . $ _GstBaseTransformClass#sink_event.)(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(event))); |
| 1310 | return retval; |
| 1311 | } |
| 1312 | |
| 1313 | using RTypecxx . . $ Gst/BaseTransform#sink_event_vfunc(2055ffde69ae5030).RType# = bool; |
| 1314 | return RTypecxx . . $ Gst/BaseTransform#sink_event_vfunc(2055ffde69ae5030).RType#(); |
| 1315 | } |
| 1316 | void Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#::before_transform_vfunccxx . . $ Gst/BaseTransform#before_transform_vfunc(1c92f0efcb0d0a9f).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& buffer) |
| 1317 | { |
| 1318 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform#BaseClassType#*>( |
| 1319 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1320 | ); |
| 1321 | |
| 1322 | if(base && base->before_transformcxx . . $ _GstBaseTransformClass#before_transform.) |
| 1323 | { |
| 1324 | (*base->before_transformcxx . . $ _GstBaseTransformClass#before_transform.)(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(buffer)); |
| 1325 | } |
| 1326 | } |
| 1327 | bool Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#::accept_caps_vfunccxx . . $ Gst/BaseTransform#accept_caps_vfunc(e95691030dbf8ac6).(PadDirectioncxx . . $ Gst/PadDirection# direction, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps) |
| 1328 | { |
| 1329 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform#BaseClassType#*>( |
| 1330 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1331 | ); |
| 1332 | |
| 1333 | if(base && base->accept_capscxx . . $ _GstBaseTransformClass#accept_caps.) |
| 1334 | { |
| 1335 | bool retval((*base->accept_capscxx . . $ _GstBaseTransformClass#accept_caps.)(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(),((GstPadDirection)(direction)),const_cast<GstCaps*>(Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(1fce0cab713be4a0).(caps)))); |
| 1336 | return retval; |
| 1337 | } |
| 1338 | |
| 1339 | using RTypecxx . . $ Gst/BaseTransform#accept_caps_vfunc(e95691030dbf8ac6).RType# = bool; |
| 1340 | return RTypecxx . . $ Gst/BaseTransform#accept_caps_vfunc(e95691030dbf8ac6).RType#(); |
| 1341 | } |
| 1342 | bool Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#::start_vfunccxx . . $ Gst/BaseTransform#start_vfunc(c9857a73d68e59ba).() |
| 1343 | { |
| 1344 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform#BaseClassType#*>( |
| 1345 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1346 | ); |
| 1347 | |
| 1348 | if(base && base->startcxx . . $ _GstBaseTransformClass#start.) |
| 1349 | { |
| 1350 | bool retval((*base->startcxx . . $ _GstBaseTransformClass#start.)(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).())); |
| 1351 | return retval; |
| 1352 | } |
| 1353 | |
| 1354 | return true; |
| 1355 | } |
| 1356 | bool Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#::stop_vfunccxx . . $ Gst/BaseTransform#stop_vfunc(c9857a73d68e59ba).() |
| 1357 | { |
| 1358 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform#BaseClassType#*>( |
| 1359 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1360 | ); |
| 1361 | |
| 1362 | if(base && base->stopcxx . . $ _GstBaseTransformClass#stop.) |
| 1363 | { |
| 1364 | bool retval((*base->stopcxx . . $ _GstBaseTransformClass#stop.)(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).())); |
| 1365 | return retval; |
| 1366 | } |
| 1367 | |
| 1368 | return true; |
| 1369 | } |
| 1370 | bool Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#::filter_meta_vfunccxx . . $ Gst/BaseTransform#filter_meta_vfunc(28e670992d06bc2e).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Querycxx . . $ Gst/Query#>& query, GType api, const Gstcxx . . $ Gst/::Structurecxx . . $ Gst/Structure#& params) |
| 1371 | { |
| 1372 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform#BaseClassType#*>( |
| 1373 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1374 | ); |
| 1375 | |
| 1376 | if(base && base->filter_metacxx . . $ _GstBaseTransformClass#filter_meta.) |
| 1377 | { |
| 1378 | bool retval((*base->filter_metacxx . . $ _GstBaseTransformClass#filter_meta.)(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(query),api,params.gobjcxx . . $ Gst/Structure#gobj(551778976bc023aa).())); |
| 1379 | return retval; |
| 1380 | } |
| 1381 | |
| 1382 | return true; |
| 1383 | } |
| 1384 | Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn# Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#::submit_input_buffer_vfunccxx . . $ Gst/BaseTransform#submit_input_buffer_vfunc(d4b085e6a3f19b13).(bool is_discont, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& input) |
| 1385 | { |
| 1386 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform#BaseClassType#*>( |
| 1387 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1388 | ); |
| 1389 | |
| 1390 | if(base && base->submit_input_buffercxx . . $ _GstBaseTransformClass#submit_input_buffer.) |
| 1391 | { |
| 1392 | Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn# retval(((Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn#)((*base->submit_input_buffercxx . . $ _GstBaseTransformClass#submit_input_buffer.)(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(),static_cast<int>(is_discont),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(input))))); |
| 1393 | return retval; |
| 1394 | } |
| 1395 | |
| 1396 | using RTypecxx . . $ Gst/BaseTransform#submit_input_buffer_vfunc(d4b085e6a3f19b13).RType# = Gstcxx . . $ Gst/::FlowReturncxx . . $ Gst/FlowReturn#; |
| 1397 | return RTypecxx . . $ Gst/BaseTransform#submit_input_buffer_vfunc(d4b085e6a3f19b13).RType#(); |
| 1398 | } |
| 1399 | bool Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#::copy_metadata_vfunccxx . . $ Gst/BaseTransform#copy_metadata_vfunc(1a63a105f7944b35).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& input, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& outbuf) |
| 1400 | { |
| 1401 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/BaseTransform#BaseClassType#*>( |
| 1402 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 1403 | ); |
| 1404 | |
| 1405 | if(base && base->copy_metadatacxx . . $ _GstBaseTransformClass#copy_metadata.) |
| 1406 | { |
| 1407 | bool retval((*base->copy_metadatacxx . . $ _GstBaseTransformClass#copy_metadata.)(gobjcxx . . $ Gst/BaseTransform#gobj(4b4de85b63932b07).(),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(input),Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(outbuf))); |
| 1408 | return retval; |
| 1409 | } |
| 1410 | |
| 1411 | using RTypecxx . . $ Gst/BaseTransform#copy_metadata_vfunc(1a63a105f7944b35).RType# = bool; |
| 1412 | return RTypecxx . . $ Gst/BaseTransform#copy_metadata_vfunc(1a63a105f7944b35).RType#(); |
| 1413 | } |
| 1414 | |
| 1415 | |
| 1416 | } // namespace Gst |
| 1417 | |
| 1418 |