Lines Matching refs:rd_cost1
197 int rd_cost1; in optimize_b() local
264 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); in optimize_b()
265 if (rd_cost0 == rd_cost1) in optimize_b()
268 rd_cost1 = RDTRUNC(rdmult, rddiv, rate1, error1); in optimize_b()
271 best = rd_cost1 < rd_cost0; in optimize_b()
330 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); in optimize_b()
331 if (rd_cost0 == rd_cost1) in optimize_b()
334 rd_cost1 = RDTRUNC(rdmult, rddiv, rate1, error1); in optimize_b()
337 best = rd_cost1 < rd_cost0; in optimize_b()
389 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); in optimize_b()
390 if (rd_cost0 == rd_cost1) in optimize_b()
393 rd_cost1 = RDTRUNC(rdmult, rddiv, rate1, error1); in optimize_b()
395 best = rd_cost1 < rd_cost0; in optimize_b()