Commit 2f943131 authored by Peter de Rivaz's avatar Peter de Rivaz
Browse files

Change to rd costing for CONFIG_VAR_TX

In select_tx_block I believe the rd cost was ignoring the bits
needed to encode the split bit.

Change-Id: Iacbf705b880db9a68967a994406ba90ecf693ab8
parent 3787b174
......@@ -2364,7 +2364,7 @@ static void select_tx_block(const VP10_COMP *cpi, MACROBLOCK *x,
sum_dist += this_dist;
sum_bsse += this_bsse;
all_skip &= this_skip;
tmp_rd += RDCOST(x->rdmult, x->rddiv, this_rate, this_dist);
tmp_rd = RDCOST(x->rdmult, x->rddiv, sum_rate, sum_dist);
if (this_rd < tmp_rd)
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