Commit 9b350e5e authored by Andrey Kamaev's avatar Andrey Kamaev

Tegra optimization for median blur

parent 70416be0
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment