Remove mul24, for CV8UC3 3840x2160 it generates implementation specific result

pull/3073/head
vbystricky 11 years ago
parent dfe5fff2f5
commit 6fb282aa39
  1. 2
      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

Loading…
Cancel
Save