[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 committed by Marko Viitanen
parent 9c2574880a
commit 567fa7b2bd

View file

@ -1055,8 +1055,8 @@ static void mark_deblocking(const cu_loc_t* const cu_loc, const cu_loc_t* const
}
else if (cu_loc->height == 64) {
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;
if (!is_separate_tree && tree_type == UVG_BOTH_T) LCU_GET_CU_AT_PX(lcu, x, TR_MAX_WIDTH)->chroma_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_HOR;
}
}