Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp8/encoder/
Dencodemb.c164 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()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemb.c68 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0); \
120 int rate0, rate1; in vp9_optimize_b() local
164 rate0 = tokens[next][0].rate; in vp9_optimize_b()
170 rate0 += (*token_costs)[0][pt][tokens[next][0].token]; in vp9_optimize_b()
183 tokens[i][0].rate = base_bits + (best ? rate1 : rate0); in vp9_optimize_b()
192 rate0 = tokens[next][0].rate; in vp9_optimize_b()
227 rate0 += (*token_costs)[!x][pt][tokens[next][0].token]; in vp9_optimize_b()
250 tokens[i][1].rate = base_bits + (best ? rate1 : rate0); in vp9_optimize_b()
303 rate0 = tokens[next][0].rate; in vp9_optimize_b()
309 rate0 += (*token_costs)[0][ctx][t0]; in vp9_optimize_b()