Commit 3c9979cd authored by Leonid Beynenson's avatar Leonid Beynenson

Disabled some unfinished optimizations.

parent bf19d66b
......@@ -1320,7 +1320,7 @@ void cv::resize( InputArray _src, OutputArray _dst, Size dsize,
double inv_scale_x, double inv_scale_y, int interpolation )
{
#ifdef HAVE_TEGRA_OPTIMIZATION
#ifdef HAVE_TEGRA_OPTIMIZATION__DISABLED
Mat src1 = _src.getMat();
Size ssize1 = src1.size();
......
......@@ -501,7 +501,7 @@ void cv::calcOpticalFlowPyrLK( InputArray _prevImg, InputArray _nextImg,
double derivLambda,
int flags, double minEigThreshold )
{
#ifdef HAVE_TEGRA_OPTIMIZATION
#ifdef HAVE_TEGRA_OPTIMIZATION__DISABLED
if (tegra::calcOpticalFlowPyrLK(_prevImg, _nextImg, _prevPts, _nextPts, _status, _err, winSize, maxLevel, criteria, derivLambda, flags))
return;
#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