From 54f52c3f45e998d50dcf77e13945ed1dcf5d2408 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Tue, 13 Jan 2015 23:33:01 +0300 Subject: [PATCH] Build fix for non-TEGRA case. --- modules/stitching/src/blenders.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/stitching/src/blenders.cpp b/modules/stitching/src/blenders.cpp index 3fddff5..caae058 100644 --- a/modules/stitching/src/blenders.cpp +++ b/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 -- 2.7.4