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
805d88a8
Commit
805d88a8
authored
Mar 11, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tegra version of cv::subtract
parent
5cac6340
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
arithm.cpp
modules/core/src/arithm.cpp
+8
-0
No files found.
modules/core/src/arithm.cpp
View file @
805d88a8
...
...
@@ -1482,6 +1482,14 @@ void cv::add( InputArray src1, InputArray src2, OutputArray dst,
void
cv
::
subtract
(
InputArray
src1
,
InputArray
src2
,
OutputArray
dst
,
InputArray
mask
,
int
dtype
)
{
#ifdef HAVE_TEGRA_OPTIMIZATION
if
(
mask
.
empty
()
&&
src1
.
depth
()
==
CV_8U
&&
src2
.
depth
()
==
CV_8U
&&
(
dtype
==
CV_16S
||
(
dtype
==
-
1
&&
dst
.
fixedType
()
&&
dst
.
depth
()
==
CV_16S
)))
{
Mat
_dst
=
dst
.
getMat
();
if
(
tegra
::
subtract_8u8u16s
(
src1
.
getMat
(),
src2
.
getMat
(),
_dst
))
return
;
}
#endif
arithm_op
(
src1
,
src2
,
dst
,
mask
,
dtype
,
subTab
);
}
...
...
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