From a1e7664db3ae2d22cf1c7ec44c252fa33beb13d8 Mon Sep 17 00:00:00 2001 From: Joose Sainio Date: Thu, 10 Nov 2022 12:51:24 +0200 Subject: [PATCH] [mtt] temporarily disable zero coeff rdo --- src/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.c b/src/search.c index 9850146d..3eda8004 100644 --- a/src/search.c +++ b/src/search.c @@ -1228,7 +1228,7 @@ static double search_cu( const bool has_chroma = state->encoder_control->chroma_format != UVG_CSP_400; uvg_inter_recon_cu(state, lcu, true, has_chroma, cu_loc); - if (ctrl->cfg.zero_coeff_rdo && !ctrl->cfg.lossless && !ctrl->cfg.rdoq_enable) { + if (ctrl->cfg.zero_coeff_rdo && !ctrl->cfg.lossless && !ctrl->cfg.rdoq_enable && false) { //Calculate cost for zero coeffs inter_zero_coeff_cost = cu_zero_coeff_cost(state, work_tree, cu_loc, split_tree.current_depth) + inter_bitcost * state->lambda;