[dual-tree] Fix at least for implicit splits

This commit is contained in:
Joose Sainio 2022-06-08 16:21:32 +03:00
parent ed8496e57e
commit 15cb06ded1

View file

@ -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; 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++) { 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_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);
} }
} }