Searched refs:tx_probs (Results 1 – 8 of 8) sorted by relevance
/external/libvpx/libvpx/vp9/common/ |
D | vp9_pred_common.h | 170 const struct tx_probs *tx_probs) { in get_tx_probs() argument 172 case TX_8X8: return tx_probs->p8x8[ctx]; in get_tx_probs() 173 case TX_16X16: return tx_probs->p16x16[ctx]; in get_tx_probs() 174 case TX_32X32: return tx_probs->p32x32[ctx]; in get_tx_probs() 181 const struct tx_probs *tx_probs) { in get_tx_probs2() argument 182 return get_tx_probs(max_tx_size, get_tx_size_context(xd), tx_probs); in get_tx_probs2()
|
D | vp9_entropymode.c | 278 static const struct tx_probs default_tx_probs = { { { 3, 136, 37 }, 329 fc->tx_probs = default_tx_probs; in init_mode_probs() 389 fc->tx_probs.p8x8[i][j] = in vp9_adapt_mode_probs() 390 mode_mv_merge_probs(pre_fc->tx_probs.p8x8[i][j], branch_ct_8x8p[j]); in vp9_adapt_mode_probs() 394 fc->tx_probs.p16x16[i][j] = mode_mv_merge_probs( in vp9_adapt_mode_probs() 395 pre_fc->tx_probs.p16x16[i][j], branch_ct_16x16p[j]); in vp9_adapt_mode_probs() 399 fc->tx_probs.p32x32[i][j] = mode_mv_merge_probs( in vp9_adapt_mode_probs() 400 pre_fc->tx_probs.p32x32[i][j], branch_ct_32x32p[j]); in vp9_adapt_mode_probs()
|
D | vp9_entropymode.h | 31 struct tx_probs { struct 56 struct tx_probs tx_probs; argument
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_bitstream.c | 88 const vpx_prob *const tx_probs = in write_selected_tx_size() local 89 get_tx_probs2(max_tx_size, xd, &cm->fc->tx_probs); in write_selected_tx_size() 90 vpx_write(w, tx_size != TX_4X4, tx_probs[0]); in write_selected_tx_size() 92 vpx_write(w, tx_size != TX_8X8, tx_probs[1]); in write_selected_tx_size() 94 vpx_write(w, tx_size != TX_16X16, tx_probs[2]); in write_selected_tx_size() 829 vp9_cond_prob_diff_update(w, &cm->fc->tx_probs.p8x8[i][j], ct_8x8p[j]); in encode_txfm_probs() 835 vp9_cond_prob_diff_update(w, &cm->fc->tx_probs.p16x16[i][j], in encode_txfm_probs() 842 vp9_cond_prob_diff_update(w, &cm->fc->tx_probs.p32x32[i][j], in encode_txfm_probs()
|
D | vp9_encoder.c | 287 (pre_fc->tx_probs.p32x32[i][j] - cur_fc->tx_probs.p32x32[i][j]); in compute_context_model_diff() 289 pre_last_prob = MAX_PROB - pre_fc->tx_probs.p32x32[i][TX_SIZES - 2]; in compute_context_model_diff() 290 cur_last_prob = MAX_PROB - cur_fc->tx_probs.p32x32[i][TX_SIZES - 2]; in compute_context_model_diff() 298 (pre_fc->tx_probs.p16x16[i][j] - cur_fc->tx_probs.p16x16[i][j]); in compute_context_model_diff() 300 pre_last_prob = MAX_PROB - pre_fc->tx_probs.p16x16[i][TX_SIZES - 3]; in compute_context_model_diff() 301 cur_last_prob = MAX_PROB - cur_fc->tx_probs.p16x16[i][TX_SIZES - 3]; in compute_context_model_diff() 309 (pre_fc->tx_probs.p8x8[i][j] - cur_fc->tx_probs.p8x8[i][j]); in compute_context_model_diff() 311 pre_last_prob = MAX_PROB - pre_fc->tx_probs.p8x8[i][TX_SIZES - 4]; in compute_context_model_diff() 312 cur_last_prob = MAX_PROB - cur_fc->tx_probs.p8x8[i][TX_SIZES - 4]; in compute_context_model_diff()
|
D | vp9_rdopt.c | 851 const vpx_prob *tx_probs = get_tx_probs2(max_tx_size, xd, &cm->fc->tx_probs); in choose_tx_size_from_rd() local 870 r_tx_size += vp9_cost_zero(tx_probs[m]); in choose_tx_size_from_rd() 872 r_tx_size += vp9_cost_one(tx_probs[m]); in choose_tx_size_from_rd()
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decodemv.c | 68 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()
|
D | vp9_decodeframe.c | 89 static void read_tx_mode_probs(struct tx_probs *tx_probs, vpx_reader *r) { in read_tx_mode_probs() argument 94 vp9_diff_update_prob(r, &tx_probs->p8x8[i][j]); in read_tx_mode_probs() 98 vp9_diff_update_prob(r, &tx_probs->p16x16[i][j]); in read_tx_mode_probs() 102 vp9_diff_update_prob(r, &tx_probs->p32x32[i][j]); in read_tx_mode_probs() 1971 if (cm->tx_mode == TX_MODE_SELECT) read_tx_mode_probs(&fc->tx_probs, &r); in read_compressed_header()
|