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

Tegra optimization for median blur

This commit is contained in:
Andrey Kamaev
2012-01-05 17:36:32 +00:00
parent 70416be0dd
commit 9b350e5e0d
+5
View File
@@ -1238,6 +1238,11 @@ void cv::medianBlur( InputArray _src0, OutputArray _dst, int ksize )
}
CV_Assert( ksize % 2 == 1 );
#ifdef HAVE_TEGRA_OPTIMIZATION
if (tegra::medianBlur(src0, dst, ksize))
return;
#endif
Size size = src0.size();
int cn = src0.channels();