Do masked motion search based on COMPOUND_TYPE
Change-Id: I2d1b5f57a3bb19eb8c00eb4c2e6c7835047dc4ac
diff --git a/av1/common/blockd.h b/av1/common/blockd.h
index ce93693..fa82409 100644
--- a/av1/common/blockd.h
+++ b/av1/common/blockd.h
@@ -202,6 +202,10 @@
mode == NEAR_NEWMV || mode == NEW_NEARMV);
}
+static INLINE int use_masked_motion_search(COMPOUND_TYPE type) {
+ return (type == COMPOUND_WEDGE);
+}
+
static INLINE int is_masked_compound_type(COMPOUND_TYPE type) {
#if CONFIG_COMPOUND_SEGMENT
return (type == COMPOUND_WEDGE || type == COMPOUND_SEG);