From 6fb282aa39ef7d6206662055bf781021fde4e4f5 Mon Sep 17 00:00:00 2001 From: vbystricky Date: Tue, 12 Aug 2014 11:25:23 +0400 Subject: [PATCH] Remove mul24, for CV8UC3 3840x2160 it generates implementation specific result --- modules/core/src/opencl/minmaxloc.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/opencl/minmaxloc.cl b/modules/core/src/opencl/minmaxloc.cl index 1d84567..cb72a4e 100644 --- a/modules/core/src/opencl/minmaxloc.cl +++ b/modules/core/src/opencl/minmaxloc.cl @@ -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 -- 2.7.4