Imported Upstream version 0.10.23
[profile/ivi/gst-plugins-bad.git] / ext / cog / gstcogutils.h
1 /* Schrodinger
2  * Copyright (C) 2008 David Schleef <ds@schleef.org>
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
18  */
19
20 #ifndef _GST_COG_UTILS_H_
21 #define _GST_COG_UTILS_H_
22
23 #include <gst/gst.h>
24 #include <gst/video/video.h>
25 #include <cog/cog.h>
26 #include <cog/cogframe.h>
27
28 CogFrame *
29 gst_cog_buffer_wrap (GstBuffer *buf, GstVideoFormat format, int width,
30     int height);
31 #if 0
32 GstBuffer * gst_cog_wrap_cog_buffer (CogBuffer *buffer);
33 CogBuffer * gst_cog_wrap_gst_buffer (GstBuffer *buffer);
34 #endif
35
36 #endif
37