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
218f7574
Commit
218f7574
authored
Oct 10, 2016
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7440 from mschoeneck:Prefer_OCL_befor_IPP_for_Sobel_and_Scharr
parents
b0e9346e
d9f6a067
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
deriv.cpp
modules/imgproc/src/deriv.cpp
+2
-2
No files found.
modules/imgproc/src/deriv.cpp
View file @
218f7574
...
@@ -539,7 +539,7 @@ void cv::Sobel( InputArray _src, OutputArray _dst, int ddepth, int dx, int dy,
...
@@ -539,7 +539,7 @@ void cv::Sobel( InputArray _src, OutputArray _dst, int ddepth, int dx, int dy,
}
}
#endif
#endif
CV_IPP_RUN
(
true
,
ipp_sobel
(
_src
,
_dst
,
ddepth
,
dx
,
dy
,
ksize
,
scale
,
delta
,
borderType
));
CV_IPP_RUN
(
!
(
ocl
::
useOpenCL
()
&&
_dst
.
isUMat
())
,
ipp_sobel
(
_src
,
_dst
,
ddepth
,
dx
,
dy
,
ksize
,
scale
,
delta
,
borderType
));
int
ktype
=
std
::
max
(
CV_32F
,
std
::
max
(
ddepth
,
sdepth
));
int
ktype
=
std
::
max
(
CV_32F
,
std
::
max
(
ddepth
,
sdepth
));
...
@@ -578,7 +578,7 @@ void cv::Scharr( InputArray _src, OutputArray _dst, int ddepth, int dx, int dy,
...
@@ -578,7 +578,7 @@ void cv::Scharr( InputArray _src, OutputArray _dst, int ddepth, int dx, int dy,
}
}
#endif
#endif
CV_IPP_RUN
(
true
,
IPPDerivScharr
(
_src
,
_dst
,
ddepth
,
dx
,
dy
,
scale
,
delta
,
borderType
));
CV_IPP_RUN
(
!
(
ocl
::
useOpenCL
()
&&
_dst
.
isUMat
())
,
IPPDerivScharr
(
_src
,
_dst
,
ddepth
,
dx
,
dy
,
scale
,
delta
,
borderType
));
int
ktype
=
std
::
max
(
CV_32F
,
std
::
max
(
ddepth
,
sdepth
));
int
ktype
=
std
::
max
(
CV_32F
,
std
::
max
(
ddepth
,
sdepth
));
...
...
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