see "6.5.1 CTB raster scanning, tile scanning, and subpicture scanning processes"
Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -292,6 +292,7 @@ static int pps_bd(VVCPPS *pps) · 291 unmodified lines | ||
| 292 | 292 | for (int k = pps->col_bd[i]; k < j; k++) |
| 293 | 293 | pps->ctb_to_col_bd[k] = pps->col_bd[i]; |
| 294 | 294 | } |
| 295 | + pps->col_bd[r->num_tile_columns] = pps->ctb_to_col_bd[pps->ctb_width] = pps->ctb_width; | |
| 295 | 296 | |
| 296 | 297 | for (int i = 0, j = 0; i < r->num_tile_rows; i++) { |
| 297 | 298 | pps->row_bd[i] = j; |
| @@ -299,6 +300,8 @@ static int pps_bd(VVCPPS *pps) · 1 unmodified line | ||
| 299 | 300 | for (int k = pps->row_bd[i]; k < j; k++) |
| 300 | 301 | pps->ctb_to_row_bd[k] = pps->row_bd[i]; |
| 301 | 302 | } |
| 303 | + pps->row_bd[r->num_tile_rows] = pps->ctb_to_row_bd[pps->ctb_height] = pps->ctb_height; | |
| 304 | + | |
| 302 | 305 | return 0; |
| 303 | 306 | } |
| 304 | 307 | |