Build fix for non-TEGRA case.

pull/3594/head
Alexander Smorkalov 10 years ago
parent 1fa37fe733
commit 54f52c3f45
  1. 4
      modules/stitching/src/blenders.cpp

@ -476,9 +476,9 @@ static bool ocl_normalizeUsingWeightMap(InputArray _weight, InputOutputArray _ma
void normalizeUsingWeightMap(InputArray _weight, InputOutputArray _src)
{
#ifdef HAVE_TEGRA_OPTIMIZATION
Mat weight = _weight.getMat();
Mat src = _src.getMat();
Mat weight = _weight.getMat();
#ifdef HAVE_TEGRA_OPTIMIZATION
if(tegra::normalizeUsingWeightMap(weight, src))
return;
#endif

Loading…
Cancel
Save