Home
last modified time | relevance | path

Searched refs:vp8_cost_zero (Results 1 – 3 of 3) sorted by relevance

/external/libvpx/libvpx/vp8/encoder/
Dtreewriter.h38 #define vp8_cost_zero(x) (vp8_prob_cost[x]) macro
39 #define vp8_cost_one(x) vp8_cost_zero(vp8_complement(x))
41 #define vp8_cost_bit(x, b) vp8_cost_zero((b) ? vp8_complement(x) : (x))
51 return ((ct[0] * vp8_cost_zero(p)) + (ct[1] * vp8_cost_one(p))) >> 8; in vp8_cost_branch()
Dencodemv.c92 cost = vp8_cost_zero(p[mvpis_short]) + in cost_mvcomponent()
134 mvcost[0][i] = cost0 + vp8_cost_zero(mvc[0].prob[MVPsign]); in vp8_build_component_cost_table()
147 mvcost[1][i] = cost1 + vp8_cost_zero(mvc[1].prob[MVPsign]); in vp8_build_component_cost_table()
175 ((vp8_cost_one(update_p) - vp8_cost_zero(update_p) + 128) >> 8); in update()
Dbitstream.c672 const int update_b = 8 + ((vp8_cost_one(upd) - vp8_cost_zero(upd)) >> 8); in prob_update_savings()
785 ref_frame_cost[INTRA_FRAME] = vp8_cost_zero(prob_intra); in vp8_calc_ref_frame_costs()
787 vp8_cost_one(prob_intra) + vp8_cost_zero(prob_last); in vp8_calc_ref_frame_costs()
790 vp8_cost_zero(prob_garf); in vp8_calc_ref_frame_costs()