summaryrefslogtreecommitdiffstats
path: root/libavcodec/aarch64
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2017-01-03 16:46:17 +0200
committerMartin Storsjö <martin@martin.st>2017-02-09 23:56:59 +0200
commit3dd7827258ddaa2e51085d0c677d6f3b1be3572f (patch)
tree8fe2644f70a7ac3b58ce5c089ec340611ee93c86 /libavcodec/aarch64
parented8d293306e12c9b79022d37d39f48825ce7f2fa (diff)
downloadffmpeg-streaming-3dd7827258ddaa2e51085d0c677d6f3b1be3572f.zip
ffmpeg-streaming-3dd7827258ddaa2e51085d0c677d6f3b1be3572f.tar.gz
aarch64: vp9itxfm: Use the right lane sizes in 8x8 for improved readability
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/aarch64')
-rw-r--r--libavcodec/aarch64/vp9itxfm_neon.S16
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/aarch64/vp9itxfm_neon.S b/libavcodec/aarch64/vp9itxfm_neon.S
index e7b8836..7582081 100644
--- a/libavcodec/aarch64/vp9itxfm_neon.S
+++ b/libavcodec/aarch64/vp9itxfm_neon.S
@@ -385,10 +385,10 @@ function ff_vp9_\txfm1\()_\txfm2\()_8x8_add_neon, export=1
.endif
ld1 {v0.8h}, [x4]
- movi v2.16b, #0
- movi v3.16b, #0
- movi v4.16b, #0
- movi v5.16b, #0
+ movi v2.8h, #0
+ movi v3.8h, #0
+ movi v4.8h, #0
+ movi v5.8h, #0
.ifc \txfm1\()_\txfm2,idct_idct
cmp w3, #1
@@ -411,11 +411,11 @@ function ff_vp9_\txfm1\()_\txfm2\()_8x8_add_neon, export=1
b 2f
.endif
1:
- ld1 {v16.16b,v17.16b,v18.16b,v19.16b}, [x2], #64
- ld1 {v20.16b,v21.16b,v22.16b,v23.16b}, [x2], #64
+ ld1 {v16.8h,v17.8h,v18.8h,v19.8h}, [x2], #64
+ ld1 {v20.8h,v21.8h,v22.8h,v23.8h}, [x2], #64
sub x2, x2, #128
- st1 {v2.16b,v3.16b,v4.16b,v5.16b}, [x2], #64
- st1 {v2.16b,v3.16b,v4.16b,v5.16b}, [x2], #64
+ st1 {v2.8h,v3.8h,v4.8h,v5.8h}, [x2], #64
+ st1 {v2.8h,v3.8h,v4.8h,v5.8h}, [x2], #64
\txfm1\()8
OpenPOWER on IntegriCloud