1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Tegra optimization for image filtering

This commit is contained in:
Andrey Pavlenko
2012-01-23 09:16:07 +00:00
parent 88896166cf
commit d0981a628a
3 changed files with 56 additions and 0 deletions
+6
View File
@@ -311,6 +311,12 @@ void cv::boxFilter( InputArray _src, OutputArray _dst, int ddepth,
if( src.cols == 1 )
ksize.width = 1;
}
#ifdef HAVE_TEGRA_OPTIMIZATION
if ( tegra::boxFilter(src, dst, ksize, anchor, normalize, borderType) )
return;
#endif
Ptr<FilterEngine> f = createBoxFilter( src.type(), dst.type(),
ksize, anchor, normalize, borderType );
f->apply( src, dst );