Decoding method and device for bit stream supporting plurality of layers
The present invention relates to a decoding method for a bit stream that supports a plurality of layers. The decoding method may include receiving information on a set of video parameters that includes information on the plurality of layers, and parsing the set of video parameters to grasp information on the layers in the bit stream.
1. A method of performing video decoding, comprising:
receiving an extension flag indicating whether information for multiple layers is provided;
receiving, in a case where the extension flag indicates that the information for the multiple layers is provided, representation format number information indicating a number of representation formats for the multiple layers;
obtaining the representation formats based on the number determined by the representation format number information; and
performing the video decoding using the representation formats.
2. A method of performing video encoding, comprising:
determining whether information for multiple layers is provided;
encoding an extension flag in a video parameter set based on the determination;
encoding, in a case where the extension flag indicates that the information for multiple layers is provided, representation formats for the multiple layers and representation format number information indicating a number of the representation formats; and
performing the video encoding using the representation formats.
3. A non-transitory computer-readable recording medium for transmitting video data, the video data comprising a video parameter set,
wherein the video parameter set includes an extension flag indicating whether information for multiple layers is provided in a decoding process, and in a case where the extension flag indicates that the information for multiple layers is provided, representation format number information is received,
wherein the representation format number information is used for obtaining representation formats for the multiple layers, the representation format number information indicating a number of the representation formats, and
wherein the representation formats are used for performing video decoding.
4. An apparatus for performing video decoding, the apparatus configured to:
receive an extension flag indicating whether information for multiple layers is provided;
receive, in a case where the extension flag indicates that the information for multiple layers is provided, representation format number information indicating a number of representation formats for the multiple layers;
obtain the representation formats based on the number determined by the representation format number information; and
perform the video decoding using the representation formats.