shithub: libvpx

Download patch

ref: 3cb92b85b9121486f74bd33b6fe09ce0f0c489fa
parent: 31e86192ba9a6bfa5b8f23d1437e5ced31e968fe
author: John Koleszar <jkoleszar@google.com>
date: Wed Dec 28 09:58:38 EST 2011

Remove unused MACROBLOCK member vector_range

Change-Id: Ie2dc0d72363ff38e0f71b59f6e2d1a2d70c5266b

--- a/vp8/encoder/block.h
+++ b/vp8/encoder/block.h
@@ -103,7 +103,6 @@
     int mv_row_min;
     int mv_row_max;
 
-    int vector_range;    // Used to monitor limiting range of recent vectors to guide search.
     int skip;
 
     int encode_breakout;
--- a/vp8/encoder/encodeframe.c
+++ b/vp8/encoder/encodeframe.c
@@ -595,8 +595,6 @@
     // Activity map pointer
     x->mb_activity_ptr = cpi->mb_activity_map;
 
-    x->vector_range = 32;
-
     x->act_zbin_adj = 0;
 
     x->partition_info = x->pi;
--- a/vp8/encoder/ethreading.c
+++ b/vp8/encoder/ethreading.c
@@ -302,7 +302,6 @@
     z->mv_col_max    = x->mv_col_max;
     z->mv_row_min    = x->mv_row_min;
     z->mv_row_max    = x->mv_row_max;
-    z->vector_range = x->vector_range ;
     */
 
     z->vp8_short_fdct4x4     = x->vp8_short_fdct4x4;
@@ -418,8 +417,6 @@
         mbd->rtcd                   = xd->rtcd;
 #endif
         mb->gf_active_ptr            = x->gf_active_ptr;
-
-        mb->vector_range             = 32;
 
         vpx_memset(mbr_ei[i].segment_counts, 0, sizeof(mbr_ei[i].segment_counts));
         mbr_ei[i].totalrate = 0;