Searched refs:max_tx_size (Results 1 – 6 of 6) sorted by relevance
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
D | vp9_pred_common.h | 101 static INLINE const vp9_prob *get_tx_probs(TX_SIZE max_tx_size, int ctx, in get_tx_probs() argument 103 switch (max_tx_size) { in get_tx_probs() 116 static INLINE const vp9_prob *get_tx_probs2(TX_SIZE max_tx_size, 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() 122 static INLINE unsigned int *get_tx_counts(TX_SIZE max_tx_size, int ctx, in get_tx_counts() argument 124 switch (max_tx_size) { in get_tx_counts()
|
D | vp9_pred_common.c | 351 const int max_tx_size = max_txsize_lookup[xd->mi[0]->mbmi.sb_type]; in vp9_get_tx_size_context() local 357 : max_tx_size; in vp9_get_tx_size_context() 359 : max_tx_size; in vp9_get_tx_size_context() 366 return (above_ctx + left_ctx) > max_tx_size; in vp9_get_tx_size_context()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
D | vp9_decodemv.c | 63 TX_SIZE max_tx_size, vp9_reader *r) { in read_selected_tx_size() argument 65 const vp9_prob *tx_probs = get_tx_probs(max_tx_size, ctx, &cm->fc.tx_probs); in read_selected_tx_size() 67 if (tx_size != TX_4X4 && max_tx_size >= TX_16X16) { in read_selected_tx_size() 69 if (tx_size != TX_8X8 && max_tx_size >= TX_32X32) in read_selected_tx_size() 74 ++get_tx_counts(max_tx_size, ctx, &cm->counts.tx)[tx_size]; in read_selected_tx_size() 80 const TX_SIZE max_tx_size = max_txsize_lookup[bsize]; in read_tx_size() local 82 return read_selected_tx_size(cm, xd, max_tx_size, r); in read_tx_size() 84 return MIN(max_tx_size, tx_mode_to_biggest_tx_size[tx_mode]); in read_tx_size()
|
D | vp9_decodeframe.c | 484 const TX_SIZE max_tx_size = tx_mode_to_biggest_tx_size[tx_mode]; in read_coef_probs() local 486 for (tx_size = TX_4X4; tx_size <= max_tx_size; ++tx_size) in read_coef_probs()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_rdopt.c | 778 const TX_SIZE max_tx_size = max_txsize_lookup[bs]; in choose_largest_txfm_size() local 784 mbmi->tx_size = MIN(max_tx_size, largest_tx_size); in choose_largest_txfm_size() 798 const TX_SIZE max_tx_size = max_txsize_lookup[bs]; in choose_txfm_size_from_rd() local 813 const vp9_prob *tx_probs = get_tx_probs2(max_tx_size, xd, &cm->fc.tx_probs); in choose_txfm_size_from_rd() 818 for (n = TX_4X4; n <= max_tx_size; n++) { in choose_txfm_size_from_rd() 821 for (m = 0; m <= n - (n == max_tx_size); m++) { in choose_txfm_size_from_rd() 843 best_tx : MIN(max_tx_size, max_mode_tx_size); in choose_txfm_size_from_rd() 852 tx_cache[ALLOW_16X16] = rd[MIN(max_tx_size, TX_16X16)][0]; in choose_txfm_size_from_rd() 853 tx_cache[ALLOW_32X32] = rd[MIN(max_tx_size, TX_32X32)][0]; in choose_txfm_size_from_rd() 855 if (max_tx_size == TX_32X32 && best_tx == TX_32X32) { in choose_txfm_size_from_rd() [all …]
|
D | vp9_bitstream.c | 85 const TX_SIZE max_tx_size = max_txsize_lookup[bsize]; in write_selected_tx_size() local 87 const vp9_prob *const tx_probs = get_tx_probs2(max_tx_size, xd, in write_selected_tx_size() 90 if (tx_size != TX_4X4 && max_tx_size >= TX_16X16) { in write_selected_tx_size() 92 if (tx_size != TX_8X8 && max_tx_size >= TX_32X32) in write_selected_tx_size() 670 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()
|