Fix best ref frame rd cost update in sub8x8 non-RD mode search

This fixes the issue that sub8x8 inter blocks always end up
with GOLDEN_FRAME.

Change-Id: Id0c25cbb9c2003f43b4dff8fb1572512c246e077
This commit is contained in:
Jingning Han
2015-01-07 11:57:36 -08:00
parent c3fd9bbdaf
commit 802b798f67

View File

@@ -1165,7 +1165,7 @@ void vp9_pick_inter_mode_sub8x8(VP9_COMP *cpi, MACROBLOCK *x,
} // loop through sub8x8 blocks
if (this_rd < best_rd) {
this_rd = best_rd;
best_rd = this_rd;
best_ref_frame = ref_frame;
}
} // reference frames