Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/libvpx_internal/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; argument
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_decodemv.c65 const vp9_prob *tx_probs = get_tx_probs(max_tx_size, ctx, &cm->fc.tx_probs); in read_selected_tx_size() local
66 int tx_size = vp9_read(r, tx_probs[0]); in read_selected_tx_size()
68 tx_size += vp9_read(r, tx_probs[1]); in read_selected_tx_size()
70 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()
1166 read_tx_mode_probs(&fc->tx_probs, &r); in read_compressed_header()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_bitstream.c87 const vp9_prob *const tx_probs = get_tx_probs2(max_tx_size, xd, in write_selected_tx_size() local
88 &cpi->common.fc.tx_probs); in write_selected_tx_size()
89 vp9_write(w, tx_size != TX_4X4, tx_probs[0]); in write_selected_tx_size()
91 vp9_write(w, tx_size != TX_8X8, tx_probs[1]); in write_selected_tx_size()
93 vp9_write(w, tx_size != TX_16X16, tx_probs[2]); in write_selected_tx_size()
822 vp9_cond_prob_diff_update(w, &cm->fc.tx_probs.p8x8[i][j], ct_8x8p[j]); in encode_txfm_probs()
828 vp9_cond_prob_diff_update(w, &cm->fc.tx_probs.p16x16[i][j], in encode_txfm_probs()
835 vp9_cond_prob_diff_update(w, &cm->fc.tx_probs.p32x32[i][j], in encode_txfm_probs()
Dvp9_rdopt.c813 const vp9_prob *tx_probs = get_tx_probs2(max_tx_size, xd, &cm->fc.tx_probs); in choose_txfm_size_from_rd() local
823 r[n][1] += vp9_cost_zero(tx_probs[m]); in choose_txfm_size_from_rd()
825 r[n][1] += vp9_cost_one(tx_probs[m]); in choose_txfm_size_from_rd()
897 const vp9_prob *tx_probs = get_tx_probs2(max_tx_size, xd, &cm->fc.tx_probs); in choose_txfm_size_from_modelrd() local
907 r[n][1] += vp9_cost_zero(tx_probs[m]); in choose_txfm_size_from_modelrd()
909 r[n][1] += vp9_cost_one(tx_probs[m]); in choose_txfm_size_from_modelrd()