From: Dmitry Kovalev Date: Mon, 19 May 2014 17:41:58 +0000 (-0700) Subject: Removing unused members from PICK_MODE_CONTEXT struct. X-Git-Tag: v1.4.0~1548 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f80bd43bf8f4b647cd5a02c3b3a9fb17fb41369e;p=libvpx Removing unused members from PICK_MODE_CONTEXT struct. Change-Id: Ieb3bc037a2ae7791323a0f9cec04381ba9b0c795 --- diff --git a/vp9/encoder/vp9_context_tree.h b/vp9/encoder/vp9_context_tree.h index e12aac246..af4358b80 100644 --- a/vp9/encoder/vp9_context_tree.h +++ b/vp9/encoder/vp9_context_tree.h @@ -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; diff --git a/vp9/encoder/vp9_rdopt.c b/vp9/encoder/vp9_rdopt.c index 0ceedf605..f701cf0af 100644 --- a/vp9/encoder/vp9_rdopt.c +++ b/vp9/encoder/vp9_rdopt.c @@ -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];