From: Ronald S. Bultje Date: Wed, 8 Feb 2012 22:18:02 +0000 (-0800) Subject: Remove write-only variable "mbs_dual_count". X-Git-Tag: v1.3.0~1217^2~380^2~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3adcbe2f15a034fa9ff7f16639086f24fa684257;p=libvpx Remove write-only variable "mbs_dual_count". Change-Id: Icf7a6749ca2f8ad6a032f86c34540d1c5880cf68 --- diff --git a/vp8/encoder/encodeframe.c b/vp8/encoder/encodeframe.c index f767eb5ec..f06930968 100644 --- a/vp8/encoder/encodeframe.c +++ b/vp8/encoder/encodeframe.c @@ -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) diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c index e5f7c2059..b427f96ad 100644 --- a/vp8/encoder/onyx_if.c +++ b/vp8/encoder/onyx_if.c @@ -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; diff --git a/vp8/encoder/onyx_int.h b/vp8/encoder/onyx_int.h index 184c650ee..892d514eb 100644 --- a/vp8/encoder/onyx_int.h +++ b/vp8/encoder/onyx_int.h @@ -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];