mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
[deblock] Fix incorrect direction for transform split of tall blocks at the top CTU row also for chroma
This commit is contained in:
parent
34aed10ec1
commit
8e4b864e6b
|
@ -1094,7 +1094,7 @@ 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 = chroma_loc->local_x; x < chroma_loc->local_x + chroma_loc->width; x += SCU_WIDTH) {
|
||||
LCU_GET_CU_AT_PX(lcu, x, TR_MAX_WIDTH)->chroma_deblocking |= EDGE_VER;
|
||||
LCU_GET_CU_AT_PX(lcu, x, TR_MAX_WIDTH)->chroma_deblocking |= EDGE_HOR;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1123,7 +1123,7 @@ static void mark_deblocking(const cu_loc_t* const cu_loc, const cu_loc_t* const
|
|||
}
|
||||
else if (chroma_loc->height == 64) {
|
||||
for (int x = x_local; x < x_local + chroma_loc->chroma_width; x += SCU_WIDTH) {
|
||||
LCU_GET_CU_AT_PX(lcu, x, TR_MAX_WIDTH / 2)->chroma_deblocking |= EDGE_VER;
|
||||
LCU_GET_CU_AT_PX(lcu, x, TR_MAX_WIDTH / 2)->chroma_deblocking |= EDGE_HOR;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue