Merge pull request #11027 from tomoaki0705:fixImgprocPerfFailureVS2013

pull/11057/head
Alexander Alekhin 7 years ago
commit 8bb787cdf8
  1. 5
      modules/imgproc/src/imgwarp.cpp

@ -2793,6 +2793,11 @@ public:
ParallelLoopBody(), src(_src), dst(_dst), M(_M), interpolation(_interpolation), ParallelLoopBody(), src(_src), dst(_dst), M(_M), interpolation(_interpolation),
borderType(_borderType), borderValue(_borderValue) borderType(_borderType), borderValue(_borderValue)
{ {
#if defined(_MSC_VER) && _MSC_VER == 1800 /* MSVS 2013 */ && CV_AVX
// details: https://github.com/opencv/opencv/issues/11026
borderValue.val[2] = _borderValue.val[2];
borderValue.val[3] = _borderValue.val[3];
#endif
} }
virtual void operator() (const Range& range) const virtual void operator() (const Range& range) const

Loading…
Cancel
Save