/external/libaom/test/ |
D | encodemb_test.cc | 25 void ToScanOrder(TX_SIZE tx_size, TX_TYPE tx_type, tran_low_t *qcoeff_lexico, in ToScanOrder() argument 27 const int max_eob = av1_get_max_eob(tx_size); in ToScanOrder() 28 const SCAN_ORDER *const scan_order = get_scan(tx_size, tx_type); in ToScanOrder() 36 void ToLexicoOrder(TX_SIZE tx_size, TX_TYPE tx_type, tran_low_t *qcoeff_scan, in ToLexicoOrder() argument 38 const int max_eob = av1_get_max_eob(tx_size); in ToLexicoOrder() 39 const SCAN_ORDER *const scan_order = get_scan(tx_size, tx_type); in ToLexicoOrder() 46 void Dropout(TX_SIZE tx_size, TX_TYPE tx_type, int dropout_num_before, in Dropout() argument 52 ToLexicoOrder(tx_size, tx_type, qcoeff_scan, qcoeff); in Dropout() 54 const int max_eob = av1_get_max_eob(tx_size); in Dropout() 75 av1_dropout_qcoeff_num(&mb, kPlane, kBlock, tx_size, tx_type, in Dropout() [all …]
|
D | encodetxb_test.cc | 37 const uint16_t eob, const TX_SIZE tx_size, 68 for (int tx_size = TX_4X4; tx_size < TX_SIZES_ALL; ++tx_size) { in GetNzMapContextsRun() local 69 const int bwl = get_txb_bwl((TX_SIZE)tx_size); in GetNzMapContextsRun() 70 const int width = get_txb_wide((TX_SIZE)tx_size); in GetNzMapContextsRun() 71 const int height = get_txb_high((TX_SIZE)tx_size); in GetNzMapContextsRun() 72 const int real_width = tx_size_wide[tx_size]; in GetNzMapContextsRun() 73 const int real_height = tx_size_high[tx_size]; in GetNzMapContextsRun() 74 const int16_t *const scan = av1_scan_orders[tx_size][tx_type].scan; in GetNzMapContextsRun() 81 av1_get_nz_map_contexts_c(levels_, scan, eob, (TX_SIZE)tx_size, in GetNzMapContextsRun() 83 get_nz_map_contexts_func_(levels_, scan, eob, (TX_SIZE)tx_size, in GetNzMapContextsRun() [all …]
|
D | av1_fwd_txfm2d_test.cc | 49 tx_width_ = tx_size_wide[fwd_txfm_flip_cfg.tx_size]; in SetUp() 50 tx_height_ = tx_size_high[fwd_txfm_flip_cfg.tx_size]; in SetUp() 194 const TX_SIZE tx_size = static_cast<TX_SIZE>(s); in GetTxfm2dParamList() local 195 if (libaom_test::IsTxSizeTypeValid(tx_size, tx_type)) { in GetTxfm2dParamList() 197 AV1FwdTxfm2dParam(tx_type, tx_size, max_error, avg_error)); in GetTxfm2dParamList() 214 for (int tx_size = 0; tx_size < TX_SIZES_ALL; ++tx_size) { in TEST() local 216 if (libaom_test::IsTxSizeTypeValid(static_cast<TX_SIZE>(tx_size), in TEST() 223 static_cast<TX_SIZE>(tx_size), &cfg); in TEST() 241 void AV1FwdTxfm2dMatchTest(TX_SIZE tx_size, lowbd_fwd_txfm_func target_func) { in AV1FwdTxfm2dMatchTest() argument 245 const int rows = tx_size_high[tx_size]; in AV1FwdTxfm2dMatchTest() [all …]
|
D | av1_inv_txfm2d_test.cc | 220 const TxSize tx_size = static_cast<TxSize>(s); in GetInvTxfm2dParamList() local 221 if (libaom_test::IsTxSizeTypeValid(tx_size, tx_type)) { in GetInvTxfm2dParamList() 223 AV1InvTxfm2dParam(tx_type, tx_size, max_error, avg_error)); in GetInvTxfm2dParamList() 240 for (int tx_size = 0; tx_size < TX_SIZES_ALL; ++tx_size) { in TEST() local 242 if (libaom_test::IsTxSizeTypeValid(static_cast<TxSize>(tx_size), in TEST() 249 static_cast<TxSize>(tx_size), &cfg); in TEST() 253 static_cast<TxSize>(tx_size), bd); in TEST() 269 void RunAV1InvTxfm2dTest(TxType tx_type, TxSize tx_size, int run_times, 277 void AV1LbdInvTxfm2d::RunAV1InvTxfm2dTest(TxType tx_type, TxSize tx_size, in RunAV1InvTxfm2dTest() argument 279 FwdTxfm2dFunc fwd_func_ = libaom_test::fwd_txfm_func_ls[tx_size]; in RunAV1InvTxfm2dTest() [all …]
|
D | scan_test.cc | 98 for (int tx_size = TX_4X4; tx_size < TX_SIZES_ALL; ++tx_size) { in TEST() local 99 const int org_rows = tx_size_high[(TX_SIZE)tx_size]; in TEST() 100 const int org_cols = tx_size_wide[(TX_SIZE)tx_size]; in TEST() 101 const int rows = get_txb_high((TX_SIZE)tx_size); in TEST() 102 const int cols = get_txb_wide((TX_SIZE)tx_size); in TEST() 104 if (libaom_test::IsTxSizeTypeValid(static_cast<TX_SIZE>(tx_size), in TEST() 126 get_default_scan((TX_SIZE)tx_size, (TX_TYPE)tx_type); in TEST()
|
D | cfl_test.cc | 93 tx_size = tx; in init() 94 width = tx_size_wide[tx_size]; in init() 95 height = tx_size_high[tx_size]; in init() 100 TX_SIZE tx_size; member in __anon1f33c8d00111::CFLTest 175 typedef cfl_subtract_average_fn (*sub_avg_fn)(TX_SIZE tx_size); 182 sub_avg = std::get<1>(this->GetParam())(tx_size); in SetUp() 183 sub_avg_ref = cfl_get_subtract_average_fn_c(tx_size); in SetUp() 228 fun_420 = std::get<1>(this->GetParam())(this->tx_size); in SetUp() 229 fun_422 = std::get<2>(this->GetParam())(this->tx_size); in SetUp() 230 fun_444 = std::get<3>(this->GetParam())(this->tx_size); in SetUp() [all …]
|
/external/libaom/av1/common/ |
D | txb_common.h | 58 static INLINE int get_txb_bwl(TX_SIZE tx_size) { in get_txb_bwl() argument 59 tx_size = av1_get_adjusted_tx_size(tx_size); in get_txb_bwl() 60 return tx_size_wide_log2[tx_size]; in get_txb_bwl() 63 static INLINE int get_txb_wide(TX_SIZE tx_size) { in get_txb_wide() argument 64 tx_size = av1_get_adjusted_tx_size(tx_size); in get_txb_wide() 65 return tx_size_wide[tx_size]; in get_txb_wide() 68 static INLINE int get_txb_high(TX_SIZE tx_size) { in get_txb_high() argument 69 tx_size = av1_get_adjusted_tx_size(tx_size); in get_txb_high() 70 return tx_size_high[tx_size]; in get_txb_high() 200 const int bwl, const TX_SIZE tx_size, const TX_CLASS tx_class) { in get_nz_map_ctx_from_stats() argument [all …]
|
D | cfl.c | 66 TX_SIZE tx_size, CFL_PRED_TYPE pred_plane) { in cfl_load_dc_pred() argument 67 const int width = tx_size_wide[tx_size]; in cfl_load_dc_pred() 68 const int height = tx_size_high[tx_size]; in cfl_load_dc_pred() 179 static void cfl_compute_parameters(MACROBLOCKD *const xd, TX_SIZE tx_size) { in CFL_PREDICT_FN() 184 cfl_pad(cfl, tx_size_wide[tx_size], tx_size_high[tx_size]); in CFL_PREDICT_FN() 185 cfl_get_subtract_average_fn(tx_size)(cfl->recon_buf_q3, cfl->ac_buf_q3); in CFL_PREDICT_FN() 190 TX_SIZE tx_size, int plane) { in cfl_predict_block() argument 195 if (!cfl->are_parameters_computed) cfl_compute_parameters(xd, tx_size); in cfl_predict_block() 199 assert((tx_size_high[tx_size] - 1) * CFL_BUF_LINE + tx_size_wide[tx_size] <= in cfl_predict_block() 204 cfl_get_predict_hbd_fn(tx_size)(cfl->ac_buf_q3, dst_16, dst_stride, in cfl_predict_block() [all …]
|
D | blockd.h | 290 TX_SIZE tx_size; member 1029 static INLINE int is_rect_tx(TX_SIZE tx_size) { return tx_size >= TX_SIZES; } in is_rect_tx() argument 1101 static INLINE TxSetType av1_get_ext_tx_set_type(TX_SIZE tx_size, int is_inter, in av1_get_ext_tx_set_type() argument 1103 const TX_SIZE tx_size_sqr_up = txsize_sqr_up_map[tx_size]; in av1_get_ext_tx_set_type() 1109 const TX_SIZE tx_size_sqr = txsize_sqr_map[tx_size]; in av1_get_ext_tx_set_type() 1121 static INLINE int get_ext_tx_set(TX_SIZE tx_size, int is_inter, in get_ext_tx_set() argument 1124 av1_get_ext_tx_set_type(tx_size, is_inter, use_reduced_set); in get_ext_tx_set() 1128 static INLINE int get_ext_tx_types(TX_SIZE tx_size, int is_inter, in get_ext_tx_types() argument 1131 av1_get_ext_tx_set_type(tx_size, is_inter, use_reduced_set); in get_ext_tx_types() 1155 static INLINE int av1_block_index_to_raster_order(TX_SIZE tx_size, in av1_block_index_to_raster_order() argument [all …]
|
D | quant_common.c | 235 int plane, TX_SIZE tx_size) { in av1_iqmatrix() argument 236 assert(quant_params->giqmatrix[qmlevel][plane][tx_size] != NULL || in av1_iqmatrix() 238 return quant_params->giqmatrix[qmlevel][plane][tx_size]; in av1_iqmatrix() 241 int plane, TX_SIZE tx_size) { in av1_qmatrix() argument 242 assert(quant_params->gqmatrix[qmlevel][plane][tx_size] != NULL || in av1_qmatrix() 244 return quant_params->gqmatrix[qmlevel][plane][tx_size]; in av1_qmatrix() 253 TX_SIZE tx_size, TX_TYPE tx_type) { in av1_get_iqmatrix() argument 257 const TX_SIZE qm_tx_size = av1_get_adjusted_tx_size(tx_size); in av1_get_iqmatrix() 266 TX_SIZE tx_size, TX_TYPE tx_type) { in av1_get_qmatrix() argument 270 const TX_SIZE qm_tx_size = av1_get_adjusted_tx_size(tx_size); in av1_get_qmatrix()
|
D | idct.c | 24 int av1_get_tx_scale(const TX_SIZE tx_size) { in av1_get_tx_scale() argument 25 const int pels = tx_size_2d[tx_size]; in av1_get_tx_scale() 198 static void init_txfm_param(const MACROBLOCKD *xd, int plane, TX_SIZE tx_size, in init_txfm_param() argument 203 txfm_param->tx_size = tx_size; in init_txfm_param() 209 txfm_param->tx_size, is_inter_block(xd->mi[0]), reduced_tx_set); in init_txfm_param() 215 const TX_SIZE tx_size = txfm_param->tx_size; in av1_highbd_inv_txfm_add_c() local 216 switch (tx_size) { in av1_highbd_inv_txfm_add_c() 283 const TX_SIZE tx_size = txfm_param->tx_size; in av1_inv_txfm_add_c() local 286 int w = tx_size_wide[tx_size]; in av1_inv_txfm_add_c() 287 int h = tx_size_high[tx_size]; in av1_inv_txfm_add_c() [all …]
|
D | av1_loopfilter.c | 202 TX_SIZE tx_size = (plane == AOM_PLANE_Y) in get_transform_size() local 203 ? mbmi->tx_size in get_transform_size() 205 assert(tx_size < TX_SIZES_ALL); in get_transform_size() 213 tx_size = mb_tx_size; in get_transform_size() 216 return tx_size; in get_transform_size() 646 AV1_DEBLOCKING_PARAMETERS *const params, TX_SIZE *tx_size, in set_one_param_for_line_luma() argument 722 *tx_size = ts; in set_one_param_for_line_luma() 736 TX_SIZE *tx_size = tx_buf; in set_lpf_parameters_for_line_luma() local 741 set_one_param_for_line_luma(params, tx_size, cm, xd, edge_dir, mi_col, mi_row, in set_lpf_parameters_for_line_luma() 747 is_vert ? tx_size_wide_unit[*tx_size] : tx_size_high_unit[*tx_size]; in set_lpf_parameters_for_line_luma() [all …]
|
/external/libaom/av1/encoder/ |
D | encodemb.c | 56 int blk_col, int blk_row, TX_SIZE tx_size) { in av1_subtract_txb() argument 64 const int tx1d_width = tx_size_wide[tx_size]; in av1_subtract_txb() 65 const int tx1d_height = tx_size_high[tx_size]; in av1_subtract_txb() 88 int block, TX_SIZE tx_size, TX_TYPE tx_type, in av1_optimize_b() argument 97 *rate_cost = av1_cost_skip_txb(&x->coeff_costs, txb_ctx, plane, tx_size); in av1_optimize_b() 101 return av1_optimize_txb(cpi, x, plane, block, tx_size, tx_type, txb_ctx, in av1_optimize_b() 135 void av1_dropout_qcoeff(MACROBLOCK *mb, int plane, int block, TX_SIZE tx_size, in av1_dropout_qcoeff() argument 137 const int tx_width = tx_size_wide[tx_size]; in av1_dropout_qcoeff() 138 const int tx_height = tx_size_high[tx_size]; in av1_dropout_qcoeff() 156 av1_dropout_qcoeff_num(mb, plane, block, tx_size, tx_type, dropout_num_before, in av1_dropout_qcoeff() [all …]
|
D | encodetxb.c | 133 void av1_update_eob_context(int cdf_idx, int eob, TX_SIZE tx_size, argument 138 void av1_update_eob_context(int eob, TX_SIZE tx_size, TX_CLASS tx_class, 144 TX_SIZE txs_ctx = get_txsize_entropy_ctx(tx_size); 146 const int eob_multi_size = txsize_log2_minus4[tx_size]; 225 const int is_eob, const TX_SIZE tx_size, argument 235 return get_nz_map_ctx_from_stats(stats, coeff_idx, bwl, tx_size, tx_class); 258 const TX_SIZE tx_size, const TX_CLASS tx_class, argument 260 const int bwl = get_txb_bwl(tx_size); 261 const int height = get_txb_high(tx_size); 265 i == eob - 1, tx_size, tx_class); [all …]
|
D | tx_search.c | 114 mbmi->tx_size = mb_rd_info->tx_size; in fetch_mb_rd_info() 215 param.tx_size = max_tx_size; in predict_skip_txfm() 220 param.tx_size, is_inter_block(xd->mi[0]), reduced_tx_set); in predict_skip_txfm() 250 const TX_SIZE tx_size = max_txsize_rect_lookup[bsize]; in set_skip_txfm() local 252 memset(mbmi->inter_tx_size, tx_size, sizeof(mbmi->inter_tx_size)); in set_skip_txfm() 253 mbmi->tx_size = tx_size; in set_skip_txfm() 275 const TX_SIZE txs_ctx = get_txsize_entropy_ctx(tx_size); in set_skip_txfm() 277 get_txb_ctx(bsize, tx_size, 0, ta, tl, &txb_ctx); in set_skip_txfm() 281 (block_size_wide[bsize] >> tx_size_wide_log2[tx_size]) * in set_skip_txfm() 282 (block_size_high[bsize] >> tx_size_high_log2[tx_size]); in set_skip_txfm() [all …]
|
D | txb_rdopt.c | 18 int *accu_rate, int64_t *accu_dist, int si, int eob, TX_SIZE tx_size, in update_coeff_general() argument 29 is_last, si, bwl, height, levels, ci, tx_size, tx_class); in update_coeff_general() 76 int *accu_rate, int si, int eob, TX_SIZE tx_size, TX_CLASS tx_class, in update_coeff_simple() argument 90 get_lower_levels_ctx(levels, ci, bwl, tx_size, tx_class); in update_coeff_simple() 128 int si, TX_SIZE tx_size, TX_CLASS tx_class, int bwl, int height, in update_coeff_eob() argument 139 get_lower_levels_ctx(levels, ci, bwl, tx_size, tx_class); in update_coeff_eob() 263 int plane, TX_SIZE tx_size, TX_TYPE tx_type, in get_tx_type_cost() argument 267 const TX_SIZE square_tx_size = txsize_sqr_map[tx_size]; in get_tx_type_cost() 271 if (get_ext_tx_types(tx_size, is_inter, reduced_tx_set_used) > 1 && in get_tx_type_cost() 274 get_ext_tx_set(tx_size, is_inter, reduced_tx_set_used); in get_tx_type_cost() [all …]
|
D | encodemb.h | 76 void av1_setup_xform(const AV1_COMMON *cm, MACROBLOCK *x, TX_SIZE tx_size, 78 void av1_setup_quant(TX_SIZE tx_size, int use_optimize_b, int xform_quant_idx, 81 const MACROBLOCKD *xd, int plane, TX_SIZE tx_size, 98 int block, TX_SIZE tx_size, TX_TYPE tx_type, 124 void av1_dropout_qcoeff(MACROBLOCK *mb, int plane, int block, TX_SIZE tx_size, 129 TX_SIZE tx_size, TX_TYPE tx_type, 138 int blk_col, int blk_row, TX_SIZE tx_size); 143 TX_SIZE tx_size, ENTROPY_CONTEXT *a, in av1_set_txb_context() argument 146 memset(a, ctx, tx_size_wide_unit[tx_size] * sizeof(*a)); in av1_set_txb_context() 147 memset(l, ctx, tx_size_high_unit[tx_size] * sizeof(*l)); in av1_set_txb_context() [all …]
|
/external/libgav1/src/tile/bitstream/ |
D | transform_size.cc | 127 TransformSize tx_size = max_rect_tx_size; in ReadFixedTransformSize() local 128 if (tx_depth == 0) return tx_size; in ReadFixedTransformSize() 129 tx_size = kSplitTransformSize[tx_size]; in ReadFixedTransformSize() 130 if (tx_depth == 1) return tx_size; in ReadFixedTransformSize() 131 return kSplitTransformSize[tx_size]; in ReadFixedTransformSize() 135 int column4x4, TransformSize tx_size) { in ReadVariableTransformTree() argument 145 stack.Push(TransformTreeNode(column4x4, row4x4, tx_size, 0)); in ReadVariableTransformTree() 149 const int tx_width4x4 = kTransformWidth4x4[node.tx_size]; in ReadVariableTransformTree() 150 const int tx_height4x4 = kTransformHeight4x4[node.tx_size]; in ReadVariableTransformTree() 151 if (node.tx_size != kTransformSize4x4 && in ReadVariableTransformTree() [all …]
|
/external/libaom/av1/decoder/ |
D | decodetxb.c | 62 static INLINE void read_coeffs_reverse_2d(aom_reader *r, TX_SIZE tx_size, in read_coeffs_reverse_2d() argument 70 const int coeff_ctx = get_lower_levels_ctx_2d(levels, pos, bwl, tx_size); in read_coeffs_reverse_2d() 86 static INLINE void read_coeffs_reverse(aom_reader *r, TX_SIZE tx_size, in read_coeffs_reverse() argument 94 get_lower_levels_ctx(levels, pos, bwl, tx_size, tx_class); in read_coeffs_reverse() 114 const TX_SIZE tx_size) { in av1_read_coeffs_txb() argument 119 const TX_SIZE txs_ctx = get_txsize_entropy_ctx(tx_size); in av1_read_coeffs_txb() 125 const int shift = av1_get_tx_scale(tx_size); in av1_read_coeffs_txb() 126 const int bwl = get_txb_bwl(tx_size); in av1_read_coeffs_txb() 127 const int width = get_txb_wide(tx_size); in av1_read_coeffs_txb() 128 const int height = get_txb_high(tx_size); in av1_read_coeffs_txb() [all …]
|
/external/libvpx/vp9/encoder/ |
D | vp9_encodemb.c | 65 int vp9_optimize_b(MACROBLOCK *mb, int plane, int block, TX_SIZE tx_size, in vp9_optimize_b() argument 77 const int default_eob = 16 << (tx_size << 1); in vp9_optimize_b() 78 const int shift = (tx_size == TX_32X32); in vp9_optimize_b() 80 const uint8_t *const band_translate = get_band_translate(tx_size); in vp9_optimize_b() 81 const scan_order *const so = get_scan(xd, tx_size, plane_type, block); in vp9_optimize_b() 103 mb->token_costs[tx_size][plane_type][ref]; in vp9_optimize_b() 349 BLOCK_SIZE plane_bsize, TX_SIZE tx_size) { in vp9_xform_quant_fp() argument 353 const scan_order *const scan_order = &vp9_default_scan_orders[tx_size]; in vp9_xform_quant_fp() 366 switch (tx_size) { in vp9_xform_quant_fp() 386 assert(tx_size == TX_4X4); in vp9_xform_quant_fp() [all …]
|
D | vp9_tokenize.c | 318 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, in set_entropy_context_b() argument 326 vp9_set_contexts(xd, pd, plane_bsize, tx_size, p->eobs[block] > 0, col, row); in set_entropy_context_b() 349 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) { in tokenize_b() argument 370 td->rd_counts.coef_counts[tx_size][type][ref]; in tokenize_b() 372 cpi->common.fc->coef_probs[tx_size][type][ref]; in tokenize_b() 374 td->counts->eob_branch[tx_size][type][ref]; in tokenize_b() 375 const uint8_t *const band = get_band_translate(tx_size); in tokenize_b() 376 const int tx_eob = 16 << (tx_size << 1); in tokenize_b() 379 pt = get_entropy_context(tx_size, pd->above_context + col, in tokenize_b() 381 so = get_scan(xd, tx_size, type, block); in tokenize_b() [all …]
|
/external/libaom/av1/encoder/x86/ |
D | av1_fwd_txfm2d_sse4.c | 85 assert(cfg->tx_size < TX_SIZES); in fwd_txfm2d_sse4_1() 86 const int txfm_size = tx_size_wide[cfg->tx_size]; in fwd_txfm2d_sse4_1() 115 assert(cfg->tx_size < TX_SIZES); in fwd_txfm2d_64x64_sse4_1() 116 const int txfm_size = tx_size_wide[cfg->tx_size]; in fwd_txfm2d_64x64_sse4_1() 193 const TX_SIZE tx_size = TX_64X64; in lowbd_fwd_txfm2d_64x64_sse4_1() local 195 const int8_t *shift = av1_fwd_txfm_shift_ls[tx_size]; in lowbd_fwd_txfm2d_64x64_sse4_1() 196 const int txw_idx = get_txw_idx(tx_size); in lowbd_fwd_txfm2d_64x64_sse4_1() 197 const int txh_idx = get_txh_idx(tx_size); in lowbd_fwd_txfm2d_64x64_sse4_1() 200 const int width = tx_size_wide[tx_size]; in lowbd_fwd_txfm2d_64x64_sse4_1() 201 const int height = tx_size_high[tx_size]; in lowbd_fwd_txfm2d_64x64_sse4_1() [all …]
|
/external/libaom/av1/common/arm/ |
D | av1_inv_txfm_neon.h | 120 TX_SIZE tx_size, int eob) { in get_eobx_eoby_scan_default() argument 127 const int tx_w_log2 = tx_size_wide_log2_eob[tx_size]; in get_eobx_eoby_scan_default() 129 const int eobxy = av1_eob_to_eobxy_default[tx_size][eob_row]; in get_eobx_eoby_scan_default() 135 TX_SIZE tx_size, int eob) { in get_eobx_eoby_scan_v_identity() argument 137 const int txfm_size_row = tx_size_high[tx_size]; in get_eobx_eoby_scan_v_identity() 144 TX_SIZE tx_size, int eob) { in get_eobx_eoby_scan_h_identity() argument 146 const int txfm_size_col = tx_size_wide[tx_size]; in get_eobx_eoby_scan_h_identity()
|
/external/libvpx/vp9/common/ |
D | vp9_blockd.c | 45 const TX_SIZE tx_size = plane ? get_uv_tx_size(mi, pd) : mi->tx_size; in vp9_foreach_transformed_block_in_plane() local 49 const int step = 1 << (tx_size << 1); in vp9_foreach_transformed_block_in_plane() 63 const int extra_step = ((num_4x4_w - max_blocks_wide) >> tx_size) * step; in vp9_foreach_transformed_block_in_plane() 67 for (r = 0; r < max_blocks_high; r += (1 << tx_size)) { in vp9_foreach_transformed_block_in_plane() 69 for (c = 0; c < max_blocks_wide; c += (1 << tx_size)) { in vp9_foreach_transformed_block_in_plane() 70 visit(plane, i, r, c, plane_bsize, tx_size, arg); in vp9_foreach_transformed_block_in_plane() 88 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, int has_eob, in vp9_set_contexts() argument 92 const int tx_size_in_blocks = 1 << tx_size; in vp9_set_contexts()
|
/external/libgav1/src/ |
D | quantizer.cc | 267 for (int tx_size = 0; tx_size < kNumTransformSizes; ++tx_size) { in InitializeQuantizerMatrix() local 268 if (kTransformWidth[tx_size] == 64 || kTransformHeight[tx_size] == 64) { in InitializeQuantizerMatrix() 271 const int size = kTransformWidth[tx_size] * kTransformHeight[tx_size]; in InitializeQuantizerMatrix() 272 if (!quantizer_matrix[tx_size].Resize(size)) { in InitializeQuantizerMatrix()
|