OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f3b831
)
ARM: NEON: fix overflow in h264 16x16 planar pred
author
Mans Rullgard
<mans@mansr.com>
Sun, 23 Jan 2011 20:41:59 +0000
(20:41 +0000)
committer
Mans Rullgard
<mans@mansr.com>
Mon, 24 Jan 2011 14:59:46 +0000
(14:59 +0000)
Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/arm/h264pred_neon.S
patch
|
blob
|
history
diff --git
a/libavcodec/arm/h264pred_neon.S
b/libavcodec/arm/h264pred_neon.S
index
e2c69e1
..
63c96ee
100644
(file)
--- a/
libavcodec/arm/h264pred_neon.S
+++ b/
libavcodec/arm/h264pred_neon.S
@@
-131,8
+131,8
@@
function ff_pred16x16_plane_neon, export=1
vadd.i16 d5, d6, d7
vpadd.i16 d4, d4, d5
vpadd.i16 d4, d4, d4
- vshl
.i16 d5
, d4, #2
- vadd
l.s16 q2, d4, d5
+ vshl
l.s16 q3
, d4, #2
+ vadd
w.s16 q2, q3, d4
vrshrn.s32 d4, q2, #6
mov r3, #0
vtrn.16 d4, d5