Home
last modified time | relevance | path

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

12

/external/libvpx/libvpx/vp9/common/
Dvp9_entropy.c30 const vpx_prob vp9_cat1_prob[] = { 159 };
31 const vpx_prob vp9_cat2_prob[] = { 165, 145 };
32 const vpx_prob vp9_cat3_prob[] = { 173, 148, 140 };
33 const vpx_prob vp9_cat4_prob[] = { 176, 155, 140, 135 };
34 const vpx_prob vp9_cat5_prob[] = { 180, 157, 141, 134, 130 };
35 const vpx_prob vp9_cat6_prob[] = {
39 const vpx_prob vp9_cat1_prob_high10[] = { 159 };
40 const vpx_prob vp9_cat2_prob_high10[] = { 165, 145 };
41 const vpx_prob vp9_cat3_prob_high10[] = { 173, 148, 140 };
42 const vpx_prob vp9_cat4_prob_high10[] = { 176, 155, 140, 135 };
[all …]
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_entropymv.h86 vpx_prob sign;
87 vpx_prob classes[MV_CLASSES - 1];
88 vpx_prob class0[CLASS0_SIZE - 1];
89 vpx_prob bits[MV_OFFSET_BITS];
90 vpx_prob class0_fp[CLASS0_SIZE][MV_FP_SIZE - 1];
91 vpx_prob fp[MV_FP_SIZE - 1];
92 vpx_prob class0_hp;
93 vpx_prob hp;
97 vpx_prob joints[MV_JOINTS - 1];
Dvp9_entropymode.c16 const vpx_prob vp9_kf_y_mode_prob[INTRA_MODES][INTRA_MODES][INTRA_MODES - 1] = {
130 const vpx_prob vp9_kf_uv_mode_prob[INTRA_MODES][INTRA_MODES - 1] = {
143 static const vpx_prob default_if_y_probs[BLOCK_SIZE_GROUPS][INTRA_MODES - 1] = {
150 static const vpx_prob default_if_uv_probs[INTRA_MODES][INTRA_MODES - 1] = {
163 const vpx_prob vp9_kf_partition_probs[PARTITION_CONTEXTS]
187 static const vpx_prob default_partition_probs[PARTITION_CONTEXTS]
211 static const vpx_prob default_inter_mode_probs[INTER_MODE_CONTEXTS]
247 static const vpx_prob default_intra_inter_p[INTRA_INTER_CONTEXTS] = {
251 static const vpx_prob default_comp_inter_p[COMP_INTER_CONTEXTS] = {
255 static const vpx_prob default_comp_ref_p[REF_CONTEXTS] = {
[all …]
Dvp9_pred_common.h51 static INLINE vpx_prob vp9_get_pred_prob_seg_id(const struct segmentation *seg, in vp9_get_pred_prob_seg_id()
64 static INLINE vpx_prob vp9_get_skip_prob(const VP9_COMMON *cm, in vp9_get_skip_prob()
73 static INLINE vpx_prob vp9_get_intra_inter_prob(const VP9_COMMON *cm, in vp9_get_intra_inter_prob()
80 static INLINE vpx_prob vp9_get_reference_mode_prob(const VP9_COMMON *cm, in vp9_get_reference_mode_prob()
88 static INLINE vpx_prob vp9_get_pred_prob_comp_ref_p(const VP9_COMMON *cm, in vp9_get_pred_prob_comp_ref_p()
96 static INLINE vpx_prob vp9_get_pred_prob_single_ref_p1(const VP9_COMMON *cm, in vp9_get_pred_prob_single_ref_p1()
103 static INLINE vpx_prob vp9_get_pred_prob_single_ref_p2(const VP9_COMMON *cm, in vp9_get_pred_prob_single_ref_p2()
131 static INLINE const vpx_prob *get_tx_probs(TX_SIZE max_tx_size, int ctx, in get_tx_probs()
146 static INLINE const vpx_prob *get_tx_probs2(TX_SIZE max_tx_size, in get_tx_probs2()
Dvp9_entropy.h149 extern const vpx_prob vp9_pareto8_full[COEFF_PROB_MODELS][MODEL_NODES];
151 typedef vpx_prob vp9_coeff_probs_model[REF_TYPES][COEF_BANDS]
158 void vp9_model_to_full_probs(const vpx_prob *model, vpx_prob *full);
Dvp9_seg_common.h45 vpx_prob tree_probs[SEG_TREE_PROBS];
46 vpx_prob pred_probs[PREDICTION_PROBS];
Dvp9_blockd.h169 const vpx_prob (*partition_probs)[PARTITION_TYPES - 1];
268 static INLINE const vpx_prob *get_y_mode_probs(const MODE_INFO *mi, in get_y_mode_probs()
Dvp9_onyxc_int.h349 (const vpx_prob (*)[PARTITION_TYPES - 1])cm->fc->partition_prob; in set_partition_probs()
376 static INLINE const vpx_prob* get_partition_probs(const MACROBLOCKD *xd, in get_partition_probs()
/external/libvpx/libvpx/vpx_dsp/
Dprob.h23 typedef uint8_t vpx_prob; typedef
27 #define vpx_prob_half ((vpx_prob) 128)
46 static INLINE vpx_prob clip_prob(int p) { in clip_prob()
50 static INLINE vpx_prob get_prob(int num, int den) { in get_prob()
54 static INLINE vpx_prob get_binary_prob(int n0, int n1) { in get_binary_prob()
59 static INLINE vpx_prob weighted_prob(int prob1, int prob2, int factor) { in weighted_prob()
63 static INLINE vpx_prob merge_probs(vpx_prob pre_prob, in merge_probs()
67 const vpx_prob prob = get_binary_prob(ct[0], ct[1]); in merge_probs()
79 static INLINE vpx_prob mode_mv_merge_probs(vpx_prob pre_prob, in mode_mv_merge_probs()
87 const vpx_prob prob = in mode_mv_merge_probs()
[all …]
Dprob.c34 const vpx_prob *pre_probs, in tree_merge_probs_impl()
36 vpx_prob *probs) { in tree_merge_probs_impl()
50 void vpx_tree_merge_probs(const vpx_tree_index *tree, const vpx_prob *pre_probs, in vpx_tree_merge_probs()
51 const unsigned int *counts, vpx_prob *probs) { in vpx_tree_merge_probs()
Dbitreader.h127 const vpx_prob *probs) { in vpx_read_tree()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_subexp.h24 vpx_prob newp, vpx_prob oldp);
26 void vp9_cond_prob_diff_update(struct vpx_writer *w, vpx_prob *oldp,
30 vpx_prob oldp, vpx_prob *bestp,
31 vpx_prob upd);
35 const vpx_prob *oldp,
36 vpx_prob *bestp,
37 vpx_prob upd,
Dvp9_subexp.c81 static int prob_diff_update_cost(vpx_prob newp, vpx_prob oldp) { in prob_diff_update_cost()
114 void vp9_write_prob_diff_update(vpx_writer *w, vpx_prob newp, vpx_prob oldp) { in vp9_write_prob_diff_update()
120 vpx_prob oldp, vpx_prob *bestp, in vp9_prob_diff_update_savings_search()
121 vpx_prob upd) { in vp9_prob_diff_update_savings_search()
124 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, in vp9_prob_diff_update_savings_search_model()
143 vpx_prob upd, in vp9_prob_diff_update_savings_search_model()
147 vpx_prob bestnewp, newplist[ENTROPY_NODES], oldplist[ENTROPY_NODES]; in vp9_prob_diff_update_savings_search_model()
149 memcpy(newplist, oldp, sizeof(vpx_prob) * UNCONSTRAINED_NODES); in vp9_prob_diff_update_savings_search_model()
[all …]
Dvp9_cost.c38 static void cost(int *costs, vpx_tree tree, const vpx_prob *probs, in cost()
40 const vpx_prob prob = probs[i / 2]; in cost()
54 void vp9_cost_tokens(int *costs, const vpx_prob *probs, vpx_tree tree) { in vp9_cost_tokens()
58 void vp9_cost_tokens_skip(int *costs, const vpx_prob *probs, vpx_tree tree) { in vp9_cost_tokens_skip()
Dvp9_cost.h30 vpx_prob p) { in cost_branch256()
34 static INLINE int treed_cost(vpx_tree tree, const vpx_prob *probs, in treed_cost()
48 void vp9_cost_tokens(int *costs, const vpx_prob *probs, vpx_tree tree);
49 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.c52 static void calc_segtree_probs(int *segcounts, vpx_prob *segment_tree_probs) { in calc_segtree_probs()
69 static int cost_segmap(int *segcounts, vpx_prob *probs) { in cost_segmap()
210 vpx_prob no_pred_tree[SEG_TREE_PROBS]; in vp9_choose_segmap_coding_method()
211 vpx_prob t_pred_tree[SEG_TREE_PROBS]; in vp9_choose_segmap_coding_method()
212 vpx_prob t_nopred_prob[PREDICTION_PROBS]; in vp9_choose_segmap_coding_method()
Dvp9_tokenize.h38 const vpx_prob *context_tree;
58 const vpx_prob *prob;
Dvp9_bitstream.c49 const vpx_prob *probs) { in write_intra_mode()
54 const vpx_prob *probs) { in write_inter_mode()
66 vpx_prob probs[/*n - 1*/], in prob_diff_update()
85 const vpx_prob *const tx_probs = get_tx_probs2(max_tx_size, xd, in write_selected_tx_size()
256 vpx_prob pred_prob = vp9_get_pred_prob_seg_id(seg, xd); in pack_inter_mode_mvs()
292 const vpx_prob *const inter_probs = cm->fc->inter_mode_probs[mode_ctx]; in pack_inter_mode_mvs()
409 const vpx_prob *const probs = xd->partition_probs[ctx]; in write_partition()
535 const vpx_prob upd = DIFF_UPDATE_PROB; in update_coef_probs_common()
550 vpx_prob newp = new_coef_probs[i][j][k][l][t]; in update_coef_probs_common()
551 const vpx_prob oldp = old_coef_probs[i][j][k][l][t]; in update_coef_probs_common()
[all …]
Dvp9_encodemv.c137 static int update_mv(vpx_writer *w, const unsigned int ct[2], vpx_prob *cur_p, in update_mv()
138 vpx_prob upd_p) { in update_mv()
139 const vpx_prob new_p = get_binary_prob(ct[0], ct[1]) | 1; in update_mv()
151 vpx_prob probs[/*n - 1*/], in write_mv_update()
Dvp9_tokenize.c433 static INLINE void add_token(TOKENEXTRA **t, const vpx_prob *context_tree, in add_token()
446 const vpx_prob *context_tree, in add_token_no_extra()
487 vpx_prob (*const coef_probs)[COEFF_CONTEXTS][UNCONSTRAINED_NODES] = in tokenize_b()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_dsubexp.c71 void vp9_diff_update_prob(vpx_reader *r, vpx_prob* p) { in vp9_diff_update_prob()
74 *p = (vpx_prob)inv_remap_prob(delp, *p); in vp9_diff_update_prob()
Dvp9_detokenize.c41 static INLINE int read_coeff(const vpx_prob *probs, int n, vpx_reader *r) { in read_coeff()
58 const vpx_prob (*coef_probs)[COEFF_CONTEXTS][UNCONSTRAINED_NODES] = in decode_coefs()
60 const vpx_prob *prob; in decode_coefs()
Dvp9_dsubexp.h21 void vp9_diff_update_prob(vpx_reader *r, vpx_prob* p);

12