projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0403746
)
Tegra-optimized pyrUp
author
Andrey Kamaev
<no@email>
Mon, 28 Nov 2011 16:38:36 +0000
(16:38 +0000)
committer
Andrey Kamaev
<no@email>
Mon, 28 Nov 2011 16:38:36 +0000
(16:38 +0000)
modules/imgproc/src/pyramids.cpp
patch
|
blob
|
history
diff --git
a/modules/imgproc/src/pyramids.cpp
b/modules/imgproc/src/pyramids.cpp
index
fa4159c
..
fa1934e
100644
(file)
--- a/
modules/imgproc/src/pyramids.cpp
+++ b/
modules/imgproc/src/pyramids.cpp
@@
-437,6
+437,12
@@
void cv::pyrUp( InputArray _src, OutputArray _dst, const Size& _dsz )
Size dsz = _dsz == Size() ? Size(src.cols*2, src.rows*2) : _dsz;
_dst.create( dsz, src.type() );
Mat dst = _dst.getMat();
+
+#ifdef HAVE_TEGRA_OPTIMIZATION
+ if(tegra::pyrUp(src, dst))
+ return;
+#endif
+
int depth = src.depth();
PyrFunc func = 0;
if( depth == CV_8U )