Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
b3e31fb8
Commit
b3e31fb8
authored
Aug 01, 2014
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3023 from vbystricky:ocl_minMaxLoc
parents
18de8dee
b48e487d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
minmaxloc.cl
modules/core/src/opencl/minmaxloc.cl
+2
-2
stat.cpp
modules/core/src/stat.cpp
+1
-1
No files found.
modules/core/src/opencl/minmaxloc.cl
View file @
b3e31fb8
...
...
@@ -209,7 +209,7 @@ __kernel void minmaxloc(__global const uchar * srcptr, int src_step, int src_off
#
if
kercn
==
1
#
ifdef
NEED_MINVAL
#
if
NEED_MINLOC
#
if
def
NEED_MINLOC
if
(
minval
>
temp
)
{
minval
=
temp
;
...
...
@@ -326,7 +326,7 @@ __kernel void minmaxloc(__global const uchar * srcptr, int src_step, int src_off
int
lid2
=
lsize
+
lid
;
#
ifdef
NEED_MINVAL
#
ifdef
NEED_M
AX
LOC
#
ifdef
NEED_M
IN
LOC
if
(
localmem_min[lid]
>=
localmem_min[lid2]
)
{
if
(
localmem_min[lid]
==
localmem_min[lid2]
)
...
...
modules/core/src/stat.cpp
View file @
b3e31fb8
...
...
@@ -1452,7 +1452,7 @@ static bool ocl_minMaxIdx( InputArray _src, double* minVal, double* maxVal, int*
CV_Assert
(
!
haveSrc2
||
_src2
.
type
()
==
type
);
if
(
depth
==
CV_32S
||
depth
==
CV_32F
||
!
_mask
.
empty
()
)
if
(
depth
==
CV_32S
||
depth
==
CV_32F
)
return
false
;
if
((
depth
==
CV_64F
||
ddepth
==
CV_64F
)
&&
!
doubleSupport
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment