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 scalable video decoding, comprising:
receiving an extension flag which indicates whether an enhancement layer for scalability is supported and whether information related to the enhancement layer is provided;
receiving, in a case where the extension flag indicates that the enhancement layer for scalability is supported and the information related to the enhancement layer is provided, representation format number information indicating a maximum number of representation formats for multiple spatial layers;
obtaining the representation formats based on the maximum number determined by the representation format number information; and
performing the scalable video decoding using the representation formats,
wherein respective ones of the representation formats comprise index information which indicates a chroma format among a plurality of chroma formats.
2. A method of performing scalable video encoding, comprising:
determining whether an enhancement layer for scalability is supported and whether information related to the enhancement layer 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 enhancement layer for scalability is supported and the information related to the enhancement layer is provided, representation formats for multiple spatial layers and representation format number information indicating a maximum number of the representation formats; and
performing the scalable video encoding using the representation formats,
wherein respective ones of the representation formats comprise index information which indicates a chroma format among a plurality of chroma 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 which indicates whether an enhancement layer for scalability is supported and whether information related to the enhancement layer is provided;
in a decoding process,
in a case where the extension flag indicates that the enhancement layer for scalability is supported and the information related to the enhancement layer is provided, representation format number information is received,
wherein the representation format number information is used for obtaining representation formats for multiple spatial layers, the representation format number information indicating a maximum number of the representation formats,
wherein the representation formats are used for performing scalable video decoding, and
wherein respective ones of the representation formats comprise index information indicating a chroma format among a plurality of chroma formats.