Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp8/encoder/
Dencodemb.c198 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()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemb.c68 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0);\
71 rd_cost0 = RDTRUNC(rdmult, rddiv, rate0, error0);\
113 int rate0, rate1, error0, error1; in optimize_b() local
152 rate0 = tokens[next][0].rate; in optimize_b()
159 rate0 += 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()
183 rate0 = tokens[next][0].rate; in optimize_b()
214 rate0 += 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()
274 rate0 = tokens[next][0].rate; in optimize_b()
[all …]