Commit b85d0ada authored by Debargha Mukherjee's avatar Debargha Mukherjee Committed by Gerrit Code Review

Merge "Always include the cost of tx size in rate for Y." into nextgenv2

parents 33c57e62 b87078d5
......@@ -1532,7 +1532,7 @@ static int64_t txfm_yrd(VP10_COMP *cpi, MACROBLOCK *x,
rd = RDCOST(x->rdmult, x->rddiv, *r + s0 + r_tx_size * tx_select, *d);
if (tx_select && !(*s && is_inter))
if (tx_select)
*r += r_tx_size;
if (is_inter && !xd->lossless[xd->mi[0]->mbmi.segment_id] && !(*s))
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