Commit c96f94c6 authored by Jingning Han's avatar Jingning Han Committed by Gerrit Code Review

Merge "Add second ref frame check back in rdcost hist"

parents 152181b2 2de7cbe9
......@@ -3544,8 +3544,9 @@ int64_t vp9_rd_pick_inter_mode_sb(VP9_COMP *cpi, MACROBLOCK *x,
}
// Keep record of best inter rd with single reference
if (is_inter_block(&xd->mi_8x8[0]->mbmi) && !mode_excluded &&
this_rd < best_inter_rd) {
if (is_inter_block(&xd->mi_8x8[0]->mbmi) &&
!has_second_ref(&xd->mi_8x8[0]->mbmi) &&
!mode_excluded && this_rd < best_inter_rd) {
best_inter_rd = this_rd;
best_inter_ref_frame = ref_frame;
}
......
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