Tegra optimization for median blur

This commit is contained in:
Andrey Kamaev 2012-01-05 17:36:32 +00:00
parent 70416be0dd
commit 9b350e5e0d

View File

@ -1238,6 +1238,11 @@ void cv::medianBlur( InputArray _src0, OutputArray _dst, int ksize )
} }
CV_Assert( ksize % 2 == 1 ); CV_Assert( ksize % 2 == 1 );
#ifdef HAVE_TEGRA_OPTIMIZATION
if (tegra::medianBlur(src0, dst, ksize))
return;
#endif
Size size = src0.size(); Size size = src0.size();
int cn = src0.channels(); int cn = src0.channels();