[deblock] Fix incorrect direction for transform split of tall blocks at the top CTU row

This commit is contained in:
Joose Sainio 2022-12-14 10:10:08 +02:00
parent 1d7405ec28
commit 3d236153e3

View file

@ -1054,8 +1054,8 @@ static void mark_deblocking(const cu_loc_t* const cu_loc, const cu_loc_t* const
} }
else if (cu_loc->height == 64) { else if (cu_loc->height == 64) {
for (int x = cu_loc->local_x; x < cu_loc->local_x + cu_loc->width; x += SCU_WIDTH) { for (int x = cu_loc->local_x; x < cu_loc->local_x + cu_loc->width; x += SCU_WIDTH) {
LCU_GET_CU_AT_PX(lcu, x, TR_MAX_WIDTH)->luma_deblocking |= EDGE_VER; LCU_GET_CU_AT_PX(lcu, x, TR_MAX_WIDTH)->luma_deblocking |= EDGE_HOR;
if (!is_separate_tree && tree_type == UVG_BOTH_T) LCU_GET_CU_AT_PX(lcu, x, TR_MAX_WIDTH)->chroma_deblocking |= EDGE_VER; if (!is_separate_tree && tree_type == UVG_BOTH_T) LCU_GET_CU_AT_PX(lcu, x, TR_MAX_WIDTH)->chroma_deblocking |= EDGE_HOR;
} }
} }