aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/arm
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2010-05-28 07:22:04 +0000
committerDavid Conrad <lessen42@gmail.com>2010-05-28 07:22:04 +0000
commitc0fda017d1087903ade3b574bd57d02b63bfe2cc (patch)
tree2b7c1420c40c25d385593d0373e86668341fd09b /libavcodec/arm
parent179655b6c6f27cca2089844046bc5f280bb83814 (diff)
downloadffmpeg-c0fda017d1087903ade3b574bd57d02b63bfe2cc.tar.gz
vp3: 10l Fix DC-only IDCT for C and ARM too
Originally committed as revision 23359 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/arm')
-rw-r--r--libavcodec/arm/vp3dsp_neon.S6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/arm/vp3dsp_neon.S b/libavcodec/arm/vp3dsp_neon.S
index ade19984c2..d97ed3d21d 100644
--- a/libavcodec/arm/vp3dsp_neon.S
+++ b/libavcodec/arm/vp3dsp_neon.S
@@ -377,12 +377,10 @@ endfunc
function ff_vp3_idct_dc_add_neon, export=1
ldrsh r2, [r2]
- movw r3, #46341
- mul r2, r3, r2
- smulwt r2, r3, r2
mov r3, r0
+ add r2, r2, #15
vdup.16 q15, r2
- vrshr.s16 q15, q15, #4
+ vshr.s16 q15, q15, #5
vld1.8 {d0}, [r0,:64], r1
vld1.8 {d1}, [r0,:64], r1