summaryrefslogtreecommitdiff
path: root/libavcodec/arm/vp3dsp_neon.S
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-06-29 13:35:08 +0100
committerMans Rullgard <mans@mansr.com>2012-07-01 11:25:06 +0100
commit62634158b7cd39ad1e330a87153a97bf3dc6f8de (patch)
tree3b5bb36649f0e08a5675c474b29200c5f0b155b7 /libavcodec/arm/vp3dsp_neon.S
parentceabc13f129cd6344b1eebdbe10119083fe5520e (diff)
ARM: generate position independent code to access data symbols
This creates proper position independent code when accessing data symbols if CONFIG_PIC is set. References to external symbols should now use the movrelx macro. Some additional code changes are required since this macro may need a register to hold the GOT pointer. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/arm/vp3dsp_neon.S')
-rw-r--r--libavcodec/arm/vp3dsp_neon.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/arm/vp3dsp_neon.S b/libavcodec/arm/vp3dsp_neon.S
index 8d22d00038..2a9b25f34e 100644
--- a/libavcodec/arm/vp3dsp_neon.S
+++ b/libavcodec/arm/vp3dsp_neon.S
@@ -116,9 +116,8 @@ function vp3_idct_start_neon
vadd.s16 q1, q8, q12
vsub.s16 q8, q8, q12
vld1.64 {d28-d31}, [r2,:128]!
-endfunc
-function vp3_idct_core_neon
+vp3_idct_core_neon:
vmull.s16 q2, d18, xC1S7 // (ip[1] * C1) << 16
vmull.s16 q3, d19, xC1S7
vmull.s16 q4, d2, xC4S4 // ((ip[0] + ip[4]) * C4) << 16