Fix separation between ext-inter group of expts.
Change-Id: I9b6f99768c60e743d2fadfaabc532e7c15dc40f3
diff --git a/av1/common/blockd.h b/av1/common/blockd.h
index ec3b975..bbcfe9e 100644
--- a/av1/common/blockd.h
+++ b/av1/common/blockd.h
@@ -203,15 +203,24 @@
}
static INLINE int use_masked_motion_search(COMPOUND_TYPE type) {
+#if CONFIG_WEDGE
return (type == COMPOUND_WEDGE);
+#else
+ (void)type;
+ return 0;
+#endif
}
static INLINE int is_masked_compound_type(COMPOUND_TYPE type) {
-#if CONFIG_COMPOUND_SEGMENT
+#if CONFIG_COMPOUND_SEGMENT && CONFIG_WEDGE
return (type == COMPOUND_WEDGE || type == COMPOUND_SEG);
-#else
+#elif !CONFIG_COMPOUND_SEGMENT && CONFIG_WEDGE
return (type == COMPOUND_WEDGE);
+#elif CONFIG_COMPOUND_SEGMENT && !CONFIG_WEDGE
+ return (type == COMPOUND_SEG);
#endif // CONFIG_COMPOUND_SEGMENT
+ (void)type;
+ return 0;
}
#else