Tizen 2.0 Release
[framework/multimedia/gstreamer-vaapi.git] / gst-libs / gst / vaapi / gstvaapisurface_priv.h
1 /*
2  *  gstvaapisurface_priv.h - VA surface abstraction (private data)
3  *
4  *  Copyright (C) 2011 Intel Corporation
5  *
6  *  This library is free software; you can redistribute it and/or
7  *  modify it under the terms of the GNU Lesser General Public License
8  *  as published by the Free Software Foundation; either version 2.1
9  *  of the License, or (at your option) any later version.
10  *
11  *  This library 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 GNU
14  *  Lesser General Public License for more details.
15  *
16  *  You should have received a copy of the GNU Lesser General Public
17  *  License along with this library; if not, write to the Free
18  *  Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  *  Boston, MA 02110-1301 USA
20  */
21
22 #ifndef GST_VAAPI_SURFACE_PRIV_H
23 #define GST_VAAPI_SURFACE_PRIV_H
24
25 #include <gst/vaapi/gstvaapicontext.h>
26 #include <gst/vaapi/gstvaapisurface.h>
27
28 G_GNUC_INTERNAL
29 void
30 gst_vaapi_surface_set_parent_context(
31     GstVaapiSurface *surface,
32     GstVaapiContext *context
33 );
34
35 G_GNUC_INTERNAL
36 GstVaapiContext *
37 gst_vaapi_surface_get_parent_context(GstVaapiSurface *surface);
38
39 #endif /* GST_VAAPI_SURFACE_PRIV_H */