From: Dmitry Kovalev Date: Tue, 23 Apr 2013 23:34:22 +0000 (-0700) Subject: Removing unused mi_mv_pred_row and mi_mv_pred_col functions. X-Git-Tag: v1.3.0~1106^2~143^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9828a33ebb8dad180dba6f837f2ecee7167f244a;p=libvpx Removing unused mi_mv_pred_row and mi_mv_pred_col functions. Change-Id: If8ba37bf0b86e8dea88c27d911e8ddb0f6d5a3c5 --- diff --git a/vp9/common/vp9_reconinter.c b/vp9/common/vp9_reconinter.c index 80eb2c690..03c4215e4 100644 --- a/vp9/common/vp9_reconinter.c +++ b/vp9/common/vp9_reconinter.c @@ -458,26 +458,6 @@ void vp9_build_inter_predictors_sb(MACROBLOCKD *xd, #endif } -static INLINE int round_mv_comp(int value) { - return (value < 0 ? value - 2 : value + 2) / 4; -} - -static int mi_mv_pred_row(MACROBLOCKD *mb, int off, int idx) { - const int temp = mb->mode_info_context->bmi[off + 0].as_mv[idx].as_mv.row + - mb->mode_info_context->bmi[off + 1].as_mv[idx].as_mv.row + - mb->mode_info_context->bmi[off + 4].as_mv[idx].as_mv.row + - mb->mode_info_context->bmi[off + 5].as_mv[idx].as_mv.row; - return round_mv_comp(temp); -} - -static int mi_mv_pred_col(MACROBLOCKD *mb, int off, int idx) { - const int temp = mb->mode_info_context->bmi[off + 0].as_mv[idx].as_mv.col + - mb->mode_info_context->bmi[off + 1].as_mv[idx].as_mv.col + - mb->mode_info_context->bmi[off + 4].as_mv[idx].as_mv.col + - mb->mode_info_context->bmi[off + 5].as_mv[idx].as_mv.col; - return round_mv_comp(temp); -} - /*encoder only*/ void vp9_build_inter4x4_predictors_mbuv(MACROBLOCKD *xd, int mb_row, int mb_col) {