Lines Matching refs:rate0
164 int rate0; in optimize_b() local
215 rate0 = tokens[next][0].rate; in optimize_b()
222 rate0 += mb->token_costs[type][band][pt][tokens[next][0].token]; in optimize_b()
225 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0); in optimize_b()
228 rd_cost0 = RDTRUNC(rdmult, rddiv, rate0, error0); in optimize_b()
236 tokens[i][0].rate = base_bits + (best ? rate1 : rate0); in optimize_b()
243 rate0 = tokens[next][0].rate; in optimize_b()
274 rate0 += mb->token_costs[type][band][pt][tokens[next][0].token]; in optimize_b()
282 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0); in optimize_b()
285 rd_cost0 = RDTRUNC(rdmult, rddiv, rate0, error0); in optimize_b()
296 tokens[i][1].rate = base_bits + (best ? rate1 : rate0); in optimize_b()
328 rate0 = tokens[next][0].rate; in optimize_b()
334 rate0 += mb->token_costs[type][band][pt][t0]; in optimize_b()
336 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0); in optimize_b()
339 rd_cost0 = RDTRUNC(rdmult, rddiv, rate0, error0); in optimize_b()