#include <wayland-client.h>
#include "scaler-client-protocol.h"
+G_BEGIN_DECLS
+
#define GST_TYPE_WL_DISPLAY (gst_wl_display_get_type ())
#define GST_WL_DISPLAY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_WL_DISPLAY, GstWlDisplay))
#define GST_IS_WL_DISPLAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_WL_DISPLAY))
GstWlDisplay *gst_wl_display_new_existing (struct wl_display * display,
gboolean take_ownership, GError ** error);
+G_END_DECLS
+
#endif /* __GST_WL_DISPLAY_H__ */
#include <wayland-client.h>
#include <gst/video/video.h>
+G_BEGIN_DECLS
+
enum wl_shm_format gst_video_format_to_wayland_format (GstVideoFormat format);
GstVideoFormat gst_wayland_format_to_video_format (enum wl_shm_format wl_format);
const gchar *gst_wayland_format_to_string (enum wl_shm_format wl_format);
+G_END_DECLS
+
#endif
#include "wldisplay.h"
+G_BEGIN_DECLS
+
#define GST_TYPE_WL_WINDOW (gst_wl_window_get_type ())
#define GST_WL_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_WL_WINDOW, GstWlWindow))
#define GST_IS_WL_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_WL_WINDOW))
void gst_wl_window_set_size (GstWlWindow * window, gint w, gint h);
+G_END_DECLS
+
#endif /* __GST_WL_WINDOW_H__ */