Merge branch 'upstream/1.16' into tizen_gst_1.16.2
[platform/upstream/gst-plugins-base.git] / gst-libs / gst / video / videooverlay.h
index ac60eb7..1e6e829 100644 (file)
@@ -23,6 +23,7 @@
 #define __GST_VIDEO_OVERLAY_H__
 
 #include <gst/gst.h>
+#include <gst/video/gstvideosink.h>
 
 G_BEGIN_DECLS
 
@@ -66,7 +67,7 @@ struct _GstVideoOverlayInterface {
                                 gint width, gint height);
 
   void (*set_window_handle)    (GstVideoOverlay *overlay, guintptr handle);
-
+#ifdef TIZEN_FEATURE_WAYLAND_ENHANCEMENT
   void (*set_wl_window_wl_surface_id)   (GstVideoOverlay * overlay, gint wl_surface_id);
 
   void (*set_display_roi_area) (GstVideoOverlay *overlay,
@@ -76,44 +77,68 @@ struct _GstVideoOverlayInterface {
   void (*set_video_roi_area)   (GstVideoOverlay *overlay,
                                 gdouble x_scale, gdouble y_scale,
                                 gdouble w_scale, gdouble h_scale);
+#endif
 };
 
+GST_VIDEO_API
 GType   gst_video_overlay_get_type (void);
 
 /* virtual function wrappers */
 
+GST_VIDEO_API
 gboolean        gst_video_overlay_set_render_rectangle  (GstVideoOverlay * overlay,
                                                          gint              x,
                                                          gint              y,
                                                          gint              width,
                                                          gint              height);
 
+GST_VIDEO_API
 void            gst_video_overlay_expose                (GstVideoOverlay * overlay);
 
+GST_VIDEO_API
 void            gst_video_overlay_handle_events         (GstVideoOverlay * overlay,
                                                          gboolean          handle_events);
 
+GST_VIDEO_API
 void            gst_video_overlay_set_window_handle     (GstVideoOverlay * overlay,
                                                          guintptr handle);
 
 /* public methods to dispatch bus messages */
+
+GST_VIDEO_API
 void            gst_video_overlay_got_window_handle     (GstVideoOverlay * overlay,
                                                          guintptr          handle);
 
+GST_VIDEO_API
 void            gst_video_overlay_prepare_window_handle (GstVideoOverlay * overlay);
 
+GST_VIDEO_API
 gboolean        gst_is_video_overlay_prepare_window_handle_message (GstMessage * msg);
 
+GST_VIDEO_API
+void            gst_video_overlay_install_properties    (GObjectClass    * oclass,
+                                                         gint              last_prop_id);
+
+GST_VIDEO_API
+gboolean        gst_video_overlay_set_property          (GObject         * object,
+                                                         gint              last_prop_id,
+                                                         guint             property_id,
+                                                         const GValue    * value);
+#ifdef TIZEN_FEATURE_WAYLAND_ENHANCEMENT
+GST_VIDEO_API
 void gst_video_overlay_set_wl_window_wl_surface_id (GstVideoOverlay * overlay,
     gint wl_surface_id);
 
+GST_VIDEO_API
 gboolean gst_video_overlay_set_display_roi_area         (GstVideoOverlay * overlay,
                                                          gint x, gint y,
                                                          gint width, gint height);
+
+GST_VIDEO_API
 gboolean gst_video_overlay_set_video_roi_area           (GstVideoOverlay * overlay,
                                                          gdouble x_scale, gdouble y_scale,
                                                          gdouble w_scale, gdouble h_scale);
-
+#endif
 G_END_DECLS
 
 #endif /* __GST_VIDEO_OVERLAY_H__ */