Searched defs:probs (Results 1 - 13 of 13) sorted by path

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
H A Dbitstream.c823 const unsigned int probs[PREV_COEF_CONTEXTS][MAX_ENTROPY_TOKENS],
832 out[i] += probs[j][i];
865 const unsigned int (*probs)[MAX_ENTROPY_TOKENS];
870 probs = (const unsigned int (*)[MAX_ENTROPY_TOKENS])
875 probs = default_coef_counts[i][j];
877 sum_probs_over_prev_coef_context(probs, prev_coef_count_sum);
883 /* calc probs and branch cts for this frame only */
943 /* calc probs and branch cts for this frame only */
1123 /* calc probs and branch cts for this frame only */
1382 /* Write the probs use
822 sum_probs_over_prev_coef_context( const unsigned int probs[PREV_COEF_CONTEXTS][MAX_ENTROPY_TOKENS], unsigned int* out) argument
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
H A Dvp9_entropy.c711 static void extend_to_full_distribution(vp9_prob *probs, vp9_prob p) { argument
712 vpx_memcpy(probs, vp9_pareto8_full[p = 0 ? 0 : p - 1],
740 vp9_coeff_probs_model *const probs = cm->fc.coef_probs[tx_size]; local
761 probs[i][j][k][l][m] = merge_probs(pre_probs[i][j][k][l][m],
H A Dvp9_entropymode.c346 vp9_prob *probs) {
348 probs);
344 adapt_probs(const vp9_tree_index *tree, const vp9_prob *pre_probs, const unsigned int *counts, vp9_prob *probs) argument
H A Dvp9_entropymv.c191 const unsigned int *counts, vp9_prob *probs) {
193 MV_MAX_UPDATE_FACTOR, probs);
190 adapt_probs(const vp9_tree_index *tree, const vp9_prob *pre_probs, const unsigned int *counts, vp9_prob *probs) argument
H A Dvp9_prob.c39 vp9_prob *probs) {
44 count_sat, max_update, probs);
49 count_sat, max_update, probs);
51 probs[i >> 1] = merge_probs(pre_probs[i >> 1], ct,
58 unsigned int max_update_factor, vp9_prob *probs) {
60 max_update_factor, probs);
33 tree_merge_probs_impl(unsigned int i, const vp9_tree_index *tree, const vp9_prob *pre_probs, const unsigned int *counts, unsigned int count_sat, unsigned int max_update, vp9_prob *probs) argument
56 vp9_tree_merge_probs(const vp9_tree_index *tree, const vp9_prob *pre_probs, const unsigned int *counts, unsigned int count_sat, unsigned int max_update_factor, vp9_prob *probs) argument
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
H A Dvp9_decodeframe.c385 const vp9_prob *const probs = get_partition_probs(cm, ctx); local
391 p = (PARTITION_TYPE)vp9_read_tree(r, vp9_partition_tree, probs);
393 p = vp9_read(r, probs[1]) ? PARTITION_SPLIT : PARTITION_HORZ;
395 p = vp9_read(r, probs[2]) ? PARTITION_SPLIT : PARTITION_VERT;
H A Dvp9_reader.h98 const vp9_prob *probs) {
101 while ((i = tree[i + vp9_read(r, probs[i >> 1])]) > 0)
97 vp9_read_tree(vp9_reader *r, const vp9_tree_index *tree, const vp9_prob *probs) argument
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
H A Dvp9_bitstream.c51 const vp9_prob *probs) {
52 vp9_write_token(w, vp9_intra_mode_tree, probs, &intra_mode_encodings[mode]);
56 const vp9_prob *probs) {
58 vp9_write_token(w, vp9_inter_mode_tree, probs,
68 vp9_prob probs[/*n - 1*/],
79 vp9_cond_prob_diff_update(w, &probs[i], branch_ct[i]);
399 const vp9_prob *const probs = get_partition_probs(cm, ctx); local
404 vp9_write_token(w, vp9_partition_tree, probs, &partition_encodings[p]);
407 vp9_write(w, p == PARTITION_SPLIT, probs[1]);
410 vp9_write(w, p == PARTITION_SPLIT, probs[
50 write_intra_mode(vp9_writer *w, MB_PREDICTION_MODE mode, const vp9_prob *probs) argument
55 write_inter_mode(vp9_writer *w, MB_PREDICTION_MODE mode, const vp9_prob *probs) argument
[all...]
H A Dvp9_cost.c37 static void cost(int *costs, vp9_tree tree, const vp9_prob *probs, argument
39 const vp9_prob prob = probs[i / 2];
49 cost(costs, tree, probs, ii, cc);
53 void vp9_cost_tokens(int *costs, const vp9_prob *probs, vp9_tree tree) { argument
54 cost(costs, tree, probs, 0, 0);
57 void vp9_cost_tokens_skip(int *costs, const vp9_prob *probs, vp9_tree tree) { argument
60 costs[-tree[0]] = vp9_cost_bit(probs[0], 0);
61 cost(costs, tree, probs, 2, 0);
H A Dvp9_cost.h34 static INLINE int treed_cost(vp9_tree tree, const vp9_prob *probs, argument
41 cost += vp9_cost_bit(probs[i >> 1], bit);
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);
H A Dvp9_rdopt.c184 vp9_prob probs[ENTROPY_NODES]; local
185 vp9_model_to_full_probs(p[t][i][j][k][l], probs);
186 vp9_cost_tokens((int *)c[t][i][j][k][0][l], probs,
188 vp9_cost_tokens_skip((int *)c[t][i][j][k][1][l], probs,
H A Dvp9_segmentation.c83 static int cost_segmap(int *segcounts, vp9_prob *probs) { argument
92 int cost = c0123 * vp9_cost_zero(probs[0]) +
93 c4567 * vp9_cost_one(probs[0]);
97 cost += c01 * vp9_cost_zero(probs[1]) +
98 c23 * vp9_cost_one(probs[1]);
101 cost += segcounts[0] * vp9_cost_zero(probs[3]) +
102 segcounts[1] * vp9_cost_one(probs[3]);
104 cost += segcounts[2] * vp9_cost_zero(probs[4]) +
105 segcounts[3] * vp9_cost_one(probs[4]);
109 cost += c45 * vp9_cost_zero(probs[
[all...]
H A Dvp9_treewriter.h32 const vp9_prob *probs, int bits, int len,
36 vp9_write(w, bit, probs[i >> 1]);
42 const vp9_prob *probs,
44 vp9_write_tree(w, tree, probs, token->value, token->len, 0);
31 vp9_write_tree(vp9_writer *w, const vp9_tree_index *tree, const vp9_prob *probs, int bits, int len, vp9_tree_index i) argument
41 vp9_write_token(vp9_writer *w, const vp9_tree_index *tree, const vp9_prob *probs, const struct vp9_token *token) argument

Completed in 305 milliseconds