Lines Matching refs:rate1
165 int rate1; in optimize_b() local
216 rate1 = tokens[next][1].rate; in optimize_b()
223 rate1 += mb->token_costs[type][band][pt][tokens[next][1].token]; in optimize_b()
226 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); in optimize_b()
229 rd_cost1 = RDTRUNC(rdmult, rddiv, rate1, error1); in optimize_b()
236 tokens[i][0].rate = base_bits + (best ? rate1 : rate0); in optimize_b()
244 rate1 = tokens[next][1].rate; in optimize_b()
278 rate1 += mb->token_costs[type][band][pt][tokens[next][1].token]; in optimize_b()
283 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); in optimize_b()
286 rd_cost1 = RDTRUNC(rdmult, rddiv, rate1, error1); in optimize_b()
296 tokens[i][1].rate = base_bits + (best ? rate1 : rate0); in optimize_b()
329 rate1 = tokens[next][1].rate; in optimize_b()
335 rate1 += mb->token_costs[type][band][pt][t1]; in optimize_b()
337 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); in optimize_b()
340 rd_cost1 = RDTRUNC(rdmult, rddiv, rate1, error1); in optimize_b()