Added gst-plugins-base-subtitles0.10-0.10.34 for Meego Harmattan 1.2
[mafwsubrenderer] / gst-plugins-base-subtitles0.10 / sys / v4l / gstv4lcolorbalance.h
1 /* GStreamer
2  *
3  * gstv4lcolorbalance.h: color balance interface implementation for V4L
4  *
5  * Copyright (C) 2003 Ronald Bultje <rbultje@ronald.bitfreak.net>
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Library General Public
9  * License as published by the Free Software Foundation; either
10  * version 2 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Library General Public License for more details.
16  *
17  * You should have received a copy of the GNU Library General Public
18  * License along with this library; if not, write to the
19  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20  * Boston, MA 02111-1307, USA.
21  */
22
23 #ifndef __GST_V4L_COLOR_BALANCE_H__
24 #define __GST_V4L_COLOR_BALANCE_H__
25
26 #include <gst/gst.h>
27 #include <gst/interfaces/colorbalance.h>
28 #include "v4l_calls.h"
29
30 G_BEGIN_DECLS
31
32 #define GST_TYPE_V4L_COLOR_BALANCE_CHANNEL \
33   (gst_v4l_color_balance_channel_get_type ())
34 #define GST_V4L_COLOR_BALANCE_CHANNEL(obj) \
35   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_V4L_COLOR_BALANCE_CHANNEL, \
36                                GstV4lColorBalanceChannel))
37 #define GST_V4L_COLOR_BALANCE_CHANNEL_CLASS(klass) \
38   (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_V4L_COLOR_BALANCE_CHANNEL, \
39                             GstV4lColorBalanceChannelClass))
40 #define GST_IS_V4L_COLOR_BALANCE_CHANNEL(obj) \
41   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_V4L_COLOR_BALANCE_CHANNEL))
42 #define GST_IS_V4L_COLOR_BALANCE_CHANNEL_CLASS(klass) \
43   (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_V4L_COLOR_BALANCE_CHANNEL))
44
45 typedef struct _GstV4lColorBalanceChannel {
46   GstColorBalanceChannel parent;
47
48   GstV4lPictureType index;
49 } GstV4lColorBalanceChannel;
50
51 typedef struct _GstV4lColorBalanceChannelClass {
52   GstColorBalanceChannelClass parent;
53 } GstV4lColorBalanceChannelClass;
54
55 GType   gst_v4l_color_balance_channel_get_type  (void);
56
57 void    gst_v4l_color_balance_interface_init    (GstColorBalanceClass *klass);
58
59 #endif /* __GST_V4L_COLOR_BALANCE_H__ */