Home
last modified time | relevance | path

Searched refs:vpx_prob (Results 1 – 25 of 32) sorted by relevance

12

/external/libvpx/libvpx/vp9/common/
Dvp9_entropymode.h32 vpx_prob p32x32[TX_SIZE_CONTEXTS][TX_SIZES - 1];
33 vpx_prob p16x16[TX_SIZE_CONTEXTS][TX_SIZES - 2];
34 vpx_prob p8x8[TX_SIZE_CONTEXTS][TX_SIZES - 3];
45 vpx_prob y_mode_prob[BLOCK_SIZE_GROUPS][INTRA_MODES - 1];
46 vpx_prob uv_mode_prob[INTRA_MODES][INTRA_MODES - 1];
47 vpx_prob partition_prob[PARTITION_CONTEXTS][PARTITION_TYPES - 1];
49 vpx_prob switchable_interp_prob[SWITCHABLE_FILTER_CONTEXTS]
51 vpx_prob inter_mode_probs[INTER_MODE_CONTEXTS][INTER_MODES - 1];
52 vpx_prob intra_inter_prob[INTRA_INTER_CONTEXTS];
53 vpx_prob comp_inter_prob[COMP_INTER_CONTEXTS];
[all …]
Dvp9_entropy.c32 const vpx_prob vp9_cat1_prob[] = { 159 };
33 const vpx_prob vp9_cat2_prob[] = { 165, 145 };
34 const vpx_prob vp9_cat3_prob[] = { 173, 148, 140 };
35 const vpx_prob vp9_cat4_prob[] = { 176, 155, 140, 135 };
36 const vpx_prob vp9_cat5_prob[] = { 180, 157, 141, 134, 130 };
37 const vpx_prob vp9_cat6_prob[] = { 254, 254, 254, 252, 249, 243, 230,
40 const vpx_prob vp9_cat6_prob_high12[] = { 255, 255, 255, 255, 254, 254,
112 const vpx_prob vp9_pareto8_full[COEFF_PROB_MODELS][MODEL_NODES] = {
1030 static void extend_to_full_distribution(vpx_prob *probs, vpx_prob p) { in extend_to_full_distribution()
1032 memcpy(probs, vp9_pareto8_full[p - 1], MODEL_NODES * sizeof(vpx_prob)); in extend_to_full_distribution()
[all …]
Dvp9_entropymv.h89 vpx_prob sign;
90 vpx_prob classes[MV_CLASSES - 1];
91 vpx_prob class0[CLASS0_SIZE - 1];
92 vpx_prob bits[MV_OFFSET_BITS];
93 vpx_prob class0_fp[CLASS0_SIZE][MV_FP_SIZE - 1];
94 vpx_prob fp[MV_FP_SIZE - 1];
95 vpx_prob class0_hp;
96 vpx_prob hp;
100 vpx_prob joints[MV_JOINTS - 1];
Dvp9_entropymode.c16 const vpx_prob vp9_kf_y_mode_prob[INTRA_MODES][INTRA_MODES][INTRA_MODES - 1] = {
149 const vpx_prob vp9_kf_uv_mode_prob[INTRA_MODES][INTRA_MODES - 1] = {
162 static const vpx_prob default_if_y_probs[BLOCK_SIZE_GROUPS][INTRA_MODES - 1] = {
169 static const vpx_prob default_if_uv_probs[INTRA_MODES][INTRA_MODES - 1] = {
182 const vpx_prob vp9_kf_partition_probs[PARTITION_CONTEXTS]
209 static const vpx_prob
233 static const vpx_prob
266 static const vpx_prob default_intra_inter_p[INTRA_INTER_CONTEXTS] = { 9, 102,
270 static const vpx_prob default_comp_inter_p[COMP_INTER_CONTEXTS] = { 239, 183,
274 static const vpx_prob default_comp_ref_p[REF_CONTEXTS] = { 50, 126, 123, 221,
[all …]
Dvp9_pred_common.h50 static INLINE vpx_prob vp9_get_pred_prob_seg_id(const struct segmentation *seg, in vp9_get_pred_prob_seg_id()
63 static INLINE vpx_prob vp9_get_skip_prob(const VP9_COMMON *cm, in vp9_get_skip_prob()
113 static INLINE vpx_prob vp9_get_intra_inter_prob(const VP9_COMMON *cm, in vp9_get_intra_inter_prob()
120 static INLINE vpx_prob vp9_get_reference_mode_prob(const VP9_COMMON *cm, in vp9_get_reference_mode_prob()
128 static INLINE vpx_prob vp9_get_pred_prob_comp_ref_p(const VP9_COMMON *cm, in vp9_get_pred_prob_comp_ref_p()
136 static INLINE vpx_prob vp9_get_pred_prob_single_ref_p1(const VP9_COMMON *cm, in vp9_get_pred_prob_single_ref_p1()
143 static INLINE vpx_prob vp9_get_pred_prob_single_ref_p2(const VP9_COMMON *cm, in vp9_get_pred_prob_single_ref_p2()
173 static INLINE const vpx_prob *get_tx_probs(TX_SIZE max_tx_size, int ctx, in get_tx_probs()
Dvp9_entropy.h148 extern const vpx_prob vp9_pareto8_full[COEFF_PROB_MODELS][MODEL_NODES];
150 typedef vpx_prob vp9_coeff_probs_model[REF_TYPES][COEF_BANDS][COEFF_CONTEXTS]
157 void vp9_model_to_full_probs(const vpx_prob *model, vpx_prob *full);
Dvp9_seg_common.h44 vpx_prob tree_probs[SEG_TREE_PROBS];
45 vpx_prob pred_probs[PREDICTION_PROBS];
Dvp9_blockd.h169 const vpx_prob (*partition_probs)[PARTITION_TYPES - 1];
263 static INLINE const vpx_prob *get_y_mode_probs(const MODE_INFO *mi, in get_y_mode_probs()
Dvp9_onyxc_int.h343 : (const vpx_prob(*)[PARTITION_TYPES - 1]) cm->fc->partition_prob; in set_partition_probs()
371 static INLINE const vpx_prob *get_partition_probs(const MACROBLOCKD *xd, in get_partition_probs()
/external/libvpx/libvpx/vpx_dsp/
Dprob.h25 typedef uint8_t vpx_prob; typedef
29 #define vpx_prob_half ((vpx_prob)128)
48 static INLINE vpx_prob get_prob(unsigned int num, unsigned int den) { in get_prob()
54 return (vpx_prob)clipped_prob; in get_prob()
58 static INLINE vpx_prob get_binary_prob(unsigned int n0, unsigned int n1) { in get_binary_prob()
65 static INLINE vpx_prob weighted_prob(int prob1, int prob2, int factor) { in weighted_prob()
69 static INLINE vpx_prob merge_probs(vpx_prob pre_prob, const unsigned int ct[2], in merge_probs()
72 const vpx_prob prob = get_binary_prob(ct[0], ct[1]); in merge_probs()
84 static INLINE vpx_prob mode_mv_merge_probs(vpx_prob pre_prob, in mode_mv_merge_probs()
92 const vpx_prob prob = get_prob(ct[0], den); in mode_mv_merge_probs()
[all …]
Dprob.c28 const vpx_prob *pre_probs, in tree_merge_probs_impl()
30 vpx_prob *probs) { in tree_merge_probs_impl()
44 void vpx_tree_merge_probs(const vpx_tree_index *tree, const vpx_prob *pre_probs, in vpx_tree_merge_probs()
45 const unsigned int *counts, vpx_prob *probs) { in vpx_tree_merge_probs()
Dbitreader.h151 const vpx_prob *probs) { in vpx_read_tree()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_subexp.h22 void vp9_write_prob_diff_update(struct vpx_writer *w, vpx_prob newp,
23 vpx_prob oldp);
25 void vp9_cond_prob_diff_update(struct vpx_writer *w, vpx_prob *oldp,
28 int vp9_prob_diff_update_savings_search(const unsigned int *ct, vpx_prob oldp,
29 vpx_prob *bestp, vpx_prob upd);
32 const vpx_prob oldp,
33 vpx_prob *bestp, vpx_prob upd,
Dvp9_subexp.c79 static int prob_diff_update_cost(vpx_prob newp, vpx_prob oldp) { in prob_diff_update_cost()
112 void vp9_write_prob_diff_update(vpx_writer *w, vpx_prob newp, vpx_prob oldp) { in vp9_write_prob_diff_update()
117 int vp9_prob_diff_update_savings_search(const unsigned int *ct, vpx_prob oldp, in vp9_prob_diff_update_savings_search()
118 vpx_prob *bestp, vpx_prob upd) { in vp9_prob_diff_update_savings_search()
121 vpx_prob newp, bestnewp = oldp; in vp9_prob_diff_update_savings_search()
141 const vpx_prob oldp, in vp9_prob_diff_update_savings_search_model()
142 vpx_prob *bestp, vpx_prob upd, in vp9_prob_diff_update_savings_search_model()
149 const vpx_prob *newplist, *oldplist; in vp9_prob_diff_update_savings_search_model()
150 vpx_prob bestnewp; in vp9_prob_diff_update_savings_search_model()
181 void vp9_cond_prob_diff_update(vpx_writer *w, vpx_prob *oldp, in vp9_cond_prob_diff_update()
[all …]
Dvp9_cost.c39 static void cost(int *costs, vpx_tree tree, const vpx_prob *probs, int i, in cost()
41 const vpx_prob prob = probs[i / 2]; in cost()
56 void vp9_cost_tokens(int *costs, const vpx_prob *probs, vpx_tree tree) { in vp9_cost_tokens()
60 void vp9_cost_tokens_skip(int *costs, const vpx_prob *probs, vpx_tree tree) { in vp9_cost_tokens_skip()
Dvp9_cost.h33 vpx_prob p) { in cost_branch256()
37 static INLINE int treed_cost(vpx_tree tree, const vpx_prob *probs, int bits, in treed_cost()
51 void vp9_cost_tokens(int *costs, const vpx_prob *probs, vpx_tree tree);
52 void vp9_cost_tokens_skip(int *costs, const vpx_prob *probs, vpx_tree tree);
Dvp9_treewriter.h32 const vpx_prob *probs, int bits, int len, in vp9_write_tree()
42 const vpx_prob *probs, in vp9_write_token()
Dvp9_segmentation.c104 static void calc_segtree_probs(int *segcounts, vpx_prob *segment_tree_probs) { in calc_segtree_probs()
121 static int cost_segmap(int *segcounts, vpx_prob *probs) { in cost_segmap()
254 vpx_prob no_pred_tree[SEG_TREE_PROBS]; in vp9_choose_segmap_coding_method()
255 vpx_prob t_pred_tree[SEG_TREE_PROBS]; in vp9_choose_segmap_coding_method()
256 vpx_prob t_nopred_prob[PREDICTION_PROBS]; in vp9_choose_segmap_coding_method()
Dvp9_tokenize.h37 const vpx_prob *context_tree;
57 const vpx_prob *prob;
Dvp9_bitstream.c57 const vpx_prob *probs) { in write_intra_mode()
62 const vpx_prob *probs) { in write_inter_mode()
74 vpx_prob probs[/*n - 1*/], in prob_diff_update()
93 const vpx_prob *const tx_probs = in write_selected_tx_size()
162 const vpx_prob *const context_tree = p->context_tree; in pack_mb_tokens()
259 vpx_prob pred_prob = vp9_get_pred_prob_seg_id(seg, xd); in pack_inter_mode_mvs()
294 const vpx_prob *const inter_probs = cm->fc->inter_mode_probs[mode_ctx]; in pack_inter_mode_mvs()
408 const vpx_prob *const probs = xd->partition_probs[ctx]; in write_partition()
549 const vpx_prob upd = DIFF_UPDATE_PROB; in update_coef_probs_common()
564 vpx_prob newp = new_coef_probs[i][j][k][l][t]; in update_coef_probs_common()
[all …]
Dvp9_encodemv.c143 static int update_mv(vpx_writer *w, const unsigned int ct[2], vpx_prob *cur_p, in update_mv()
144 vpx_prob upd_p) { in update_mv()
145 const vpx_prob new_p = get_binary_prob(ct[0], ct[1]) | 1; in update_mv()
158 vpx_prob probs[/*n - 1*/], in write_mv_update()
Dvp9_tokenize.c329 static INLINE void add_token(TOKENEXTRA **t, const vpx_prob *context_tree, in add_token()
340 const vpx_prob *context_tree, in add_token_no_extra()
371 vpx_prob(*const coef_probs)[COEFF_CONTEXTS][UNCONSTRAINED_NODES] = in tokenize_b()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_dsubexp.c67 void vp9_diff_update_prob(vpx_reader *r, vpx_prob *p) { in vp9_diff_update_prob()
70 *p = (vpx_prob)inv_remap_prob(delp, *p); in vp9_diff_update_prob()
Dvp9_detokenize.c107 static INLINE int read_coeff(vpx_reader *r, const vpx_prob *probs, int n, in read_coeff()
124 const vpx_prob(*coef_probs)[COEFF_CONTEXTS][UNCONSTRAINED_NODES] = in decode_coefs()
126 const vpx_prob *prob; in decode_coefs()
185 const vpx_prob *p = vp9_pareto8_full[prob[PIVOT_NODE] - 1]; in decode_coefs()
Dvp9_dsubexp.h20 void vp9_diff_update_prob(vpx_reader *r, vpx_prob *p);

12