summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2013-07-23 11:37:01 -0700
committerJames Zern <jzern@google.com>2013-07-24 11:51:37 -0700
commite6c0387edd33baecc3f8694ee63d7ec6c0e5ebc7 (patch)
treed29bd5be406d7e866711e21e6771ce273866d355
parent8dede954c7d3cba10692dbf9744e2c3d3a94c72b (diff)
downloadlibvpx-e6c0387edd33baecc3f8694ee63d7ec6c0e5ebc7.tar
libvpx-e6c0387edd33baecc3f8694ee63d7ec6c0e5ebc7.tar.gz
libvpx-e6c0387edd33baecc3f8694ee63d7ec6c0e5ebc7.tar.bz2
libvpx-e6c0387edd33baecc3f8694ee63d7ec6c0e5ebc7.zip
vp9_find_mv_refs_idx: remove unused split_count
variable was write only Change-Id: I04b002178f66961836ee08fb60a05b91b54e91d8
-rw-r--r--vp9/common/vp9_mvref_common.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/vp9/common/vp9_mvref_common.c b/vp9/common/vp9_mvref_common.c
index 253a138c1..ae009b0ff 100644
--- a/vp9/common/vp9_mvref_common.c
+++ b/vp9/common/vp9_mvref_common.c
@@ -149,7 +149,6 @@ void vp9_find_mv_refs_idx(VP9_COMMON *cm, MACROBLOCKD *xd, MODE_INFO *here,
MV_REFERENCE_FRAME c2_ref_frame;
int candidate_scores[MAX_MV_REF_CANDIDATES] = { 0 };
int refmv_count = 0;
- int split_count = 0;
const int (*mv_ref_search)[2] = mv_ref_blocks[mbmi->sb_type];
const int mi_col = get_mi_col(xd);
const int mi_row = get_mi_row(xd);
@@ -191,8 +190,6 @@ void vp9_find_mv_refs_idx(VP9_COMMON *cm, MACROBLOCKD *xd, MODE_INFO *here,
add_candidate_mv(mv_ref_list, candidate_scores,
&refmv_count, c_refmv, 16);
}
- split_count += (candidate_mi->mbmi.sb_type < BLOCK_SIZE_SB8X8 &&
- candidate_mi->mbmi.ref_frame[0] != INTRA_FRAME);
// Count number of neihgbours coded intra and zeromv
intra_count += (candidate_mi->mbmi.mode < NEARESTMV);