Disabled some unfinished optimizations.
authorLeonid Beynenson <no@email>
Thu, 29 Sep 2011 08:51:03 +0000 (08:51 +0000)
committerLeonid Beynenson <no@email>
Thu, 29 Sep 2011 08:51:03 +0000 (08:51 +0000)
modules/imgproc/src/imgwarp.cpp
modules/video/src/lkpyramid.cpp

index 9ffe31f..d4050cc 100644 (file)
@@ -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();
 
index 397eda5..69ce028 100644 (file)
@@ -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