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

@ -1239,6 +1239,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();
bool useSortNet = ksize == 3 || (ksize == 5