1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY! 2 #ifndef _GSTREAMERMM_BASETRANSFORM_P_H 3 #define _GSTREAMERMM_BASETRANSFORM_P_H 4 5 6 #include <glibmm/class.h> 7 8 namespace Gst 9 { 10 11 class BaseTransform_Class : public Glib::Class 12 { 13 public: 14 #ifndef DOXYGEN_SHOULD_SKIP_THIS 15 using CppObjectType = BaseTransform; 16 using BaseObjectType = GstBaseTransform; 17 using BaseClassType = GstBaseTransformClass; 18 using CppClassParent = Element_Class; 19 using BaseClassParent = GstElementClass; 20 21 friend class BaseTransform; 22 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 23 24 const Glib::Class& init(); 25 26 27 static void class_init_function(void* g_class, void* class_data); 28 29 static Glib::ObjectBase* wrap_new(GObject*); 30 31 protected: 32 33 //Callbacks (default signal handlers): 34 //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any. 35 //You could prevent the original default signal handlers being called by overriding the *_impl method. 36 37 //Callbacks (virtual functions): 38 static GstCaps* transform_caps_vfunc_callback(GstBaseTransform* self, GstPadDirection direction, GstCaps* caps, GstCaps* filter); 39 static GstCaps* fixate_caps_vfunc_callback(GstBaseTransform* self, GstPadDirection direction, GstCaps* caps, GstCaps* othercaps); 40 static gboolean get_unit_size_vfunc_callback(GstBaseTransform* self, GstCaps* caps, gsize* size); 41 static gboolean set_caps_vfunc_callback(GstBaseTransform* self, GstCaps* incaps, GstCaps* outcaps); 42 static GstFlowReturn transform_ip_vfunc_callback(GstBaseTransform* self, GstBuffer* buf); 43 static gboolean src_event_vfunc_callback(GstBaseTransform* self, GstEvent* event); 44 static gboolean sink_event_vfunc_callback(GstBaseTransform* self, GstEvent* event); 45 static void before_transform_vfunc_callback(GstBaseTransform* self, GstBuffer* buffer); 46 static gboolean accept_caps_vfunc_callback(GstBaseTransform* self, GstPadDirection direction, GstCaps* caps); 47 static gboolean start_vfunc_callback(GstBaseTransform* self); 48 static gboolean stop_vfunc_callback(GstBaseTransform* self); 49 static gboolean filter_meta_vfunc_callback(GstBaseTransform* self, GstQuery* query, GType api, const GstStructure* params); 50 static GstFlowReturn submit_input_buffer_vfunc_callback(GstBaseTransform* self, gboolean is_discont, GstBuffer* input); 51 static gboolean copy_metadata_vfunc_callback(GstBaseTransform* self, GstBuffer* input, GstBuffer* outbuf); 52 static GstFlowReturn prepare_output_buffer_vfunc_callback(GstBaseTransform* self, GstBuffer* input, GstBuffer** buf); 53 static GstFlowReturn transform_vfunc_callback(GstBaseTransform* self, GstBuffer* inbuf, GstBuffer* outbuf); 54 static GstFlowReturn generate_output_vfunc_callback(GstBaseTransform* self, GstBuffer** outbuf); 55 static gboolean query_vfunc_callback(GstBaseTransform* self, GstPadDirection direction, GstQuery* query); 56 static gboolean propose_allocation_vfunc_callback(GstBaseTransform* self, GstQuery* decide_query, GstQuery* query); 57 static gboolean decide_allocation_vfunc_callback(GstBaseTransform* self, GstQuery* query); 58 }; 59 60 61 } // namespace Gst 62 63 #include <gstreamermm/private/element_p.h> 64 65 66 #endif /* _GSTREAMERMM_BASETRANSFORM_P_H */ 67 68