Home
last modified time | relevance | path

Searched refs:tx_probs (Results 1 – 8 of 8) sorted by relevance

/external/libvpx/libvpx/vp9/common/
Dvp9_entropymode.c281 static const struct tx_probs default_tx_probs = { { { 3, 136, 37 },
332 fc->tx_probs = default_tx_probs; in init_mode_probs()
392 fc->tx_probs.p8x8[i][j] = in vp9_adapt_mode_probs()
393 mode_mv_merge_probs(pre_fc->tx_probs.p8x8[i][j], branch_ct_8x8p[j]); in vp9_adapt_mode_probs()
397 fc->tx_probs.p16x16[i][j] = mode_mv_merge_probs( in vp9_adapt_mode_probs()
398 pre_fc->tx_probs.p16x16[i][j], branch_ct_16x16p[j]); in vp9_adapt_mode_probs()
402 fc->tx_probs.p32x32[i][j] = mode_mv_merge_probs( in vp9_adapt_mode_probs()
403 pre_fc->tx_probs.p32x32[i][j], branch_ct_32x32p[j]); in vp9_adapt_mode_probs()
Dvp9_pred_common.h174 const struct tx_probs *tx_probs) { in get_tx_probs() argument
176 case TX_8X8: return tx_probs->p8x8[ctx]; in get_tx_probs()
177 case TX_16X16: return tx_probs->p16x16[ctx]; in get_tx_probs()
178 case TX_32X32: return tx_probs->p32x32[ctx]; in get_tx_probs()
Dvp9_entropymode.h31 struct tx_probs { struct
56 struct tx_probs tx_probs; member
/external/libvpx/libvpx/vp9/encoder/
Dvp9_bitstream.c93 const vpx_prob *const tx_probs = in write_selected_tx_size() local
94 get_tx_probs(max_tx_size, get_tx_size_context(xd), &cm->fc->tx_probs); in write_selected_tx_size()
95 vpx_write(w, tx_size != TX_4X4, tx_probs[0]); in write_selected_tx_size()
97 vpx_write(w, tx_size != TX_8X8, tx_probs[1]); in write_selected_tx_size()
99 vpx_write(w, tx_size != TX_16X16, tx_probs[2]); in write_selected_tx_size()
835 vp9_cond_prob_diff_update(w, &cm->fc->tx_probs.p8x8[i][j], ct_8x8p[j]); in encode_txfm_probs()
841 vp9_cond_prob_diff_update(w, &cm->fc->tx_probs.p16x16[i][j], in encode_txfm_probs()
848 vp9_cond_prob_diff_update(w, &cm->fc->tx_probs.p32x32[i][j], in encode_txfm_probs()
Dvp9_rd.c118 const vpx_prob *tx_probs = get_tx_probs(i, j, &fc->tx_probs); in fill_mode_costs() local
125 cost += vp9_cost_zero(tx_probs[m]); in fill_mode_costs()
127 cost += vp9_cost_one(tx_probs[m]); in fill_mode_costs()
Dvp9_encoder.c317 (pre_fc->tx_probs.p32x32[i][j] - cur_fc->tx_probs.p32x32[i][j]); in compute_context_model_diff()
319 pre_last_prob = MAX_PROB - pre_fc->tx_probs.p32x32[i][TX_SIZES - 2]; in compute_context_model_diff()
320 cur_last_prob = MAX_PROB - cur_fc->tx_probs.p32x32[i][TX_SIZES - 2]; in compute_context_model_diff()
328 (pre_fc->tx_probs.p16x16[i][j] - cur_fc->tx_probs.p16x16[i][j]); in compute_context_model_diff()
330 pre_last_prob = MAX_PROB - pre_fc->tx_probs.p16x16[i][TX_SIZES - 3]; in compute_context_model_diff()
331 cur_last_prob = MAX_PROB - cur_fc->tx_probs.p16x16[i][TX_SIZES - 3]; in compute_context_model_diff()
339 (pre_fc->tx_probs.p8x8[i][j] - cur_fc->tx_probs.p8x8[i][j]); in compute_context_model_diff()
341 pre_last_prob = MAX_PROB - pre_fc->tx_probs.p8x8[i][TX_SIZES - 4]; in compute_context_model_diff()
342 cur_last_prob = MAX_PROB - cur_fc->tx_probs.p8x8[i][TX_SIZES - 4]; in compute_context_model_diff()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c68 const vpx_prob *tx_probs = get_tx_probs(max_tx_size, ctx, &cm->fc->tx_probs); in read_selected_tx_size() local
69 int tx_size = vpx_read(r, tx_probs[0]); in read_selected_tx_size()
71 tx_size += vpx_read(r, tx_probs[1]); in read_selected_tx_size()
73 tx_size += vpx_read(r, tx_probs[2]); in read_selected_tx_size()
Dvp9_decodeframe.c73 static void read_tx_mode_probs(struct tx_probs *tx_probs, vpx_reader *r) { in read_tx_mode_probs() argument
78 vp9_diff_update_prob(r, &tx_probs->p8x8[i][j]); in read_tx_mode_probs()
82 vp9_diff_update_prob(r, &tx_probs->p16x16[i][j]); in read_tx_mode_probs()
86 vp9_diff_update_prob(r, &tx_probs->p32x32[i][j]); in read_tx_mode_probs()
2873 if (cm->tx_mode == TX_MODE_SELECT) read_tx_mode_probs(&fc->tx_probs, &r); in read_compressed_header()