Commit 304c452c authored by Zoe Liu's avatar Zoe Liu

Fix an incorrect rdcost init in skip_mode

This patch brings back the coding performance of ext-skip to where it
should be. The bug was caused by a code refactoring when the previous
patch for ext-skip was merged.

Change-Id: I8fbefe8cee0b4a5340a24936a4e37f98609582e3
parent de80e764
......@@ -10461,7 +10461,6 @@ PALETTE_EXIT:
if (x->skip_mode_rdcost < 0 && cm->skip_mode_flag &&
!segfeature_active(seg, segment_id, SEG_LVL_REF_FRAME) &&
is_comp_ref_allowed(bsize)) {
x->skip_mode_rdcost = INT64_MAX;
estimate_skip_mode_rdcost(cpi, tile_data, x, bsize, mi_row, mi_col,
frame_mv, yv12_mb);
}
......
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