projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ccb5a3
)
fixed bug with s1 calculating
author
Ilya Lavrenov
<ilya.lavrenov@itseez.com>
Fri, 14 Dec 2012 13:54:07 +0000
(17:54 +0400)
committer
Ilya Lavrenov
<ilya.lavrenov@itseez.com>
Fri, 14 Dec 2012 13:54:07 +0000
(17:54 +0400)
modules/imgproc/src/imgwarp.cpp
patch
|
blob
|
history
diff --git
a/modules/imgproc/src/imgwarp.cpp
b/modules/imgproc/src/imgwarp.cpp
index
3fe7fbf
..
e6b45f6
100644
(file)
--- a/
modules/imgproc/src/imgwarp.cpp
+++ b/
modules/imgproc/src/imgwarp.cpp
@@
-1359,7
+1359,7
@@
public:
int dx = 0;
const ushort* S0 = (const ushort*)S;
- const ushort* S1 = (const ushort*)(S + step);
+ const ushort* S1 = (const ushort*)(S + step
/2
);
__m128i masklow = _mm_set1_epi32(0x0000ffff);
__m128i zero = _mm_setzero_si128();
__m128i delta2 = _mm_set1_epi32(2);