CPC H04N 19/119 (2014.11) [H04N 19/105 (2014.11); H04N 19/174 (2014.11); H04N 19/176 (2014.11); H04N 19/46 (2014.11)] | 12 Claims |
7. A method of encoding a video, the method comprising:
partitioning a picture into a plurality of tile columns;
partitioning the picture into a plurality of tile rows; and
encoding, into a bitstream, slice type information indicates one of a raster scan slice definition method and a rectangular slice definition method,
wherein when the slice type information indicates the rectangular slice definition method, the method further comprises:
encoding, into the bitstream, slice number information which specifying a number of slices included in the picture
selectively encoding width information of a slice which is determined based on a number of tile columns included in the slice; and
selectively encoding height information of the slice which is determined based on a number of tile rows included in the slice,
wherein the width information has a value subtracting 1 from the number of tile columns included in the slice,
wherein whether to encode the width information of the slice into the bitstream is determined based on whether a tile located at top-left of the slice is included in rightmost one among the plurality of tile columns, and
wherein when the tile located at top-left of the slice is included in the rightmost tile column, encoding the width information of the slice into the bitstream is omitted.
|