Home
last modified time | relevance | path

Searched refs:rate1 (Results 1 – 2 of 2) sorted by relevance

/external/libvpx/libvpx/vp8/encoder/
Dencodemb.c199 int rate1; in optimize_b() local
251 rate1 = tokens[next][1].rate; in optimize_b()
260 rate1 += in optimize_b()
264 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); in optimize_b()
268 rd_cost1 = RDTRUNC(rdmult, rddiv, rate1, error1); in optimize_b()
275 tokens[i][0].rate = base_bits + (best ? rate1 : rate0); in optimize_b()
283 rate1 = tokens[next][1].rate; in optimize_b()
324 rate1 += mb->token_costs[type][band][pt][ in optimize_b()
330 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); in optimize_b()
334 rd_cost1 = RDTRUNC(rdmult, rddiv, rate1, error1); in optimize_b()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemb.c69 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1);\
72 rd_cost1 = RDTRUNC(rdmult, rddiv, rate1, error1);\
113 int rate0, rate1, error0, error1; in optimize_b() local
153 rate1 = tokens[next][1].rate; in optimize_b()
161 rate1 += mb->token_costs[tx_size][type][ref][band][0][pt] in optimize_b()
175 tokens[i][0].rate = base_bits + (best ? rate1 : rate0); in optimize_b()
184 rate1 = tokens[next][1].rate; in optimize_b()
219 rate1 += mb->token_costs[tx_size][type][ref][band][!x][pt] in optimize_b()
241 tokens[i][1].rate = base_bits + (best ? rate1 : rate0); in optimize_b()
275 rate1 = tokens[next][1].rate; in optimize_b()
[all …]