Commit 1167fd9e authored by Jingning Han's avatar Jingning Han

Fix ActiveMap failure in ref-mv scheme

Reset the ref_mv_idx and predicted motion vector when the coding
block belongs to skip segment.

Change-Id: I416545f1648fef5b537afa25de469f54c49a86ed
parent ecd07473
......@@ -3830,6 +3830,11 @@ void av1_rd_pick_inter_mode_sb_seg_skip(AV1_COMP *cpi, TileDataEnc *tile_data,
mbmi->mv[0].as_int = 0;
x->skip = 1;
#if CONFIG_REF_MV
mbmi->ref_mv_idx = 0;
mbmi->pred_mv[0].as_int = 0;
#endif
if (cm->interp_filter != BILINEAR) {
best_filter = EIGHTTAP;
if (cm->interp_filter == SWITCHABLE &&
......
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