Tizen 2.0 Release
[framework/multimedia/gstreamer-vaapi.git] / gst-libs / gst / vaapi / gstvaapivideobuffer_priv.h
1 /*
2  *  gstvaapivideobuffer_priv.h - Gstreamer/VA video buffer (private interface)
3  *
4  *  Copyright (C) 2011 Intel Corporation
5  *  Copyright (C) 2011 Collabora Ltd.
6  *    Author: Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
7  *
8  *  This library is free software; you can redistribute it and/or
9  *  modify it under the terms of the GNU Lesser General Public License
10  *  as published by the Free Software Foundation; either version 2.1
11  *  of the License, or (at your option) any later version.
12  *
13  *  This library is distributed in the hope that it will be useful,
14  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  *  Lesser General Public License for more details.
17  *
18  *  You should have received a copy of the GNU Lesser General Public
19  *  License along with this library; if not, write to the Free
20  *  Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21  *  Boston, MA 02110-1301 USA
22  */
23
24 #ifndef GST_VAAPI_VIDEO_BUFFER_PRIV_H
25 #define GST_VAAPI_VIDEO_BUFFER_PRIV_H
26
27 #include <gst/vaapi/gstvaapivideobuffer.h>
28
29 G_BEGIN_DECLS
30
31 /* Private API for gstreamer-vaapi plugin elements only */
32
33 GstBuffer *
34 gst_vaapi_video_buffer_typed_new(GType type, GstVaapiDisplay *display);
35
36 GstBuffer *
37 gst_vaapi_video_buffer_typed_new_from_pool(GType type, GstVaapiVideoPool *pool);
38
39 GstBuffer *
40 gst_vaapi_video_buffer_typed_new_from_buffer(GType type, GstBuffer *buffer);
41
42 GstBuffer *
43 gst_vaapi_video_buffer_typed_new_with_image(GType type, GstVaapiImage *image);
44
45 GstBuffer *
46 gst_vaapi_video_buffer_typed_new_with_surface(
47     GType            type,
48     GstVaapiSurface *surface
49 );
50
51 GstBuffer *
52 gst_vaapi_video_buffer_typed_new_with_surface_proxy(
53     GType                 type,
54     GstVaapiSurfaceProxy *proxy
55 );
56
57 G_END_DECLS
58
59 #endif /* GST_VAAPI_VIDEO_BUFFER_PRIV_H */