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.c89 int64_t rate0, rate1; in vp9_optimize_b() local
123 rate0 = (*token_costs_cur)[0][ctx0][EOB_TOKEN]; in vp9_optimize_b()
124 best_block_rd_cost = RDCOST(rdmult, rddiv, rate0, accu_error); in vp9_optimize_b()
138 rate0 = (*token_costs_cur)[token_tree_sel_cur][ctx_cur][token]; in vp9_optimize_b()
139 accu_rate += rate0; in vp9_optimize_b()
189 rate0 = in vp9_optimize_b()
232 rd_cost0 = RDCOST(rdmult, rddiv, (rate0 + next_bits0), distortion0); in vp9_optimize_b()
235 eob_cost0 = RDCOST(rdmult, rddiv, (accu_rate + rate0 + next_eob_bits0), in vp9_optimize_b()
267 accu_rate += rate0; in vp9_optimize_b()