Commit 2c05ddd5 authored by James Bowman's avatar James Bowman

#1018: predicate on SSE2

parent efd368f4
#if CV_SSE2
#include <xmmintrin.h> #include <xmmintrin.h>
#endif
#include "precomp.hpp" #include "precomp.hpp"
#include <deque> #include <deque>
using namespace std; using namespace std;
...@@ -282,6 +285,7 @@ static deque<CvPoint> trailto(CvMat *v, int x, int y, CvMat *terminal) ...@@ -282,6 +285,7 @@ static deque<CvPoint> trailto(CvMat *v, int x, int y, CvMat *terminal)
deque <DataMatrixCode> cvFindDataMatrix(CvMat *im) deque <DataMatrixCode> cvFindDataMatrix(CvMat *im)
{ {
#if CV_SSE2
int r = im->rows; int r = im->rows;
int c = im->cols; int c = im->cols;
...@@ -419,4 +423,8 @@ endo: ; // end search for this o ...@@ -419,4 +423,8 @@ endo: ; // end search for this o
rc.push_back(cc); rc.push_back(cc);
} }
return rc; return rc;
#else
deque <DataMatrixCode> rc;
return rc;
#endif
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment