From 3f12ee58b081da59cb9e88051cfb7d323ef3a242 Mon Sep 17 00:00:00 2001 From: Joose Sainio Date: Thu, 9 Jun 2022 13:46:51 +0300 Subject: [PATCH] [dual-tree] fix --pu-depth-intra 4-4 for dual tree --- src/search.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/search.c b/src/search.c index dccec495..9192a5c1 100644 --- a/src/search.c +++ b/src/search.c @@ -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];