diff options
author | Martin Storsjö <martin@martin.st> | 2020-02-25 01:08:44 +0300 |
---|---|---|
committer | Jean-Baptiste Kempf <jb@videolan.org> | 2020-03-02 12:58:11 +0300 |
commit | ac492552babb8c7916a9347768f4dcacbb47dd42 (patch) | |
tree | 2611c9a1036fc161752597827a4faa17d1a13aa6 /src | |
parent | d398da88c0b68e3dbb966256c7ed682b211579e3 (diff) |
arm: loopfilter: Fix a comment
Diffstat (limited to 'src')
-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 |