mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-08-09 17:39:08 +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.