History

lavc/vvc: Stricter bound on pps_exp_slice_height_in_ctus_minus1

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.

Frank Plowman committed 1 year ago

Commit 20a6eb11 parent e934fd91 file · +1 −1Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/cbs_h266_syntax_template.c+1−1
@@ -2020,7 +2020,7 @@ static int FUNC(pps) (CodedBitstreamContext *ctx, RWContext *rw, · 2019 unmodified lines
20202020 for (j = 0; j < current->pps_num_exp_slices_in_tile[i];
20212021 j++) {
20222022 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,
20242024 i, j);
20252025 slice_height_in_ctus =
20262026 current->

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t