Home
last modified time | relevance | path

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

12

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_entropymode.h29 vp9_prob p32x32[TX_SIZE_CONTEXTS][TX_SIZES - 1];
30 vp9_prob p16x16[TX_SIZE_CONTEXTS][TX_SIZES - 2];
31 vp9_prob p8x8[TX_SIZE_CONTEXTS][TX_SIZES - 3];
41 vp9_prob y_mode_prob[BLOCK_SIZE_GROUPS][INTRA_MODES - 1];
42 vp9_prob uv_mode_prob[INTRA_MODES][INTRA_MODES - 1];
43 vp9_prob partition_prob[PARTITION_CONTEXTS][PARTITION_TYPES - 1];
45 vp9_prob switchable_interp_prob[SWITCHABLE_FILTER_CONTEXTS]
47 vp9_prob inter_mode_probs[INTER_MODE_CONTEXTS][INTER_MODES - 1];
48 vp9_prob intra_inter_prob[INTRA_INTER_CONTEXTS];
49 vp9_prob comp_inter_prob[COMP_INTER_CONTEXTS];
[all …]
Dvp9_prob.h25 typedef uint8_t vp9_prob; typedef
29 #define vp9_prob_half ((vp9_prob) 128)
46 static INLINE vp9_prob clip_prob(int p) { in clip_prob()
54 static INLINE vp9_prob get_prob(int num, int den) { in get_prob()
58 static INLINE vp9_prob get_prob(int num, int den) { in get_prob()
63 static INLINE vp9_prob get_binary_prob(int n0, int n1) { in get_binary_prob()
68 static INLINE vp9_prob weighted_prob(int prob1, int prob2, int factor) { in weighted_prob()
72 static INLINE vp9_prob merge_probs(vp9_prob pre_prob, in merge_probs()
76 const vp9_prob prob = get_binary_prob(ct[0], ct[1]); in merge_probs()
82 void vp9_tree_merge_probs(const vp9_tree_index *tree, const vp9_prob *pre_probs,
[all …]
Dvp9_entropymv.h83 vp9_prob sign;
84 vp9_prob classes[MV_CLASSES - 1];
85 vp9_prob class0[CLASS0_SIZE - 1];
86 vp9_prob bits[MV_OFFSET_BITS];
87 vp9_prob class0_fp[CLASS0_SIZE][MV_FP_SIZE - 1];
88 vp9_prob fp[MV_FP_SIZE - 1];
89 vp9_prob class0_hp;
90 vp9_prob hp;
94 vp9_prob joints[MV_JOINTS - 1];
Dvp9_entropymode.c16 const vp9_prob vp9_kf_y_mode_prob[INTRA_MODES][INTRA_MODES][INTRA_MODES - 1] = {
130 const vp9_prob vp9_kf_uv_mode_prob[INTRA_MODES][INTRA_MODES - 1] = {
143 static const vp9_prob default_if_y_probs[BLOCK_SIZE_GROUPS][INTRA_MODES - 1] = {
150 static const vp9_prob default_if_uv_probs[INTRA_MODES][INTRA_MODES - 1] = {
163 const vp9_prob vp9_kf_partition_probs[PARTITION_CONTEXTS]
187 static const vp9_prob default_partition_probs[PARTITION_CONTEXTS]
211 static const vp9_prob default_inter_mode_probs[INTER_MODE_CONTEXTS]
247 static const vp9_prob default_intra_inter_p[INTRA_INTER_CONTEXTS] = {
251 static const vp9_prob default_comp_inter_p[COMP_INTER_CONTEXTS] = {
255 static const vp9_prob default_comp_ref_p[REF_CONTEXTS] = {
[all …]
Dvp9_pred_common.h42 static INLINE vp9_prob vp9_get_pred_prob_seg_id(const struct segmentation *seg, in vp9_get_pred_prob_seg_id()
55 static INLINE vp9_prob vp9_get_skip_prob(const VP9_COMMON *cm, in vp9_get_skip_prob()
64 static INLINE vp9_prob vp9_get_intra_inter_prob(const VP9_COMMON *cm, in vp9_get_intra_inter_prob()
71 static INLINE vp9_prob vp9_get_reference_mode_prob(const VP9_COMMON *cm, in vp9_get_reference_mode_prob()
79 static INLINE vp9_prob vp9_get_pred_prob_comp_ref_p(const VP9_COMMON *cm, in vp9_get_pred_prob_comp_ref_p()
87 static INLINE vp9_prob vp9_get_pred_prob_single_ref_p1(const VP9_COMMON *cm, in vp9_get_pred_prob_single_ref_p1()
94 static INLINE vp9_prob vp9_get_pred_prob_single_ref_p2(const VP9_COMMON *cm, in vp9_get_pred_prob_single_ref_p2()
101 static INLINE const vp9_prob *get_tx_probs(TX_SIZE max_tx_size, int ctx, in get_tx_probs()
116 static INLINE const vp9_prob *get_tx_probs2(TX_SIZE max_tx_size, in get_tx_probs2()
Dvp9_entropy.c116 const vp9_prob vp9_pareto8_full[COEFF_PROB_MODELS][MODEL_NODES] = {
711 static void extend_to_full_distribution(vp9_prob *probs, vp9_prob p) { in extend_to_full_distribution()
713 MODEL_NODES * sizeof(vp9_prob)); in extend_to_full_distribution()
716 void vp9_model_to_full_probs(const vp9_prob *model, vp9_prob *full) { in vp9_model_to_full_probs()
718 vpx_memcpy(full, model, sizeof(vp9_prob) * UNCONSTRAINED_NODES); in vp9_model_to_full_probs()
Dvp9_prob.c35 const vp9_prob *pre_probs, in tree_merge_probs_impl()
39 vp9_prob *probs) { in tree_merge_probs_impl()
56 void vp9_tree_merge_probs(const vp9_tree_index *tree, const vp9_prob *pre_probs, in vp9_tree_merge_probs()
58 unsigned int max_update_factor, vp9_prob *probs) { in vp9_tree_merge_probs()
Dvp9_entropy.h51 const vp9_prob *prob;
137 extern const vp9_prob vp9_pareto8_full[COEFF_PROB_MODELS][MODEL_NODES];
139 typedef vp9_prob vp9_coeff_probs_model[REF_TYPES][COEF_BANDS]
146 void vp9_model_to_full_probs(const vp9_prob *model, vp9_prob *full);
Dvp9_entropymv.c186 static vp9_prob adapt_prob(vp9_prob prep, const unsigned int ct[2]) { in adapt_prob()
190 static void adapt_probs(const vp9_tree_index *tree, const vp9_prob *pre_probs, in adapt_probs()
191 const unsigned int *counts, vp9_prob *probs) { in adapt_probs()
Dvp9_seg_common.h45 vp9_prob tree_probs[SEG_TREE_PROBS];
46 vp9_prob pred_probs[PREDICTION_PROBS];
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_subexp.h23 vp9_prob newp, vp9_prob oldp);
25 void vp9_cond_prob_diff_update(vp9_writer *w, vp9_prob *oldp,
29 vp9_prob oldp, vp9_prob *bestp,
30 vp9_prob upd);
34 const vp9_prob *oldp,
35 vp9_prob *bestp,
36 vp9_prob upd);
Dvp9_subexp.c76 static int prob_diff_update_cost(vp9_prob newp, vp9_prob oldp) { in prob_diff_update_cost()
109 void vp9_write_prob_diff_update(vp9_writer *w, vp9_prob newp, vp9_prob oldp) { in vp9_write_prob_diff_update()
121 vp9_prob oldp, vp9_prob *bestp, in vp9_prob_diff_update_savings_search()
122 vp9_prob upd) { in vp9_prob_diff_update_savings_search()
125 vp9_prob newp, bestnewp = oldp; in vp9_prob_diff_update_savings_search()
142 const vp9_prob *oldp, in vp9_prob_diff_update_savings_search_model()
143 vp9_prob *bestp, in vp9_prob_diff_update_savings_search_model()
144 vp9_prob upd) { in vp9_prob_diff_update_savings_search_model()
147 vp9_prob bestnewp, newplist[ENTROPY_NODES], oldplist[ENTROPY_NODES]; in vp9_prob_diff_update_savings_search_model()
149 vpx_memcpy(newplist, oldp, sizeof(vp9_prob) * UNCONSTRAINED_NODES); in vp9_prob_diff_update_savings_search_model()
[all …]
Dvp9_cost.c37 static void cost(int *costs, vp9_tree tree, const vp9_prob *probs, in cost()
39 const vp9_prob prob = probs[i / 2]; in cost()
53 void vp9_cost_tokens(int *costs, const vp9_prob *probs, vp9_tree tree) { in vp9_cost_tokens()
57 void vp9_cost_tokens_skip(int *costs, const vp9_prob *probs, vp9_tree tree) { in vp9_cost_tokens_skip()
Dvp9_cost.h30 vp9_prob p) { in cost_branch256()
34 static INLINE int treed_cost(vp9_tree tree, const vp9_prob *probs, 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_tokenize.c58 static const vp9_prob Pcat1[] = { 159};
59 static const vp9_prob Pcat2[] = { 165, 145};
60 static const vp9_prob Pcat3[] = { 173, 148, 140};
61 static const vp9_prob Pcat4[] = { 176, 155, 140, 135};
62 static const vp9_prob Pcat5[] = { 180, 157, 141, 134, 130};
63 static const vp9_prob Pcat6[] = {
179 static INLINE void add_token(TOKENEXTRA **t, const vp9_prob *context_tree, in add_token()
192 const vp9_prob *context_tree, in add_token_no_extra()
231 vp9_prob (*const coef_probs)[COEFF_CONTEXTS][UNCONSTRAINED_NODES] = in tokenize_b()
Dvp9_treewriter.h32 const vp9_prob *probs, int bits, int len, in vp9_write_tree()
42 const vp9_prob *probs, in vp9_write_token()
Dvp9_segmentation.c66 static void calc_segtree_probs(int *segcounts, vp9_prob *segment_tree_probs) { in calc_segtree_probs()
83 static int cost_segmap(int *segcounts, vp9_prob *probs) { in cost_segmap()
228 vp9_prob no_pred_tree[SEG_TREE_PROBS]; in vp9_choose_segmap_coding_method()
229 vp9_prob t_pred_tree[SEG_TREE_PROBS]; in vp9_choose_segmap_coding_method()
230 vp9_prob t_nopred_prob[PREDICTION_PROBS]; in vp9_choose_segmap_coding_method()
Dvp9_bitstream.c51 const vp9_prob *probs) { in write_intra_mode()
56 const vp9_prob *probs) { in write_inter_mode()
68 vp9_prob probs[/*n - 1*/], in prob_diff_update()
87 const vp9_prob *const tx_probs = get_tx_probs2(max_tx_size, xd, in write_selected_tx_size()
247 vp9_prob pred_prob = vp9_get_pred_prob_seg_id(seg, xd); in pack_inter_mode_mvs()
284 const vp9_prob *const inter_probs = cm->fc.inter_mode_probs[mode_ctx]; in pack_inter_mode_mvs()
399 const vp9_prob *const probs = get_partition_probs(cm, ctx); in write_partition()
520 const vp9_prob upd = DIFF_UPDATE_PROB; in update_coef_probs_common()
533 vp9_prob newp = new_frame_coef_probs[i][j][k][l][t]; in update_coef_probs_common()
534 const vp9_prob oldp = old_frame_coef_probs[i][j][k][l][t]; in update_coef_probs_common()
[all …]
Dvp9_encodemv.c136 static int update_mv(vp9_writer *w, const unsigned int ct[2], vp9_prob *cur_p, in update_mv()
137 vp9_prob upd_p) { in update_mv()
138 const vp9_prob new_p = get_binary_prob(ct[0], ct[1]) | 1; in update_mv()
150 vp9_prob probs[/*n - 1*/], in write_mv_update()
Dvp9_tokenize.h33 const vp9_prob *context_tree;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_dsubexp.c87 void vp9_diff_update_prob(vp9_reader *r, vp9_prob* p) { in vp9_diff_update_prob()
90 *p = (vp9_prob)inv_remap_prob(delp, *p); in vp9_diff_update_prob()
Dvp9_detokenize.c56 static const vp9_prob cat6_prob[15] = {
91 const vp9_prob (*coef_probs)[COEFF_CONTEXTS][UNCONSTRAINED_NODES] = in decode_coefs()
93 const vp9_prob *prob; in decode_coefs()
Dvp9_dsubexp.h21 void vp9_diff_update_prob(vp9_reader *r, vp9_prob* p);
Dvp9_reader.h98 const vp9_prob *probs) { in vp9_read_tree()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/
Dvp9_common.mk41 VP9_COMMON_SRCS-yes += common/vp9_prob.h
42 VP9_COMMON_SRCS-yes += common/vp9_prob.c

12