2 * gstvaapivideocontext.h - GStreamer/VA video context
4 * Copyright (C) 2010-2011 Splitted-Desktop Systems
5 * Author: Gwenole Beauchesne <gwenole.beauchesne@splitted-desktop.com>
6 * Copyright (C) 2011-2013 Intel Corporation
7 * Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
8 * Copyright (C) 2013 Igalia
9 * Author: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
11 * This library is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU Lesser General Public License
13 * as published by the Free Software Foundation; either version 2.1
14 * of the License, or (at your option) any later version.
16 * This library is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * Lesser General Public License for more details.
21 * You should have received a copy of the GNU Lesser General Public
22 * License along with this library; if not, write to the Free
23 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
24 * Boston, MA 02110-1301 USA
27 #ifndef GST_VAAPI_VIDEO_CONTEXT_H
28 #define GST_VAAPI_VIDEO_CONTEXT_H
30 #include <gst/vaapi/gstvaapidisplay.h>
32 #define GST_VAAPI_DISPLAY_CONTEXT_TYPE_NAME "gst.vaapi.Display"
36 gst_vaapi_video_context_new_with_display (GstVaapiDisplay * display,
41 gst_vaapi_video_context_get_display (GstContext * context,
42 GstVaapiDisplay ** display_ptr);
46 gst_vaapi_video_context_prepare (GstElement * element, const gchar ** types);
50 gst_vaapi_video_context_propagate (GstElement * element,
51 GstVaapiDisplay * display);
53 #endif /* GST_VAAPI_VIDEO_CONTEXT_H */