projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfe5fff
)
Remove mul24, for CV8UC3 3840x2160 it generates implementation specific result
author
vbystricky
<user@user-pc.(none)>
Tue, 12 Aug 2014 07:25:23 +0000
(11:25 +0400)
committer
vbystricky
<user@user-pc.(none)>
Tue, 12 Aug 2014 07:25:23 +0000
(11:25 +0400)
modules/core/src/opencl/minmaxloc.cl
patch
|
blob
|
history
diff --git
a/modules/core/src/opencl/minmaxloc.cl
b/modules/core/src/opencl/minmaxloc.cl
index
1d84567
..
cb72a4e
100644
(file)
--- 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