From 0592cc65a09894e80e28103c68f9da1c5c34d045 Mon Sep 17 00:00:00 2001 From: Joose Sainio Date: Wed, 18 Aug 2021 09:27:39 +0300 Subject: [PATCH] [jccr] enable rdoq with jccr --- src/strategies/generic/quant-generic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/strategies/generic/quant-generic.c b/src/strategies/generic/quant-generic.c index 048a2874..7d8a6829 100644 --- a/src/strategies/generic/quant-generic.c +++ b/src/strategies/generic/quant-generic.c @@ -270,11 +270,11 @@ int kvz_quant_cbcr_residual_generic( { int8_t tr_depth = cur_cu->tr_depth - cur_cu->depth; tr_depth += (cur_cu->part_size == SIZE_NxN ? 1 : 0); - kvz_rdoq(state, coeff, coeff_out, width, width, COLOR_UV, + kvz_rdoq(state, coeff, coeff_out, width, width, best_cbf_mask == 2 ? COLOR_V : COLOR_U, scan_order, cur_cu->type, tr_depth, cur_cu->cbf); } else if (state->encoder_control->cfg.rdoq_enable && false) { - kvz_ts_rdoq(state, coeff, coeff_out, width, width, COLOR_UV, + kvz_ts_rdoq(state, coeff, coeff_out, width, width, best_cbf_mask == 2 ? COLOR_V : COLOR_U, scan_order); } else {