From 81df3ef2e05152c4794108a264590b07523d8ce5 Mon Sep 17 00:00:00 2001 From: Joose Sainio Date: Mon, 16 May 2022 14:49:09 +0300 Subject: [PATCH] [mts] Reset mts constraints --- src/search.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/search.c b/src/search.c index 52f06ff4..781b4265 100644 --- a/src/search.c +++ b/src/search.c @@ -596,7 +596,8 @@ static double cu_rd_cost_tr_split_accurate(const encoder_state_t* const state, symbol = tr_cu->tr_idx > i + MTS_DST7_DST7 ? 1 : 0; CABAC_FBITS_UPDATE(cabac, &cabac->ctx.mts_idx_model[ctx_idx], symbol, tr_tree_bits, "mts_idx"); } - + tr_cu->mts_last_scan_pos = false; + tr_cu->violates_mts_coeff_constraint = false; } double bits = tr_tree_bits + coeff_bits;