mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 21:20:18 +08:00
Tegra optimization for median blur
This commit is contained in:
parent
70416be0dd
commit
9b350e5e0d
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user