diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2006-09-26 13:18:06 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2006-09-26 13:18:06 +0000 |
commit | 65c2296d10a5a9b4566d1d506702a8c8ac8b79bb (patch) | |
tree | 6bd101afd4764a50ba560df718288ba9ffe1699d /sys/v4l2/gstv4l2tuner.h | |
parent | b90e11a094296aaae07ff496b8b7631d4c96134a (diff) | |
download | gst-plugins-bad-65c2296d10a5a9b4566d1d506702a8c8ac8b79bb.tar.gz gst-plugins-bad-65c2296d10a5a9b4566d1d506702a8c8ac8b79bb.tar.bz2 gst-plugins-bad-65c2296d10a5a9b4566d1d506702a8c8ac8b79bb.zip |
sys/v4l2/Makefile.am: Fix makefile, list libs in stack order.
Original commit message from CVS:
* sys/v4l2/Makefile.am:
Fix makefile, list libs in stack order.
* sys/v4l2/gstv4l2colorbalance.c:
* sys/v4l2/gstv4l2colorbalance.h:
* sys/v4l2/gstv4l2object.c: (gst_v4l2_device_get_type),
(gst_v4l2_object_install_properties_helper):
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read),
(gst_v4l2src_get_mmap), (gst_v4l2src_create):
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/gstv4l2tuner.h:
* sys/v4l2/gstv4l2vidorient.h:
* sys/v4l2/gstv4l2xoverlay.h:
* sys/v4l2/v4l2_calls.h:
* sys/v4l2/v4l2src_calls.h:
Fix coding style:
- Remove extern from functions.
- Fix header indentation.
Fix Flags, add defaults for properties.
Remove unused enums.
Fix TOO_LAZY in error messages.
Diffstat (limited to 'sys/v4l2/gstv4l2tuner.h')
-rw-r--r-- | sys/v4l2/gstv4l2tuner.h | 54 |
1 files changed, 25 insertions, 29 deletions
diff --git a/sys/v4l2/gstv4l2tuner.h b/sys/v4l2/gstv4l2tuner.h index 1021b08c..40d2e1fc 100644 --- a/sys/v4l2/gstv4l2tuner.h +++ b/sys/v4l2/gstv4l2tuner.h @@ -79,38 +79,34 @@ typedef struct _GstV4l2TunerNormClass { GstTunerNormClass parent; } GstV4l2TunerNormClass; -extern gboolean -gst_v4l2_tuner_set_channel (GstV4l2Object * v4l2object, GstTunerChannel * channel); -extern gboolean -gst_v4l2_tuner_set_norm (GstV4l2Object * v4l2object, GstTunerNorm * norm); -extern gboolean -gst_v4l2_tuner_set_frequency (GstV4l2Object * v4l2object, - GstTunerChannel * channel, gulong frequency); - GType gst_v4l2_tuner_channel_get_type (void); GType gst_v4l2_tuner_norm_get_type (void); -extern const GList * -gst_v4l2_tuner_list_channels (GstV4l2Object * v4l2object); -extern void -gst_v4l2_tuner_set_channel_and_notify (GstV4l2Object * v4l2object, GstTunerChannel * channel); -extern GstTunerChannel * -gst_v4l2_tuner_get_channel (GstV4l2Object * v4l2object); - -extern const GList * -gst_v4l2_tuner_list_norms (GstV4l2Object * v4l2object); -extern void -gst_v4l2_tuner_set_norm_and_notify (GstV4l2Object * v4l2object, GstTunerNorm * norm); -extern GstTunerNorm * -gst_v4l2_tuner_get_norm (GstV4l2Object * v4l2object); - -extern void -gst_v4l2_tuner_set_frequency_and_notify (GstV4l2Object * v4l2object, - GstTunerChannel * channel, gulong frequency); -extern gulong -gst_v4l2_tuner_get_frequency (GstV4l2Object * v4l2object, GstTunerChannel * channel); -extern gint -gst_v4l2_tuner_signal_strength (GstV4l2Object * v4l2object, GstTunerChannel * channel); +/* channels */ +const GList* gst_v4l2_tuner_list_channels (GstV4l2Object * v4l2object); +void gst_v4l2_tuner_set_channel_and_notify (GstV4l2Object * v4l2object, + GstTunerChannel * channel); +GstTunerChannel* gst_v4l2_tuner_get_channel (GstV4l2Object * v4l2object); +gboolean gst_v4l2_tuner_set_channel (GstV4l2Object * v4l2object, + GstTunerChannel * channel); +/* norms */ +const GList* gst_v4l2_tuner_list_norms (GstV4l2Object * v4l2object); +void gst_v4l2_tuner_set_norm_and_notify (GstV4l2Object * v4l2object, + GstTunerNorm * norm); +GstTunerNorm* gst_v4l2_tuner_get_norm (GstV4l2Object * v4l2object); +gboolean gst_v4l2_tuner_set_norm (GstV4l2Object * v4l2object, + GstTunerNorm * norm); +/* frequency */ +void gst_v4l2_tuner_set_frequency_and_notify (GstV4l2Object * v4l2object, + GstTunerChannel * channel, + gulong frequency); +gint gst_v4l2_tuner_signal_strength (GstV4l2Object * v4l2object, + GstTunerChannel * channel); +gulong gst_v4l2_tuner_get_frequency (GstV4l2Object * v4l2object, + GstTunerChannel * channel); +gboolean gst_v4l2_tuner_set_frequency (GstV4l2Object * v4l2object, + GstTunerChannel * channel, + gulong frequency); #define GST_IMPLEMENT_V4L2_TUNER_METHODS(Type, interface_as_function) \ \ |