提交 f05259f2 编写于 作者: A Andrey Kamaev

Tegra-optmized pyrDown

上级 7d8f487b
......@@ -407,6 +407,12 @@ void cv::pyrDown( InputArray _src, OutputArray _dst, const Size& _dsz )
Size dsz = _dsz == Size() ? Size((src.cols + 1)/2, (src.rows + 1)/2) : _dsz;
_dst.create( dsz, src.type() );
Mat dst = _dst.getMat();
#ifdef HAVE_TEGRA_OPTIMIZATION
if(tegra::pyrDown(src, dst))
return;
#endif
int depth = src.depth();
PyrFunc func = 0;
if( depth == CV_8U )
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册