Commit d53bc5f9 authored by Jingning Han's avatar Jingning Han

Properly reset ZEROMV mode context

When the current frame does not have its previous frame for
reference, reset the ZEROMV mode context.

Change-Id: I6018ede03adea76c4c5335e0eb34ab60df0576c7
parent 51c5b0d9
......@@ -332,6 +332,8 @@ static void setup_ref_mv_list(const AV1_COMMON *cm, const MACROBLOCKD *xd,
}
if (coll_blk_count == 0)
mode_context[ref_frame] |= (1 << ZEROMV_OFFSET);
} else {
mode_context[ref_frame] |= (1 << ZEROMV_OFFSET);
}
// Scan the second outer area.
......
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