From 3cb92b85b9121486f74bd33b6fe09ce0f0c489fa Mon Sep 17 00:00:00 2001 From: John Koleszar Date: Wed, 28 Dec 2011 14:58:38 -0800 Subject: [PATCH] Remove unused MACROBLOCK member vector_range Change-Id: Ie2dc0d72363ff38e0f71b59f6e2d1a2d70c5266b --- vp8/encoder/block.h | 1 - vp8/encoder/encodeframe.c | 2 -- vp8/encoder/ethreading.c | 3 --- 3 files changed, 6 deletions(-) diff --git a/vp8/encoder/block.h b/vp8/encoder/block.h index fd207e13d..0a74ca46d 100644 --- a/vp8/encoder/block.h +++ b/vp8/encoder/block.h @@ -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; diff --git a/vp8/encoder/encodeframe.c b/vp8/encoder/encodeframe.c index 88868d684..6a9ba291d 100644 --- a/vp8/encoder/encodeframe.c +++ b/vp8/encoder/encodeframe.c @@ -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; diff --git a/vp8/encoder/ethreading.c b/vp8/encoder/ethreading.c index 84961cc31..69655989d 100644 --- a/vp8/encoder/ethreading.c +++ b/vp8/encoder/ethreading.c @@ -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; -- 2.40.0