1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Fixed histogram substraction bug with NEON instructions (arguments in wrong order).

This commit is contained in:
Florent
2015-10-15 13:49:32 +09:00
committed by Maksim Shabunin
parent 7172c16435
commit 056a111788
+2 -2
View File
@@ -1851,8 +1851,8 @@ static inline void histogram_add_simd( const HT x[16], HT y[16] )
static inline void histogram_sub_simd( const HT x[16], HT y[16] )
{
vst1q_u16(y, vsubq_u16(vld1q_u16(x), vld1q_u16(y)));
vst1q_u16(y + 8, vsubq_u16(vld1q_u16(x + 8), vld1q_u16(y + 8)));
vst1q_u16(y, vsubq_u16(vld1q_u16(y), vld1q_u16(x)));
vst1q_u16(y + 8, vsubq_u16(vld1q_u16(y + 8), vld1q_u16(x + 8)));
}
#else