Commit 03d46bd6 authored by Jingning Han's avatar Jingning Han
Browse files

Fix an unintended condition in refmv ctx model

Make the force reset condition under the opt-ref-mv flag.

Change-Id: I2c5f317e064d9517abee98937f3982c8e50dcfa5
parent 923f827e
......@@ -770,7 +770,9 @@ static void setup_ref_mv_list(const AV1_COMMON *cm, const MACROBLOCKD *xd,
const int nearest_match = ref_match_count;
const int nearest_refmv_count = *refmv_count;
ref_mv_stack[0].weight = 0;
for (int idx = 0; idx < nearest_refmv_count; ++idx)
ref_mv_stack[idx].weight += REF_CAT_LEVEL;
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