vp9_find_mv_refs_idx: remove unused split_count
variable was write only Change-Id: I04b002178f66961836ee08fb60a05b91b54e91d8
This commit is contained in:
@@ -149,7 +149,6 @@ void vp9_find_mv_refs_idx(VP9_COMMON *cm, MACROBLOCKD *xd, MODE_INFO *here,
|
|||||||
MV_REFERENCE_FRAME c2_ref_frame;
|
MV_REFERENCE_FRAME c2_ref_frame;
|
||||||
int candidate_scores[MAX_MV_REF_CANDIDATES] = { 0 };
|
int candidate_scores[MAX_MV_REF_CANDIDATES] = { 0 };
|
||||||
int refmv_count = 0;
|
int refmv_count = 0;
|
||||||
int split_count = 0;
|
|
||||||
const int (*mv_ref_search)[2] = mv_ref_blocks[mbmi->sb_type];
|
const int (*mv_ref_search)[2] = mv_ref_blocks[mbmi->sb_type];
|
||||||
const int mi_col = get_mi_col(xd);
|
const int mi_col = get_mi_col(xd);
|
||||||
const int mi_row = get_mi_row(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,
|
add_candidate_mv(mv_ref_list, candidate_scores,
|
||||||
&refmv_count, c_refmv, 16);
|
&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
|
// Count number of neihgbours coded intra and zeromv
|
||||||
intra_count += (candidate_mi->mbmi.mode < NEARESTMV);
|
intra_count += (candidate_mi->mbmi.mode < NEARESTMV);
|
||||||
|
Reference in New Issue
Block a user