diff options
author | Yaowu Xu <yaowu@google.com> | 2014-07-11 08:10:04 -0700 |
---|---|---|
committer | Yaowu Xu <yaowu@google.com> | 2014-07-11 08:10:04 -0700 |
commit | a75d55df1b362cb608f1ea6b70154cf166c32a3f (patch) | |
tree | 882f5f68ac10cd472ac72d6d9dd6c0d667fa16dd /vp9/common | |
parent | 8a7cc1f47bde271c5200550f1f7e7f6a55872b65 (diff) | |
download | libvpx-a75d55df1b362cb608f1ea6b70154cf166c32a3f.tar libvpx-a75d55df1b362cb608f1ea6b70154cf166c32a3f.tar.gz libvpx-a75d55df1b362cb608f1ea6b70154cf166c32a3f.tar.bz2 libvpx-a75d55df1b362cb608f1ea6b70154cf166c32a3f.zip |
Remove an unused parameter
Change-Id: I6ad6fd75dc3c9e6218d88148cf49e205398e2af5
Diffstat (limited to 'vp9/common')
-rw-r--r-- | vp9/common/vp9_reconinter.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vp9/common/vp9_reconinter.c b/vp9/common/vp9_reconinter.c index 224debbdc..86ae64839 100644 --- a/vp9/common/vp9_reconinter.c +++ b/vp9/common/vp9_reconinter.c @@ -151,7 +151,7 @@ MV clamp_mv_to_umv_border_sb(const MACROBLOCKD *xd, const MV *src_mv, return clamped_mv; } -static MV average_split_mvs(const struct macroblockd_plane *pd, int plane, +static MV average_split_mvs(const struct macroblockd_plane *pd, const MODE_INFO *mi, int ref, int block) { const int ss_idx = ((pd->subsampling_x > 0) << 1) | (pd->subsampling_y > 0); MV res = {0, 0}; @@ -190,7 +190,7 @@ static void build_inter_predictors(MACROBLOCKD *xd, int plane, int block, struct buf_2d *const dst_buf = &pd->dst; uint8_t *const dst = dst_buf->buf + dst_buf->stride * y + x; const MV mv = mi->mbmi.sb_type < BLOCK_8X8 - ? average_split_mvs(pd, plane, mi, ref, block) + ? average_split_mvs(pd, mi, ref, block) : mi->mbmi.mv[ref].as_mv; // TODO(jkoleszar): This clamping is done in the incorrect place for the @@ -288,7 +288,7 @@ static void dec_build_inter_predictors(MACROBLOCKD *xd, int plane, int block, struct buf_2d *const dst_buf = &pd->dst; uint8_t *const dst = dst_buf->buf + dst_buf->stride * y + x; const MV mv = mi->mbmi.sb_type < BLOCK_8X8 - ? average_split_mvs(pd, plane, mi, ref, block) + ? average_split_mvs(pd, mi, ref, block) : mi->mbmi.mv[ref].as_mv; |