From 65c2296d10a5a9b4566d1d506702a8c8ac8b79bb Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 26 Sep 2006 13:18:06 +0000 Subject: 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. --- sys/v4l2/gstv4l2vidorient.h | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) (limited to 'sys/v4l2/gstv4l2vidorient.h') diff --git a/sys/v4l2/gstv4l2vidorient.h b/sys/v4l2/gstv4l2vidorient.h index fecaee56..965fc059 100644 --- a/sys/v4l2/gstv4l2vidorient.h +++ b/sys/v4l2/gstv4l2vidorient.h @@ -30,27 +30,17 @@ G_BEGIN_DECLS -extern gboolean -gst_v4l2_video_orientation_get_hflip (GstV4l2Object *v4l2object, gboolean *flip); -extern gboolean -gst_v4l2_video_orientation_get_vflip (GstV4l2Object *v4l2object, gboolean *flip); -extern gboolean -gst_v4l2_video_orientation_get_hcenter (GstV4l2Object *v4l2object, gint *center); -extern gboolean -gst_v4l2_video_orientation_get_vcenter (GstV4l2Object *v4l2object, gint *center); +void gst_v4l2_video_orientation_interface_init (GstVideoOrientationInterface * klass); -extern gboolean -gst_v4l2_video_orientation_set_hflip (GstV4l2Object *v4l2object, gboolean flip); -extern gboolean -gst_v4l2_video_orientation_set_vflip (GstV4l2Object *v4l2object, gboolean flip); -extern gboolean -gst_v4l2_video_orientation_set_hcenter (GstV4l2Object *v4l2object, gint center); -extern gboolean -gst_v4l2_video_orientation_set_vcenter (GstV4l2Object *v4l2object, gint center); +gboolean gst_v4l2_video_orientation_get_hflip (GstV4l2Object *v4l2object, gboolean *flip); +gboolean gst_v4l2_video_orientation_get_vflip (GstV4l2Object *v4l2object, gboolean *flip); +gboolean gst_v4l2_video_orientation_get_hcenter (GstV4l2Object *v4l2object, gint *center); +gboolean gst_v4l2_video_orientation_get_vcenter (GstV4l2Object *v4l2object, gint *center); - -extern void -gst_v4l2_video_orientation_interface_init (GstVideoOrientationInterface * klass); +gboolean gst_v4l2_video_orientation_set_hflip (GstV4l2Object *v4l2object, gboolean flip); +gboolean gst_v4l2_video_orientation_set_vflip (GstV4l2Object *v4l2object, gboolean flip); +gboolean gst_v4l2_video_orientation_set_hcenter (GstV4l2Object *v4l2object, gint center); +gboolean gst_v4l2_video_orientation_set_vcenter (GstV4l2Object *v4l2object, gint center); #define GST_IMPLEMENT_V4L2_VIDORIENT_METHODS(Type, interface_as_function) \ \ -- cgit v1.2.1