/external/libvpx/libvpx/vp9/common/ |
D | vp9_pred_common.h | 157 const int max_tx_size = max_txsize_lookup[xd->mi[0]->sb_type]; in get_tx_size_context() local 163 (has_above && !above_mi->skip) ? (int)above_mi->tx_size : max_tx_size; in get_tx_size_context() 165 (has_left && !left_mi->skip) ? (int)left_mi->tx_size : max_tx_size; in get_tx_size_context() 170 return (above_ctx + left_ctx) > max_tx_size; in get_tx_size_context() 173 static INLINE const vpx_prob *get_tx_probs(TX_SIZE max_tx_size, int ctx, in get_tx_probs() argument 175 switch (max_tx_size) { in get_tx_probs() 183 static INLINE unsigned int *get_tx_counts(TX_SIZE max_tx_size, int ctx, in get_tx_counts() argument 185 switch (max_tx_size) { in get_tx_counts()
|
/external/libaom/libaom/av1/encoder/ |
D | tokenize.c | 219 const TX_SIZE max_tx_size = get_vartx_max_txsize(xd, plane_bsize, plane); in av1_tokenize_sb_vartx() local 220 const BLOCK_SIZE txb_size = txsize_to_bsize[max_tx_size]; in av1_tokenize_sb_vartx() 225 int step = tx_size_wide_unit[max_tx_size] * tx_size_high_unit[max_tx_size]; in av1_tokenize_sb_vartx() 244 tokenize_vartx(td, t, dry_run, max_tx_size, plane_bsize, blk_row, in av1_tokenize_sb_vartx()
|
D | encodemb.c | 498 const TX_SIZE max_tx_size = get_vartx_max_txsize(xd, plane_bsize, plane); in av1_encode_sb() local 500 const BLOCK_SIZE txb_size = txsize_to_bsize[max_tx_size]; in av1_encode_sb() 505 int step = tx_size_wide_unit[max_tx_size] * tx_size_high_unit[max_tx_size]; in av1_encode_sb() 531 max_tx_size, &arg, mi_row, mi_col, dry_run); in av1_encode_sb()
|
D | bitstream.c | 1382 const TX_SIZE max_tx_size = get_vartx_max_txsize(xd, plane_bsize, plane); in write_inter_txb_coeff() local 1384 tx_size_wide_unit[max_tx_size] * tx_size_high_unit[max_tx_size]; in write_inter_txb_coeff() 1385 const int bkw = tx_size_wide_unit[max_tx_size]; in write_inter_txb_coeff() 1386 const int bkh = tx_size_high_unit[max_tx_size]; in write_inter_txb_coeff() 1408 max_tx_size, token_stats); in write_inter_txb_coeff() 1526 const TX_SIZE max_tx_size = get_vartx_max_txsize(xd, bsize, 0); in write_modes_b() local 1527 const int txbh = tx_size_high_unit[max_tx_size]; in write_modes_b() 1528 const int txbw = tx_size_wide_unit[max_tx_size]; in write_modes_b() 1534 write_tx_size_vartx(xd, mbmi, max_tx_size, 0, idy, idx, w); in write_modes_b()
|
D | encodeframe.c | 5848 const TX_SIZE max_tx_size = get_vartx_max_txsize(xd, plane_bsize, 0); in tx_partition_count_update() local 5849 const int bh = tx_size_high_unit[max_tx_size]; in tx_partition_count_update() 5850 const int bw = tx_size_wide_unit[max_tx_size]; in tx_partition_count_update() 5859 update_txfm_count(x, xd, td_counts, max_tx_size, 0, idy, idx, in tx_partition_count_update() 5906 const TX_SIZE max_tx_size = get_vartx_max_txsize(xd, plane_bsize, 0); in tx_partition_set_contexts() local 5907 const int bh = tx_size_high_unit[max_tx_size]; in tx_partition_set_contexts() 5908 const int bw = tx_size_wide_unit[max_tx_size]; in tx_partition_set_contexts() 5917 set_txfm_context(xd, max_tx_size, idy, idx); in tx_partition_set_contexts()
|
D | rdopt.c | 3864 const int max_tx_size = max_predict_sf_tx_size[bsize]; in predict_skip_flag() local 3865 const int tx_h = tx_size_high[max_tx_size]; in predict_skip_flag() 3866 const int tx_w = tx_size_wide[max_tx_size]; in predict_skip_flag() 3870 param.tx_size = max_tx_size; in predict_skip_flag() 5428 const TX_SIZE max_tx_size = max_txsize_rect_lookup[plane_bsize]; in select_tx_size_and_type() local 5429 const int bh = tx_size_high_unit[max_tx_size]; in select_tx_size_and_type() 5430 const int bw = tx_size_wide_unit[max_tx_size]; in select_tx_size_and_type() 5444 select_tx_block(cpi, x, idy, idx, block, max_tx_size, init_depth, in select_tx_size_and_type() 5600 const TX_SIZE max_tx_size = get_vartx_max_txsize(xd, plane_bsize, 0); in inter_block_yrd() local 5601 const int bh = tx_size_high_unit[max_tx_size]; in inter_block_yrd() [all …]
|
/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 | 1318 const TX_SIZE max_tx_size = tx_mode_to_biggest_tx_size[tx_mode]; in read_coef_probs() local 1320 for (tx_size = TX_4X4; tx_size <= max_tx_size; ++tx_size) in read_coef_probs()
|
/external/libaom/libaom/av1/common/ |
D | pred_common.h | 333 const TX_SIZE max_tx_size = max_txsize_rect_lookup[mbmi->sb_type]; in get_tx_size_context() local 334 const int max_tx_wide = tx_size_wide[max_tx_size]; in get_tx_size_context() 335 const int max_tx_high = tx_size_high[max_tx_size]; in get_tx_size_context()
|
D | onyxc_int.h | 1262 TX_SIZE max_tx_size = in txfm_partition_context() local 1265 if (max_tx_size >= TX_8X8) { in txfm_partition_context() 1267 (txsize_sqr_up_map[tx_size] != max_tx_size && max_tx_size > TX_8X8) + in txfm_partition_context() 1268 (TX_SIZES - 1 - max_tx_size) * 2; in txfm_partition_context()
|
D | blockd.h | 909 TX_SIZE max_tx_size = max_txsize_rect_lookup[bsize]; in depth_to_tx_size() local 910 TX_SIZE tx_size = max_tx_size; in depth_to_tx_size()
|
/external/v4l2_codec2/vda/ |
D | vp9_compressed_header_parser.cc | 129 const int max_tx_size = in ReadCoefProbs() local 131 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_probs(max_tx_size, get_tx_size_context(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() 680 const TX_SIZE max_tx_size = tx_mode_to_biggest_tx_size[tx_mode]; in update_coef_probs() local 682 for (tx_size = TX_4X4; tx_size <= max_tx_size; ++tx_size) { in update_coef_probs()
|
D | vp9_rdopt.c | 189 const TX_SIZE max_tx_size = max_txsize_lookup[bs]; in model_rd_for_sb() local 190 const BLOCK_SIZE unit_size = txsize_to_bsize[max_tx_size]; in model_rd_for_sb() 816 const TX_SIZE max_tx_size = max_txsize_lookup[bs]; in choose_largest_tx_size() local 822 mi->tx_size = VPXMIN(max_tx_size, largest_tx_size); in choose_largest_tx_size() 832 const TX_SIZE max_tx_size = max_txsize_lookup[bs]; in choose_tx_size_from_rd() local 846 TX_SIZE best_tx = max_tx_size; in choose_tx_size_from_rd() 854 start_tx = max_tx_size; in choose_tx_size_from_rd() 859 VPXMIN(max_tx_size, tx_mode_to_biggest_tx_size[cm->tx_mode]); in choose_tx_size_from_rd() 865 const int r_tx_size = cpi->tx_size_cost[max_tx_size - 1][tx_size_ctx][n]; in choose_tx_size_from_rd() 895 (n < (int)max_tx_size && rd[n][1] > rd[n + 1][1]) || s[n] == 1)) in choose_tx_size_from_rd() [all …]
|
D | vp9_encodeframe.c | 4336 static void reset_skip_tx_size(VP9_COMMON *cm, TX_SIZE max_tx_size) { in reset_skip_tx_size() argument 4343 if (mi_ptr[mi_col]->tx_size > max_tx_size) in reset_skip_tx_size() 4344 mi_ptr[mi_col]->tx_size = max_tx_size; in reset_skip_tx_size()
|
/external/libaom/libaom/av1/decoder/ |
D | decodeframe.c | 1200 const TX_SIZE max_tx_size = in decode_token_recon_block() local 1202 const int bh_var_tx = tx_size_high_unit[max_tx_size]; in decode_token_recon_block() 1203 const int bw_var_tx = tx_size_wide_unit[max_tx_size]; in decode_token_recon_block() 1206 tx_size_wide_unit[max_tx_size] * tx_size_high_unit[max_tx_size]; in decode_token_recon_block() 1220 blk_row, blk_col, block, max_tx_size, in decode_token_recon_block() 1599 const TX_SIZE max_tx_size = max_txsize_rect_lookup[bsize]; in parse_decode_block() local 1600 const int bh = tx_size_high_unit[max_tx_size]; in parse_decode_block() 1601 const int bw = tx_size_wide_unit[max_tx_size]; in parse_decode_block() 1607 read_tx_size_vartx(xd, mbmi, max_tx_size, 0, in parse_decode_block()
|