CPC H04N 19/132 (2014.11) [H04N 19/174 (2014.11); H04N 19/176 (2014.11); H04N 19/70 (2014.11)] | 7 Claims |
1. A video decoding method performed by a video decoding apparatus, the method comprising:
parsing number information related to a number of specific slices each having its height explicitly signaled within a tile of a current picture from a bitstream;
parsing height information related to heights of the specific slices each having its height explicitly signaled from the bitstream based on the number information;
deriving a number of slices within the tile based on the number information and the height information;
generating prediction samples by performing at least one of intra prediction or inter prediction on a current block of the current picture based on at least one of the slices within the tile; and
generating reconstructed samples based on the prediction samples,
wherein the height information includes a same number of syntax elements as the number of the specific slices,
wherein, based on the number of the specific slices being equal to n, n being an integer greater than 0, heights of a 0-th slice to an (n−1)-th slice within the tile are derived based on the syntax elements,
wherein a height of an n-th slice within the tile is derived to be the same as the height of the (n−1)-th slice based on a remaining height of the tile that is calculated by subtracting the heights of the slices starting from the 0-th slice to the (n−1)-th slice from a total height of the tile being equal to or larger than the height of the (n−1)-th slice,
wherein the tile is configured to be partitioned to the slices, each of the slices including a subset of CTU rows in the tile and having same width as the tile,
wherein the number information includes a syntax element num_exp_slices_in_tile included in a picture parameter set, and
wherein the height information includes a syntax element exp_slice_height_in_ctu_minus1 included in the picture parameter set.
|