aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorFrank Plowman <post@frankplowman.com>2024-03-19 19:47:51 +0000
committerNuo Mi <nuomi2021@gmail.com>2024-03-20 22:27:19 +0800
commitdfcf5f828df93df9f07c26fc39a010325522c120 (patch)
tree95219cb0759971660893640f5f109579a905d9a7 /libavutil
parent0b7d4fccce2b5f3c9e5e2d43c8937e49e73bd99f (diff)
downloadffmpeg-dfcf5f828df93df9f07c26fc39a010325522c120.tar.gz
lavc/vvc: Fix check whether QG is in first tile col
The second part of this condition is intended to check whether the current quantisation group is in the first CTU column of the current tile. The issue is that ctb_to_col_bd gives the x-ordinate of the first column of the current tile *in CTUs*, while xQg gives the x-ordinate of the quantisation group *in samples*. Rectify this by shifting xQg by ctb_log2_size to get xQg in CTUs before comparing. Fixes FFVVC issues #201 and #203.
Diffstat (limited to 'libavutil')
0 files changed, 0 insertions, 0 deletions