Searched refs:max_tx_size (Results 1 – 7 of 7) sorted by relevance
/external/libvpx/libvpx/vp9/common/ |
D | vp9_pred_common.h | 153 const int max_tx_size = max_txsize_lookup[xd->mi[0]->sb_type]; in get_tx_size_context() local 159 (has_above && !above_mi->skip) ? (int)above_mi->tx_size : max_tx_size; in get_tx_size_context() 161 (has_left && !left_mi->skip) ? (int)left_mi->tx_size : max_tx_size; in get_tx_size_context() 166 return (above_ctx + left_ctx) > max_tx_size; in get_tx_size_context() 169 static INLINE const vpx_prob *get_tx_probs(TX_SIZE max_tx_size, int ctx, in get_tx_probs() argument 171 switch (max_tx_size) { in get_tx_probs() 179 static INLINE const vpx_prob *get_tx_probs2(TX_SIZE max_tx_size, in get_tx_probs2() argument 182 return get_tx_probs(max_tx_size, get_tx_size_context(xd), tx_probs); in get_tx_probs2() 185 static INLINE unsigned int *get_tx_counts(TX_SIZE max_tx_size, int ctx, in get_tx_counts() argument 187 switch (max_tx_size) { in get_tx_counts()
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decodemv.c | 65 TX_SIZE max_tx_size, vpx_reader *r) { in read_selected_tx_size() argument 68 const vpx_prob *tx_probs = get_tx_probs(max_tx_size, ctx, &cm->fc->tx_probs); in read_selected_tx_size() 70 if (tx_size != TX_4X4 && max_tx_size >= TX_16X16) { in read_selected_tx_size() 72 if (tx_size != TX_8X8 && max_tx_size >= TX_32X32) in read_selected_tx_size() 76 if (counts) ++get_tx_counts(max_tx_size, ctx, &counts->tx)[tx_size]; in read_selected_tx_size() 84 const TX_SIZE max_tx_size = max_txsize_lookup[bsize]; in read_tx_size() local 86 return read_selected_tx_size(cm, xd, max_tx_size, r); in read_tx_size() 88 return VPXMIN(max_tx_size, tx_mode_to_biggest_tx_size[tx_mode]); in read_tx_size()
|
D | vp9_decodeframe.c | 1000 const TX_SIZE max_tx_size = tx_mode_to_biggest_tx_size[tx_mode]; in read_coef_probs() local 1002 for (tx_size = TX_4X4; tx_size <= max_tx_size; ++tx_size) in read_coef_probs()
|
/external/v4l2_codec2/vda/ |
D | vp9_compressed_header_parser.cc | 128 const int max_tx_size = in ReadCoefProbs() local 130 for (int tx_size = 0; tx_size <= max_tx_size; tx_size++) { in ReadCoefProbs()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_bitstream.c | 87 const TX_SIZE max_tx_size = max_txsize_lookup[bsize]; in write_selected_tx_size() local 89 get_tx_probs2(max_tx_size, xd, &cm->fc->tx_probs); in write_selected_tx_size() 91 if (tx_size != TX_4X4 && max_tx_size >= TX_16X16) { in write_selected_tx_size() 93 if (tx_size != TX_8X8 && max_tx_size >= TX_32X32) in write_selected_tx_size() 679 const TX_SIZE max_tx_size = tx_mode_to_biggest_tx_size[tx_mode]; in update_coef_probs() local 681 for (tx_size = TX_4X4; tx_size <= max_tx_size; ++tx_size) { in update_coef_probs()
|
D | vp9_rdopt.c | 187 const TX_SIZE max_tx_size = max_txsize_lookup[bs]; in model_rd_for_sb() local 188 const BLOCK_SIZE unit_size = txsize_to_bsize[max_tx_size]; in model_rd_for_sb() 818 const TX_SIZE max_tx_size = max_txsize_lookup[bs]; in choose_largest_tx_size() local 824 mi->tx_size = VPXMIN(max_tx_size, largest_tx_size); in choose_largest_tx_size() 834 const TX_SIZE max_tx_size = max_txsize_lookup[bs]; in choose_tx_size_from_rd() local 848 TX_SIZE best_tx = max_tx_size; in choose_tx_size_from_rd() 851 const vpx_prob *tx_probs = get_tx_probs2(max_tx_size, xd, &cm->fc->tx_probs); in choose_tx_size_from_rd() 857 start_tx = max_tx_size; in choose_tx_size_from_rd() 861 VPXMIN(max_tx_size, tx_mode_to_biggest_tx_size[cm->tx_mode]); in choose_tx_size_from_rd() 868 for (m = 0; m <= n - (n == (int)max_tx_size); m++) { in choose_tx_size_from_rd() [all …]
|
D | vp9_encodeframe.c | 3443 static void reset_skip_tx_size(VP9_COMMON *cm, TX_SIZE max_tx_size) { in reset_skip_tx_size() argument 3450 if (mi_ptr[mi_col]->tx_size > max_tx_size) in reset_skip_tx_size() 3451 mi_ptr[mi_col]->tx_size = max_tx_size; in reset_skip_tx_size()
|