From 2c05ddd565c11bd8b08155de73c6085e8b73a8fa Mon Sep 17 00:00:00 2001 From: James Bowman Date: Thu, 21 Apr 2011 17:29:21 +0000 Subject: [PATCH] #1018: predicate on SSE2 --- modules/objdetect/src/datamatrix.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/objdetect/src/datamatrix.cpp b/modules/objdetect/src/datamatrix.cpp index 44fef2c..392183f 100644 --- a/modules/objdetect/src/datamatrix.cpp +++ b/modules/objdetect/src/datamatrix.cpp @@ -1,4 +1,7 @@ +#if CV_SSE2 #include +#endif + #include "precomp.hpp" #include using namespace std; @@ -282,6 +285,7 @@ static deque trailto(CvMat *v, int x, int y, CvMat *terminal) deque cvFindDataMatrix(CvMat *im) { +#if CV_SSE2 int r = im->rows; int c = im->cols; @@ -419,4 +423,8 @@ endo: ; // end search for this o rc.push_back(cc); } return rc; +#else + deque rc; + return rc; +#endif } -- 2.7.4