diff options
author | Martin Storsjö <martin@martin.st> | 2019-02-27 12:29:14 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2019-03-07 00:36:08 +0300 |
commit | 18ef9556b71e3b6b839c35ae614ef0bb5b6a2179 (patch) | |
tree | d17b4c23ba9488c5a9b5d9d37a5040c8513ccc49 /src/arm/32/looprestoration.S | |
parent | c204da0ff33a0d563d6c632b42799e4fbc48f402 (diff) |
arm: looprestoration: Simplify a few padding cases in wiener_filter_h_neon
Diffstat (limited to 'src/arm/32/looprestoration.S')
-rw-r--r-- | src/arm/32/looprestoration.S | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/arm/32/looprestoration.S b/src/arm/32/looprestoration.S index 979a5b0..bbf40d9 100644 --- a/src/arm/32/looprestoration.S +++ b/src/arm/32/looprestoration.S @@ -283,14 +283,12 @@ L(variable_shift_tbl): .word 66f - L(variable_shift_tbl) + CONFIG_THUMB .word 77f - L(variable_shift_tbl) + CONFIG_THUMB +44: // 4 pixels valid in d2/d16, fill d3/d17 with padding. + vmov d3, d4 + vmov d17, d18 + b 88f // Shift q1 right, shifting out invalid pixels, // shift q1 left to the original offset, shifting in padding pixels. -44: // 4 pixels valid - vext.8 q1, q1, q1, #8 - vext.8 q1, q1, q2, #8 - vext.8 q8, q8, q8, #8 - vext.8 q8, q8, q9, #8 - b 88f 55: // 5 pixels valid vext.8 q1, q1, q1, #10 vext.8 q1, q1, q2, #6 |