gstxoverlay

gstxoverlay

Functions

Types and Values

Object Hierarchy

    GInterface
    ╰── GstXOverlay

Prerequisites

GstXOverlay requires GstImplementsInterface and GstElement.

Includes

#include <gst/interfaces/xoverlay.h>

Description

Functions

gst_x_overlay_set_xwindow_id ()

void
gst_x_overlay_set_xwindow_id (GstXOverlay *overlay,
                              gulong xwindow_id);

gst_x_overlay_set_xwindow_id is deprecated and should not be used in newly-written code.


gst_x_overlay_got_xwindow_id ()

void
gst_x_overlay_got_xwindow_id (GstXOverlay *overlay,
                              gulong xwindow_id);

gst_x_overlay_got_xwindow_id is deprecated and should not be used in newly-written code.


gst_x_overlay_got_window_handle ()

void
gst_x_overlay_got_window_handle (GstXOverlay *overlay,
                                 guintptr handle);

gst_x_overlay_set_window_handle ()

void
gst_x_overlay_set_window_handle (GstXOverlay *overlay,
                                 guintptr handle);

gst_x_overlay_prepare_xwindow_id ()

void
gst_x_overlay_prepare_xwindow_id (GstXOverlay *overlay);

gst_x_overlay_expose ()

void
gst_x_overlay_expose (GstXOverlay *overlay);

gst_x_overlay_handle_events ()

void
gst_x_overlay_handle_events (GstXOverlay *overlay,
                             gboolean handle_events);

gst_x_overlay_set_render_rectangle ()

gboolean
gst_x_overlay_set_render_rectangle (GstXOverlay *overlay,
                                    gint x,
                                    gint y,
                                    gint width,
                                    gint height);

Types and Values

GstXOverlay

typedef struct _GstXOverlay GstXOverlay;

struct GstXOverlayClass

struct GstXOverlayClass {
  GTypeInterface klass;

  /* virtual functions */
#ifndef GST_DISABLE_DEPRECATED
  void (* set_xwindow_id)      (GstXOverlay *overlay,
                                gulong       xwindow_id);
#else
#endif
#endif /* not GST_DISABLE_DEPRECATED */

  void (* expose)              (GstXOverlay *overlay);

  void (* handle_events)       (GstXOverlay *overlay,
                                gboolean     handle_events);

  void (* set_render_rectangle) (GstXOverlay *overlay,
                                 gint x, gint y,
                                 gint width, gint height);

  void (* set_window_handle)   (GstXOverlay *overlay,
                                guintptr    handle);
};

GstXOverlayClass is deprecated and should not be used in newly-written code.