summaryrefslogtreecommitdiff
path: root/libavcodec/arm/vp3dsp_neon.S
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-07-09 12:37:08 +0100
committerMans Rullgard <mans@mansr.com>2011-07-10 17:56:06 +0100
commit11043d80f60ca37330f5f1afb8ee956665a71290 (patch)
tree4130024372ffb84b30112245fa8b156db912c62b /libavcodec/arm/vp3dsp_neon.S
parent39c2a6bf44b25534fdbc9b6ac3844dab28ba5b0e (diff)
downloadffmpeg-11043d80f60ca37330f5f1afb8ee956665a71290.tar.gz
ARM: use const macro to define constant data in asm
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/arm/vp3dsp_neon.S')
-rw-r--r--libavcodec/arm/vp3dsp_neon.S8
1 files changed, 2 insertions, 6 deletions
diff --git a/libavcodec/arm/vp3dsp_neon.S b/libavcodec/arm/vp3dsp_neon.S
index c1a55cad2f..279b13225b 100644
--- a/libavcodec/arm/vp3dsp_neon.S
+++ b/libavcodec/arm/vp3dsp_neon.S
@@ -20,11 +20,9 @@
#include "asm.S"
-.section .rodata
-.align 4
-
-vp3_idct_constants:
+const vp3_idct_constants, align=4
.short 64277, 60547, 54491, 46341, 36410, 25080, 12785
+endconst
#define xC1S7 d0[0]
#define xC2S6 d0[1]
@@ -34,8 +32,6 @@ vp3_idct_constants:
#define xC6S2 d1[1]
#define xC7S1 d1[2]
-.text
-
.macro vp3_loop_filter
vsubl.u8 q3, d18, d17
vsubl.u8 q2, d16, d19