ref: f80bd43bf8f4b647cd5a02c3b3a9fb17fb41369e
parent: 28012a75ae066dbe76bce9504cfe7b776f569a70
author: Dmitry Kovalev <dkovalev@google.com>
date: Mon May 19 06:41:58 EDT 2014
Removing unused members from PICK_MODE_CONTEXT struct. Change-Id: Ieb3bc037a2ae7791323a0f9cec04381ba9b0c795
--- a/vp9/encoder/vp9_context_tree.h
+++ b/vp9/encoder/vp9_context_tree.h
@@ -33,13 +33,7 @@
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;
--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -2222,10 +2222,6 @@
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];