3 * gstv4ltuner.h: tuner 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_TUNER_H__
24 #define __GST_V4L_TUNER_H__
27 #include <gst/interfaces/tuner.h>
31 #define GST_TYPE_V4L_TUNER_CHANNEL \
32 (gst_v4l_tuner_channel_get_type ())
33 #define GST_V4L_TUNER_CHANNEL(obj) \
34 (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_V4L_TUNER_CHANNEL, \
36 #define GST_V4L_TUNER_CHANNEL_CLASS(klass) \
37 (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_V4L_TUNER_CHANNEL, \
38 GstV4lTunerChannelClass))
39 #define GST_IS_V4L_TUNER_CHANNEL(obj) \
40 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_V4L_TUNER_CHANNEL))
41 #define GST_IS_V4L_TUNER_CHANNEL_CLASS(klass) \
42 (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_V4L_TUNER_CHANNEL))
44 typedef struct _GstV4lTunerChannel {
45 GstTunerChannel parent;
52 typedef struct _GstV4lTunerChannelClass {
53 GstTunerChannelClass parent;
54 } GstV4lTunerChannelClass;
56 #define GST_TYPE_V4L_TUNER_NORM \
57 (gst_v4l_tuner_norm_get_type ())
58 #define GST_V4L_TUNER_NORM(obj) \
59 (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_V4L_TUNER_NORM, \
61 #define GST_V4L_TUNER_NORM_CLASS(klass) \
62 (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_V4L_TUNER_NORM, \
63 GstV4lTunerNormClass))
64 #define GST_IS_V4L_TUNER_NORM(obj) \
65 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_V4L_TUNER_NORM))
66 #define GST_IS_V4L_TUNER_NORM_CLASS(klass) \
67 (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_V4L_TUNER_NORM))
69 typedef struct _GstV4lTunerNorm {
75 typedef struct _GstV4lTunerNormClass {
76 GstTunerNormClass parent;
77 } GstV4lTunerNormClass;
79 GType gst_v4l_tuner_channel_get_type (void);
80 GType gst_v4l_tuner_norm_get_type (void);
82 void gst_v4l_tuner_interface_init (GstTunerClass *klass);
84 #endif /* __GST_V4L_TUNER_H__ */