Lines Matching refs:mv_prob
74 memcpy(entropy->mv_prob, default_prob_mv_tbl, sizeof(default_prob_mv_tbl)); in vp8e_init_entropy()
80 memcpy(entropy->old_mv_prob, entropy->mv_prob, sizeof(entropy->mv_prob)); in vp8e_init_entropy()
153 entropy->mv_prob[i][0] = p; in vp8e_init_entropy()
162 entropy->mv_prob[i][1] = p; in vp8e_init_entropy()
170 entropy->mv_prob[i][4 + j] = p; in vp8e_init_entropy()
177 entropy->mv_prob[i][3] = p; in vp8e_init_entropy()
187 entropy->mv_prob[i][7 + j] = p; in vp8e_init_entropy()
194 entropy->mv_prob[i][6] = p; in vp8e_init_entropy()
200 entropy->mv_prob[i][2] = p; in vp8e_init_entropy()
275 table[16] = entropy->mv_prob[1][0]; in vp8e_write_entropy_tables()
276 table[17] = entropy->mv_prob[0][0]; in vp8e_write_entropy_tables()
277 table[18] = entropy->mv_prob[1][1]; in vp8e_write_entropy_tables()
278 table[19] = entropy->mv_prob[0][1]; in vp8e_write_entropy_tables()
279 table[20] = entropy->mv_prob[1][17]; in vp8e_write_entropy_tables()
280 table[21] = entropy->mv_prob[1][18]; in vp8e_write_entropy_tables()
281 table[22] = entropy->mv_prob[0][17]; in vp8e_write_entropy_tables()
282 table[23] = entropy->mv_prob[0][18]; in vp8e_write_entropy_tables()
287 table[24 + i] = entropy->mv_prob[1][9 + i]; in vp8e_write_entropy_tables()
291 table[32 + i] = entropy->mv_prob[0][9 + i]; in vp8e_write_entropy_tables()
295 table[40 + i] = entropy->mv_prob[1][2 + i]; in vp8e_write_entropy_tables()
299 table[48 + i] = entropy->mv_prob[0][2 + i]; in vp8e_write_entropy_tables()
338 RK_S32 vp8e_calc_cost_mv(RK_S32 mvd, RK_S32 *mv_prob) in vp8e_calc_cost_mv() argument
346 bit_cost += COST_BOOL(mv_prob[0], 0); in vp8e_calc_cost_mv()
347 bit_cost += get_cost_tree(&mv_tree_tbl[tmp], mv_prob + 2); in vp8e_calc_cost_mv()
352 bit_cost += COST_BOOL(mv_prob[1], mvd < 0); in vp8e_calc_cost_mv()
356 bit_cost += COST_BOOL(mv_prob[0], 1); in vp8e_calc_cost_mv()
359 bit_cost += COST_BOOL(mv_prob[9 + i], (tmp >> i) & 1); in vp8e_calc_cost_mv()
363 bit_cost += COST_BOOL(mv_prob[9 + i], (tmp >> i) & 1); in vp8e_calc_cost_mv()
367 bit_cost += COST_BOOL(mv_prob[9 + 3], (tmp >> 3) & 1); in vp8e_calc_cost_mv()
370 bit_cost += COST_BOOL(mv_prob[1], mvd < 0); in vp8e_calc_cost_mv()