Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
9c029f67
Commit
9c029f67
authored
Feb 07, 2014
by
Janne Grunau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aarch64: use EXTERN_ASM consistently for exported symbols
Based on
e3fec3f0
for arm.
parent
996697e2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
9 deletions
+16
-9
h264idct_neon.S
libavcodec/aarch64/h264idct_neon.S
+8
-8
asm.S
libavutil/aarch64/asm.S
+8
-1
No files found.
libavcodec/aarch64/h264idct_neon.S
View file @
9c029f67
...
...
@@ -106,8 +106,8 @@ function ff_h264_idct_add16_neon, export=1
mov w9, w3 // stride
movrel x7, scan8
mov x10, #16
movrel x13,
ff_h264_idct_dc_add_neon
movrel x14,
ff_h264_idct_add_neon
movrel x13,
X(ff_h264_idct_dc_add_neon)
movrel x14,
X(ff_h264_idct_add_neon)
1: mov w2, w9
ldrb w3, [x7], #1
ldrsw x0, [x5], #4
...
...
@@ -133,8 +133,8 @@ function ff_h264_idct_add16intra_neon, export=1
mov w9, w3 // stride
movrel x7, scan8
mov x10, #16
movrel x13,
ff_h264_idct_dc_add_neon
movrel x14,
ff_h264_idct_add_neon
movrel x13,
X(ff_h264_idct_dc_add_neon)
movrel x14,
X(ff_h264_idct_add_neon)
1: mov w2, w9
ldrb w3, [x7], #1
ldrsw x0, [x5], #4
...
...
@@ -160,8 +160,8 @@ function ff_h264_idct_add8_neon, export=1
add x5, x1, #16*4 // block_offset
add x9, x2, #16*32 // block
mov w19, w3 // stride
movrel x13,
ff_h264_idct_dc_add_neon
movrel x14,
ff_h264_idct_add_neon
movrel x13,
X(ff_h264_idct_dc_add_neon)
movrel x14,
X(ff_h264_idct_add_neon)
movrel x7, scan8+16
mov x10, #0
mov x11, #16
...
...
@@ -374,8 +374,8 @@ function ff_h264_idct8_add4_neon, export=1
mov w2, w3
movrel x7, scan8
mov w10, #16
movrel x13,
ff_h264_idct8_dc_add_neon
movrel x14,
ff_h264_idct8_add_neon
movrel x13,
X(ff_h264_idct8_dc_add_neon)
movrel x14,
X(ff_h264_idct8_add_neon)
1: ldrb w9, [x7], #4
ldrsw x0, [x5], #16
ldrb w9, [x4, w9, UXTW]
...
...
libavutil/aarch64/asm.S
View file @
9c029f67
...
...
@@ -36,11 +36,14 @@ ELF .size \name, . - \name
.align \align
.if \export
.global EXTERN_ASM\name
ELF .type EXTERN_ASM\name, %function
.func EXTERN_ASM\name
EXTERN_ASM\name:
.e
ndif
.e
lse
ELF .type \name, %function
.func \name
\name:
.endif
.endm
.macro const name, align=2
...
...
@@ -61,3 +64,7 @@ ELF .size \name, . - \name
ldr \rd, =\val
#endif
.endm
#define GLUE(a, b) a ## b
#define JOIN(a, b) GLUE(a, b)
#define X(s) JOIN(EXTERN_ASM, s)
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