2 * Copyright (C) 2011 David A. Schleef <ds@schleef.org>
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.
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.
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.
20 #ifndef _GST_INTER_SURFACE_H_
21 #define _GST_INTER_SURFACE_H_
23 #include <gst/base/gstadapter.h>
24 #include <gst/video/video.h>
28 typedef struct _GstInterSurface GstInterSurface;
30 struct _GstInterSurface
35 GstVideoFormat format;
41 int video_buffer_count;
47 GstBuffer *video_buffer;
48 GstAdapter *audio_adapter;
52 GstInterSurface * gst_inter_surface_get (const char *name);
53 void gst_inter_surface_init (void);