cfcdfd35310f8383a87288ad5252b80d1b429bfc
[platform/upstream/gst-plugins-good.git] / sys / v4l2 / gstv4l2xoverlay.h
1 /* G-Streamer generic V4L2 element - X overlay interface implementation
2  * Copyright (C) 2003 Ronald Bultje <rbultje@ronald.bitfreak.net>
3  *
4  * gstv4l2xoverlay.h: tv mixer interface implementation for V4L2
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Library General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 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  * Library General Public License for more details.
15  *
16  * You should have received a copy of the GNU Library General Public
17  * License along with this library; if not, write to the
18  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, USA.
20  */
21
22 #ifndef __GST_V4L2_X_OVERLAY_H__
23 #define __GST_V4L2_X_OVERLAY_H__
24
25 #include <gst/gst.h>
26 #include <gst/xoverlay/xoverlay.h>
27
28 #include "gstv4l2element.h"
29
30 G_BEGIN_DECLS
31
32 void    gst_v4l2_xoverlay_interface_init (GstXOverlayClass *klass);
33
34 GstXWindowListener *
35         gst_v4l2_xoverlay_new           (GstV4l2Element  *v4l2element);
36 void    gst_v4l2_xoverlay_free          (GstV4l2Element  *v4l2element);
37
38 /* signal handlers */
39 void    gst_v4l2_xoverlay_open          (GstV4l2Element  *v4l2element);
40 void    gst_v4l2_xoverlay_close         (GstV4l2Element  *v4l2element);
41
42 #endif /* __GST_V4L2_X_OVERLAY_H__ */