Commit 3adcbe2f authored by Ronald S. Bultje's avatar Ronald S. Bultje
Browse files

Remove write-only variable "mbs_dual_count".

Change-Id: Icf7a6749ca2f8ad6a032f86c34540d1c5880cf68
parent c8ec59d8
......@@ -1994,7 +1994,6 @@ int vp8cx_encode_inter_macroblock
if (xd->mode_info_context->mbmi.second_ref_frame) {
int second_ref_fb_idx;
cpi->mbs_dual_count++;
if (xd->mode_info_context->mbmi.second_ref_frame == LAST_FRAME)
second_ref_fb_idx = cpi->common.lst_fb_idx;
else if (xd->mode_info_context->mbmi.second_ref_frame == GOLDEN_FRAME)
......
......@@ -847,7 +847,6 @@ void vp8_set_speed_features(VP8_COMP *cpi)
}
cpi->mbs_tested_so_far = 0;
cpi->mbs_dual_count = 0;
// best quality defaults
sf->RD = 1;
......
......@@ -358,7 +358,6 @@ typedef struct VP8_COMP
unsigned int mode_test_hit_counts[MAX_MODES];
unsigned int mode_chosen_counts[MAX_MODES];
unsigned int mbs_tested_so_far;
unsigned int mbs_dual_count;
int rd_thresh_mult[MAX_MODES];
int rd_baseline_thresh[MAX_MODES];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment