Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
11043d80
Commit
11043d80
authored
Jul 09, 2011
by
Mans Rullgard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: use const macro to define constant data in asm
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
39c2a6bf
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
25 deletions
+20
-25
fft_neon.S
libavcodec/arm/fft_neon.S
+9
-7
h264idct_neon.S
libavcodec/arm/h264idct_neon.S
+3
-2
h264pred_neon.S
libavcodec/arm/h264pred_neon.S
+2
-5
simple_idct_neon.S
libavcodec/arm/simple_idct_neon.S
+2
-3
vp3dsp_neon.S
libavcodec/arm/vp3dsp_neon.S
+2
-6
vp8_armv6.S
libavcodec/arm/vp8_armv6.S
+2
-2
No files found.
libavcodec/arm/fft_neon.S
View file @
11043d80
...
...
@@ -349,9 +349,7 @@ function ff_fft_permute_neon, export=1
pop {r4,pc}
endfunc
.section .rodata
.align 4
fft_tab_neon:
const fft_tab_neon
.word fft4_neon
.word fft8_neon
.word fft16_neon
...
...
@@ -367,8 +365,12 @@ fft_tab_neon:
.word fft16384_neon
.word fft32768_neon
.word fft65536_neon
ELF .size fft_tab_neon, . - fft_tab_neon
endconst
.align 4
pmmp: .float +1.0, -1.0, -1.0, +1.0
mppm: .float -M_SQRT1_2, M_SQRT1_2, M_SQRT1_2, -M_SQRT1_2
const pmmp, align=4
.float +1.0, -1.0, -1.0, +1.0
endconst
const mppm, align=4
.float -M_SQRT1_2, M_SQRT1_2, M_SQRT1_2, -M_SQRT1_2
endconst
libavcodec/arm/h264idct_neon.S
View file @
11043d80
...
...
@@ -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
libavcodec/arm/h264pred_neon.S
View file @
11043d80
...
...
@@ -166,12 +166,9 @@ function ff_pred16x16_plane_neon, export=1
bx lr
endfunc
.section .rodata
.align 4
p16weight:
const p16weight, align=4
.short 1,2,3,4,5,6,7,8
.text
endconst
function ff_pred8x8_hor_neon, export=1
sub r2, r0, #1
...
...
libavcodec/arm/simple_idct_neon.S
View file @
11043d80
...
...
@@ -243,10 +243,9 @@ function idct_col4_st8_neon
bx lr
endfunc
.section .rodata
.align 4
idct_coeff_neon:
const idct_coeff_neon, align=4
.short W1, W2, W3, W4, W5, W6, W7, W4c
endconst
.macro idct_start data
push {r4-r7, lr}
...
...
libavcodec/arm/vp3dsp_neon.S
View file @
11043d80
...
...
@@ -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
...
...
libavcodec/arm/vp8_armv6.S
View file @
11043d80
...
...
@@ -240,9 +240,9 @@ A orrcs r8, r8, r10, lsl r6
b 5b
endfunc
.section .rodata
zigzag_scan:
const zigzag_scan
.byte 0, 2, 8, 16
.byte 10, 4, 6, 12
.byte 18, 24, 26, 20
.byte 14, 22, 28, 30
endconst
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment