From 15cb06ded1b5998e95b052d8948a8f0012aa61ca Mon Sep 17 00:00:00 2001 From: Joose Sainio Date: Wed, 8 Jun 2022 16:21:32 +0300 Subject: [PATCH] [dual-tree] Fix at least for implicit splits --- src/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.c b/src/search.c index f94ca0fd..72fbfd5e 100644 --- a/src/search.c +++ b/src/search.c @@ -129,7 +129,7 @@ static void work_tree_copy_down(int x_local, int y_local, int depth, lcu_t *work const int width = tree_type != KVZ_CHROMA_T ? LCU_WIDTH >> depth : LCU_WIDTH_C >> 1; for (int i = depth + 1; i <= MAX_PU_DEPTH; i++) { copy_cu_info (x_local, y_local, width, &work_tree[depth], &work_tree[i]); - copy_cu_pixels(x_local, y_local, width, &work_tree[depth], &work_tree[i], tree_type); + copy_cu_pixels(x_local, y_local, LCU_WIDTH >> depth, &work_tree[depth], &work_tree[i], tree_type); } }