]> granicus.if.org Git - libvpx/commitdiff
Remove write-only variable "mbs_dual_count".
authorRonald S. Bultje <rbultje@google.com>
Wed, 8 Feb 2012 22:18:02 +0000 (14:18 -0800)
committerRonald S. Bultje <rbultje@google.com>
Wed, 8 Feb 2012 22:18:02 +0000 (14:18 -0800)
Change-Id: Icf7a6749ca2f8ad6a032f86c34540d1c5880cf68

vp8/encoder/encodeframe.c
vp8/encoder/onyx_if.c
vp8/encoder/onyx_int.h

index f767eb5ec15e3d2e0541758bc715372a71ae525a..f06930968c2b5c76bdb6ff8b8509563a4597c2bd 100644 (file)
@@ -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)
index e5f7c2059d24b1086bdf8767ee0fe2b94811b58a..b427f96ad11b780625d17befbee45d65547cdacc 100644 (file)
@@ -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;
index 184c650ee6e6b44113c2046798c5539dd562bd08..892d514ebcde2ba93be1e6c71a39df85927ce7bd 100644 (file)
@@ -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];