Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp8/encoder/
Dencodemb.c246 int rate0; in optimize_b() local
305 rate0 = tokens[next][0].rate; in optimize_b()
313 rate0 += in optimize_b()
318 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0); in optimize_b()
322 rd_cost0 = RDTRUNC(rdmult, rddiv, rate0, error0); in optimize_b()
330 tokens[i][0].rate = base_bits + (best ? rate1 : rate0); in optimize_b()
337 rate0 = tokens[next][0].rate; in optimize_b()
373 rate0 += mb->token_costs[type][band][pt][ in optimize_b()
384 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0); in optimize_b()
388 rd_cost0 = RDTRUNC(rdmult, rddiv, rate0, error0); in optimize_b()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemb.c80 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0);\
83 rd_cost0 = RDTRUNC(rdmult, rddiv, rate0, error0);\
125 int rate0, rate1, error0, error1, t0, t1; in optimize_b() local
157 rate0 = tokens[next][0].rate; in optimize_b()
164 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()
212 rate0 += mb->token_costs[tx_size][type][ref][band][!x][pt] in optimize_b()
231 tokens[i][1].rate = base_bits + (best ? rate1 : rate0); in optimize_b()
264 rate0 = tokens[next][0].rate; in optimize_b()
[all …]