summaryrefslogtreecommitdiffstats
path: root/libavcodec/aarch64
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2019-01-01 18:16:33 +0100
committerJanne Grunau <janne-libav@jannau.net>2019-01-26 12:05:10 +0100
commitbb515e3a735f526ccb1068031e289eb5aeb69e22 (patch)
tree7a047db1fa1c8c26bb275011aa4839154e4ec0c0 /libavcodec/aarch64
parent41cf3e3b1ca375962951fde1b90a03b16197d205 (diff)
downloadffmpeg-streaming-bb515e3a735f526ccb1068031e289eb5aeb69e22.zip
ffmpeg-streaming-bb515e3a735f526ccb1068031e289eb5aeb69e22.tar.gz
h264/aarch64: sign extend int stride in loop filter asm
Diffstat (limited to 'libavcodec/aarch64')
-rw-r--r--libavcodec/aarch64/h264dsp_neon.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/aarch64/h264dsp_neon.S b/libavcodec/aarch64/h264dsp_neon.S
index 9b4610a..60ffa24 100644
--- a/libavcodec/aarch64/h264dsp_neon.S
+++ b/libavcodec/aarch64/h264dsp_neon.S
@@ -130,6 +130,7 @@ endfunc
function ff_h264_h_loop_filter_luma_neon, export=1
h264_loop_filter_start
+ sxtw x1, w1
sub x0, x0, #4
ld1 {v6.8B}, [x0], x1
@@ -210,6 +211,7 @@ endfunc
function ff_h264_v_loop_filter_chroma_neon, export=1
h264_loop_filter_start
+ sxtw x1, w1
sub x0, x0, x1, lsl #1
ld1 {v18.8B}, [x0], x1
@@ -228,6 +230,7 @@ endfunc
function ff_h264_h_loop_filter_chroma_neon, export=1
h264_loop_filter_start
+ sxtw x1, w1
sub x0, x0, #2
ld1 {v18.S}[0], [x0], x1
OpenPOWER on IntegriCloud