Fix bugs in SUB8X8_MC

Change-Id: Ia544974f83c6b7f9cdb148eeb13a6d0c6eb4ed24
This commit is contained in:
Yue Chen
2016-10-24 12:21:48 -07:00
parent 7e87bef0ff
commit edd2915e21

View File

@@ -710,16 +710,16 @@ void build_inter_predictors(MACROBLOCKD *xd, int plane,
if (xd->cur_buf->flags & YV12_FLAG_HIGHBITDEPTH) {
high_inter_predictor(pre, pre_buf->stride, dst, dst_buf->stride,
subpel_x, subpel_y, sf, x_step, y_step, ref,
&mi->mbmi.interp_filter, xs, ys, xd->bd);
mi->mbmi.interp_filter, xs, ys, xd->bd);
} else {
inter_predictor(pre, pre_buf->stride, dst, dst_buf->stride,
subpel_x, subpel_y, sf, x_step, y_step, ref,
&mi->mbmi.interp_filter, xs, ys);
mi->mbmi.interp_filter, xs, ys);
}
#else
inter_predictor(pre, pre_buf->stride, dst, dst_buf->stride, subpel_x,
subpel_y, sf, x_step, y_step, ref,
&mi->mbmi.interp_filter, xs, ys);
mi->mbmi.interp_filter, xs, ys);
#endif
}
}