diff --git a/av1/encoder/rdopt.c b/av1/encoder/rdopt.c index f896745ec9749d59893cb27e1fc41f68c584b6b0..1731b236df8b5fcac72bc4721f8d57959177fa62 100644 --- a/av1/encoder/rdopt.c +++ b/av1/encoder/rdopt.c @@ -4199,10 +4199,16 @@ void av1_tx_block_rd_b(const AV1_COMP *cpi, MACROBLOCK *x, TX_SIZE tx_size, return; #endif +#if DISABLE_TRELLISQ_SEARCH + av1_xform_quant(cm, x, plane, block, blk_row, blk_col, plane_bsize, tx_size, + coeff_ctx, AV1_XFORM_QUANT_B); + +#else av1_xform_quant(cm, x, plane, block, blk_row, blk_col, plane_bsize, tx_size, coeff_ctx, AV1_XFORM_QUANT_FP); av1_optimize_b(cm, x, plane, block, plane_bsize, tx_size, a, l); +#endif // DISABLE_TRELLISQ_SEARCH // TODO(any): Use av1_dist_block to compute distortion #if CONFIG_HIGHBITDEPTH