Home
last modified time | relevance | path

Searched refs:ct (Results 1 – 15 of 15) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_subexp.c120 int vp9_prob_diff_update_savings_search(const unsigned int *ct, in vp9_prob_diff_update_savings_search() argument
123 const int old_b = cost_branch256(ct, oldp); in vp9_prob_diff_update_savings_search()
129 const int new_b = cost_branch256(ct, newp); in vp9_prob_diff_update_savings_search()
141 int vp9_prob_diff_update_savings_search_model(const unsigned int *ct, in vp9_prob_diff_update_savings_search_model() argument
151 old_b += cost_branch256(ct + 2 * i, oldplist[i]); in vp9_prob_diff_update_savings_search_model()
152 old_b += cost_branch256(ct + 2 * PIVOT_NODE, oldplist[PIVOT_NODE]); in vp9_prob_diff_update_savings_search_model()
165 new_b += cost_branch256(ct + 2 * i, newplist[i]); in vp9_prob_diff_update_savings_search_model()
166 new_b += cost_branch256(ct + 2 * PIVOT_NODE, newplist[PIVOT_NODE]); in vp9_prob_diff_update_savings_search_model()
180 const unsigned int ct[2]) { in vp9_cond_prob_diff_update()
182 vp9_prob newp = get_binary_prob(ct[0], ct[1]); in vp9_cond_prob_diff_update()
[all …]
Dvp9_subexp.h26 unsigned int *ct);
28 int vp9_prob_diff_update_savings_search(const unsigned int *ct,
33 int vp9_prob_diff_update_savings_search_model(const unsigned int *ct,
Dvp9_cost.h29 static INLINE unsigned int cost_branch256(const unsigned int ct[2], in cost_branch256()
31 return ct[0] * vp9_cost_zero(p) + ct[1] * vp9_cost_one(p); in cost_branch256()
Dvp9_encodemv.c136 static int update_mv(vp9_writer *w, const unsigned int ct[2], vp9_prob *cur_p, in update_mv()
138 const vp9_prob new_p = get_binary_prob(ct[0], ct[1]) | 1; in update_mv()
139 const int update = cost_branch256(ct, *cur_p) + vp9_cost_zero(upd_p) > in update_mv()
140 cost_branch256(ct, new_p) + vp9_cost_one(upd_p) + 7 * 256; in update_mv()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_prob.h73 const unsigned int ct[2], in merge_probs()
76 const vp9_prob prob = get_binary_prob(ct[0], ct[1]); in merge_probs()
77 const unsigned int count = MIN(ct[0] + ct[1], count_sat); in merge_probs()
Dvp9_prob.c50 const unsigned int ct[2] = { left_count, right_count }; in tree_merge_probs_impl() local
51 probs[i >> 1] = merge_probs(pre_probs[i >> 1], ct, in tree_merge_probs_impl()
Dvp9_entropymv.c186 static vp9_prob adapt_prob(vp9_prob prep, const unsigned int ct[2]) { in adapt_prob()
187 return merge_probs(prep, ct, MV_COUNT_SAT, MV_MAX_UPDATE_FACTOR); in adapt_prob()
Dvp9_entropymode.c340 static int adapt_prob(vp9_prob pre_prob, const unsigned int ct[2]) { in adapt_prob()
341 return merge_probs(pre_prob, ct, COUNT_SAT, MAX_UPDATE_FACTOR); in adapt_prob()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dencodemv.c187 static void calc_prob(vp8_prob *p, const unsigned int ct[2]) in calc_prob()
189 const unsigned int tot = ct[0] + ct[1]; in calc_prob()
193 const vp8_prob x = ((ct[0] * 255) / tot) & -2; in calc_prob()
200 const unsigned int ct[2], in update()
207 const int cur_b = vp8_cost_branch(ct, *cur_p); in update()
208 const int new_b = vp8_cost_branch(ct, new_p); in update()
Dtreewriter.h49 static unsigned int vp8_cost_branch(const unsigned int ct[2], vp8_prob p) in vp8_cost_branch()
53 return ((ct[0] * vp8_cost_zero(p)) in vp8_cost_branch()
54 + (ct[1] * vp8_cost_one(p))) >> 8; in vp8_cost_branch()
Dbitstream.c629 int ct[4]; in pack_inter_mode_mvs() local
631 … vp8_find_near_mvs(xd, m, &n1, &n2, &best_mv, ct, rf, cpi->common.ref_frame_sign_bias); in pack_inter_mode_mvs()
634 vp8_mv_ref_probs(mv_ref_p, ct); in pack_inter_mode_mvs()
637 accum_mv_refs(mode, ct); in pack_inter_mode_mvs()
840 static int prob_update_savings(const unsigned int *ct, in prob_update_savings() argument
844 const int old_b = vp8_cost_branch(ct, oldp); in prob_update_savings()
845 const int new_b = vp8_cost_branch(ct, newp); in prob_update_savings()
895 const unsigned int *ct = cpi->frame_branch_ct [i][j][k][t]; in independent_coef_context_savings() local
899 const int s = prob_update_savings(ct, oldp, newp, upd); in independent_coef_context_savings()
956 const unsigned int *ct = cpi->frame_branch_ct [i][j][k][t]; in default_coef_context_savings() local
[all …]
Dmcomp.c1982 void accum_mv_refs(MB_PREDICTION_MODE m, const int ct[4]) in accum_mv_refs()
1986 ++mv_ref_ct [ct[0]] [0] [0]; in accum_mv_refs()
1991 ++mv_ref_ct [ct[0]] [0] [1]; in accum_mv_refs()
1996 ++mv_ref_ct [ct[1]] [1] [0]; in accum_mv_refs()
2001 ++mv_ref_ct [ct[1]] [1] [1]; in accum_mv_refs()
2006 ++mv_ref_ct [ct[2]] [2] [0]; in accum_mv_refs()
2011 ++mv_ref_ct [ct[2]] [2] [1]; in accum_mv_refs()
2016 ++mv_ref_ct [ct[3]] [3] [0]; in accum_mv_refs()
2021 ++mv_ref_ct [ct[3]] [3] [1]; in accum_mv_refs()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dtreecoder.c83 const unsigned int ct = num_events[t]; in branch_counts() local
95 branch_ct [j] [b] += ct; in branch_counts()
/hardware/intel/bootstub/
Dbootstub.c117 int strncmp(const char *cs, const char *ct, size_t count) in strncmp() argument
123 c2 = *ct++; in strncmp()
/hardware/ril/reference-ril/
Dreference-ril.c2832 int ct; local
2845 err = at_tok_nextint(&p, &ct);
2850 if (current) *current = ct;