ref: 64126c3aa49260032fdd1a5cb7e59bc041575e5d
parent: 7f63dabfe9bdcc010604af212b152a1cd2f75bdc
author: Jim Bankoski <[email protected]>
date: Fri Aug 1 02:53:46 EDT 2014
set but unused var in vp9_rdopt Change-Id: Ie813af24d23c7d72b38749b3382b315daf516be5
--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -1991,7 +1991,7 @@
static void rd_encode_breakout_test(VP9_COMP *cpi, MACROBLOCK *x,
BLOCK_SIZE bsize, int *rate2,
int64_t *distortion, int64_t *distortion_uv,
- int *disable_skip, int64_t this_rd) {
+ int *disable_skip) {
VP9_COMMON *cm = &cpi->common;
MACROBLOCKD *xd = &x->e_mbd;
const BLOCK_SIZE y_size = get_plane_block_size(bsize, &xd->plane[0]);
@@ -2062,7 +2062,6 @@
*distortion = (sse << 4) + *distortion_uv;
*disable_skip = 1;
- this_rd = RDCOST(x->rdmult, x->rddiv, *rate2, *distortion);
}
}
}
@@ -2314,7 +2313,7 @@
if (!is_comp_pred) {
if (cpi->allow_encode_breakout)
rd_encode_breakout_test(cpi, x, bsize, rate2, distortion, distortion_uv,
- disable_skip, this_rd);
+ disable_skip);
}
if (!x->skip) {