Commit e7a64cc9 authored by Yaowu Xu's avatar Yaowu Xu Committed by Gerrit Code Review
Browse files

Merge "Let is_interp_needed always return 1" into nextgenv2

parents 02d33bfe a69ce1b3
......@@ -460,7 +460,9 @@ static INLINE int has_subpel_mv_component(const MODE_INFO *const mi,
return 0;
}
#define CHECK_SUBPEL 0
static INLINE int av1_is_interp_needed(const MACROBLOCKD *const xd) {
#if CHECK_SUBPEL
MODE_INFO *const mi = xd->mi[0];
const int is_compound = has_second_ref(&mi->mbmi);
int ref;
......@@ -474,6 +476,10 @@ static INLINE int av1_is_interp_needed(const MACROBLOCKD *const xd) {
}
}
return 0;
#else
(void)xd;
return 1;
#endif
}
#if CONFIG_MOTION_VAR
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment