The factor mc_dep_cost includes intra_cost additiona already. Hence
no need to add it again in the denominator.
Change-Id: I750ae86e1d3019b4a3aebd03dec8db362589619e
}
}
- rk = (double)intra_cost / (intra_cost + mc_dep_cost);
+ rk = (double)intra_cost / mc_dep_cost;
beta = r0 / rk;
dr = vp9_get_adaptive_rdmult(cpi, beta);
}
if (tpl_frame->is_valid)
- cpi->rd.r0 =
- (double)intra_cost_base / (intra_cost_base + mc_dep_cost_base);
+ cpi->rd.r0 = (double)intra_cost_base / mc_dep_cost_base;
}
{