Lines Matching refs:rate0
198 int rate0; in optimize_b() local
250 rate0 = tokens[next][0].rate; in optimize_b()
258 rate0 += in optimize_b()
263 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0); in optimize_b()
267 rd_cost0 = RDTRUNC(rdmult, rddiv, rate0, error0); in optimize_b()
275 tokens[i][0].rate = base_bits + (best ? rate1 : rate0); in optimize_b()
282 rate0 = tokens[next][0].rate; in optimize_b()
318 rate0 += mb->token_costs[type][band][pt][ in optimize_b()
329 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0); in optimize_b()
333 rd_cost0 = RDTRUNC(rdmult, rddiv, rate0, error0); in optimize_b()
345 tokens[i][1].rate = base_bits + (best ? rate1 : rate0); in optimize_b()
380 rate0 = tokens[next][0].rate; in optimize_b()
386 rate0 += mb->token_costs[type][band][pt][t0]; in optimize_b()
388 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0); in optimize_b()
392 rd_cost0 = RDTRUNC(rdmult, rddiv, rate0, error0); in optimize_b()