summaryrefslogtreecommitdiff
path: root/libavcodec/arm/h264idct_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/h264idct_neon.S
parent39c2a6bf44b25534fdbc9b6ac3844dab28ba5b0e (diff)
ARM: use const macro to define constant data in asm
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/arm/h264idct_neon.S')
-rw-r--r--libavcodec/arm/h264idct_neon.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/arm/h264idct_neon.S b/libavcodec/arm/h264idct_neon.S
index eadf2e711d..6c62e0f7cb 100644
--- a/libavcodec/arm/h264idct_neon.S
+++ b/libavcodec/arm/h264idct_neon.S
@@ -383,8 +383,8 @@ function ff_h264_idct8_add4_neon, export=1
pop {r4-r8,pc}
endfunc
- .section .rodata
-scan8: .byte 4+ 1*8, 5+ 1*8, 4+ 2*8, 5+ 2*8
+const scan8
+ .byte 4+ 1*8, 5+ 1*8, 4+ 2*8, 5+ 2*8
.byte 6+ 1*8, 7+ 1*8, 6+ 2*8, 7+ 2*8
.byte 4+ 3*8, 5+ 3*8, 4+ 4*8, 5+ 4*8
.byte 6+ 3*8, 7+ 3*8, 6+ 4*8, 7+ 4*8
@@ -396,3 +396,4 @@ scan8: .byte 4+ 1*8, 5+ 1*8, 4+ 2*8, 5+ 2*8
.byte 6+11*8, 7+11*8, 6+12*8, 7+12*8
.byte 4+13*8, 5+13*8, 4+14*8, 5+14*8
.byte 6+13*8, 7+13*8, 6+14*8, 7+14*8
+endconst