mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
[mts] Reset mts constraints
This commit is contained in:
parent
675eb5b508
commit
81df3ef2e0
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue