Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp9/common/
Dvp9_pred_common.h132 const struct tx_probs *tx_probs) { in get_tx_probs() argument
135 return tx_probs->p8x8[ctx]; in get_tx_probs()
137 return tx_probs->p16x16[ctx]; in get_tx_probs()
139 return tx_probs->p32x32[ctx]; in get_tx_probs()
148 const struct tx_probs *tx_probs) { in get_tx_probs2() argument
149 return get_tx_probs(max_tx_size, get_tx_size_context(xd), tx_probs); in get_tx_probs2()
Dvp9_entropymode.c267 static const struct tx_probs default_tx_probs = {
326 fc->tx_probs = default_tx_probs; in init_mode_probs()
390 fc->tx_probs.p8x8[i][j] = mode_mv_merge_probs( in vp9_adapt_mode_probs()
391 pre_fc->tx_probs.p8x8[i][j], branch_ct_8x8p[j]); in vp9_adapt_mode_probs()
395 fc->tx_probs.p16x16[i][j] = mode_mv_merge_probs( in vp9_adapt_mode_probs()
396 pre_fc->tx_probs.p16x16[i][j], branch_ct_16x16p[j]); in vp9_adapt_mode_probs()
400 fc->tx_probs.p32x32[i][j] = mode_mv_merge_probs( in vp9_adapt_mode_probs()
401 pre_fc->tx_probs.p32x32[i][j], branch_ct_32x32p[j]); in vp9_adapt_mode_probs()
Dvp9_entropymode.h31 struct tx_probs { struct
56 struct tx_probs tx_probs; member
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c71 const vpx_prob *tx_probs = get_tx_probs(max_tx_size, ctx, &cm->fc->tx_probs); in read_selected_tx_size() local
72 int tx_size = vpx_read(r, tx_probs[0]); in read_selected_tx_size()
74 tx_size += vpx_read(r, tx_probs[1]); in read_selected_tx_size()
76 tx_size += vpx_read(r, tx_probs[2]); in read_selected_tx_size()
Dvp9_decodeframe.c91 static void read_tx_mode_probs(struct tx_probs *tx_probs, vpx_reader *r) { in read_tx_mode_probs() argument
96 vp9_diff_update_prob(r, &tx_probs->p8x8[i][j]); in read_tx_mode_probs()
100 vp9_diff_update_prob(r, &tx_probs->p16x16[i][j]); in read_tx_mode_probs()
104 vp9_diff_update_prob(r, &tx_probs->p32x32[i][j]); in read_tx_mode_probs()
2048 read_tx_mode_probs(&fc->tx_probs, &r); in read_compressed_header()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_bitstream.c85 const vpx_prob *const tx_probs = get_tx_probs2(max_tx_size, xd, in write_selected_tx_size() local
86 &cm->fc->tx_probs); in write_selected_tx_size()
87 vpx_write(w, tx_size != TX_4X4, tx_probs[0]); in write_selected_tx_size()
89 vpx_write(w, tx_size != TX_8X8, tx_probs[1]); in write_selected_tx_size()
91 vpx_write(w, tx_size != TX_16X16, tx_probs[2]); in write_selected_tx_size()
832 vp9_cond_prob_diff_update(w, &cm->fc->tx_probs.p8x8[i][j], ct_8x8p[j]); in encode_txfm_probs()
838 vp9_cond_prob_diff_update(w, &cm->fc->tx_probs.p16x16[i][j], in encode_txfm_probs()
845 vp9_cond_prob_diff_update(w, &cm->fc->tx_probs.p32x32[i][j], in encode_txfm_probs()
Dvp9_rdopt.c654 const vpx_prob *tx_probs = get_tx_probs2(max_tx_size, xd, &cm->fc->tx_probs); in choose_tx_size_from_rd() local
673 r_tx_size += vp9_cost_zero(tx_probs[m]); in choose_tx_size_from_rd()
675 r_tx_size += vp9_cost_one(tx_probs[m]); in choose_tx_size_from_rd()