diff options
author | Jingning Han <jingning@google.com> | 2014-08-15 15:12:21 -0700 |
---|---|---|
committer | Jingning Han <jingning@google.com> | 2014-08-15 15:28:25 -0700 |
commit | 5386df41ba702490d6c1ef7f827213cdf2c3349b (patch) | |
tree | 0965e086441f505a762f809f8b3c04666bcbd2f9 | |
parent | 5d453e39cfd1577828ed86a0b6cac20a5490b0a4 (diff) | |
download | libvpx-5386df41ba702490d6c1ef7f827213cdf2c3349b.tar libvpx-5386df41ba702490d6c1ef7f827213cdf2c3349b.tar.gz libvpx-5386df41ba702490d6c1ef7f827213cdf2c3349b.tar.bz2 libvpx-5386df41ba702490d6c1ef7f827213cdf2c3349b.zip |
Remove unused variables in vp9_rd_pick_inter_mode_sb
Change-Id: Ib52e1ce5aa4a22d70e124c3c29a92e00ffac50e4
-rw-r--r-- | vp9/encoder/vp9_rdopt.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/vp9/encoder/vp9_rdopt.c b/vp9/encoder/vp9_rdopt.c index 575a20385..517674e5f 100644 --- a/vp9/encoder/vp9_rdopt.c +++ b/vp9/encoder/vp9_rdopt.c @@ -2523,7 +2523,6 @@ int64_t vp9_rd_pick_inter_mode_sb(VP9_COMP *cpi, MACROBLOCK *x, int64_t dist_uv[TX_SIZES]; int skip_uv[TX_SIZES]; PREDICTION_MODE mode_uv[TX_SIZES]; - int64_t mode_distortions[MB_MODE_COUNT] = {-1}; int intra_cost_penalty = 20 * vp9_dc_quant(cm->base_qindex, cm->y_dc_delta_q); int best_skip2 = 0; int mode_skip_mask = 0; @@ -2895,12 +2894,6 @@ int64_t vp9_rd_pick_inter_mode_sb(VP9_COMP *cpi, MACROBLOCK *x, best_filter_rd[i] = MIN(best_filter_rd[i], this_rd); } - // Store the respective mode distortions for later use. - if (mode_distortions[this_mode] == -1 - || distortion2 < mode_distortions[this_mode]) { - mode_distortions[this_mode] = distortion2; - } - // Did this mode help.. i.e. is it the new best mode if (this_rd < best_rd || x->skip) { int max_plane = MAX_MB_PLANE; |