projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61423a2
)
Fixed review comment from Vadim Pisarevsky
author
Yury Gorbachev
<yury.gorbachev@itseez.com>
Sat, 9 Aug 2014 09:37:53 +0000
(13:37 +0400)
committer
Yury Gorbachev
<yury.gorbachev@itseez.com>
Sat, 9 Aug 2014 09:37:53 +0000
(13:37 +0400)
modules/core/src/arithm.cpp
patch
|
blob
|
history
diff --git
a/modules/core/src/arithm.cpp
b/modules/core/src/arithm.cpp
index
4c6ba1c
..
91c338b
100644
(file)
--- a/
modules/core/src/arithm.cpp
+++ b/
modules/core/src/arithm.cpp
@@
-2460,8
+2460,8
@@
addWeighted8u( const uchar* src1, size_t step1,
out_f_l = vaddq_f32(out_f_l, g);
out_f_h = vaddq_f32(out_f_h, g);
- uint16x4_t out_16_l = vqmov
n_u32(vcvtq_u
32_f32(out_f_l));
- uint16x4_t out_16_h = vqmov
n_u32(vcvtq_u
32_f32(out_f_h));
+ uint16x4_t out_16_l = vqmov
un_s32(vcvtq_s
32_f32(out_f_l));
+ uint16x4_t out_16_h = vqmov
un_s32(vcvtq_s
32_f32(out_f_h));
uint16x8_t out_16 = vcombine_u16(out_16_l, out_16_h);
uint8x8_t out = vqmovn_u16(out_16);