mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
Add VA and X11 display accessors.
This commit is contained in:
parent
a3f2975309
commit
f87dfaacba
2 changed files with 6 additions and 0 deletions
|
@ -51,6 +51,9 @@ G_BEGIN_DECLS
|
|||
GST_VAAPI_TYPE_DISPLAY, \
|
||||
GstVaapiDisplayClass))
|
||||
|
||||
#define GST_VAAPI_DISPLAY_VADISPLAY(display) \
|
||||
gst_vaapi_display_get_display(display)
|
||||
|
||||
typedef struct _GstVaapiDisplay GstVaapiDisplay;
|
||||
typedef struct _GstVaapiDisplayPrivate GstVaapiDisplayPrivate;
|
||||
typedef struct _GstVaapiDisplayClass GstVaapiDisplayClass;
|
||||
|
|
|
@ -50,6 +50,9 @@ G_BEGIN_DECLS
|
|||
GST_VAAPI_TYPE_DISPLAY_X11, \
|
||||
GstVaapiDisplayX11Class))
|
||||
|
||||
#define GST_VAAPI_DISPLAY_XDISPLAY(display) \
|
||||
gst_vaapi_display_x11_get_display(GST_VAAPI_DISPLAY_X11(display))
|
||||
|
||||
typedef struct _GstVaapiDisplayX11 GstVaapiDisplayX11;
|
||||
typedef struct _GstVaapiDisplayX11Private GstVaapiDisplayX11Private;
|
||||
typedef struct _GstVaapiDisplayX11Class GstVaapiDisplayX11Class;
|
||||
|
|
Loading…
Reference in a new issue