mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-08-10 07:37:43 +00:00
The iDCT located its tile by linearly scanning the tile column/row start tables. The APV tile grid is uniform-sized columns and rows with a single remainder tile at each edge, so the tile index is just the luma position divided by the (constant) first step, clamped to the last tile. Single column/row grids have no step to read and resolve to index 0.