mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
let the performance tests of WarpPerspective pass
* avoid misuse of vzeroupper on Visual Studio 2013 Update 5 * add ifdef to avoid unattended optimization
This commit is contained in:
parent
1393fd9e8e
commit
640d77be25
@ -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…
Reference in New Issue
Block a user