12 #ifndef AOM_AV1_ENCODER_TXB_RDOPT_H_ 13 #define AOM_AV1_ENCODER_TXB_RDOPT_H_ 15 #include "av1/common/blockd.h" 16 #include "av1/common/txb_common.h" 54 int block, TX_SIZE tx_size, TX_TYPE tx_type,
55 const TXB_CTX *
const txb_ctx,
int *rate_cost,
78 const TX_SIZE tx_size,
const TX_TYPE tx_type,
79 const TXB_CTX *
const txb_ctx,
int reduced_tx_set_used);
117 const int block,
const TX_SIZE tx_size,
118 const TX_TYPE tx_type,
119 const TXB_CTX *
const txb_ctx,
120 const int reduced_tx_set_used,
121 const int adjust_eob);
153 const int block,
const TX_SIZE tx_size,
154 const TX_TYPE tx_type);
160 #endif // AOM_AV1_ENCODER_TXB_RDOPT_H_ int av1_cost_coeffs_txb(const MACROBLOCK *x, const int plane, const int block, const TX_SIZE tx_size, const TX_TYPE tx_type, const TXB_CTX *const txb_ctx, int reduced_tx_set_used)
Compute the entropy cost of coding coefficients in a transform block.
int av1_cost_coeffs_txb_estimate(const MACROBLOCK *x, const int plane, const int block, const TX_SIZE tx_size, const TX_TYPE tx_type)
Estimate the entropy cost of transform coefficients using Laplacian distribution. ...
Top level encoder structure.
Definition: encoder.h:2095
Declares top-level encoder structures and functions.
int av1_optimize_txb(const struct AV1_COMP *cpi, MACROBLOCK *x, int plane, int block, TX_SIZE tx_size, TX_TYPE tx_type, const TXB_CTX *const txb_ctx, int *rate_cost, int sharpness)
Adjust the magnitude of quantized coefficients to achieve better rate-distortion (RD) trade-off...
Encoder's parameters related to the current coding block.
Definition: block.h:846
int av1_cost_coeffs_txb_laplacian(const MACROBLOCK *x, const int plane, const int block, const TX_SIZE tx_size, const TX_TYPE tx_type, const TXB_CTX *const txb_ctx, const int reduced_tx_set_used, const int adjust_eob)
Estimate the entropy cost of coding a transform block using Laplacian distribution.