Home
last modified time | relevance | path

Searched refs:txb_ctx (Results 1 – 10 of 10) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dencodetxb.h43 TXB_CTX *txb_ctx; member
53 const TX_TYPE tx_type, const TXB_CTX *const txb_ctx);
57 uint16_t eob, TXB_CTX *txb_ctx);
80 const TXB_CTX *const txb_ctx, int *rate_cost,
Drdopt.h77 static INLINE int av1_cost_skip_txb(MACROBLOCK *x, const TXB_CTX *const txb_ctx, in av1_cost_skip_txb() argument
83 return coeff_costs->txb_skip_cost[txb_ctx->txb_skip_ctx][1]; in av1_cost_skip_txb()
89 const TXB_CTX *const txb_ctx, in av1_cost_coeffs() argument
97 av1_cost_coeffs_txb(cm, x, plane, block, tx_size, tx_type, txb_ctx); in av1_cost_coeffs()
Dencodetxb.c328 const TXB_CTX *const txb_ctx = txb_info->txb_ctx; local
342 txb_ctx->dc_sign_ctx);
508 uint16_t eob, TXB_CTX *txb_ctx) { argument
512 ec_ctx->txb_skip_cdf[txs_ctx][txb_ctx->txb_skip_ctx], 2);
621 w, sign, ec_ctx->dc_sign_cdf[plane_type][txb_ctx->dc_sign_ctx], 2);
652 TXB_CTX txb_ctx = { txb_skip_ctx_txb[block], dc_sign_ctx_txb[block] }; local
654 &txb_ctx);
738 const int block, const TX_SIZE tx_size, const TXB_CTX *const txb_ctx, argument
744 const int txb_skip_ctx = txb_ctx->txb_skip_ctx;
787 const int dc_sign_ctx = txb_ctx->dc_sign_ctx;
[all …]
Dencodemb.c101 const TXB_CTX *const txb_ctx, int fast_mode, in av1_optimize_b() argument
110 *rate_cost = av1_cost_skip_txb(mb, txb_ctx, plane, tx_size); in av1_optimize_b()
114 return av1_optimize_txb_new(cpi, mb, plane, block, tx_size, tx_type, txb_ctx, in av1_optimize_b()
236 TXB_CTX txb_ctx; in encode_block() local
237 get_txb_ctx(plane_bsize, tx_size, plane, a, l, &txb_ctx); in encode_block()
238 av1_optimize_b(args->cpi, x, plane, block, tx_size, tx_type, &txb_ctx, in encode_block()
592 TXB_CTX txb_ctx; in av1_encode_block_intra() local
593 get_txb_ctx(plane_bsize, tx_size, plane, a, l, &txb_ctx); in av1_encode_block_intra()
594 av1_optimize_b(args->cpi, x, plane, block, tx_size, tx_type, &txb_ctx, in av1_encode_block_intra()
Dencodemb.h69 const TXB_CTX *const txb_ctx, int fast_mode, int *rate_cost);
Drdopt.c3076 const TXB_CTX *const txb_ctx, in search_txk_type() argument
3121 cur_joint_ctx = (txb_ctx->dc_sign_ctx << 8) + txb_ctx->txb_skip_ctx; in search_txk_type()
3260 txb_ctx, use_fast_coef_costing); in search_txk_type()
3275 av1_optimize_b(cpi, x, plane, block, tx_size, tx_type, txb_ctx, in search_txk_type()
3439 av1_optimize_b(cpi, x, plane, block, tx_size, best_tx_type, txb_ctx, in search_txk_type()
3485 TXB_CTX txb_ctx; in block_rd_txfm() local
3486 get_txb_ctx(plane_bsize, tx_size, plane, a, l, &txb_ctx); in block_rd_txfm()
3488 &txb_ctx, args->ftxs_mode, args->use_fast_coef_costing, in block_rd_txfm()
3930 TXB_CTX txb_ctx; in set_skip_flag() local
3931 get_txb_ctx(bsize, tx_size, 0, ta, tl, &txb_ctx); in set_skip_flag()
[all …]
Dbitstream.c383 TXB_CTX txb_ctx = { txb_skip_ctx_txb[block], dc_sign_ctx_txb[block] }; in pack_txb_tokens() local
385 eob, &txb_ctx); in pack_txb_tokens()
/external/libaom/libaom/av1/common/
Dtxb_common.h30 typedef struct txb_ctx { struct
357 TXB_CTX *const txb_ctx) { in get_txb_ctx() argument
383 txb_ctx->dc_sign_ctx = dc_sign_contexts[dc_sign + 2 * MAX_TX_SIZE_UNIT]; in get_txb_ctx()
387 txb_ctx->txb_skip_ctx = 0; in get_txb_ctx()
422 txb_ctx->txb_skip_ctx = skip_contexts[min][max]; in get_txb_ctx()
430 txb_ctx->txb_skip_ctx = ctx_base + ctx_offset; in get_txb_ctx()
/external/libaom/libaom/av1/decoder/
Ddecodetxb.c113 const TXB_CTX *const txb_ctx, in av1_read_coeffs_txb() argument
133 r, ec_ctx->txb_skip_cdf[txs_ctx][txb_ctx->txb_skip_ctx], 2, ACCT_STR); in av1_read_coeffs_txb()
290 const int dc_sign_ctx = txb_ctx->dc_sign_ctx; in av1_read_coeffs_txb()
342 TXB_CTX txb_ctx; in av1_read_coeffs_txb_facade() local
344 pd->left_context + row, &txb_ctx); in av1_read_coeffs_txb_facade()
346 av1_read_coeffs_txb(cm, xd, r, row, col, plane, &txb_ctx, tx_size); in av1_read_coeffs_txb_facade()
Ddecodetxb.h25 const TXB_CTX *const txb_ctx,