Commit 426caba9 authored by Jingning Han's avatar Jingning Han
Browse files

Disable all_zero_flag in opt-ref-mv

This breaks the inter mode context dependency on the full spatial
neighbor search.

Change-Id: Ic27fb63531ce2c949756ea10752a7a8e7b7b1046
parent 8a8c50af
......@@ -1350,7 +1350,11 @@ void av1_find_mv_refs(const AV1_COMMON *cm, const MACROBLOCKD *xd,
if (mv_ref_list[idx].as_int != zeromv[0].as_int) all_zero = 0;
}
#if !CONFIG_OPT_REF_MV
if (all_zero) mode_context[ref_frame] |= (1 << ALL_ZERO_FLAG_OFFSET);
#else
(void)all_zero;
#endif
}
void av1_find_best_ref_mvs(int allow_hp, int_mv *mvlist, int_mv *nearest_mv,
......
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