Remove mul24, for CV8UC3 3840x2160 it generates implementation specific result
This commit is contained in:
@@ -185,7 +185,7 @@ __kernel void minmaxloc(__global const uchar * srcptr, int src_step, int src_off
|
|||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
#ifdef HAVE_SRC_CONT
|
#ifdef HAVE_SRC_CONT
|
||||||
src_index = mul24(id, srcTSIZE);
|
src_index = id * srcTSIZE;//mul24(id, srcTSIZE);
|
||||||
#else
|
#else
|
||||||
src_index = mad24(id / cols, src_step, mul24(id % cols, srcTSIZE));
|
src_index = mad24(id / cols, src_step, mul24(id % cols, srcTSIZE));
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user