aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aarch64
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2021-08-05 00:09:57 +0300
committerMartin Storsjö <martin@martin.st>2021-08-08 23:18:43 +0300
commite86ec831b0e43909401035588be04778c4bd17aa (patch)
tree967e071f9f35b2a72710324318022093a15b2cc9 /libavcodec/aarch64
parenta2690dcccab4f878319e7af42a8ef64f99c15637 (diff)
downloadffmpeg-e86ec831b0e43909401035588be04778c4bd17aa.tar.gz
aarch64: h264dsp: Remove unnecessary sign extensions
These became unnecessary when the stride arguments were changed from int to ptrdiff_t in bc26fe89275c267d169b468356c82ee59874407d (0576ef466d8a631326d1d0a5ec2e4c4c81d25353) and d5d699ab6e6f8a8290748d107416fd5c19757a1b (aa844dc46f93182a63ec0b53267d19e7342c79b9). Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/aarch64')
-rw-r--r--libavcodec/aarch64/h264dsp_neon.S8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/aarch64/h264dsp_neon.S b/libavcodec/aarch64/h264dsp_neon.S
index fbb8ecc463..997167ca88 100644
--- a/libavcodec/aarch64/h264dsp_neon.S
+++ b/libavcodec/aarch64/h264dsp_neon.S
@@ -110,7 +110,6 @@
function ff_h264_v_loop_filter_luma_neon, export=1
h264_loop_filter_start
- sxtw x1, w1
ld1 {v0.16B}, [x0], x1
ld1 {v2.16B}, [x0], x1
@@ -134,7 +133,6 @@ 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
@@ -188,7 +186,6 @@ endfunc
cbnz w4, 1f
ret
1:
- sxtw x1, w1
dup v30.16b, w2 // alpha
dup v31.16b, w3 // beta
.endm
@@ -414,7 +411,6 @@ 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
@@ -433,7 +429,6 @@ endfunc
function ff_h264_h_loop_filter_chroma_neon, export=1
h264_loop_filter_start
- sxtw x1, w1
sub x0, x0, #2
h_loop_filter_chroma420:
@@ -466,7 +461,6 @@ h_loop_filter_chroma420:
endfunc
function ff_h264_h_loop_filter_chroma422_neon, export=1
- sxtw x1, w1
h264_loop_filter_start
add x5, x0, x1
sub x0, x0, #2
@@ -691,7 +685,6 @@ endfunc
.macro biweight_func w
function ff_biweight_h264_pixels_\w\()_neon, export=1
- sxtw x2, w2
lsr w8, w5, #31
add w7, w7, #1
eor w8, w8, w6, lsr #30
@@ -800,7 +793,6 @@ endfunc
.macro weight_func w
function ff_weight_h264_pixels_\w\()_neon, export=1
- sxtw x1, w1
cmp w3, #1
mov w6, #1
lsl w5, w5, w3