mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-28 01:58:19 +00:00
Add GST_VAAPI_WINDOW_XWINDOW() helper macro.
This commit is contained in:
parent
df9e25d473
commit
a1b25e8807
2 changed files with 11 additions and 1 deletions
|
@ -48,10 +48,10 @@ gst_vaapi_video_sink_get_type
|
||||||
|
|
||||||
<SECTION>
|
<SECTION>
|
||||||
<FILE>gstvaapidisplay_x11</FILE>
|
<FILE>gstvaapidisplay_x11</FILE>
|
||||||
GST_VAAPI_DISPLAY_XDISPLAY
|
|
||||||
<TITLE>GstVaapiDisplayX11</TITLE>
|
<TITLE>GstVaapiDisplayX11</TITLE>
|
||||||
GstVaapiDisplayX11
|
GstVaapiDisplayX11
|
||||||
GstVaapiDisplayX11Class
|
GstVaapiDisplayX11Class
|
||||||
|
GST_VAAPI_DISPLAY_XDISPLAY
|
||||||
gst_vaapi_display_x11_new
|
gst_vaapi_display_x11_new
|
||||||
gst_vaapi_display_x11_new_with_display
|
gst_vaapi_display_x11_new_with_display
|
||||||
gst_vaapi_display_x11_get_display
|
gst_vaapi_display_x11_get_display
|
||||||
|
@ -70,6 +70,7 @@ GST_VAAPI_DISPLAY_X11_GET_CLASS
|
||||||
<TITLE>GstVaapiWindowX11</TITLE>
|
<TITLE>GstVaapiWindowX11</TITLE>
|
||||||
GstVaapiWindowX11
|
GstVaapiWindowX11
|
||||||
GstVaapiWindowX11Class
|
GstVaapiWindowX11Class
|
||||||
|
GST_VAAPI_WINDOW_XWINDOW
|
||||||
gst_vaapi_window_x11_new
|
gst_vaapi_window_x11_new
|
||||||
gst_vaapi_window_x11_new_with_xid
|
gst_vaapi_window_x11_new_with_xid
|
||||||
gst_vaapi_window_x11_get_xid
|
gst_vaapi_window_x11_get_xid
|
||||||
|
|
|
@ -51,6 +51,15 @@ G_BEGIN_DECLS
|
||||||
GST_VAAPI_TYPE_WINDOW_X11, \
|
GST_VAAPI_TYPE_WINDOW_X11, \
|
||||||
GstVaapiWindowX11Class))
|
GstVaapiWindowX11Class))
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GST_VAAPI_WINDOW_XWINDOW:
|
||||||
|
* @window: a #GstVaapiWindow
|
||||||
|
*
|
||||||
|
* Macro that evaluates to the underlying X11 #Window of @window
|
||||||
|
*/
|
||||||
|
#define GST_VAAPI_WINDOW_XWINDOW(window) \
|
||||||
|
gst_vaapi_window_x11_get_xid(GST_VAAPI_WINDOW_X11(window))
|
||||||
|
|
||||||
typedef struct _GstVaapiWindowX11 GstVaapiWindowX11;
|
typedef struct _GstVaapiWindowX11 GstVaapiWindowX11;
|
||||||
typedef struct _GstVaapiWindowX11Private GstVaapiWindowX11Private;
|
typedef struct _GstVaapiWindowX11Private GstVaapiWindowX11Private;
|
||||||
typedef struct _GstVaapiWindowX11Class GstVaapiWindowX11Class;
|
typedef struct _GstVaapiWindowX11Class GstVaapiWindowX11Class;
|
||||||
|
|
Loading…
Reference in a new issue