Remove mul24, for CV8UC3 3840x2160 it generates implementation specific result
authorvbystricky <user@user-pc.(none)>
Tue, 12 Aug 2014 07:25:23 +0000 (11:25 +0400)
committervbystricky <user@user-pc.(none)>
Tue, 12 Aug 2014 07:25:23 +0000 (11:25 +0400)
modules/core/src/opencl/minmaxloc.cl

index 1d84567..cb72a4e 100644 (file)
@@ -185,7 +185,7 @@ __kernel void minmaxloc(__global const uchar * srcptr, int src_step, int src_off
 #endif
         {
 #ifdef HAVE_SRC_CONT
-            src_index = mul24(id, srcTSIZE);
+            src_index = id * srcTSIZE;//mul24(id, srcTSIZE);
 #else
             src_index = mad24(id / cols, src_step, mul24(id % cols, srcTSIZE));
 #endif