From 33ae02aae08ae405cbe0ccbc9f5e057f2f52f62f Mon Sep 17 00:00:00 2001 From: siivonek Date: Tue, 30 Aug 2022 12:06:43 +0300 Subject: [PATCH] [isp] Fix mistake in isp cbf writing. Loop index was increased twice. --- src/intra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intra.c b/src/intra.c index 41a119d2..cb52a4bd 100644 --- a/src/intra.c +++ b/src/intra.c @@ -1706,7 +1706,7 @@ void uvg_intra_recon_cu( uvg_quantize_lcu_residual(state, true, false, false, &split_loc, depth, cur_cu, lcu, false, tree_type); - search_data->best_isp_cbfs |= cbf_is_set(cur_cu->cbf, depth, COLOR_Y) << (i++); + search_data->best_isp_cbfs |= cbf_is_set(cur_cu->cbf, depth, COLOR_Y) << i; } } const bool has_luma = recon_luma && search_data->pred_cu.intra.isp_mode == ISP_MODE_NO_ISP;