[mts] Reset mts constraints

This commit is contained in:
Joose Sainio 2022-05-16 14:49:09 +03:00
parent 675eb5b508
commit 81df3ef2e0

View file

@ -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; 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"); 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; double bits = tr_tree_bits + coeff_bits;