mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
[rd] Don't calculate cost for non-basic transforms that do not have coeffs
This commit is contained in:
parent
079d1e9aaf
commit
aa2f412c20
|
@ -422,6 +422,7 @@ static double search_intra_trdepth(
|
|||
depth, search_data,
|
||||
pred_cu,
|
||||
lcu);
|
||||
if(trafo != 0 && !cbf_is_set(pred_cu->cbf, depth, COLOR_Y)) continue;
|
||||
|
||||
// TODO: Not sure if this should be 0 or 1 but at least seems to work with 1
|
||||
derive_mts_constraints(pred_cu, lcu, depth, lcu_px);
|
||||
|
|
Loading…
Reference in a new issue