summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorNicola Murino <nicola.murino@gmail.com>2018-11-25 16:12:40 +0100
committerNicolas Dufresne <nicolas@ndufresne.ca>2018-11-26 13:29:03 +0000
commit890dbb560f9f032bcd5232d688cb08b8e64d785b (patch)
treec4fe511105a00a54083dac51c6f843c11b94a496 /gst-libs
parent2fd3130350a61b224bd3a808fbdea28defaa2127 (diff)
downloadgstreamer-plugins-bad-890dbb560f9f032bcd5232d688cb08b8e64d785b.tar.gz
opencv: fix indentation
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/opencv/gstopencvutils.cpp4
-rw-r--r--gst-libs/gst/opencv/gstopencvvideofilter.cpp17
2 files changed, 11 insertions, 10 deletions
diff --git a/gst-libs/gst/opencv/gstopencvutils.cpp b/gst-libs/gst/opencv/gstopencvutils.cpp
index da24e9343..bb5eb94c2 100644
--- a/gst-libs/gst/opencv/gstopencvutils.cpp
+++ b/gst-libs/gst/opencv/gstopencvutils.cpp
@@ -92,7 +92,7 @@ gst_opencv_parse_iplimage_params_from_caps (GstCaps * caps, gint * width,
}
return gst_opencv_iplimage_params_from_video_info (&info, width, height,
- ipldepth, channels, err);
+ ipldepth, channels, err);
}
gboolean
@@ -118,7 +118,7 @@ gst_opencv_iplimage_params_from_video_info (GstVideoInfo * info, gint * width,
gboolean
gst_opencv_cv_image_type_from_video_format (GstVideoFormat format,
- int * cv_type, GError ** err)
+ int *cv_type, GError ** err)
{
const gchar *format_str;
diff --git a/gst-libs/gst/opencv/gstopencvvideofilter.cpp b/gst-libs/gst/opencv/gstopencvvideofilter.cpp
index ae18cdc53..94f3b6d4e 100644
--- a/gst-libs/gst/opencv/gstopencvvideofilter.cpp
+++ b/gst-libs/gst/opencv/gstopencvvideofilter.cpp
@@ -76,10 +76,10 @@ static void gst_opencv_video_filter_set_property (GObject * object,
static void gst_opencv_video_filter_get_property (GObject * object,
guint prop_id, GValue * value, GParamSpec * pspec);
-static GstFlowReturn gst_opencv_video_filter_transform_frame (GstVideoFilter * trans,
- GstVideoFrame * inframe, GstVideoFrame * outframe);
-static GstFlowReturn gst_opencv_video_filter_transform_frame_ip (GstVideoFilter * trans,
- GstVideoFrame * frame);
+static GstFlowReturn gst_opencv_video_filter_transform_frame (GstVideoFilter *
+ trans, GstVideoFrame * inframe, GstVideoFrame * outframe);
+static GstFlowReturn gst_opencv_video_filter_transform_frame_ip (GstVideoFilter
+ * trans, GstVideoFrame * frame);
static gboolean gst_opencv_video_filter_set_info (GstVideoFilter * trans,
GstCaps * incaps, GstVideoInfo * in_info, GstCaps * outcaps,
@@ -117,7 +117,8 @@ gst_opencv_video_filter_class_init (GstOpencvVideoFilterClass * klass)
gobject_class->get_property = gst_opencv_video_filter_get_property;
vfilter_class->transform_frame = gst_opencv_video_filter_transform_frame;
- vfilter_class->transform_frame_ip = gst_opencv_video_filter_transform_frame_ip;
+ vfilter_class->transform_frame_ip =
+ gst_opencv_video_filter_transform_frame_ip;
vfilter_class->set_info = gst_opencv_video_filter_set_info;
}
@@ -127,8 +128,8 @@ gst_opencv_video_filter_init (GstOpencvVideoFilter * transform)
}
static GstFlowReturn
-gst_opencv_video_filter_transform_frame (GstVideoFilter *trans,
- GstVideoFrame *inframe, GstVideoFrame *outframe)
+gst_opencv_video_filter_transform_frame (GstVideoFilter * trans,
+ GstVideoFrame * inframe, GstVideoFrame * outframe)
{
GstOpencvVideoFilter *transform;
GstOpencvVideoFilterClass *fclass;
@@ -180,7 +181,7 @@ gst_opencv_video_filter_transform_frame_ip (GstVideoFilter * trans,
static gboolean
gst_opencv_video_filter_set_info (GstVideoFilter * trans, GstCaps * incaps,
- GstVideoInfo * in_info, GstCaps * outcaps, GstVideoInfo * out_info)
+ GstVideoInfo * in_info, GstCaps * outcaps, GstVideoInfo * out_info)
{
GstOpencvVideoFilter *transform = GST_OPENCV_VIDEO_FILTER (trans);
GstOpencvVideoFilterClass *klass =