mirror of
https://github.com/opencv/opencv.git
synced 2024-12-01 14:59:54 +08:00
Tegra optimization for median blur
This commit is contained in:
parent
70416be0dd
commit
9b350e5e0d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user