]> granicus.if.org Git - libvpx/commitdiff
Removing unused members from PICK_MODE_CONTEXT struct.
authorDmitry Kovalev <dkovalev@google.com>
Mon, 19 May 2014 17:41:58 +0000 (10:41 -0700)
committerDmitry Kovalev <dkovalev@google.com>
Mon, 19 May 2014 17:41:58 +0000 (10:41 -0700)
Change-Id: Ieb3bc037a2ae7791323a0f9cec04381ba9b0c795

vp9/encoder/vp9_context_tree.h
vp9/encoder/vp9_rdopt.c

index e12aac2468a9d5460328be1fcd4874f2e25dd76b..af4358b80a1acc93fc786cf64da401c3469c7a82 100644 (file)
@@ -33,13 +33,7 @@ typedef struct {
   int is_coded;
   int num_4x4_blk;
   int skip;
-  int_mv best_ref_mv[2];
-  int_mv ref_mvs[MAX_REF_FRAMES][MAX_MV_REF_CANDIDATES];
-  int rate;
-  int distortion;
   int best_mode_index;
-  int rddiv;
-  int rdmult;
   int hybrid_pred_diff;
   int comp_pred_diff;
   int single_pred_diff;
index 0ceedf60530987bc9adc6c1618022c6e69797033..f701cf0af3eac7ba255ce4078ea7e4d88e8bfdbe 100644 (file)
@@ -2222,10 +2222,6 @@ static void store_coding_context(MACROBLOCK *x, PICK_MODE_CONTEXT *ctx,
   ctx->skip = x->skip;
   ctx->best_mode_index = mode_index;
   ctx->mic = *xd->mi[0];
-
-  ctx->best_ref_mv[0].as_int = ref_mv->as_int;
-  ctx->best_ref_mv[1].as_int = second_ref_mv->as_int;
-
   ctx->single_pred_diff = (int)comp_pred_diff[SINGLE_REFERENCE];
   ctx->comp_pred_diff   = (int)comp_pred_diff[COMPOUND_REFERENCE];
   ctx->hybrid_pred_diff = (int)comp_pred_diff[REFERENCE_MODE_SELECT];