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.h102 const struct tx_probs *tx_probs) { in get_tx_probs() argument
105 return tx_probs->p8x8[ctx]; in get_tx_probs()
107 return tx_probs->p16x16[ctx]; in get_tx_probs()
109 return tx_probs->p32x32[ctx]; in get_tx_probs()
118 const struct tx_probs *tx_probs) { in get_tx_probs2() argument
119 return get_tx_probs(max_tx_size, vp9_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 vp9_init_mode_probs()
402 fc->tx_probs.p8x8[i][j] = adapt_prob(pre_fc->tx_probs.p8x8[i][j], in vp9_adapt_mode_probs()
407 fc->tx_probs.p16x16[i][j] = adapt_prob(pre_fc->tx_probs.p16x16[i][j], in vp9_adapt_mode_probs()
412 fc->tx_probs.p32x32[i][j] = adapt_prob(pre_fc->tx_probs.p32x32[i][j], in vp9_adapt_mode_probs()
Dvp9_entropymode.h28 struct tx_probs { struct
52 struct tx_probs tx_probs; member
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c64 const vp9_prob *tx_probs = get_tx_probs(max_tx_size, ctx, &cm->fc.tx_probs); in read_selected_tx_size() local
65 int tx_size = vp9_read(r, tx_probs[0]); in read_selected_tx_size()
67 tx_size += vp9_read(r, tx_probs[1]); in read_selected_tx_size()
69 tx_size += vp9_read(r, tx_probs[2]); in read_selected_tx_size()
Dvp9_decodeframe.c88 static void read_tx_mode_probs(struct tx_probs *tx_probs, vp9_reader *r) { in read_tx_mode_probs() argument
93 vp9_diff_update_prob(r, &tx_probs->p8x8[i][j]); in read_tx_mode_probs()
97 vp9_diff_update_prob(r, &tx_probs->p16x16[i][j]); in read_tx_mode_probs()
101 vp9_diff_update_prob(r, &tx_probs->p32x32[i][j]); in read_tx_mode_probs()
1279 read_tx_mode_probs(&fc->tx_probs, &r); in read_compressed_header()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_bitstream.c86 const vp9_prob *const tx_probs = get_tx_probs2(max_tx_size, xd, in write_selected_tx_size() local
87 &cm->fc.tx_probs); in write_selected_tx_size()
88 vp9_write(w, tx_size != TX_4X4, tx_probs[0]); in write_selected_tx_size()
90 vp9_write(w, tx_size != TX_8X8, tx_probs[1]); in write_selected_tx_size()
92 vp9_write(w, tx_size != TX_16X16, tx_probs[2]); in write_selected_tx_size()
819 vp9_cond_prob_diff_update(w, &cm->fc.tx_probs.p8x8[i][j], ct_8x8p[j]); in encode_txfm_probs()
825 vp9_cond_prob_diff_update(w, &cm->fc.tx_probs.p16x16[i][j], in encode_txfm_probs()
832 vp9_cond_prob_diff_update(w, &cm->fc.tx_probs.p32x32[i][j], in encode_txfm_probs()
Dvp9_rdopt.c499 const vp9_prob *tx_probs = get_tx_probs2(max_tx_size, xd, &cm->fc.tx_probs); in choose_tx_size_from_rd() local
512 r[n][1] += vp9_cost_zero(tx_probs[m]); in choose_tx_size_from_rd()
514 r[n][1] += vp9_cost_one(tx_probs[m]); in choose_tx_size_from_rd()