Lines Matching refs:rd_cost1
163 int rd_cost1; in optimize_b() local
226 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); in optimize_b()
227 if (rd_cost0 == rd_cost1) { in optimize_b()
229 rd_cost1 = RDTRUNC(rdmult, rddiv, rate1, error1); in optimize_b()
232 best = rd_cost1 < rd_cost0; in optimize_b()
283 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); in optimize_b()
284 if (rd_cost0 == rd_cost1) { in optimize_b()
286 rd_cost1 = RDTRUNC(rdmult, rddiv, rate1, error1); in optimize_b()
289 best = rd_cost1 < rd_cost0; in optimize_b()
337 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); in optimize_b()
338 if (rd_cost0 == rd_cost1) { in optimize_b()
340 rd_cost1 = RDTRUNC(rdmult, rddiv, rate1, error1); in optimize_b()
342 best = rd_cost1 < rd_cost0; in optimize_b()