From 630bdbf42fca7883585ed04ed927a009b9cd51c0 Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Thu, 13 Feb 2014 17:37:42 +0400 Subject: [PATCH] fixed OpenCL kernel flag in resize (thanks to Ilya L) --- modules/imgproc/src/imgwarp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/imgproc/src/imgwarp.cpp b/modules/imgproc/src/imgwarp.cpp index fb346f3..a9e16ec 100644 --- a/modules/imgproc/src/imgwarp.cpp +++ b/modules/imgproc/src/imgwarp.cpp @@ -3924,7 +3924,7 @@ static bool ocl_warpTransform(InputArray _src, OutputArray _dst, InputArray _M0, else { char cvt[2][50]; - opts = format("-D INTER_%s -D T=%s -D T1=%s -D ST=%s -D WT=%s -D depth=%d -D convertToWT=%s -D convertToT=%s%s cn=%d", + opts = format("-D INTER_%s -D T=%s -D T1=%s -D ST=%s -D WT=%s -D depth=%d -D convertToWT=%s -D convertToT=%s%s -D cn=%d", interpolationMap[interpolation], ocl::typeToStr(type), ocl::typeToStr(CV_MAT_DEPTH(type)), ocl::typeToStr(sctype), -- 2.7.4