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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user