[dual-tree] fix --pu-depth-intra 4-4 for dual tree

This commit is contained in:
Joose Sainio 2022-06-09 13:46:51 +03:00
parent b8215baa30
commit 3f12ee58b0

View file

@ -834,6 +834,7 @@ static double search_cu(
}
if(tree_type == KVZ_CHROMA_T) {
pu_depth_intra.max = MIN(3, pu_depth_intra.max);
pu_depth_intra.min = MIN(3, pu_depth_intra.min);
}
pu_depth_inter.min = ctrl->cfg.pu_depth_inter.min[gop_layer] >= 0 ? ctrl->cfg.pu_depth_inter.min[gop_layer] : ctrl->cfg.pu_depth_inter.min[0];
pu_depth_inter.max = ctrl->cfg.pu_depth_inter.max[gop_layer] >= 0 ? ctrl->cfg.pu_depth_inter.max[gop_layer] : ctrl->cfg.pu_depth_inter.max[0];