Commit f80bd43b authored by Dmitry Kovalev's avatar Dmitry Kovalev
Browse files

Removing unused members from PICK_MODE_CONTEXT struct.

Change-Id: Ieb3bc037a2ae7791323a0f9cec04381ba9b0c795
parent 28012a75
......@@ -33,13 +33,7 @@ typedef struct {
int is_coded;
int num_4x4_blk;
int skip;
int_mv best_ref_mv[2];
int rate;
int distortion;
int best_mode_index;
int rddiv;
int rdmult;
int hybrid_pred_diff;
int comp_pred_diff;
int single_pred_diff;
......@@ -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];
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment