Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/arm
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2020-02-13 00:42:58 +0300
committerMartin Storsjö <martin@martin.st>2020-02-13 15:02:18 +0300
commiteb7077ed7773e1a1f06db58f77c7d52c05452d61 (patch)
tree1fcf81b6808a752db36ba029ccc42d61cee04679 /src/arm
parente3dbf92664918ecc830b4fde74b7cc0f6cd2065c (diff)
arm: cdef: Remove leftover unused labels and macro parameters
These were missed in 361a3c8ee2d03f87f42a76213ee0f93e49fa9ec3.
Diffstat (limited to 'src/arm')
-rw-r--r--src/arm/32/cdef.S9
-rw-r--r--src/arm/64/cdef_tmpl.S9
2 files changed, 8 insertions, 10 deletions
diff --git a/src/arm/32/cdef.S b/src/arm/32/cdef.S
index bd48259..4af9020 100644
--- a/src/arm/32/cdef.S
+++ b/src/arm/32/cdef.S
@@ -310,7 +310,7 @@ endconst
vld1.16 {\d22}, [r9] // p1
.endif
.endm
-.macro handle_pixel s1, s2, threshold, thresh_vec, shift, tap, min
+.macro handle_pixel s1, s2, thresh_vec, shift, tap, min
.if \min
vmin.u16 q2, q2, \s1
vmax.s16 q3, q3, \s1
@@ -334,7 +334,6 @@ endconst
vmax.s16 q13, q13, q11 // constrain() = imax(imin(diff, clip), -clip)
vmla.i16 q1, q10, q9 // sum += taps[k] * constrain()
vmla.i16 q1, q13, q9 // sum += taps[k] * constrain()
-3:
.endm
// void dav1d_cdef_filterX_8bpc_neon(pixel *dst, ptrdiff_t dst_stride,
@@ -407,7 +406,7 @@ function cdef_filter\w\suffix\()_neon
.if \pri
ldrb r12, [r8] // *pri_taps
- handle_pixel q14, q15, r3, q5, q4, r12, \min
+ handle_pixel q14, q15, q5, q4, r12, \min
.endif
.if \sec
@@ -416,11 +415,11 @@ function cdef_filter\w\suffix\()_neon
add r5, r5, #8 // +2*4
ldrsb r9, [r5] // off3
- handle_pixel q14, q15, r4, q7, q6, lr, \min
+ handle_pixel q14, q15, q7, q6, lr, \min
load_px d28, d29, d30, d31, \w
- handle_pixel q14, q15, r4, q7, q6, lr, \min
+ handle_pixel q14, q15, q7, q6, lr, \min
sub r5, r5, #11 // r5 -= 2*(2+4); r5 += 1;
.else
diff --git a/src/arm/64/cdef_tmpl.S b/src/arm/64/cdef_tmpl.S
index 1ebd980..0b9aa9d 100644
--- a/src/arm/64/cdef_tmpl.S
+++ b/src/arm/64/cdef_tmpl.S
@@ -74,7 +74,7 @@ endconst
ld1 {\d2\().d}[1], [x9] // p1
.endif
.endm
-.macro handle_pixel s1, s2, threshold, thresh_vec, shift, tap, min
+.macro handle_pixel s1, s2, thresh_vec, shift, tap, min
.if \min
umin v2.8h, v2.8h, \s1\().8h
smax v3.8h, v3.8h, \s1\().8h
@@ -98,7 +98,6 @@ endconst
smax v22.8h, v22.8h, v20.8h // constrain() = imax(imin(diff, clip), -clip)
mla v1.8h, v18.8h, v19.8h // sum += taps[k] * constrain()
mla v1.8h, v22.8h, v19.8h // sum += taps[k] * constrain()
-3:
.endm
// void dav1d_cdef_filterX_Ybpc_neon(pixel *dst, ptrdiff_t dst_stride,
@@ -182,7 +181,7 @@ function cdef_filter\w\suffix\()_\bpc\()bpc_neon
.if \pri
ldrb w10, [x8] // *pri_taps
- handle_pixel v4, v5, w3, v25.8h, v24.8h, w10, \min
+ handle_pixel v4, v5, v25.8h, v24.8h, w10, \min
.endif
.if \sec
@@ -190,9 +189,9 @@ function cdef_filter\w\suffix\()_\bpc\()bpc_neon
ldrb w9, [x5] // off3
load_px v4, v5, \w
- handle_pixel v6, v7, w4, v27.8h, v26.8h, w11, \min
+ handle_pixel v6, v7, v27.8h, v26.8h, w11, \min
- handle_pixel v4, v5, w4, v27.8h, v26.8h, w11, \min
+ handle_pixel v4, v5, v27.8h, v26.8h, w11, \min
sub x5, x5, #11 // x5 -= 2*(2+4); x5 += 1;
.else