Home
last modified time | relevance | path

Searched refs:max_tx_size (Results 1 – 6 of 6) sorted by relevance

/external/libvpx/libvpx/vp9/common/
Dvp9_pred_common.h113 const int max_tx_size = max_txsize_lookup[xd->mi[0]->mbmi.sb_type]; in get_tx_size_context() local
119 : max_tx_size; in get_tx_size_context()
121 : max_tx_size; in get_tx_size_context()
128 return (above_ctx + left_ctx) > max_tx_size; in get_tx_size_context()
131 static INLINE const vpx_prob *get_tx_probs(TX_SIZE max_tx_size, int ctx, in get_tx_probs() argument
133 switch (max_tx_size) { in get_tx_probs()
146 static INLINE const vpx_prob *get_tx_probs2(TX_SIZE max_tx_size, in get_tx_probs2() argument
149 return get_tx_probs(max_tx_size, get_tx_size_context(xd), tx_probs); in get_tx_probs2()
152 static INLINE unsigned int *get_tx_counts(TX_SIZE max_tx_size, int ctx, in get_tx_counts() argument
154 switch (max_tx_size) { in get_tx_counts()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c68 TX_SIZE max_tx_size, vpx_reader *r) { in read_selected_tx_size() argument
71 const vpx_prob *tx_probs = get_tx_probs(max_tx_size, ctx, &cm->fc->tx_probs); in read_selected_tx_size()
73 if (tx_size != TX_4X4 && max_tx_size >= TX_16X16) { in read_selected_tx_size()
75 if (tx_size != TX_8X8 && max_tx_size >= TX_32X32) in read_selected_tx_size()
80 ++get_tx_counts(max_tx_size, ctx, &counts->tx)[tx_size]; in read_selected_tx_size()
88 const TX_SIZE max_tx_size = max_txsize_lookup[bsize]; in read_tx_size() local
90 return read_selected_tx_size(cm, xd, max_tx_size, r); in read_tx_size()
92 return VPXMIN(max_tx_size, tx_mode_to_biggest_tx_size[tx_mode]); in read_tx_size()
Dvp9_decodeframe.c1047 const TX_SIZE max_tx_size = tx_mode_to_biggest_tx_size[tx_mode]; in read_coef_probs() local
1049 for (tx_size = TX_4X4; tx_size <= max_tx_size; ++tx_size) in read_coef_probs()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_bitstream.c84 const TX_SIZE max_tx_size = max_txsize_lookup[bsize]; in write_selected_tx_size() local
85 const vpx_prob *const tx_probs = get_tx_probs2(max_tx_size, xd, in write_selected_tx_size()
88 if (tx_size != TX_4X4 && max_tx_size >= TX_16X16) { in write_selected_tx_size()
90 if (tx_size != TX_8X8 && max_tx_size >= TX_32X32) in write_selected_tx_size()
677 const TX_SIZE max_tx_size = tx_mode_to_biggest_tx_size[tx_mode]; in update_coef_probs() local
679 for (tx_size = TX_4X4; tx_size <= max_tx_size; ++tx_size) { in update_coef_probs()
Dvp9_rdopt.c190 const TX_SIZE max_tx_size = max_txsize_lookup[bs]; in model_rd_for_sb() local
191 const BLOCK_SIZE unit_size = txsize_to_bsize[max_tx_size]; in model_rd_for_sb()
617 const TX_SIZE max_tx_size = max_txsize_lookup[bs]; in choose_largest_tx_size() local
623 mbmi->tx_size = VPXMIN(max_tx_size, largest_tx_size); in choose_largest_tx_size()
637 const TX_SIZE max_tx_size = max_txsize_lookup[bs]; in choose_tx_size_from_rd() local
651 TX_SIZE best_tx = max_tx_size; in choose_tx_size_from_rd()
654 const vpx_prob *tx_probs = get_tx_probs2(max_tx_size, xd, &cm->fc->tx_probs); in choose_tx_size_from_rd()
660 start_tx = max_tx_size; in choose_tx_size_from_rd()
663 TX_SIZE chosen_tx_size = VPXMIN(max_tx_size, in choose_tx_size_from_rd()
671 for (m = 0; m <= n - (n == (int) max_tx_size); m++) { in choose_tx_size_from_rd()
[all …]
Dvp9_encodeframe.c2886 static void reset_skip_tx_size(VP9_COMMON *cm, TX_SIZE max_tx_size) { in reset_skip_tx_size() argument
2893 if (mi_ptr[mi_col]->mbmi.tx_size > max_tx_size) in reset_skip_tx_size()
2894 mi_ptr[mi_col]->mbmi.tx_size = max_tx_size; in reset_skip_tx_size()