/*
* gstvaapidisplay_priv.h - Base VA display (private definitions)
*
- * gstreamer-vaapi (C) 2010 Splitted-Desktop Systems
+ * Copyright (C) 2010-2011 Splitted-Desktop Systems
+ * Copyright (C) 2011-2012 Intel Corporation
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
#define GST_VAAPI_DISPLAY_PRIV_H
#include <gst/vaapi/gstvaapidisplay.h>
+#include <gst/vaapi/gstvaapidisplaycache.h>
G_BEGIN_DECLS
* Base class for VA displays.
*/
struct _GstVaapiDisplayPrivate {
- GStaticRecMutex mutex;
+ GstVaapiDisplay *parent;
+ GRecMutex mutex;
+ GstVaapiDisplayType display_type;
VADisplay display;
guint width;
guint height;
GArray *encoders;
GArray *image_formats;
GArray *subpicture_formats;
+ GArray *properties;
guint create_display : 1;
};
+GstVaapiDisplayCache *
+gst_vaapi_display_get_cache(void);
+
G_END_DECLS
#endif /* GST_VAAPI_DISPLAY_PRIV_H */