When pps_num_exp_slices_in_tile[i] is nonzero, the ith tile is made up of pps_num_exp_slices_in_tile[i] slices stacked atop one another, where the height of the jth slice in the ith tile is given by pps_exp_slice_height_in_ctus_minus1[i][j]. The sum of the heights of the slices in the tile should not exceed the height of the tile itself.
Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -2020,7 +2020,7 @@ static int FUNC(pps) (CodedBitstreamContext *ctx, RWContext *rw, · 2019 unmodified lines | |||
| 2020 | for (j = 0; j < current->pps_num_exp_slices_in_tile[i]; | 2020 | for (j = 0; j < current->pps_num_exp_slices_in_tile[i]; |
| 2021 | j++) { | 2021 | j++) { |
| 2022 | ues(pps_exp_slice_height_in_ctus_minus1[i][j], 0, | 2022 | ues(pps_exp_slice_height_in_ctus_minus1[i][j], 0, |
| 2023 | current->row_height_val[tile_y] - 1, 2, | 2023 | remaining_height_in_ctbs_y - 1, 2, |
| 2024 | i, j); | 2024 | i, j); |
| 2025 | slice_height_in_ctus = | 2025 | slice_height_in_ctus = |
| 2026 | current-> | 2026 | current-> |