Fix inconsistency in compound-segment masks
The value of 'mask_base' passed to diffwtd_mask is currently
38 for the lowbd path and 42 for the highbd path. Going off of
the mode name (DIFFWTD_38), presumably these are both supposed
to be 38, so change the highbd path accordingly.
Change-Id: I5fb0099c4b8b3ca3c4f211562401b12012f5c002
diff --git a/av1/common/reconinter.c b/av1/common/reconinter.c
index e0bae2d..4967416 100644
--- a/av1/common/reconinter.c
+++ b/av1/common/reconinter.c
@@ -457,12 +457,12 @@
BLOCK_SIZE sb_type, int h, int w, int bd) {
switch (mask_type) {
case DIFFWTD_38:
- diffwtd_mask_highbd(mask, 0, 42, CONVERT_TO_SHORTPTR(src0), src0_stride,
+ diffwtd_mask_highbd(mask, 0, 38, CONVERT_TO_SHORTPTR(src0), src0_stride,
CONVERT_TO_SHORTPTR(src1), src1_stride, sb_type, h, w,
bd);
break;
case DIFFWTD_38_INV:
- diffwtd_mask_highbd(mask, 1, 42, CONVERT_TO_SHORTPTR(src0), src0_stride,
+ diffwtd_mask_highbd(mask, 1, 38, CONVERT_TO_SHORTPTR(src0), src0_stride,
CONVERT_TO_SHORTPTR(src1), src1_stride, sb_type, h, w,
bd);
break;