1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

ARM: NEON: fix overflow in h264 16x16 planar pred

Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
Mans Rullgard 2011-01-23 20:41:59 +00:00
parent 5f3b8314a4
commit 78f318be59

View File

@ -131,8 +131,8 @@ function ff_pred16x16_plane_neon, export=1
vadd.i16 d5, d6, d7 vadd.i16 d5, d6, d7
vpadd.i16 d4, d4, d5 vpadd.i16 d4, d4, d5
vpadd.i16 d4, d4, d4 vpadd.i16 d4, d4, d4
vshl.i16 d5, d4, #2 vshll.s16 q3, d4, #2
vaddl.s16 q2, d4, d5 vaddw.s16 q2, q3, d4
vrshrn.s32 d4, q2, #6 vrshrn.s32 d4, q2, #6
mov r3, #0 mov r3, #0
vtrn.16 d4, d5 vtrn.16 d4, d5