2 * gstvaapidisplay.h - VA display abstraction
4 * gstreamer-vaapi (C) 2010 Splitted-Desktop Systems
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef GST_VAAPI_DISPLAY_H
22 #define GST_VAAPI_DISPLAY_H
29 #define GST_VAAPI_TYPE_DISPLAY \
30 (gst_vaapi_display_get_type())
32 #define GST_VAAPI_DISPLAY(obj) \
33 (G_TYPE_CHECK_INSTANCE_CAST((obj), \
34 GST_VAAPI_TYPE_DISPLAY, \
37 #define GST_VAAPI_DISPLAY_CLASS(klass) \
38 (G_TYPE_CHECK_CLASS_CAST((klass), \
39 GST_VAAPI_TYPE_DISPLAY, \
40 GstVaapiDisplayClass))
42 #define GST_VAAPI_IS_DISPLAY(obj) \
43 (G_TYPE_CHECK_INSTANCE_TYPE((obj), GST_VAAPI_TYPE_DISPLAY))
45 #define GST_VAAPI_IS_DISPLAY_CLASS(klass) \
46 (G_TYPE_CHECK_CLASS_TYPE((klass), GST_VAAPI_TYPE_DISPLAY))
48 #define GST_VAAPI_DISPLAY_GET_CLASS(obj) \
49 (G_TYPE_INSTANCE_GET_CLASS((obj), \
50 GST_VAAPI_TYPE_DISPLAY, \
53 typedef struct _GstVaapiDisplay GstVaapiDisplay;
54 typedef struct _GstVaapiDisplayPrivate GstVaapiDisplayPrivate;
55 typedef struct _GstVaapiDisplayClass GstVaapiDisplayClass;
57 struct _GstVaapiDisplay {
59 GObject parent_instance;
61 GstVaapiDisplayPrivate *priv;
64 struct _GstVaapiDisplayClass {
66 GObjectClass parent_class;
70 gst_vaapi_display_get_type(void);
73 gst_vaapi_display_get_display(GstVaapiDisplay *display);
77 #endif /* GST_VAAPI_DISPLAY_H */