Home
last modified time | relevance | path

Searched refs:probs (Results 1 – 17 of 17) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_cost.c37 static void cost(int *costs, vp9_tree tree, const vp9_prob *probs, in cost() argument
39 const vp9_prob prob = probs[i / 2]; in cost()
49 cost(costs, tree, probs, ii, cc); in cost()
53 void vp9_cost_tokens(int *costs, const vp9_prob *probs, vp9_tree tree) { in vp9_cost_tokens() argument
54 cost(costs, tree, probs, 0, 0); in vp9_cost_tokens()
57 void vp9_cost_tokens_skip(int *costs, const vp9_prob *probs, vp9_tree tree) { in vp9_cost_tokens_skip() argument
60 costs[-tree[0]] = vp9_cost_bit(probs[0], 0); in vp9_cost_tokens_skip()
61 cost(costs, tree, probs, 2, 0); in vp9_cost_tokens_skip()
Dvp9_segmentation.c83 static int cost_segmap(int *segcounts, vp9_prob *probs) { in cost_segmap() argument
92 int cost = c0123 * vp9_cost_zero(probs[0]) + in cost_segmap()
93 c4567 * vp9_cost_one(probs[0]); in cost_segmap()
97 cost += c01 * vp9_cost_zero(probs[1]) + in cost_segmap()
98 c23 * vp9_cost_one(probs[1]); in cost_segmap()
101 cost += segcounts[0] * vp9_cost_zero(probs[3]) + in cost_segmap()
102 segcounts[1] * vp9_cost_one(probs[3]); in cost_segmap()
104 cost += segcounts[2] * vp9_cost_zero(probs[4]) + in cost_segmap()
105 segcounts[3] * vp9_cost_one(probs[4]); in cost_segmap()
109 cost += c45 * vp9_cost_zero(probs[2]) + in cost_segmap()
[all …]
Dvp9_treewriter.h32 const vp9_prob *probs, int bits, int len, in vp9_write_tree() argument
36 vp9_write(w, bit, probs[i >> 1]); in vp9_write_tree()
42 const vp9_prob *probs, in vp9_write_token() argument
44 vp9_write_tree(w, tree, probs, token->value, token->len, 0); in vp9_write_token()
Dvp9_cost.h34 static INLINE int treed_cost(vp9_tree tree, const vp9_prob *probs, in treed_cost() argument
41 cost += vp9_cost_bit(probs[i >> 1], bit); in treed_cost()
48 void vp9_cost_tokens(int *costs, const vp9_prob *probs, vp9_tree tree);
49 void vp9_cost_tokens_skip(int *costs, const vp9_prob *probs, vp9_tree tree);
Dvp9_bitstream.c51 const vp9_prob *probs) { in write_intra_mode() argument
52 vp9_write_token(w, vp9_intra_mode_tree, probs, &intra_mode_encodings[mode]); in write_intra_mode()
56 const vp9_prob *probs) { in write_inter_mode() argument
58 vp9_write_token(w, vp9_inter_mode_tree, probs, in write_inter_mode()
68 vp9_prob probs[/*n - 1*/], in prob_diff_update()
79 vp9_cond_prob_diff_update(w, &probs[i], branch_ct[i]); in prob_diff_update()
399 const vp9_prob *const probs = get_partition_probs(cm, ctx); in write_partition() local
404 vp9_write_token(w, vp9_partition_tree, probs, &partition_encodings[p]); in write_partition()
407 vp9_write(w, p == PARTITION_SPLIT, probs[1]); in write_partition()
410 vp9_write(w, p == PARTITION_SPLIT, probs[2]); in write_partition()
Dvp9_encodemv.c150 vp9_prob probs[/*n - 1*/], in write_mv_update()
161 update_mv(w, branch_ct[i], &probs[i], MV_UPDATE_PROB); in write_mv_update()
Dvp9_rdopt.c184 vp9_prob probs[ENTROPY_NODES]; in fill_token_costs() local
185 vp9_model_to_full_probs(p[t][i][j][k][l], probs); in fill_token_costs()
186 vp9_cost_tokens((int *)c[t][i][j][k][0][l], probs, in fill_token_costs()
188 vp9_cost_tokens_skip((int *)c[t][i][j][k][1][l], probs, in fill_token_costs()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_prob.c39 vp9_prob *probs) { in tree_merge_probs_impl() argument
44 count_sat, max_update, probs); in tree_merge_probs_impl()
49 count_sat, max_update, probs); in tree_merge_probs_impl()
51 probs[i >> 1] = merge_probs(pre_probs[i >> 1], ct, in tree_merge_probs_impl()
58 unsigned int max_update_factor, vp9_prob *probs) { in vp9_tree_merge_probs() argument
60 max_update_factor, probs); in vp9_tree_merge_probs()
Dvp9_entropy.c711 static void extend_to_full_distribution(vp9_prob *probs, vp9_prob p) { in extend_to_full_distribution() argument
712 vpx_memcpy(probs, vp9_pareto8_full[p = 0 ? 0 : p - 1], in extend_to_full_distribution()
740 vp9_coeff_probs_model *const probs = cm->fc.coef_probs[tx_size]; in adapt_coef_probs() local
761 probs[i][j][k][l][m] = merge_probs(pre_probs[i][j][k][l][m], in adapt_coef_probs()
Dvp9_entropymv.c191 const unsigned int *counts, vp9_prob *probs) { in adapt_probs() argument
193 MV_MAX_UPDATE_FACTOR, probs); in adapt_probs()
Dvp9_prob.h84 unsigned int max_update_factor, vp9_prob *probs);
Dvp9_entropymode.c346 vp9_prob *probs) { in adapt_probs() argument
348 probs); in adapt_probs()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dtreecoder.c113 vp8_prob probs [ /* n-1 */ ], in vp8_tree_probs_from_distribution()
137 probs[t] = p < 256 ? (p ? p : 1) : 255; /* agree w/old version for now */ in vp8_tree_probs_from_distribution()
140 probs[t] = vp8_prob_half; in vp8_tree_probs_from_distribution()
Dtreecoder.h74 vp8_prob probs [ /* n-1 */ ],
87 vp8_prob probs [ /* n-1 */ ],
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_reader.h98 const vp9_prob *probs) { in vp9_read_tree() argument
101 while ((i = tree[i + vp9_read(r, probs[i >> 1])]) > 0) in vp9_read_tree()
Dvp9_decodeframe.c385 const vp9_prob *const probs = get_partition_probs(cm, ctx); in read_partition() local
391 p = (PARTITION_TYPE)vp9_read_tree(r, vp9_partition_tree, probs); in read_partition()
393 p = vp9_read(r, probs[1]) ? PARTITION_SPLIT : PARTITION_HORZ; in read_partition()
395 p = vp9_read(r, probs[2]) ? PARTITION_SPLIT : PARTITION_VERT; in read_partition()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dbitstream.c823 const unsigned int probs[PREV_COEF_CONTEXTS][MAX_ENTROPY_TOKENS], in sum_probs_over_prev_coef_context()
832 out[i] += probs[j][i]; in sum_probs_over_prev_coef_context()
865 const unsigned int (*probs)[MAX_ENTROPY_TOKENS]; in independent_coef_context_savings() local
870 probs = (const unsigned int (*)[MAX_ENTROPY_TOKENS]) in independent_coef_context_savings()
875 probs = default_coef_counts[i][j]; in independent_coef_context_savings()
877 sum_probs_over_prev_coef_context(probs, prev_coef_count_sum); in independent_coef_context_savings()