3 * gstv4lcolorbalance.h: color balance interface implementation for V4L
5 * Copyright (C) 2003 Ronald Bultje <rbultje@ronald.bitfreak.net>
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.
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.
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.
23 #ifndef __GST_V4L_COLOR_BALANCE_H__
24 #define __GST_V4L_COLOR_BALANCE_H__
27 #include <gst/interfaces/colorbalance.h>
28 #include "v4l_calls.h"
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))
45 typedef struct _GstV4lColorBalanceChannel {
46 GstColorBalanceChannel parent;
48 GstV4lPictureType index;
49 } GstV4lColorBalanceChannel;
51 typedef struct _GstV4lColorBalanceChannelClass {
52 GstColorBalanceChannelClass parent;
53 } GstV4lColorBalanceChannelClass;
55 GType gst_v4l_color_balance_channel_get_type (void);
57 void gst_v4l_color_balance_interface_init (GstColorBalanceClass *klass);
59 #endif /* __GST_V4L_COLOR_BALANCE_H__ */