]> granicus.if.org Git - libvpx/commitdiff
Remove unused MACROBLOCK member vector_range
authorJohn Koleszar <jkoleszar@google.com>
Wed, 28 Dec 2011 22:58:38 +0000 (14:58 -0800)
committerJohn Koleszar <jkoleszar@google.com>
Wed, 28 Dec 2011 22:58:38 +0000 (14:58 -0800)
Change-Id: Ie2dc0d72363ff38e0f71b59f6e2d1a2d70c5266b

vp8/encoder/block.h
vp8/encoder/encodeframe.c
vp8/encoder/ethreading.c

index fd207e13d423bf527e888536d626b6ba325ac36b..0a74ca46db62f435079fbcb083d92d2f77f9f0ac 100644 (file)
@@ -103,7 +103,6 @@ typedef struct
     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;
index 88868d6846b5af4781e4533282cf292637569ea6..6a9ba291d873b526871eb8fa22f977807c446f08 100644 (file)
@@ -595,8 +595,6 @@ void init_encode_frame_mb_context(VP8_COMP *cpi)
     // 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;
index 84961cc312c090401e6ed1c3439d95d6b073e197..69655989d11a23c53a180fb8eb34a7df76ddedb9 100644 (file)
@@ -302,7 +302,6 @@ static void setup_mbby_copy(MACROBLOCK *mbdst, MACROBLOCK *mbsrc)
     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;
@@ -419,8 +418,6 @@ void vp8cx_init_mbrthread_data(VP8_COMP *cpi,
 #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;