diff options
Diffstat (limited to 'src/arm')
-rw-r--r-- | src/arm/32/loopfilter.S | 4 | ||||
-rw-r--r-- | src/arm/64/loopfilter.S | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/arm/32/loopfilter.S b/src/arm/32/loopfilter.S index 9449fde..f1bbaeb 100644 --- a/src/arm/32/loopfilter.S +++ b/src/arm/32/loopfilter.S @@ -143,8 +143,8 @@ function lpf_8_wd\wd\()_neon vaddw.s8 q1, q1, d4 vmov.i8 d7, #3 vqmovn.s16 d2, q1 // f - vqadd.s8 d4, d6, d2 // imin(f + 4, 128) - vqadd.s8 d5, d7, d2 // imin(f + 3, 128) + vqadd.s8 d4, d6, d2 // imin(f + 4, 127) + vqadd.s8 d5, d7, d2 // imin(f + 3, 127) vshr.s8 d4, d4, #3 // f1 vshr.s8 d5, d5, #3 // f2 vmovl.u8 q1, d23 // p0 diff --git a/src/arm/64/loopfilter.S b/src/arm/64/loopfilter.S index f3ea371..af9dfe6 100644 --- a/src/arm/64/loopfilter.S +++ b/src/arm/64/loopfilter.S @@ -151,8 +151,8 @@ function lpf_16_wd\wd\()_neon movi v7.16b, #3 sqxtn v2.8b, v2.8h // f sqxtn2 v2.16b, v3.8h - sqadd v4.16b, v6.16b, v2.16b // imin(f + 4, 128) - sqadd v5.16b, v7.16b, v2.16b // imin(f + 3, 128) + sqadd v4.16b, v6.16b, v2.16b // imin(f + 4, 127) + sqadd v5.16b, v7.16b, v2.16b // imin(f + 3, 127) sshr v4.16b, v4.16b, #3 // f1 sshr v5.16b, v5.16b, #3 // f2 uxtl v2.8h, v23.8b // p0 |