The present invention relates to video encoding and decoding processing and, more particularly, to a method and apparatus for encoding and decoding video supporting multiple layers within a bit stream.
As broadcast having High Definition (HD) resolution is extended and served nationwide and worldwide, many users are being accustomed to video having high resolution and high SNR. Accordingly, a lot of organizations have conducted many attempts to develop the next-generation video devices. Furthermore, as there is a growing interest in Ultra High Definition (UHD) having resolution 4 times higher than HDTV along with HDTV, there is a need for technology in which an video having higher resolution and higher SNR is compressed and processed.
In order to compress an video, inter-prediction technology in which a value of a pixel included in a current picture is predicted from temporally anterior and/or posterior pictures, intra-prediction technology in which a value of a pixel included in a current picture is predicted using information about a pixel included in the current picture, entropy encoding technology in which a short code is assigned to a symbol having high frequency of appearance and a long code is assigned to a symbol having low frequency of appearance, etc. can be used.
Video compression technology includes technology in which a specific network bandwidth is provided under the limited operating environment of hardware without taking a flexible network environment into consideration. However, in order to compress video data applied to a network environment including a frequently varying bandwidth, new compression technology is necessary. To this end, a scalable video encoding/decoding method can be used.
An object of the present invention is to provide a method and apparatus for describing extraction and scalability information within layered bit streams.
Another object of the present invention is to provide a method and apparatus for representing scalability information about a variety of bit streams using in a flexible way.
Yet another object of the present invention is to provide a method and apparatus for providing extraction and scalability information within a layered bit stream so that the extraction and the scalability information can be adaptively transformed in a packet level.
A method of decoding a bit stream supporting multiple layers in accordance with an embodiment of the present invention may include receiving information about a video parameter set including information about the multiple layers and analyzing information of layers included in the bit stream by parsing the video parameter set.
The information about the multiple layers may include a maximum number of size information ‘num_frame_sizes_minus1’ for different types of pictures included in an encoded video sequence.
Size information applied to the different types of pictures may include at least one of the width of luma samples ‘pic_width_in_luma_samples’ indicative of the number of luma samples included in the horizontal length of a picture, the height of the luma samples ‘pic_height_in_luma_samples’ indicative of the number of luma samples included in a vertical length of the picture, the bit depth of the luma sample ‘bit_depth_luma_minus8’, the bit depth of a chroma sample ‘bit_depth_chroma_minus8’, and index information ‘chroma_format_idc’ for a set of chroma formats.
The information about the multiple layers may include index information ‘frame_size_idx’ for a set of frame sizes applied to a specific layer.
The information about the multiple layers may include index information ‘rep_formats_idx’ for a set of representation formats indicative of the bit depth and chroma format applied to a specific layer.
The information about the multiple layers may include a maximum number of another representation format ‘num_rep_formats_minus1’ included in an encoded video sequence.
Information about the representation format may include at least one of the width of luma samples ‘pic_width_in_luma_samples’ indicative of the number of luma samples included in the horizontal length of a picture, the height of the luma samples ‘pic_height_in_luma_samples’ indicative of the number of luma samples included in a vertical length of the picture, the bit depth of the luma sample ‘bit_depth_luma_minus8’, the bit depth of a chroma sample ‘bit_depth_chroma_minus8’, and index information ‘chroma_format_idc’ for a set of the chroma formats.
The bit stream may include a plurality of layer dimensions supporting multiple layers, and information about the multiple layers may include default dependency flag information indicating whether a specific layer in all the layer dimensions refers to a layer right under the specific layer.
When the default dependency flag is 0, the method may further include receiving type information of the layer dimension in which the specific layer refers to the layer right under the specific layer.
The information about the multiple layers may include direct reference flag information indicating that there is a layer to which the specific layer directly refers.
When the direct reference flag is 1, the method may further include receiving the number of layers to which the specific layer directly refers and index information of the layer to which the specific layer directly refers.
An apparatus for decoding a bit stream supporting multiple layers in accordance with another embodiment of the present invention includes a parsing module for receiving information about a video parameter set including information about the multiple layers and for analyzing information of layers included in the bit stream by parsing the video parameter set.
In accordance with an embodiment of the present invention, there can be provided a method and apparatus for describing extraction and scalability information within layered bit streams.
In accordance with an embodiment of the present invention, there can be provided a method and apparatus for representing scalability information about a variety of bit streams using in a flexible way.
In accordance with another embodiment of the present invention, there can be provided a method and apparatus for providing extraction and scalability information within layered bit streams so that the extraction and the scalability information can be adaptively transformed in a packet level.
Some exemplary embodiments of the present invention are described in detail with reference to the accompanying drawings. However, in describing the embodiments of this specification, a detailed description of the well-known functions and constitutions will be omitted if it is deemed to make the gist of the present invention unnecessarily vague.
In this specification, when it is said that one element is ‘connected’ or ‘coupled’ with the other element, it may mean that the one element may be directly connected or coupled with the other element or a third element may be ‘connected’ or ‘coupled’ between the two elements. Furthermore, in this specification, when it is said that a specific element is ‘included’, it may mean that elements other than the specific element are not excluded and that additional elements may be included in the exemplary embodiments of the present invention or the technical scope of the present invention.
Terms, such as the first and the second, may be used to describe various elements, but the elements are not restricted by the terms. The terms are used to only distinguish one element from the other element. For example, a first element may be named a second element without departing from the scope of the present invention. Likewise, a second element may be named a first element.
Furthermore, element units described in the exemplary embodiments of the present invention are independently shown to indicate difference and characteristic functions, and it does not mean that each of the element units is formed of a piece of separate hardware or a piece of software. That is, the element units are arranged and included, for convenience of description, and at least two of the element units may form one element unit or one element may be divided into a plurality of element units and the plurality of divided element units may perform functions. An embodiment into which the elements are integrated or embodiments from which some elements are separated are also included in the scope of the present invention, unless they depart from the essence of the present invention.
Furthermore, in the present invention, some elements are not essential elements for performing essential functions, but may be optional elements for improving only performance. The present invention may be implemented using only essential elements for implementing the essence of the present invention other than elements used to improve only performance, and a structure including only essential elements other than optional elements used to improve only performance is included in the scope of the present invention.
Referring to
The video encoding apparatus 100 can perform encoding on an input picture in intra-mode or inter-mode and output a bit stream as a result of the encoding. In this specification intra-prediction has the same meaning as intra-picture prediction, and inter-prediction has the same meaning as inter-picture prediction. In the case of intra-mode, the switch 115 can switch to intra mode. In the case of inter-mode, the switch 115 can switch to inter-mode. The video encoding apparatus 100 can generate a predicted block for the input block of an input picture and then encode the residual between the input block and the predicted block.
In the case of intra-mode, the intra-prediction module 120 can generate the predicted block by performing spatial prediction using pixel values of neighboring blocks, of a current block, which are encoded already.
In the case of inter-mode, the motion prediction module 111 can obtain a motion vector by searching a reference picture, stored in the reference picture buffer 190, for a region that is most well matched with the input block in a motion estimation process. The motion compensation module 112 can generate the predicted block by performing motion compensation using the motion vector and the reference picture stored in the reference picture buffer 190.
The subtractor 125 can generate a residual block based on the residual between the input block and the generated predicted block. The transform module 130 can perform transform on the residual block and output a transform coefficient according to the transformed block. Furthermore, the quantization module 140 can output a quantized coefficient by quantizing the received transform coefficient using at least one of a quantization parameter and a quantization matrix.
The entropy encoding module 150 can perform entropy encoding on symbols according to a probability distribution based on values calculated by the quantization module 140 or encoding parameter values calculated in an encoding process and output a bit stream as a result of the entropy encoding. The entropy encoding method is a method of receiving symbols having various values and representing the symbols in the form of a string of decodable binary numbers while removing statistical redundancy from the symbols.
Here, the symbol refers to a syntax element and a coding parameter to be encoded or decoded, a value of a residual signal, etc. The coding parameter is a parameter necessary for encoding and decoding. The coding parameter can include not only information encoded by an encoder and then delivered to a decoder along with a syntax element, but also information that can be induced in an encoding or decoding process. The coding parameter means information necessary to encode or decode video. The coding parameter can include, for example, value or statistics of intra/inter-prediction mode, a motion vector, a reference picture index, an encoding block pattern, information about whether or not a residual signal is present, a transform coefficient, a quantized transform coefficient, a quantization parameter, a block size, and block partition information. Furthermore, the residual signal can mean a difference between the original signal and a predicted signal. Furthermore, the residual signal may mean a signal obtained by transforming a difference between the original signal and a predicted signal or a signal obtained by transforming and quantizing a difference between the original signal and a predicted signal. The residual signal can be called a residual block in a block unit.
If entropy encoding is used, the size of a bit stream for a symbol to be encoded can be reduced because the symbol is represented by allocating a small number of bits to a symbol having a high appearance frequency and a large number of bits to a symbol having a low appearance frequency. Accordingly, the compression performance of video encoding can be improved through entropy encoding.
For the entropy encoding, encoding methods, such as exponential Golomb, Context-Adaptive Variable Length Coding (CAVLC), and Context-Adaptive Binary Arithmetic Coding (CABAC), can be used. For example, a table for performing entropy encoding, such as a Variable Length Coding/Code (VLC) table, can be stored in the entropy encoding module 150, and the entropy encoding module 150 can perform entropy encoding using the stored VLC table. Furthermore, the entropy encoding module 150 may derive a binarization method for a target symbol and a probability model for a target symbol/bin and perform entropy encoding using the derived binarization method or probability model.
The quantized coefficient is dequantized by the inverse quantization module 160 and is then inversely transformed by the inverse transform module 170. The dequantized and inversely transformed coefficient can be added to the predicted block through the adder 175, thereby generating a reconstructed block.
The reconstructed block experiences the filter 180. The filter 180 can apply one or more of a deblocking filter, a Sample Adaptive Offset (SAO), and an Adaptive Loop Filter (ALF) to the reconstructed block or the reconstructed picture. The reconstructed block that has experienced the filter 180 can be stored in the reference picture buffer 190.
Referring to
The video decoding apparatus 200 can receive a bit stream outputted from an encoder, perform decoding on the bit stream in intra-mode or inter-mode, and output a reconstructed picture, that is, a reconstructed picture. In the case of intra-mode, a switch can switch to intra-mode. In the case of inter-mode, the switch can switch to inter-mode. The video decoding apparatus 200 can obtain a reconstructed residual block from the received bit stream, generate a predicted block, and then generate a reconstructed block, that is, a reconstructed, by adding the reconstructed residual block to the predicted block.
The entropy decoding module 210 can generate symbols including a symbol having a quantized coefficient form by performing entropy decoding on the received bit stream according to a probability distribution. The entropy decoding method is a method of receiving a string of binary numbers and generating each symbol using the string of binary numbers. The entropy decoding method is similar to the above-described entropy encoding method.
The quantized coefficient is dequantized by the inverse quantization module 220 and is inversely transformed by the inverse transform module 230. As a result of the dequantization/inverse transform of the quantized coefficient, a residual block can be generated.
In the case of intra-mode, the intra-prediction module 240 can generate a predicted block by performing spatial prediction using pixel values of already decoded blocks neighboring the current block. In the case of inter-mode, the motion compensation module 250 can generate a predicted block by performing motion compensation using a motion vector and a reference picture stored in the reference picture buffer 270.
The residual block and the predicted block are added together by an adder 255. The added block experiences the filter 260. The filter 260 can apply at least one of a deblocking filter, an SAO, and an ALF to the reconstructed block or the reconstructed picture. The filter 260 outputs a reconstructed picture, that is, a reconstructed picture. The reconstructed picture can be stored in the reference picture buffer 270 and can be used for inter-picture prediction.
From among the entropy decoding module 210, the inverse quantization module 220, the inverse transform module 230, the intra-prediction module 240, the motion compensation module 250, the filter 260, and the reference picture buffer 270 included in the video decoding apparatus 200, elements directly related to the decoding of video, for example, the entropy decoding module 210, the inverse quantization module 220, the inverse transform module 230, the intra-prediction module 240, the motion compensation module 250, and the filter 260 can be represented as a decoding module in order to distinguish them from other elements.
Furthermore, the video decoding apparatus 200 can further include a parsing module (not shown) for parsing information related to encoded video included in a bit stream. The parsing module may include the entropy decoding module 210, or the parsing module may be included in the entropy decoding module 210. The parsing module may be represented as one of the elements of the decoding module.
In order to send video data, a transmission medium is necessary, and a transmission medium has different performance depending on various network environments. For applications to the various transmission media or network environments, a Scalable Video Coding (SVC) method can be employed.
The SVC method is a coding method of improving encoding/decoding performance by removing redundancy between layers using texture information, motion information, a residual signal, etc. between the layers. The SVC method can provide a variety of scalabilities from spatial, temporal, and Signal to Noise Ratio (SNR) viewpoints depending on surrounding conditions, such as a transmission bit rate, a transmission error rate, and system resources.
SVC can be performed using a multi-layer structure so that a bit stream applicable to various network conditions can be provided. For example, an SVC structure can include a base layer whose video data can be compressed and processed by utilizing a common video encoding method and can include an enhancement layer whose video data can be compressed and processed by using both encoding information of the base layer and a common video encoding method.
Here, a layer means a set of pictures and bit streams classified on the basis of a spatial resolution (e.g., an image size), a temporal resolution (e.g., encoding order, picture output order, and a frame rate), SNR, and complexity. Furthermore, multiple layers may have dependency between them.
Referring to
For example, if a transmission bandwidth is 4 Mbps, the frame rate of the first enhancement layer HD can be reduced to less than 15 Hz. The SVC method can provide temporal, spatial, and SNR scalabilities according to the method described above in connection with the exemplary embodiment of
SVC has the same meaning as scalable video encoding from an encoding viewpoint and has the same meaning as scalable video decoding from a decoding viewpoint.
As described above, scalability has now become an important function of a video format owing to heterogeneous communication networks and a variety of terminals. SVC, that is, an extension standard of Advanced Video Coding (AVC), was developed to generate a bit stream having a wide range of bit rates while maintaining compression efficiency to the highest degree. In order to satisfy the characteristics and changes of various devices and networks, an SVC bit stream can be easily extracted in various ways. That is, the SVC standard provides spatial, temporal, and SNR scalabilities.
Meanwhile, a bit stream including multiple layers consists of Network Abstraction Layer (NAL) units that enable the adaptive transport of video over a packet-switched network. Like in a multi-layer, a relationship between a plurality of views in multi-view video coding including a plurality of multi-view videos within a bit stream is similar to a relationship between spatial layers in video that support multiple layers.
In order to transform a bit stream effectively and efficiently in all nodes in a content delivery path, scalability information about the bit stream is very important. In a current standard for video coding for a single layer (i.e., high efficiency video coding), two fields related to layer information, that is, temporal_id and reserved_one_5 bits are present in an NAL Unit (hereinafter referred as an ‘NALU’) header. The field ‘temporal_id’ having a length of 3 bits indicates the temporal layer of a video bit stream, and the field ‘reserved_one_5 bits’ corresponds to an area for indicating another subsequent layer information.
The temporal layer means the layer of a temporally scalable bit stream which includes a Video Coding Layer (VCL) NALU, and the temporal layer has a specific temporal_id value.
The present invention relates to a method of effectively describing extraction information and scalability information about a picture within a bit stream that supports multiple layers and signaling the extraction information and scalability information and an apparatus for implementing the method.
In the present invention, a bit stream is divided into two types: a base type supporting only temporal scalability and an extended type capable of having scalability that supports spatial/SNR/multi-view.
The first type of the bit stream relates to a bit stream supporting a single layer video, and the second type thereof relates to an enhancement layer in HEVC-based layered video encoding. Hereinafter, there is proposed an improved method for representing scalability information about the two bit stream types. In accordance with the present invention, in the extended type, ‘reserved_one_5 bits’ of 5 bits can be used as layer_id indicative of the identifier of a scalable layer.
Remove Nal Ref Flag from NALU Header
nal_ref_flag is used to indicate a non-reference picture. This information indicates approximate priority between a non-reference picture and a reference picture, but the use of nal_ref_flag is somewhat limited.
A reference picture means a picture including samples which may be used for inter-picture prediction when decoding subsequent pictures in decoding order.
A non-reference picture means a picture including samples not used for inter-picture prediction when decoding subsequent pictures in decoding order.
nal_ref_flag is a flag indicative of information indicating whether a corresponding NALU is a non-reference picture or a reference picture in the entire bit stream at the time of encoding.
When a value of nal_ref_flag is 1, an NALU means that it includes a Sequence Parameter Set (SPS), a Picture Parameter Set (PPS), an Adaptation Parameter Set (APS), or the slice of a reference picture. When a value of nal_ref_flag is 0, an NALU means that it includes a slice including some of or the entire non-reference picture.
Here, an NALU in which a value of nal_ref_flag is 1 can include the slice of a reference picture. nal_ref_flag has a value of 1 for the NALUs of a Video Parameter Set (VPS), a Sequence Parameter Set (SPS), or a Picture Parameter Set (PPS). If a value of nal_ref_flag is 0 in one of the VCL NALUs of a specific picture, nal_ref_flag has a value of 0 for all the VCL NALUs of the picture.
Meanwhile, if all non-reference pictures, particularly, non-reference pictures chiefly corresponding to the highest temporal layer are extracted, nal_ref_flag of all pictures remained after the extraction becomes 1.
However, some pictures of an adaptively transformed bit stream, that is, pictures corresponding to the highest temporal layer in the remaining bit streams, become non-reference pictures although a value of nal_ref_flag is 1.
In other words, another syntax element (e.g., temporal_id) of an NALU header can be more effective in supporting adaptive transform (or extraction). That is, a bit stream including a desired temporal layer can be extracted using the total number of temporal layers including a bit stream and a value of temporal_id of an NALU header.
Furthermore, nal_ref_flag may also be used to indicate whether or not a corresponding picture will be subsequently used as a reference picture when decoding (reconstructing) a picture formed of an NALU including nal_ref_flag and then storing the decoded picture in a memory, such as a Decoded Picture Buffer (DPB). If a value of nal_ref_flag is 1, it indicates that a corresponding picture is subsequently used as a reference picture. If a value of nal_ref_flag is 0, it indicates that a corresponding picture is not subsequently used as a reference picture.
A decoded picture can be indicated as a reference picture when storing the decoded picture in the DPB without determining whether or not a corresponding NALU is a non-reference picture or a reference picture based on nal_ref_flag. In this case, although the decoded picture is a non-reference picture, but is indicated as a reference picture, there is no problem because the corresponding picture will not be included in the reference picture list delivered in the slice header of a next picture when decoding the next picture of the corresponding picture in decoding order.
That is, whether or not a previously decoded picture is a reference picture or a non-reference picture is indicated based on the reference picture list included in the slice header of a next picture when decoding the next picture. Accordingly, there is no problem in determining whether or not a decoded picture is a reference picture or a non-reference picture even though the decoded picture is indicated as the reference picture without taking into account nal_ref_flag.
The present invention proposes that nal_ref_flag be deleted from an NALU header or the semantics of nal_ref_flag be changed. An embodiment related to the deletion of nal_ref_flag is as follows.
The flag ‘nal_ref_flag’ is changed into slice_ref_flag, and the position of the flag is moved from an NALU header to a slice header. The syntax of the slice header can be modified as in Table 1.
In Table 1, when a value of slice_ref_flag is 1, it indicates that a slice is part of a reference picture. When a value of slice_ref_flag is 0, it indicates that the slice is some of a non-reference picture.
The flag ‘nal_ref_flag’ is changed into au_ref_flag, and the position of the flag is moved from an NALU header to an access unit delimiter. The syntax of the access unit delimiter can be the same as Table 2.
In Table 2, when a value of au_ref_flag is 1, it indicates that an access unit includes a reference picture. When a value of au_ref_flag is 0, it indicates that an access unit includes a non-reference picture.
nal_ref_flag is not moved to another syntax, but nal_ref_flag is deleted from an NALU header.
If nal_ref_flag, that is, flag information of 1 bit indicating whether a picture is a non-reference picture or a reference picture in the entire bit stream when decoding the picture, is deleted, a determination of whether or not a picture is a reference picture through nal_ref_flag can be performed through another process. After decoding a received picture, the decoded picture is unconditionally indicated as a reference picture in a Decoded Picture Buffer (DPB). That is, whether or not a decoded picture is a reference picture may not be determined, but the decoded picture can be indicated as a reference picture.
Thereafter, the slice header of a picture next to the decoded picture is parsed, and whether the decoded picture is a reference picture or a non-reference picture can be indicated based on reference picture information included in the slice header.
nal_ref_flag can be deleted from an NALU header, and temporal_id can be used to indicate the NALU is a non-reference picture. To indicate non-reference picture, temporal_id can be ‘7’, a maximum number of temporal layers-1 (i.e., max_temporal_layers_minus1) included in a bit stream, or a preset value other than ‘0’.
nal_ref_flag can be deleted from an NALU header, and reserved_one_5 bits can be used as a priority_id element in order to indicate the NALU is a non-reference picture. priority_id is an identifier indicating priority of the corresponding NALU and is used to provide a bit stream extraction function based on priority irrespective of a different spatial, temporal, and SNR.
That is, if temporal_id=Ta is the identifier of the highest temporal layer, temporal_id=Ta and the NALU, that is, priority_id=31 (or another specific value), is used to indicate that the NALU is the NALU of a non-reference picture.
1 bit used to signal nal_ref_flag can be used as one of the following things.
(1) The 1 bit can be used to indicate nal_unit_type. nal_unit_type can become a 7-bit signal, and the number of NALU types can be doubled.
(2) The 1 bit can be used to indicate temporal_id. temporal_id can become a 4-bit signal, and a maximum number of temporal layers can be doubled.
(3) The 1 bit can be used to indicate layer_id. layer_id means the identifier of the scalable layer of a layered bit stream and can be signaled by a reserved_one_5 bits syntax element. 1 bit used to signal nal_ref_flag can be added to 5 bits of reserved_one_5 bits used to identify a scalable layer, and thus layer_id can become a signal of 6 bits. If 6 bits are used, 64 scalable layers can be identified.
(4) The 1 bit can be used as a flag informing whether or not reserved_one_5 bits indicates priority.
(5) The 1 bit can be used as reserved_bit.
If nal_ref_flag is not deleted from an NALU header, the semantics of nal_ref_flag can be modified as follows.
When a value of nal_ref_flag is 0, it indicates that an NALU includes only the slice of a non-reference picture. When a value of nal_ref_flag is 1, it indicates that an NALU can include the slice of a reference picture or a non-reference picture.
A VPS includes the most basic information for decoding video and can include contents present in the existing SPS.
The VPS can include information about a sub-layer that denotes a temporal layer supporting temporal scalability and information about multiple layers supporting spatial, quality, and view scalabilities. That is, the VPS may include multi-layer information, that is, syntaxes for an HEVC extension.
Syntaxes for a VPS is the same as Table 3.
In Table 3, most syntaxes have the same semantics as SPS syntaxes applied to a bit stream including a single layer, and additional parts are as follows.
As in Table 4, some of an existing syntax can be incorporated into a VPS and can be deleted from an SPS. Meanwhile, a vps_id syntax element can be added to the SPS. An SPS syntax to which vps_id has been added is the same as Table 4. In Table 4, a deleted syntax is indicated by a line that passes the middle of the syntax.
vps_id indicates an identifier for identifying a VPS to which reference can be made in the SPS and can have a range of 0 to X.
A slice header includes index information about a Picture Parameter Set (PPS) to which a corresponding slice refers, and a PPS includes index information about a Sequence Parameter Set (SPS) to which a corresponding picture refers. The SPS includes information about a Video Parameter Set (VPS) to which a corresponding sequence refers. As described above, when information about a parameter set is parsed, and, then, reference to information about the parsed parameter set, it is called activation.
In order to use information about a specific parameter set, that is, in order to activate the parameter set, the parameter set needs to be gradually parsed from a slice header. It means that all slice headers and a related PPS needs to be analyzed in order to know what SPS is activated.
When extracting some of a sub-layer (i.e., temporal layer) from a bit stream including a single layer, an extractor needs to analyze (or parse) an NALU header and a plurality of parameter sets.
If information for the extraction of an NALU is included in a VPS or an SPS, the extractor needs to sequentially parse a higher parameter set from a slice header. This means that the extractor needs to understand all the syntax elements of parameter sets and the slice header.
On the other hand, without a complicated parsing process even in a video decoding process, vps_id or sps_id can be searched for and only necessary parameter sets can be activated. In this case, if a VPS or an SPS includes parameter index information to be activated, a parsing procedure for a complicated slice header and a related PPS can be reduced.
Meanwhile, only some of the elements of the syntaxes can include pieces of information necessary to extract a bit stream. Nevertheless, to analyze all syntax elements can become a big burden on an extractor. In order to solve this problem, the following method is proposed.
In the present invention, the activation of a parameter set means that signaling is performed so that an extractor can be aware that what parameter set is activated without analyzing a slice header and a related Picture Parameter Set (PPS).
In accordance with the present invention, which VPS, SPS, or PPS is active can be additionally signaled so that a burden on an extractor which needs to analyze all slice headers and a related PPS is reduced.
A VPS may be updated. One of the following three methods can be used so that an extractor can be aware of an active VPS and a related SPS or PPS without analyzing a slice header.
(1) vps_id, sps_id, and pps_id can be included in an access unit delimiter. vps_id, sps_id, and pps_id indicate the identifiers of respective VPS, SPS, and PPS used for NALUs of a related AU.
In order to indicate whether or not the identifiers are present in the access unit delimiter, vps_id_present_flag, sps_id_present_flag, and pps_id_present_flag are used. The syntax of a proposed access unit delimiter is the same as Table 5.
(1-1) In another method, sps_id and pps_id are excluded and only vps_id can be included in an access unit delimiter as in Table 6.
(2) Another method for the activation signaling of a VPS is to use a new SEI message ‘parameter_set_reference’. The SEI message includes a syntax for informing whether or not vps_id, sps_id, and pps_id indicative of the identifiers of a VPS, an SPS, and an PPS used for NALUs within a related AU are present.
In order to indicate whether or not the identifiers are present, vps_id_present_flag, sps_id_present_flag, and pps_id_present_flagsyntax can be used, and an SEI syntax is the same as Table 7.
(2-1) Furthermore, the activation of a VPS and an SPS can be informed by excluding pps_id and including sps_id and vps_id in an SEI message as in <Table 8>. sps_id and vps_id in an SEI message can include sps_id and vps_id to which the video coding layer NALU of an access unit associated with the SEI message refer. Accordingly, sps_id and vps_id can indicate information about a parameter set having a possibility of activation.
In Table 8, vps_id indicates video_parameter_set_id of a VPS now activated. A value of vps_id can have a value of 0˜15.
If sps_id_present_flag has a value of 1, it indicates that sequence_parameter_set_id of an SPS now activated is included in a corresponding SEI message. If sps_id_present_flag has a value of 0, it indicates sequence_parameter_set_id of an SPS now activated is not included in a corresponding SEI message.
sps_id indicates sequence_parameter_set_id of an SPS now activated. sps_id can have a value of 0˜31, more limitedly, a value of 0˜15.
When a value of psr_extension_flag is 0, it indicates that a SEI message extension syntax element is not included in a SEI message. When a value of psr_extension_flag is 1, it indicates that a SEI message extension syntax element including a SEI message is extended and used.
psr_extension_length indicates the length of psr_extension_data. psr_extension_length can have a value ranging from 0 to 256, and psr_extension_data_byte can have any value.
(2-2) Furthermore, one or more sps_id and vps_id other than pps_id may be included in an SEI message and then signaled as in Table 9.
In Table 9, vps_id indicates video_parameter_set_id of an active VPS. vps_id can have a value of 0˜15.
num_reference_sps indicates the number of SPSs that refer to active vps_id.
sps_id(i) indicates sequence_parameter_set_id of an active SPS, and sps_id can have a value of 0˜31, more limitedly, a value of 0˜15.
(2-3) Furthermore, only vps_id other than sps_id and pps_id may be included in an SEI message and then signaled as in Table 10.
(3) Another method for the activation signaling of a VPS is to include information, informing vps_id, sps_id, and pps_id, in a buffering period SEI message. Table 11 shows a syntax including vps_id_present_flag, sps_id_present_flag, and pps_id_present_flag indicating whether or not vps_id, sps_id, and pps_id are present.
(3-1) Furthermore, as in Table 12, the activation of a VPS may be signaled by including only vps_id other than sps_id and pps_id in the buffering period SEI message.
(4) Another method for the activation signaling of a parameter set is to include information, informing vps_id, sps_id, and pps_id, in a recovery point SEI message. Table 13 shows a syntax including vps_id_present_flag, sps_id_present_flag, and pps_id_present_flag indicating whether or not vps_id, sps_id, and pps_id are present.
(4-1) Furthermore, as Table 14, there may be a method of informing vps_id, sps_id, and pps_id by including only vps_id other than sps_id and pps_id in the recovery point SEI message.
Messages for delivering the vps_id or sps_id can be included in an Intra Random Access Point (IRAP) access unit.
If any one of the above-described information signaling methods is included in an access unit and utilized, an extractor can identify vps_id, sps_id, and pps_id values through the above-described signaling method in order to extract a bit stream and can manage one or more vps/sps/pps.
Furthermore, a decoding apparatus or a decoding module for performing decoding can identify vps_id, sps_id, and pps_id values through the above-described signaling method and can decode the associated AUs with the signaling method by activating the parameter sets.
Hereinafter, there are proposed extension_info( ) of VPS and a new SEI message to describe and signal information about a scalable layer if a bit stream supporting a layer extension is included. In order to represent a bit stream in the extended type, the following information can be signaled.
layer_id signals whether or not it deliver a priority value of a layer.
Here, a spatial layer (identified by a dependency_id value), an SNR layer (identified by a quality_id value), views (identified by a view_id value), etc. can be signaled in response to each layer_id value, and a temporal layer can be identified by temporal_id of an NALU header.
Furthermore, the region of video related to layer_id can be signaled by region_id.
Furthermore, dependency information, bit rate information for each scalable layer, and quality information for each scalable layer can be signaled.
extension_info( ) syntax is the same as Table 15.
The semantics of the syntax of Table 15 is as follows.
When a value of one_dependency_id_flag[i] is 1, it indicates that there is only one dependency_id associated with layer whose layer_id is i. When a value of one_dependency_id_flag[i] is 0, it indicates that there are two or more dependency_id associated with layer whose layer_id is i.
An extension_info( ) syntax according to another embodiment is the same as Table 16.
As shown in Table 16, pic_width_in_luma_samples[i] and pic_height_in_luma_samples[i], bit_depth_luma_minus8[i], bit_depth_chroma_minus8[i], and chroma_format_idc[i] can be signaled through information about different representation formats.
In accordance with another embodiment, pic_width_in_luma_samples[i], pic_height_in_luma_samples[i], bit_depth_luma_minus8[i], bit_depth_chroma_minus8[i], and chroma_format_idc[i] can be signaled through information about different pictures, that is, pictures having different resolutions.
A syntax for an activation SEI message for the signaling of a bit rate and quality information is the same as Table 17.
The semantics of the syntax of Table 17 are as follows.
Hereinafter, a scheme to improve a Video Parameter Set(VPS) is proposed in order to efficiently extract a bitstream.
A method indicating a relationship between layer_id and a scalability dimension ID in a bit stream supporting multiple layers can include the first method and the second method. The first method informs a mapping method between layer_id and the scalability dimension ID. The second method partitions or splices the bits of layer_id, and then, informs which dimension type is present in the partitioned or spliced bit.
In a bit stream supporting multiple layers, a dimension type can mean the type of scalability, such as spatial scalability and quality scalability, and a dimension ID can mean an index of a layer fora specific dimension type.
In a bit stream supporting multiple layers, in general, a specific layer (in order to help understanding, for example, in the case where temporal scalability is supported in a bit stream of a single layer, a temporal layer (sub-layer) 3) can directly refer to a next lower layer (e.g., a temporal layer (sub-layer)) in a specific dimension.
For example, in the case where spatial scalability is supported, it means that a spatial layer 2 directly refers to a next lower space layer 1.
Accordingly, in order to indicate the above case, it is proposed that a dimension having default direct dependency be first described.
Thereafter, specific dependency is described in detail in a description loop for a scalable layer.
A scheme for signaling layer referencing using the two methods is proposed below. An improved syntax for vps_extension is the same as Table 18 to Table 21.
Table 18 shows a syntax that maps layer_id to a scalability dimension ID using the first method. The semantics of the syntax of Table 18 is as follows.
When a value of all_default_dependency_flag is 0, it indicates that all layer dimensions may not have default dependency. When a value of all_default_dependency_flag is 0 the following ‘num_default_dim_minus1’ is signaled.
What a layer C directly refers to a layer B means that a decoder needs to use information (decoded or not decoded) of the layer B in order to decode the layer C. If the layer B directly uses information of a layer A, it is not considered that the layer C directly refers to the layer A.
Table 19 shows a syntax in which the bits of layer_id is allocated to a scalability dimension type and the length of an allocated dimension type is signaled using the second method.
num_dimensions_minus1 described in Table 19 indicates the number of layer dimensions that are present in an NALU header. That is, the number of layer dimensions present in the NALU header is checked, and a layer type present in each corresponding layer dimension and the number of bits allocated to the dimension type are checked.
The syntax ‘all_default_dependency_flag, num_default_dim_minus1, dimension[j], and specific_dependency_flag[i]’ for layer referencing described in Table 19 has the same semantics as the syntax described in Table 18.
Tables 20 and 21 describe alternative syntaxes to Tables 18 and 19. Table 20 shows alternative syntax indicating default dependency when the first method is used, and Table 21 shows alternative syntax indicating default dependency when the second method is used.
Among the syntaxes in Tables 20 and 21, description of the syntaxes that is described in Table 18 and 19 is omitted.
A new syntax ‘default_dependency_flag[i]’ in Tables 20 and 21 indicates whether or not a dimension type i uses default dependency. In a corresponding dimension, a high layer (e.g., dimension_id[i]=n) directly refers to a right-under layer (e.g., dimension_id[i]-n−1).
That is, after a specific dimension type is designated by num_dimensions_minus1 and dimension_type[i], whether or not the specific dimension type uses default dependency is signaled. If it is not signaled, it indicates that information for a layer to which the corresponding layer directly refers is signaled.
Dimension types according to the present invention are listed in Table 22.
In accordance with the present invention, dimension types 4 and 5, that is, types indicative of a priority ID and a region ID, have been added in an existing dimension type. dimension_type[i][j] can have a value between 0 and 5. Other values can be subsequently defined, and a decoder can neglect a value of dimension_type[i][j] if dimension_type[i][i] does not have the value between 0 and 5.
If dimension_type has a value of 4, corresponding dimension_id indicates the ID of a priority layer of a bit stream in the SVC standard.
If dimension_type has a value of 5, corresponding dimension_id indicates the ID of a specific region of a bit stream. The specific region can be one or more spatial-temporal segments in the bit stream.
Referring to
The information about multiple layers included in the video parameter set can include a maximum number of size information ‘num_frame_sizes_minus1’ for different types of pictures included in the encoded video sequence. That is, the information about the multiple layers can include information about the number of pictures having different resolutions.
Here, at least one of pieces of information about the size applied to different types of pictures, that is, the width of luma samples ‘pic_width_in_luma_samples’ indicative of the number of luma samples included in the horizontal length of a picture, the height of the luma samples ‘pic_height_in_luma_samples’ indicative of the number of luma samples included in the vertical length of the picture, the bit depth of the luma sample ‘bit_depth_luma_minus8’, the bit depth of a chroma sample ‘bit_depth_chroma_minus8’, and index information ‘chroma_format_idc’ for a set of the chroma formats.
Meanwhile, the bit depth of a luma sample, the bit depth of a chroma sample, and a chroma format may be differently set even in a picture having a specific resolution. In this case, the maximum number of the size information ‘num_frame_sizes_minus1’ can be additionally increased by taking a different bit depth into consideration.
Furthermore, the information about multiple layers may include index information ‘frame_size_idx’ for a set of frame sizes applied to a specific layer.
Furthermore, the information about multiple layers may include index information ‘rep_format_idx’ for a set of representation formats indicative of a bit depth and chroma format applied to a specific layer.
Here, the information about a representation format can include at least one of the width of luma samples ‘pic_width_in_luma_samples’ indicative of the number of luma samples included in the horizontal length of a picture, the height of the luma samples ‘pic_height_in_luma_samples’ indicative of the number of luma samples included in the vertical length of the picture, the bit depth of the luma sample ‘bit_depth_luma_minus8’, the bit depth of a chroma sample ‘bit_depth_chroma_minus8’, and index information ‘chroma_format_idc’ for a set of chroma formats.
If a bit stream includes a plurality of layer dimensions supporting multiple layers, information about the multiple layers can include default dependency flag information indicating whether or not a specific layer in all the layer dimensions refers to a layer right under the specific layer and direct reference flag information indicating that a layer to which the specific layer directly refers is present.
The encoding apparatus sends information about the encoded video parameter set in the form of a bit stream at step 402.
Referring to
Next, the decoding apparatus analyzes information about a layer included in a bit stream by parsing the video parameter set at step 502. The parsing of video information can be performed by an entropy decoding module or an additional parsing module.
The information about multiple layers included in the video parameter set can include a maximum number of size information ‘num_frame_sizes_minus1’ for different types of pictures included in an encoded video sequence.
Here, at least one of pieces of information about the size applied to different types of pictures, that is, the width of luma samples ‘pic_width_in_luma_samples’ indicative of the number of luma samples included in the horizontal length of a picture, the height of the luma samples ‘pic_height_in_luma_samples’ indicative of the number of luma samples included in the vertical length of the picture, the bit depth of the luma sample ‘bit_depth_luma_minus8’, the bit depth of a chroma sample ‘bit_depth_chroma_minus8’, and index information ‘chroma_format_idc’ for a set of the chroma formats.
Furthermore, the information about multiple layers may include index information ‘frame_size_idx’ for a set of frame sizes applied to a specific layer.
Furthermore, the information about multiple layers may include index information ‘rep_format_idx’ for a set of representation formats indicative of a bit depth and chroma format applied to a specific layer.
Here, the information about a representation format can include at least one of the width of luma samples ‘pic_width_in_luma_samples’ indicative of the number of luma samples included in the horizontal length of a picture, the height of the luma samples ‘pic_height_in_luma_samples’ indicative of the number of luma samples included in the vertical length of the picture, the bit depth of the luma sample ‘bit_depth_luma_minus8’, the bit depth of a chroma sample ‘bit_depth_chroma_minus8’, and index information ‘chroma_format_idc’ for a set of chroma formats.
If a bit stream includes a plurality of layer dimensions supporting multiple layers, information about the multiple layers can include default dependency flag information indicating whether or not a specific layer in all the layer dimensions refers to a layer right under the specific layer and direct reference flag information indicating that a layer to which the specific layer directly refers is present.
Referring to
When the default dependency flag is 1 at step 601, a certain layer (hereinafter, referred to the specific layer) of all the layer dimensions refers to a layer right under the specific layer at step 602. This indicates that all the layer dimensions have default dependency.
For example, a layer having ‘dimension_id[i]=n’ in a specific dimension i directly refers to another layer having ‘dimension_id[i]=n−1’ by default.
If the default dependency flag is 0 not 1 at step 601, type information about a layer dimension in which the specific layer refers to a layer right under the specific layer, that is, a layer dimension having default dependency, is signaled at step 603.
Direct reference flag information ‘specific_dependency_flag[i]’ indicating that there is a layer to which the specific layer directly refers can be signaled.
If a direct reference flag is 1 at step 604, it indicates that there is a layer to which the specific layer directly refers. Thus, the number of layers to which the specific layer directly refers and index information about the layer are signaled at step 605.
In the case of the syntaxes according to Tables 20 and 21, layer reference information is signaled without the steps 601 and 602 in the description of
In addition, the pieces of information about a parameter set can be used when decoding a bit stream or in a session negotiation (e.g., a session negotiation at the time of streaming in an IP network).
In the aforementioned embodiments, although the methods have been described based on the flowcharts in the form of a series of steps or blocks, the present invention is not limited to the sequence of the steps, and some of the steps may be performed in a different order from that of other steps or may be performed simultaneous to other steps. Furthermore, those skilled in the art will understand that the steps shown in the flowchart are not exclusive and the steps may include additional steps or that one or more steps in the flowchart may be deleted without affecting the scope of the present invention.
The above embodiments include various aspects of examples. Although all possible combinations for presenting the various aspects may not be described, those skilled in the art will appreciate that other combinations are possible. Accordingly, the present invention should be construed as including all other replacements, modifications, and changes which fall within the scope of the claims.
Number | Date | Country | Kind |
---|---|---|---|
10-2012-0038870 | Apr 2012 | KR | national |
10-2012-0066606 | Jun 2012 | KR | national |
10-2012-0067925 | Jun 2012 | KR | national |
10-2012-0071933 | Jul 2012 | KR | national |
10-2012-0077012 | Jul 2012 | KR | national |
10-2012-0108925 | Sep 2012 | KR | national |
10-2012-0112598 | Oct 2012 | KR | national |
10-2013-0041863 | Apr 2013 | KR | national |
This application is a continuation of U.S. patent application Ser. No. 17/951,797, filed Sep. 23, 2022, which is a continuation of U.S. patent application Ser. No. 17/174,843, filed Feb. 12, 2021, now U.S. Pat. No. 11,490,100, which is a continuation of U.S. patent application Ser. No. 16/778,313, filed Jan. 31, 2020, now U.S. Pat. No. 10,958,918, which is a continuation of U.S. patent application Ser. No. 14/391,151, filed Oct. 7, 2014, now U.S. Pat. No. 10,595,026, which was a national stage application under 35 USC 371 of International Application No. PCT/KR2013/003206 filed on Apr. 16, 2013, which claims the benefit of Korean Application No. 10-2012-0038870 filed on Apr. 16, 2012, Korean Application No. 10 10-2012-0066606 filed on Jun. 21, 2012, Korean Application No. 10-2012-0067925 filed on Jun. 25, 2012, Korean Application No. 10-2012-0071933 filed on Jul. 2, 2012, Korean Application No. 10-2012-0077012 filed on Jul. 16, 2012, Korean Application No. 10-2012-0108925 filed on Sep. 28, 2012, Korean Application No. 10-2012-0112598 filed on Oct. 10, 2012, Korean Application No. 10-2013-0041863 filed on Apr. 16, 2013 in the 15 Korean Intellectual Property Office, the entire disclosures of which are incorporated herein by reference for all purposes.
Number | Date | Country | |
---|---|---|---|
Parent | 17951797 | Sep 2022 | US |
Child | 18588746 | US | |
Parent | 17174843 | Feb 2021 | US |
Child | 17951797 | US | |
Parent | 16778313 | Jan 2020 | US |
Child | 17174843 | US | |
Parent | 14391151 | Oct 2014 | US |
Child | 16778313 | US |