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>2021-09-01 23:51:35 +0300
committerMartin Storsjö <martin@martin.st>2021-09-03 14:36:15 +0300
commit6d1e861768380c0eea33c91a2080aa37e97abaa8 (patch)
treee2c2c86cfa9fcb57c5f271573d3519c9b939be57 /src/arm
parentb10b78ab62ae8b0925b328cd3809871a17e01990 (diff)
arm64: filmgrain16: Fix the default elems parameter of sum_lag2/3_func
This makes it correctly hit some conditions that avoid duplicated code, shrinking the text section by 1524 bytes.
Diffstat (limited to 'src/arm')
-rw-r--r--src/arm/64/film_grain16.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arm/64/film_grain16.S b/src/arm/64/film_grain16.S
index dd5558e..fc8b002 100644
--- a/src/arm/64/film_grain16.S
+++ b/src/arm/64/film_grain16.S
@@ -423,7 +423,7 @@ function sum_lag2_above_neon
ret
endfunc
-.macro sum_lag2_func type, uv_layout, edge, elems=16
+.macro sum_lag2_func type, uv_layout, edge, elems=8
function sum_\type\()_lag2_\edge\()_neon
str x30, [sp, #-16]!
.ifc \edge, left
@@ -576,7 +576,7 @@ function sum_lag3_above_neon
ret
endfunc
-.macro sum_lag3_func type, uv_layout, edge, elems=16
+.macro sum_lag3_func type, uv_layout, edge, elems=8
function sum_\type\()_lag3_\edge\()_neon
str x30, [sp, #-16]!
.ifc \edge, left