From 3c9979cd6a2c7ce0c2c5c8c0fa331b3ee03aad1a Mon Sep 17 00:00:00 2001 From: Leonid Beynenson Date: Thu, 29 Sep 2011 08:51:03 +0000 Subject: [PATCH] Disabled some unfinished optimizations. --- modules/imgproc/src/imgwarp.cpp | 2 +- modules/video/src/lkpyramid.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/imgproc/src/imgwarp.cpp b/modules/imgproc/src/imgwarp.cpp index 9ffe31f687..d4050cc51a 100644 --- a/modules/imgproc/src/imgwarp.cpp +++ b/modules/imgproc/src/imgwarp.cpp @@ -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(); diff --git a/modules/video/src/lkpyramid.cpp b/modules/video/src/lkpyramid.cpp index 397eda5ffd..69ce0285b6 100644 --- a/modules/video/src/lkpyramid.cpp +++ b/modules/video/src/lkpyramid.cpp @@ -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