ref: adaa9ba6430b9c466b5b5e3421a3beff362e3690
parent: 22d3b6d98079d2e100c3be0ed658d9b1de1ac0c8
author: Janne Grunau <[email protected]>
date: Sun Nov 4 14:29:50 EST 2018
loop_filter_h_*_c: removed unnecessary mask to width
--- a/src/loopfilter_tmpl.c
+++ b/src/loopfilter_tmpl.c
@@ -163,7 +163,7 @@
const uint8_t (*l)[4], ptrdiff_t b4_stride,
const Av1FilterLUT *lut, const int h)
{
- const unsigned vm = (vmask[0] | vmask[1] | vmask[2]) & ((1ULL << h) - 1);
+ const unsigned vm = vmask[0] | vmask[1] | vmask[2];
for (unsigned y = 1; vm & ~(y - 1);
y <<= 1, dst += 4 * PXSTRIDE(stride), l += b4_stride)
{
@@ -201,7 +201,7 @@
const uint8_t (*l)[4], ptrdiff_t b4_stride,
const Av1FilterLUT *lut, const int h)
{
- const unsigned vm = (vmask[0] | vmask[1]) & ((1ULL << h) - 1);
+ const unsigned vm = vmask[0] | vmask[1];
for (unsigned y = 1; vm & ~(y - 1);
y <<= 1, dst += 4 * PXSTRIDE(stride), l += b4_stride)
{