Commit 80516ecb authored by Andrey Kamaev's avatar Andrey Kamaev

Fixed typo; removed duplicated call

parent 11ce8683
...@@ -247,7 +247,7 @@ static void randf_32f( float* arr, int len, uint64* state, const Vec2f* p, bool ...@@ -247,7 +247,7 @@ static void randf_32f( float* arr, int len, uint64* state, const Vec2f* p, bool
_mm_set_ss(p[i][1])) _mm_set_ss(p[i][1]))
); );
#else #else
arr[i] += (int)temp*p[i][0] + p[i][1]; arr[i] = (int)temp*p[i][0] + p[i][1];
#endif #endif
} }
......
...@@ -312,9 +312,7 @@ void cv::boxFilter( InputArray _src, OutputArray _dst, int ddepth, ...@@ -312,9 +312,7 @@ void cv::boxFilter( InputArray _src, OutputArray _dst, int ddepth,
ksize.width = 1; ksize.width = 1;
} }
#ifdef HAVE_TEGRA_OPTIMIZATION #ifdef HAVE_TEGRA_OPTIMIZATION
if(tegra::box(src, dst, ksize, borderType)) if ( tegra::box(src, dst, ksize, anchor, normalize, borderType) )
return;
if ( tegra::boxFilter(src, dst, ksize, anchor, normalize, borderType) )
return; return;
#endif #endif
......
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