From 936665dfd65f1a58aa35d137b19b2d3eec4f4784 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vanessa=20Chipirr=C3=A1s=20Naval=C3=B3n?= Date: Fri, 2 Oct 2015 17:48:47 +0100 Subject: [PATCH] retinex: Change retinex to C++ Change the gstretinex.c file to cpp and add it into Makefile. It is necessary to migrate the retinex element to C++, because new Opencv API leaves obsolete functions like cvSmooth. This element uses this function. You can see in this link: http://docs.opencv.org/modules/imgproc/doc/filtering.html? highlight=cvsmooth#void cvSmooth(const CvArr* src, CvArr* dst, int smoothtype, int size1, int size2, double sigma1, double sigma2) https://bugzilla.gnome.org/show_bug.cgi?id=754148 --- ext/opencv/Makefile.am | 2 +- ext/opencv/{gstretinex.c => gstretinex.cpp} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename ext/opencv/{gstretinex.c => gstretinex.cpp} (100%) diff --git a/ext/opencv/Makefile.am b/ext/opencv/Makefile.am index 140d0449fb..05c7b525c8 100644 --- a/ext/opencv/Makefile.am +++ b/ext/opencv/Makefile.am @@ -19,7 +19,7 @@ libgstopencv_la_SOURCES = gstopencv.cpp \ gsttextoverlay.c \ gstmotioncells.c \ gstskindetect.c \ - gstretinex.c \ + gstretinex.cpp \ gstfacedetect.cpp \ gstsegmentation.cpp \ gstgrabcut.cpp \ diff --git a/ext/opencv/gstretinex.c b/ext/opencv/gstretinex.cpp similarity index 100% rename from ext/opencv/gstretinex.c rename to ext/opencv/gstretinex.cpp