diff options
author | Nuo Mi <nuomi2021@gmail.com> | 2024-06-20 22:02:55 +0800 |
---|---|---|
committer | Nuo Mi <nuomi2021@gmail.com> | 2024-06-25 19:32:17 +0800 |
commit | 6b0e6a98b57a80c1165d7a3012e0440029088406 (patch) | |
tree | da34c7af7e28e92e6992cf50716b03efc1bc0dc7 /tests/checkasm/vf_blend.c | |
parent | 1fa9f5b17f0e17643cc1601f86924f859b5fccfa (diff) | |
download | ffmpeg-6b0e6a98b57a80c1165d7a3012e0440029088406.tar.gz |
x86/vvc_alf: avoid overwriting for non-16 aligned widths
Previously, the code allowed overwriting on 16-aligned blocks, which was suitable when there were
no picture's virtual boundaries because both CTU sizes and strides were 16-aligned. However, with
picture's virtual boundaries, each CTU is divided into four ALF blocks, leading to potential issues
with overwriting later CTUs.
In cases involving picture virtual boundaries, each ALF block is 8-pixel aligned.
For luma, we consistently ensure an 8-aligned width. For chroma in 4:2:0 format,
we need to account for a 4-aligned width.
Diffstat (limited to 'tests/checkasm/vf_blend.c')
0 files changed, 0 insertions, 0 deletions