Disabled some unfinished optimizations.

This commit is contained in:
Leonid Beynenson 2011-09-29 08:51:03 +00:00
parent bf19d66bc2
commit 3c9979cd6a
2 changed files with 2 additions and 2 deletions

View 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();

View 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