diff options
author | Nicola Murino <nicola.murino@gmail.com> | 2018-12-01 22:48:53 +0100 |
---|---|---|
committer | Nicolas Dufresne <nicolas@ndufresne.ca> | 2019-02-02 18:34:10 +0000 |
commit | 26cabf9b1f2251df52be9958592b03518832cd9a (patch) | |
tree | 620b9defeb59cd472f053da93cd508f1571275ca /ext/opencv/gstdewarp.h | |
parent | f974246647cd6e895247cfa5b63b5532bbf40188 (diff) | |
download | gstreamer-plugins-bad-26cabf9b1f2251df52be9958592b03518832cd9a.tar.gz |
opencv: port to c++
Diffstat (limited to 'ext/opencv/gstdewarp.h')
-rw-r--r-- | ext/opencv/gstdewarp.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/ext/opencv/gstdewarp.h b/ext/opencv/gstdewarp.h index 61b319b53..a113cc209 100644 --- a/ext/opencv/gstdewarp.h +++ b/ext/opencv/gstdewarp.h @@ -1,6 +1,6 @@ /* * GStreamer - * Copyright (C) 2016 Prassel S.r.l + * Copyright (C) 2016 - 2018 Prassel S.r.l * Author: Nicola Murino <nicola.murino@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a @@ -47,11 +47,7 @@ #include <gst/gst.h> #include <gst/opencv/gstopencvvideofilter.h> -#include <opencv2/core.hpp> #include <opencv2/imgproc.hpp> -#if (CV_MAJOR_VERSION >= 4) -#include <opencv2/imgproc/imgproc_c.h> -#endif G_BEGIN_DECLS /* #defines don't like whitespacey bits */ @@ -84,8 +80,8 @@ enum _GstDewarpInterpolationMode { struct _GstDewarp { GstOpencvVideoFilter element; - cv::Mat *map_x; - cv::Mat *map_y; + cv::Mat map_x; + cv::Mat map_y; gdouble x_center; gdouble y_center; gdouble inner_radius; |