OLS for Multiview Scalability
The OLS mechanism in video coding systems ensures all layers are output layers, addressing scalability issues in multiview applications by enabling decoders to select and render desired output layers, reducing bitstream size and resource utilization.
Patent Information
- Application Number
- JP2025040038
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-09-24
- Filing Date
- 2025-03-13
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2040-09-18
AI Technical Summary
Existing video coding systems face challenges in scalability, particularly in multiview applications, as they are configured to only decode and output the highest coded layer, leading to errors when decoders cannot support higher layers, and this limits their ability to scale based on hardware and network requirements.
Incorporating an output layer set (OLS) mechanism that allows all layers within a particular OLS to be considered output layers, indicated by the ols_mode_idc syntax element, enabling decoders to select and render desired output layers, thus supporting multiview scalability.
This approach enhances scalability by allowing decoders to decode all layers within an OLS, reducing bitstream size and resource utilization, and preventing errors while providing efficient multiview video display.
Smart Images

Figure 0007819384000003 
Figure 0007819384000004 
Figure 0007819384000005
Abstract
Description
[Technical Field]
[0001] [CROSS-REFERENCE TO RELATED APPLICATIONS] This patent application claims priority to and incorporates by reference U.S. Provisional Patent Application No. 62 / 905,132, entitled "Signalling Of Output Layer Sets For Multiview Scalability," filed September 24, 2019, by Ye-Kui Wang.
[0002] [Technical field] The present disclosure relates generally to video coding, and more particularly to constructing output layer sets (OLS) in multi-layer bitstreams to support spatial and signal-to-noise (SNR) scalability for multi-view video. [Background technology]
[0003] The amount of video data required to render even a relatively short video can be substantial, which can create difficulties when the data is streamed or otherwise communicated across communication networks with limited bandwidth capacity. Therefore, video data is typically compressed before being communicated across today's telecommunications networks. Because memory resources may be limited, video size can also become an issue when the video is stored on a storage device. Video compression devices often use software and / or hardware at the source to code the video data before transmission or storage, thereby reducing the amount of data needed to represent a digital video image. The compressed data is then received at the destination by a video decompression device, which decodes the video data. With limited network resources and ever-increasing demands for higher video quality, improved compression and decompression techniques that improve compression ratios with little or no sacrifice in image quality are desirable. Summary of the Invention
[0004] In one embodiment, the present disclosure includes a method implemented by a decoder, the method including the steps of receiving, by a receiver of the decoder, a bitstream including an output layer set (OLS) and a video parameter set (VPS), where the OLS includes one or more layers of a coded picture and the VPS includes, for each OLS, an OLS mode identification code (ols_mode_idc) that specifies that all layers in each OLS are output layers; determining, by a processor of the decoder, an output layer based on the ols_mode_idc in the VPS; and decoding, by the processor of the decoder, the coded picture from the output layer to generate a decoded picture.
[0005] Some video coding systems are configured to only decode and output the highest coded layer, as indicated by a layer ID, along with one or more designated lower layers. This can pose a problem for scalability because a decoder may not want to decode the highest layer. Specifically, a decoder typically requests the highest layer it can support, but the decoder is typically unable to decode layers higher than the requested layer. As a specific example, a decoder may want to receive and decode the third layer out of a total of 15 coded layers. Because layers 4 through 15 are not required to decode the third layer, the third layer can be transmitted to the decoder without such layers. However, because the highest layer (layer 15) does not exist and the video system is instructed to always decode and display the highest layer, the decoder may be unable to properly decode and display the third layer. This results in errors when video scalability is attempted in such systems. This can be a significant problem because requiring a decoder to always support the highest layer results in a system that cannot scale to intermediate layers based on different hardware and network requirements. This problem becomes complicated when multiview is used, where more than one layer is output for display. For example, a user may use a headset and a different layer may be displayed to each eye to create the impression of three dimensional (3D) video. Systems that cannot support scalability also cannot support multiview scalability.
[0006] This example includes a mechanism for supporting multiview scalability. Layers are included in an OLS. An encoder can transmit an OLS containing layers to scale for specific characteristics, such as size or SNR. Furthermore, the encoder may transmit an ols_mode_idc syntax element, for example, in a VPS. The ols_mode_idc syntax element can be set to 1 to indicate the use of multiview scalability. For example, ols_mode_idc can indicate that the total number of OLSs is equal to the total number of layers specified in the VPS, that the i-th OLS contains layers 0 to i, and that for each OLS, all layers are considered as output layers. This supports scalability because a decoder can receive and decode all layers within a particular OLS. Because all layers are output layers, the decoder can select and render the desired output layer. In this way, the total number of coded layers may not affect the decoding process, and errors may be avoided while still providing scalable multiview video. Therefore, the disclosed mechanism improves the functionality of the encoder and / or decoder. Furthermore, the disclosed mechanism may reduce bitstream size and therefore processor, memory, and / or network resource utilization in both the encoder and decoder. In particular embodiments, using ols_mode_idc provides bit savings in coded bitstreams that include multiple OLSs where a lot of data is shared, and therefore provides savings in the streaming server and bandwidth savings for transmitting such bitstreams. For example, an advantage of setting ols_mode_idc to 1 is that it supports use cases such as multi-view applications, where two or more views, each represented by one layer, are output and displayed simultaneously.
[0007] Optionally, in any of the above aspects, another implementation of the aspect provides that ols_mode_idc specifies that the total number of OLSs specified by the VPS is equal to the number of layers specified by the VPS.
[0008] Optionally, in any of the above aspects, another implementation manner of the aspect provides that ols_mode_idc specifies that the i-th OLS includes layers having layer indices greater than or equal to 0 and less than or equal to i.
[0009] Optionally, in any of the above aspects, another implementation of the aspect provides that ols_mode_idc is equal to 1.
[0010] Optionally, in any of the above aspects, another implementation of the aspect provides that the VPS includes a VPS max layers minus 1 (vps_max_layers_minus1) that specifies the number of layers specified by the VPS, which is the maximum allowable number of layers in each coded video sequence (CVS) that references the VPS.
[0011] Optionally, in any of the above aspects, another implementation of the aspect provides that the total number of OLSs (TotalNumOlss) is equal to vps_max_layers_minus1 plus 1 when ols_mode_idc is equal to 0 or when ols_mode_idc is equal to 1.
[0012] Optionally, in any of the above aspects, another implementation of the aspect is such that the number of layers in the ith OLS (NumLayersInOls[i]) and the network abstraction layer (NAL) unit header layer identifier (nuh_layer_id) value of the jth layer in the ith OLS (LayerIdInOLS[i][j]) are as follows: NumLayersInOls[0]=1 LayerIdInOls[0][0]=vps_layer_id[0] for(i=1,i <TotalNumOlss;i++){ if(each_layer_is_an_ols_flag){ NumLayersInOls[i]=1 LayerIdInOls[i][0]=vps_layer_id[i] }else if(ols_mode_idc==0||ols_mode_idc==1){ NumLayersInOls[i]=i+1 for(j=0;j <NumLayersInOls[i];j++) LayerIdInOls[i][j]=vps_layer_id[j] where vps_layer_id[i] is the i-th VPS layer identifier, TotalNumOlss is the total number of OLSs specified by the VPS, and each_layer_is_an_ols_flag provides a flag that specifies whether at least one OLS contains more than one layer.
[0013] In one embodiment, the disclosure includes a method implemented by an encoder, the method including: encoding, by a processor of the encoder, a bitstream including one or more OLSs that include one or more layers of a coded picture; encoding, by the processor, a VPS into the bitstream, the VPS including, for each OLS, an ols_mode_idc that specifies that all layers in each OLS are output layers; and storing, by a memory coupled to the processor, the bitstream for communication to a decoder.
[0014] Some video coding systems are configured to only decode and output the highest coded layer, as indicated by a layer ID, along with one or more designated lower layers. This can pose a problem for scalability because a decoder may not want to decode the highest layer. Specifically, a decoder typically requests the highest layer it can support, but the decoder is typically unable to decode layers higher than the requested layer. As a specific example, a decoder may want to receive and decode the third layer out of a total of 15 coded layers. Because layers 4 through 15 are not required to decode the third layer, the third layer can be transmitted to the decoder without such layers. However, because the highest layer (layer 15) does not exist and the video system is instructed to always decode and display the highest layer, the decoder may be unable to properly decode and display the third layer. This results in errors when video scalability is attempted in such systems. This can be a significant problem because requiring a decoder to always support the highest layer results in a system that cannot scale to intermediate layers based on different hardware and network requirements. This problem becomes complicated when multiview is used, where more than one layer is output for display. For example, a user may use a headset and a different layer may be displayed to each eye to create the impression of three dimensional (3D) video. Systems that cannot support scalability also cannot support multiview scalability.
[0015] This example includes a mechanism for supporting multiview scalability. Layers are included in an OLS. An encoder can transmit an OLS containing layers to scale for specific characteristics, such as size or SNR. Furthermore, the encoder may transmit an ols_mode_idc syntax element, for example, in a VPS. The ols_mode_idc syntax element can be set to 1 to indicate the use of multiview scalability. For example, ols_mode_idc can indicate that the total number of OLSs is equal to the total number of layers specified in the VPS, that the i-th OLS contains layers 0 to i, and that for each OLS, all layers are considered as output layers. This supports scalability because a decoder can receive and decode all layers within a particular OLS. Because all layers are output layers, the decoder can select and render the desired output layer. In this way, the total number of coded layers may not affect the decoding process, and errors may be avoided while still providing scalable multiview video. Therefore, the disclosed mechanism improves the functionality of the encoder and / or decoder. Furthermore, the disclosed mechanism may reduce bitstream size and therefore processor, memory, and / or network resource utilization in both the encoder and decoder. In particular embodiments, using ols_mode_idc provides bit savings in coded bitstreams that include multiple OLSs where a lot of data is shared, and therefore provides savings in the streaming server and bandwidth savings for transmitting such bitstreams. For example, an advantage of setting ols_mode_idc to 1 is that it supports use cases such as multi-view applications, where two or more views, each represented by one layer, are output and displayed simultaneously.
[0016] Optionally, in any of the above aspects, another implementation of the aspect provides that ols_mode_idc specifies that the total number of OLSs specified by the VPS is equal to the number of layers specified by the VPS.
[0017] Optionally, in any of the above aspects, another implementation manner of the aspect provides that ols_mode_idc specifies that the i-th OLS includes layers having layer indices greater than or equal to 0 and less than or equal to i.
[0018] Optionally, in any of the above aspects, another implementation of the aspect provides that ols_mode_idc is equal to 1.
[0019] Optionally, in any of the above aspects, another implementation of the aspect provides that the VPS includes a vps_max_layers_minus1 that specifies the number of layers specified by the VPS, which is the maximum allowable number of layers in each CVS that references the VPS.
[0020] Optionally, in any of the above aspects, another implementation of the aspect provides that TotalNumOlss is equal to vps_max_layers_minus1 plus 1 when ols_mode_idc is equal to 0 or when ols_mode_idc is equal to 1.
[0021] Optionally, in any of the above aspects, another implementation of the aspect is that NumLayersInOls[i] and LayerIdInOLS[i][j] are as follows: NumLayersInOls[0]=1 LayerIdInOls[0][0]=vps_layer_id[0] for(i=1,i <TotalNumOlss;i++){ if(each_layer_is_an_ols_flag){ NumLayersInOls[i]=1 LayerIdInOls[i][0]=vps_layer_id[i] }else if(ols_mode_idc==0||ols_mode_idc==1){ NumLayersInOls[i]=i+1 for(j=0;j <NumLayersInOls[i];j++) LayerIdInOls[i][j]=vps_layer_id[j] where vps_layer_id[i] is the i-th VPS layer identifier, TotalNumOlss is the total number of OLSs specified by the VPS, and each_layer_is_an_ols_flag provides a flag that specifies whether at least one OLS contains more than one layer.
[0022] In one embodiment, the present disclosure includes a video coding device including a processor, a receiver coupled to the processor, a memory coupled to the processor, and a transmitter coupled to the processor, wherein the processor, receiver, memory, and transmitter are configured to perform the method of any of the above aspects.
[0023] In one embodiment, the present disclosure includes a non-transitory computer-readable medium including a computer program product for use by a video coding device, the computer program product including computer-executable instructions stored on the non-transitory computer-readable medium that, when executed by a processor, cause the video coding device to perform the method of any of the above aspects.
[0024] In one embodiment, the present disclosure includes a decoder including receiving means for receiving a bitstream including an OLS and a VPS, where the OLS includes one or more layers of a coded picture and the VPS includes, for each OLS, an ols_mode_idc that specifies that all layers in each OLS are output layers; determining means for determining an output layer based on the ols_mode_idc in the VPS; decoding means for decoding the coded picture from the output layer to generate a decoded picture; and forwarding means for forwarding the decoded picture for display as part of a decoded video sequence.
[0025] Some video coding systems are configured to only decode and output the highest coded layer, as indicated by a layer ID, along with one or more designated lower layers. This can pose a problem for scalability because a decoder may not want to decode the highest layer. Specifically, a decoder typically requests the highest layer it can support, but the decoder is typically unable to decode layers higher than the requested layer. As a specific example, a decoder may want to receive and decode the third layer out of a total of 15 coded layers. Because layers 4 through 15 are not required to decode the third layer, the third layer can be transmitted to the decoder without such layers. However, because the highest layer (layer 15) does not exist and the video system is instructed to always decode and display the highest layer, the decoder may be unable to properly decode and display the third layer. This results in errors when video scalability is attempted in such systems. This can be a significant problem because requiring a decoder to always support the highest layer results in a system that cannot scale to intermediate layers based on different hardware and network requirements. This problem becomes complicated when multiview is used, where more than one layer is output for display. For example, a user may use a headset and a different layer may be displayed to each eye to create the impression of three dimensional (3D) video. Systems that cannot support scalability also cannot support multiview scalability.
[0026] This example includes a mechanism for supporting multiview scalability. Layers are included in an OLS. An encoder can transmit an OLS containing layers to scale for specific characteristics, such as size or SNR. Furthermore, the encoder may transmit an ols_mode_idc syntax element, for example, in a VPS. The ols_mode_idc syntax element can be set to 1 to indicate the use of multiview scalability. For example, ols_mode_idc can indicate that the total number of OLSs is equal to the total number of layers specified in the VPS, that the i-th OLS contains layers 0 to i, and that for each OLS, all layers are considered as output layers. This supports scalability because a decoder can receive and decode all layers within a particular OLS. Because all layers are output layers, the decoder can select and render the desired output layer. In this way, the total number of coded layers may not affect the decoding process, and errors may be avoided while still providing scalable multiview video. Therefore, the disclosed mechanism improves the functionality of the encoder and / or decoder. Furthermore, the disclosed mechanism may reduce bitstream size and therefore processor, memory, and / or network resource utilization in both the encoder and decoder. In particular embodiments, using ols_mode_idc provides bit savings in coded bitstreams that include multiple OLSs where a lot of data is shared, and therefore provides savings in the streaming server and bandwidth savings for transmitting such bitstreams. For example, an advantage of setting ols_mode_idc to 1 is that it supports use cases such as multi-view applications, where two or more views, each represented by one layer, are output and displayed simultaneously.
[0027] Optionally, in any of the above aspects, another implementation of the aspect provides that the decoder is further configured to perform the method of any of the above aspects.
[0028] In one embodiment, the present disclosure includes an encoder including encoding means for encoding a bitstream including one or more OLSs that include one or more layers of a coded picture, encoding a VPS into the bitstream, the VPS including an ols_mode_idc that specifies, for each OLS, that all layers in each OLS are output layers, and storage means for storing the bitstream for communication to a decoder.
[0029] Some video coding systems are configured to only decode and output the highest coded layer, as indicated by a layer ID, along with one or more designated lower layers. This can pose a problem for scalability because a decoder may not want to decode the highest layer. Specifically, a decoder typically requests the highest layer it can support, but the decoder is typically unable to decode layers higher than the requested layer. As a specific example, a decoder may want to receive and decode the third layer out of a total of 15 coded layers. Because layers 4 through 15 are not required to decode the third layer, the third layer can be transmitted to the decoder without such layers. However, because the highest layer (layer 15) does not exist and the video system is instructed to always decode and display the highest layer, the decoder may be unable to properly decode and display the third layer. This results in errors when video scalability is attempted in such systems. This can be a significant problem because requiring a decoder to always support the highest layer results in a system that cannot scale to intermediate layers based on different hardware and network requirements. This problem becomes complicated when multiview is used, where more than one layer is output for display. For example, a user may use a headset and a different layer may be displayed to each eye to create the impression of three dimensional (3D) video. Systems that cannot support scalability also cannot support multiview scalability.
[0030] This example includes a mechanism for supporting multiview scalability. Layers are included in an OLS. An encoder can transmit an OLS containing layers to scale for specific characteristics, such as size or SNR. Furthermore, the encoder may transmit an ols_mode_idc syntax element, for example, in a VPS. The ols_mode_idc syntax element can be set to 1 to indicate the use of multiview scalability. For example, ols_mode_idc can indicate that the total number of OLSs is equal to the total number of layers specified in the VPS, that the i-th OLS contains layers 0 to i, and that for each OLS, all layers are considered as output layers. This supports scalability because a decoder can receive and decode all layers within a particular OLS. Because all layers are output layers, the decoder can select and render the desired output layer. In this way, the total number of coded layers may not affect the decoding process, and errors may be avoided while still providing scalable multiview video. Therefore, the disclosed mechanism improves the functionality of the encoder and / or decoder. Furthermore, the disclosed mechanism may reduce bitstream size and therefore processor, memory, and / or network resource utilization in both the encoder and decoder. In particular embodiments, using ols_mode_idc provides bit savings in coded bitstreams that include multiple OLSs where a lot of data is shared, and therefore provides savings in the streaming server and bandwidth savings for transmitting such bitstreams. For example, an advantage of setting ols_mode_idc to 1 is that it supports use cases such as multi-view applications, where two or more views, each represented by one layer, are output and displayed simultaneously.
[0031] Optionally, in any of the above aspects, another implementation of the aspect provides that the encoder is further configured to perform the method of any of the above aspects.
[0032] For purposes of clarity, any one of the above embodiments may be combined with any one or more of the other above embodiments to create new embodiments within the scope of the present disclosure.
[0033] These and other features will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings and claims. [Brief explanation of the drawings]
[0034] For a more complete understanding of the present disclosure, reference is now made to the following brief description taken in conjunction with the accompanying drawings and detailed description, wherein like reference numerals represent like parts. [Figure 1] 1 is a flowchart of an exemplary method for coding a video signal. [Figure 2] 1 is a schematic diagram of an example coding and decoding (codec) system for video coding. [Figure 3] FIG. 1 is a schematic diagram illustrating an exemplary video encoder. [Figure 4] FIG. 1 is a schematic diagram illustrating an exemplary video decoder. [Figure 5] FIG. 1 is a schematic diagram illustrating an example multi-layer video sequence configured for inter-layer prediction. [Figure 6] FIG. 1 is a schematic diagram illustrating an example video sequence with OLS configured for multiview scalability. [Figure 7] FIG. 1 is a schematic diagram illustrating an example bitstream including an OLS configured for multiview scalability. [Figure 8] 1 is a schematic diagram of an exemplary video coding device. [Figure 9] 1 is a flowchart of an example method for encoding a video sequence with OLS configured for multiview scalability. [Figure 10]1 is a flowchart of an example method for decoding a video sequence including an OLS configured for multiview scalability. [Figure 11] 1 is a schematic diagram of an example system for coding a video sequence with OLS configured for multiview scalability. DETAILED DESCRIPTION OF THE INVENTION
[0035] First, while exemplary implementations of one or more embodiments are provided below, it should be understood that the disclosed systems and / or methods may be implemented using any number of technologies, whether currently known or in existence. The present disclosure should in no way be limited to the exemplary implementations, drawings, and technologies set forth below, including the exemplary designs and implementations shown and described herein, but may be modified within the scope of the appended claims, along with their full range of equivalents.
[0036] The following terms are defined as follows, unless used herein in a contrary context. Specifically, the following definitions are intended to provide further clarity to the present disclosure. However, in different contexts, terms may be described differently. Therefore, the following definitions should be considered supplemental and not limiting of any other definitions provided herein for such terms.
[0037] A bitstream is a sequence of bits containing compressed video data for transmission between an encoder and a decoder. An encoder is a device configured to use an encoding process to compress video data into a bitstream. A decoder is a device configured to use a decoding process to reconstruct video data from the bitstream for display. A picture is an array of luma samples and / or chroma samples that make up a frame or a field thereof. The picture being encoded or decoded may be referred to as the current picture for clarity of discussion.
[0038] A network abstraction layer (NAL) unit is a syntax structure that contains data in the form of a Raw Byte Sequence Payload (RBSP), an indication of the type of data, interspersed with emulation prevention bytes as desired. A video coding layer (VCL) NAL unit is a NAL unit coded to contain video data, such as a coded slice of a picture. A non-VCL NAL unit is a NAL unit that contains non-video data, such as syntax and / or parameters that support decoding the video data, performing conformance checks, or other operations. A layer is a set of VCL NAL units and related non-VCL NAL units that share specified characteristics (e.g., a common resolution, frame rate, picture size, etc.). The VCL NAL units of a layer may share a particular value of the NAL unit header layer identifier (nuh_layer_id). A coded picture is a coded representation of a picture that includes VCL NAL units with a particular value of NAL unit header layer identifier (nuh_layer_id) in access units (AUs) and includes all coding tree units (CTUs) of the picture. A decoded picture is a picture produced by applying a decoding process to a coded picture. A coded video sequence (CVS) is a sequence of AUs that includes, in decoding order, one or more coded video sequence start (CVSS) AUs and, optionally, one or more AUs that are not CVSS AUs.A CVSS AU is an AU that contains prediction units (PUs) for each layer specified by a video parameter set (VPS), and the coded picture within each PU is the start picture of a CVSS / coded layer video sequence (CLVS).
[0039] An output layer set (OLS) is a set of layers in which one or more layers are designated as output layers. An output layer is a layer designated for output (e.g., to a display). The highest layer is the layer in the OLS with the highest layer identifier (ID) among all layers in the OLS. In some exemplary OLS modes, the highest layer may always be the output layer. In other modes, the indicated layer and / or all layers are output layers. A video parameter set (VPS) is a data unit that contains parameters related to the entire video. Inter-layer prediction is a mechanism for coding a current picture in a current layer by referencing a reference picture in a reference layer, where the current picture and the reference picture are in the same AU and the reference layer contains a lower nuh_layer_id than the current layer.
[0040] The OLS mode identification code (ols_mode_idc) is a syntax element that indicates information about the number of OLSs, the layers of the OLS, and the output layers within the OLS. The VPS maximum layers minus 1 (vps_max_layers_minus1) is a syntax element that conveys the number of layers specified by the VPS and, therefore, the maximum number of layers allowed in the corresponding CVS. The each layer is an OLS flag (each_layer_is_an_ols_flag) is a syntax element that conveys whether each OLS in the bitstream contains a single layer. The total number of OLSs (TotalNumOLss) is a variable that specifies the total number of OLSs specified by the VPS. The number of layers in the i-th OLS (NumLayersInOLS[i]) is a variable that specifies the number of layers in the particular OLS indicated by the OLS index value of i. The layer ID in an OLS (LayerIdInOLS[i][j]) is a variable that specifies the nuh_layer_id value of the jth layer in the ith OLS indicated by the layer index j and OLS index i. The vps_layer_id[i] is a syntax element that indicates the layer ID of the ith layer.
[0041] The following abbreviations are used herein: Coding Tree Block (CTB), Coding Tree Unit (CTU), Coding Unit (CU), Coded Video Sequence (CVS), Joint Video Experts Team (JVET), Motion Constrained Tile Set (MCTS), Maximum Transfer Unit (MTU), Network Abstraction Layer (NAL), Output Layer Set (OLS), Picture Order Count (POC), Raw Byte Sequence Payload (RBSP), Sequence Parameter Set (SPS), Video Parameter Set (VPS), and Versatile Video Coding (VVC).
[0042] Many video compression techniques can be used to reduce the size of video files with minimal loss of data. For example, video compression techniques may include performing spatial (e.g., intra-picture) prediction and / or temporal (e.g., inter-picture) prediction to reduce or remove data redundancy in a video sequence. In block-based video coding, video slices (e.g., video pictures or portions of video pictures) may be partitioned into video blocks, which may also be referred to as tree blocks, coding tree blocks (CTBs), coding tree units (CTUs), coding units (CUs), and / or coding nodes. Video blocks in an intra-coded (I) slice of a picture are coded using spatial prediction with respect to reference samples in neighboring blocks in the same picture. Video blocks in an inter-coded unidirectionally predicted (P) or bidirectionally predicted (B) slice of a picture may be coded using spatial prediction with respect to reference samples in neighboring blocks in the same picture or temporal prediction with respect to reference samples in other reference pictures. A picture may be referred to as a frame and / or an image, and a reference picture may be referred to as a reference frame and / or a reference image. Spatial or temporal prediction results in a prediction block that represents an image block. Residual data represents pixel differences between the original image block and the prediction block. Thus, inter-coded blocks are coded according to a motion vector that points to a block of reference samples that form the prediction block, and residual data that indicates the difference between the coded block and the prediction block. Intra-coded blocks are coded according to an intra-coding mode and residual data. For further compression, the residual data may be transformed from the pixel domain to a transform domain, resulting in residual transform coefficients, which may be quantized. The quantized transform coefficients may first be arranged in a two-dimensional array. The quantized transform coefficients may then be scanned to generate a one-dimensional vector of transform coefficients.To achieve even greater compression, entropy coding may be applied, and such video compression techniques are described in more detail below.
[0043] To ensure that the encoded video can be accurately decoded, the video is encoded and decoded according to a corresponding video coding standard, including International Telecommunication Union (ITU) Standardization Sector (ITU-T) H.261, International Organization for Standardization / International Electrotechnical Commission (ISO / IEC) Motion Picture Experts Group (MPEG)-1 Part 2, Advanced Video Coding (AVC), also known as ITU-T H.262 or ISO / IEC MPEG-2 Part 2, ITU-T H.263, ISO / IEC MPEG-4 Part 2, ITU-T H.264 or ISO / IEC MPEG-4 Part 10, and High Efficiency Video Coding (HEVC), also known as ITU-T H.265 or MPEG-H Part 2. AVC includes extensions such as Scalable Video Coding (SVC), Multiview Video Coding (MVC), and Multiview Video Coding plus Depth (MVC+D), as well as three dimensional (3D) AVC (3D-AVC). HEVC includes extensions such as Scalable HEVC (SHVC), Multiview HEVC (MV-HEVC), and 3D HEVC (3D-HEVC).The ITU-T and ISO / IEC Joint Video Experts Team (JVET) is currently developing a video coding standard called Versatile Video Coding (VVC). VVC is included in the Working Documents (WDs) including JVET-O2001-v14.
[0044] To support scalability, layers of pictures can be used. For example, video can be coded into multiple layers. A layer may be coded without reference to other layers. Such a layer is called a simulcast layer. Thus, a simulcast layer can be decoded without reference to other layers. As another example, a layer can be coded using inter-layer prediction. This allows a current layer to be coded by including only the differences between the current layer and the reference layer. For example, the current layer and the reference layer may contain the same video sequence coded by varying characteristics such as signal-to-noise ratio (SNR), picture size, frame rate, etc.
[0045] Some video coding systems are configured to only decode and output the highest coded layer, as indicated by a layer identifier (ID), along with one or more indicated lower layers. This can pose a problem for scalability because a decoder may not want to decode the highest layer. Specifically, a decoder typically requests the highest layer it can support, but the decoder is typically unable to decode layers higher than the requested layer. As a specific example, a decoder may want to receive and decode the third layer out of a total of 15 coded layers. Because layers 4 through 15 are not required to decode the third layer, the third layer can be transmitted to the decoder without such layers. However, because the highest layer (layer 15) does not exist and the video system is instructed to always decode and display the highest layer, the decoder may be unable to properly decode and display the third layer. This results in errors when video scalability is attempted in such systems. This can be a significant problem because requiring a decoder to always support the highest layer results in a system that cannot scale to intermediate layers based on different hardware and network requirements. This problem becomes complicated when multiview is used, where more than one layer is output for display. For example, a user may use a headset and a different layer may be displayed to each eye to create the impression of three dimensional (3D) video. Systems that cannot support scalability also cannot support multiview scalability.
[0046] Disclosed herein is a mechanism for supporting multiview scalability. Layers are included in an output layer set (OLS). An encoder can transmit an OLS containing layers to scale for a particular characteristic, such as size or SNR. Spatial scalability allows a video sequence to be coded into layers such that the layers are arranged in an OLS such that each OLS contains enough data to decode the video sequence to a corresponding output screen size. Thus, spatial scalability may include a set of layers for decoding video for smartphone screens, a set of layers for decoding video for large television screens, and a set of layers for intermediate screen sizes. SNR scalability allows a video sequence to be coded into layers such that the layers are arranged in an OLS such that each OLS contains enough data to decode the video sequence at a different SNR. Thus, SNR scalability may include a set of layers that can be decoded for low-quality video, high-quality video, and various intermediate video qualities based on network conditions. Additionally, an encoder may transmit an OLS mode identification code (ols_mode_idc) syntax element, for example, in a video parameter set (VPS). The ols_mode_idc syntax element can be set to 1 to indicate the use of multiview scalability. For example, ols_mode_idc can indicate that the total number of OLSs is equal to the total number of layers specified in the VPS, that the i-th OLS includes layers 0 to i, and that for each OLS, all layers are considered as output layers. This supports scalability because a decoder can receive and decode all layers within a particular OLS. Because all layers are output layers, the decoder can select and render the desired output layer. In this way, the total number of coded layers may not affect the decoding process, and errors may be avoided while still providing scalable multiview video.Thus, the disclosed mechanisms improve the performance of the encoder and / or decoder. Furthermore, the disclosed mechanisms may reduce bitstream size and therefore reduce processor, memory, and / or network resource utilization in both the encoder and decoder.
[0047] 1 is a flowchart of an exemplary operational method 100 for coding a video signal. Specifically, a video signal is encoded by an encoder. The encoding process compresses the video signal by using various mechanisms to reduce the video file size. The smaller file size allows the compressed video file to be transmitted to a user while reducing the associated bandwidth overhead. A decoder then decodes the compressed video file to reconstruct the original video signal for display to the end user. The decoding process generally mirrors the encoding process, allowing the decoder to consistently reconstruct the video signal.
[0048] In step 101, a video signal is input to an encoder. For example, the video signal may be an uncompressed video file stored in memory. As another example, the video file may be captured by a video capture device such as a video camera and encoded to support live streaming of the video. The video file may include both an audio component and a video component. The video component includes a series of image frames that, when viewed in sequence, create the visual impression of motion. A frame includes pixels represented in terms of brightness, referred to herein as luma components (or luma samples), and color, referred to herein as chroma components (or color samples). In some examples, the frame may also include depth values to support three-dimensional displays.
[0049] In step 103, the video is partitioned into blocks. Partitioning involves subdividing pixels within each frame into square and / or rectangular blocks for compression. For example, in High Efficiency Video Coding (HEVC) (also known as H.265 and MPEG-H Part 2), a frame can first be divided into coding tree units (CTUs), which are blocks of a predetermined size (e.g., 64 pixels by 64 pixels). CTUs contain both luma samples and chroma samples. The coding tree may be used to divide the CTUs into blocks and then recursively subdivide the blocks until a configuration that supports further encoding is achieved. For example, the luma component of a frame may be subdivided until each block contains a relatively uniform brightness value. Furthermore, the chroma component of a frame may be subdivided until each block contains a relatively uniform color value. Thus, the partitioning mechanism varies depending on the content of the video frame.
[0050] In step 105, various compression mechanisms are used to compress the image blocks partitioned in step 103. For example, inter-prediction and / or intra-prediction may be used. Inter-prediction is designed to take advantage of the fact that objects in a common scene tend to appear in consecutive frames. Therefore, blocks depicting an object in a reference frame do not need to be repeatedly described in adjacent frames. Specifically, an object such as a table may remain in a constant position across multiple frames. Therefore, the table may be described once, and adjacent frames can refer back to the reference frame. A pattern matching mechanism may be used to match objects across multiple frames. Furthermore, moving objects may be represented across multiple frames, for example, due to object motion or camera motion. As a specific example, a video may show a car moving between frames. To describe such motion, a motion vector may be used. A motion vector is a two-dimensional vector that provides an offset from the coordinates of an object in one frame to the coordinates of that object in a reference frame. Thus, inter-prediction allows an image block in a current frame to be coded as a set of motion vectors that indicate an offset from a corresponding block in a reference frame.
[0051] Intra prediction encodes blocks within a common frame. It takes advantage of the fact that luma and chroma components tend to cluster within a frame. For example, some green patches in a tree tend to be located adjacent to similar green patches. Intra prediction uses multiple directional prediction modes (e.g., 33 in HEVC), planar mode and direct current (DC) mode. Directional mode indicates that the current block is similar / identical to samples of neighboring blocks in the corresponding direction. Planar mode indicates that a series of blocks (e.g., a plane) along a row / column can be interpolated based on neighboring blocks at the edge of the row. Planar mode effectively indicates a smooth transition in brightness / color across a row / column by using a relatively constant slope in changing values. DC mode is used for boundary smoothing and indicates that the block is similar / identical to the average value associated with samples of all neighboring blocks related to the angular direction of the directional prediction mode. Therefore, intra prediction blocks can be represented as various related prediction mode values instead of their actual values. Furthermore, inter-predicted blocks can represent image blocks as motion vector values instead of actual values. In either case, the predicted block may not exactly represent the image block in some cases. Any differences are stored in a residual block. A transform may be applied to the residual block to further compress the file.
[0052] Various filtering techniques may be applied in step 107. In HEVC, filters are applied according to an in-loop filtering scheme. The block-based prediction described above may result in the creation of blocky images at the decoder. Furthermore, the block-based prediction scheme may encode a block and then reconstruct the encoded block for later use as a reference block. The in-loop filtering scheme iteratively applies noise suppression filters, deblocking filters, adaptive loop filters, and sample adaptive offset (SAO) filters to a block / frame. These filters mitigate such blocking artifacts so that the encoded file can be accurately reconstructed. Furthermore, these filters mitigate artifacts in the reconstructed reference block so that the artifacts are less likely to create further artifacts in subsequent blocks that are coded based on the reconstructed reference block.
[0053] Once the video signal has been partitioned, compressed, and filtered, the resulting data is encoded into a bitstream in step 109. The bitstream includes the above data and any signaling data desired to support proper video signal reconstruction at the decoder. For example, such data may include partition data, prediction data, residual blocks, and various flags that provide coding instructions to the decoder. The bitstream may be stored in memory for transmission to the decoder upon request. The bitstream may also be broadcast and / or multicast to multiple decoders. Creation of the bitstream is an iterative process. Thus, steps 101, 103, 105, 107, and 109 may occur sequentially and / or simultaneously across many frames and blocks. The order shown in FIG. 1 is presented for clarity and ease of explanation and is not intended to limit the video coding process to any particular order.
[0054] In step 111, the decoder receives the bitstream and begins the decoding process. Specifically, the decoder uses an entropy decoding scheme to convert the bitstream into corresponding syntax and video data. In step 111, the decoder uses syntax data from the bitstream to determine partitions for the frame. The partitioning should match the results of the block partitioning in step 103. The entropy encoding / decoding used in step 111 is now described. The encoder makes many choices during the compression process, such as selecting a block partitioning scheme from several possible options based on the spatial location of values in the input image. Conveying the exact choice may use multiple bins. As used herein, a bin is a binary value treated as a variable (e.g., a bit value that can change depending on the context). Entropy coding allows the encoder to discard any options that are clearly not feasible in a particular case and retain the acceptable options. A codeword is then assigned to each acceptable option. The length of the codeword is based on the number of allowable options (e.g., one bin for two options, two bins for three to four options, etc.). The encoder then encodes the codeword for the selected option. This scheme reduces the size of the codeword because the codeword is only as large as desired to uniquely indicate a selection from a small subset of allowable options, rather than uniquely indicating a selection from a potentially large set of all possible options. The decoder then decodes the selection by determining the set of allowable options in a similar manner to the encoder. By determining the set of allowable options, the decoder can read the codeword and determine the selection made by the encoder.
[0055] In step 113, the decoder performs block decoding. Specifically, the decoder uses an inverse transform to generate a residual block. The decoder then uses the residual block and a corresponding prediction block to reconstruct an image block according to the partitioning. The prediction block may include both intra-predicted blocks and inter-predicted blocks generated by the encoder in step 105. The reconstructed image block is then positioned in a frame of the reconstructed video signal according to the partitioning data determined in step 111. The syntax for step 113 may also be conveyed in the bitstream via entropy coding as described above.
[0056] In step 115, filtering is performed on the frames of the reconstructed video signal in a manner similar to step 107 in the encoder. For example, noise suppression filters, deblocking filters, adaptive loop filters, and SAO filters may be applied to the frames to remove blocking artifacts. Once the frames have been filtered, in step 117 the video signal can be output to a display for viewing by an end user.
[0057] 2 is a schematic diagram of an exemplary coding and decoding (codec) system 200 for video coding. Specifically, codec system 200 provides functionality to support the implementation of operational method 100. Codec system 200 is generalized to show components used in both encoders and decoders. Codec system 200 receives and partitions a video signal, as described with reference to steps 101 and 103 in operational method 100, which results in partitioned video signal 201. When acting as an encoder, codec system 200 then compresses partitioned video signal 201 into a coded bitstream, as described with reference to steps 105, 107, and 109 in method 100. When acting as a decoder, codec system 200 generates an output video signal from the bitstream, as described with reference to steps 111, 113, 115, and 117 in operational method 100. Codec system 200 includes an overall coder control component 211, a transform scaling and quantization component 213, an intra-picture estimation component 215, an intra-picture prediction component 217, a motion compensation component 219, a motion estimation component 221, a scaling and inverse transform component 229, a filter control analysis component 227, an in-loop filter component 225, a decoded picture buffer component 223, and a header format and context adaptive binary arithmetic coding (CABAC) component 231. These components are coupled as shown. In Figure 2, black lines indicate the movement of data to be coded / decoded, and dashed lines indicate the movement of control data that controls the operation of other components. All of the components of codec system 200 may be present in an encoder. A decoder may include a subset of the components of codec system 200.For example, the decoder may include an intra-picture prediction component 217, a motion compensation component 219, a scaling and inverse transform component 229, an in-loop filter component 225, and a decoded picture buffer component 223. These components are now described.
[0058] The partitioned video signal 201 is a captured video sequence that has been partitioned into blocks of pixels by a coding tree. The coding tree uses various partitioning modes to subdivide the blocks of pixels into smaller blocks of pixels. These blocks can then be further subdivided into smaller blocks. The blocks may be referred to as nodes on the coding tree. Larger parent nodes are divided into smaller child nodes. The number of times a node is subdivided is referred to as the depth of the node / coding tree. The partitioned blocks can be included in a coding unit (CU) in some cases. For example, a CU can be part of a CTU that includes a luma block, a red difference chroma (Cr) block, and a blue difference chroma (Cb) block, along with corresponding syntax instructions for that CU. Partitioning modes may include a binary tree (BT), a triple tree (TT), and a quad tree (QT), which are used to partition a node into two, three, or four child nodes, respectively, of various shapes depending on the partitioning mode used. The partitioned video signal 201 is forwarded to an overall coder control component 201, a transform scaling and quantization component 213, an intra-picture estimation component 215, a filter control analysis component 227, and a motion estimation component 221 for compression.
[0059] The overall coder control component 211 is configured to make decisions related to the coding of images of a video sequence into a bitstream according to application constraints. For example, the overall coder control component 211 manages the optimization of bitrate / bitstream size versus reconstruction quality. Such decisions may be made based on storage space / bandwidth availability and image resolution requirements. The overall coder control component 211 also manages buffer utilization in relation to transmission rate to mitigate buffer underrun and overrun issues. To manage these issues, the overall coder control component 211 manages partitioning, prediction, and filtering by other components. For example, the overall coder control component 211 may dynamically increase compression complexity to increase resolution and bandwidth usage, or decrease compression complexity to decrease resolution and bandwidth usage. Thus, the overall coder control component 211 controls other components of the codec system 200 to balance video signal reconstruction quality with bitrate concerns. The overall coder control component 211 generates control data that controls the operation of other components. The control data is also forwarded to the header format and CABAC component 231 to be encoded into the bitstream to convey parameters for decoding at the decoder.
[0060] The partitioned video signal 201 is also sent to a motion estimation component 221 and a motion compensation component 219 for inter-prediction. A frame or slice of the partitioned video signal 201 may be divided into multiple video blocks. The motion estimation component 221 and the motion compensation component 219 perform inter-predictive coding of the received video blocks relative to one or more blocks in one or more reference frames to provide temporal prediction. The codec system 200 may perform multiple coding passes, for example, to select an appropriate coding mode for each block of video data.
[0061] The motion estimation component 221 and the motion compensation component 219 may be highly integrated but are illustrated separately for conceptual purposes. Motion estimation, performed by the motion estimation component 221, is the process of generating motion vectors that estimate motion for video blocks. A motion vector may indicate, for example, the displacement of an object being coded relative to a predictive block. A predictive block is a block found to closely match a block to be coded in terms of pixel differences. A predictive block may also be referred to as a reference block. Such pixel differences may be determined by sum of absolute difference (SAD), sum of square difference (SSD), or other difference metrics. HEVC uses several coded objects, including CTUs, coding tree blocks (CTBs), and CUs. For example, a CTU can be divided into CTBs, which can then be divided into CBs for inclusion in a CU. A CU can be coded as a prediction unit (PU) containing prediction data and / or a transform unit (TU) containing transformed residual data for the CU. The motion estimation component 221 generates motion vectors, PUs, and TUs by using rate-distortion analysis as part of a rate-distortion optimization process. For example, the motion estimation component 221 may determine multiple reference blocks, multiple motion vectors, etc. for the current block / frame and select the reference block, motion vector, etc. with the best rate-distortion performance. The best rate-distortion performance balances both the quality of the video reconstruction (e.g., the amount of data loss due to compression) and the coding efficiency (e.g., the size of the final encoding).
[0062] In some examples, the codec system 200 may calculate values for sub-integer pixel positions of a reference picture stored in the decoded picture buffer component 223. For example, the video codec system 200 may interpolate values for quarter-pixel positions, eighth-pixel positions, or other fractional pixel positions of a reference picture. Accordingly, the motion estimation component 221 may perform motion search for full-pixel and fractional pixel positions and output motion vectors with fractional pixel accuracy. The motion estimation component 221 calculates a motion vector for a PU of a video block in an inter-coded slice by comparing the position of the PU with the position of a predictive block in the reference picture. The motion estimation component 221 outputs the calculated motion vector to the header format and CABAC component 231 for encoding as motion data and to the motion compensation component 219 as motion.
[0063] The motion compensation performed by motion compensation component 219 may include fetching or generating a predictive block based on the motion vector determined by motion estimation component 221. Similarly, in some examples, motion estimation component 221 and motion compensation component 219 may be functionally integrated. Upon receiving the motion vector for the PU of the current video block, motion compensation component 219 may locate the predictive block to which the motion vector points. A residual video block is then formed by subtracting pixel values of the predictive block from pixel values of the current video block being coded to form pixel difference values. Generally, motion estimation component 221 performs motion estimation on the luma component, and motion compensation component 219 uses the motion vector calculated based on the luma component for both the chroma and luma components. The predictive block and the residual block are forwarded to transform scaling and quantization component 213.
[0064] The partitioned video signal 201 is also sent to an intra-picture estimation component 215 and an intra-picture prediction component 217. Like the motion estimation component 221 and the motion compensation component 219, the intra-picture estimation component 215 and the intra-picture prediction component 217 may be highly integrated but are illustrated separately for conceptual purposes. The intra-picture estimation component 215 and the intra-picture prediction component 217 intra-predict the current block relative to blocks within the current frame, as an alternative to the inter-prediction performed by the motion estimation component 221 and the motion compensation component 219 between frames, as described above. In particular, the intra-picture estimation component 215 determines an intra-prediction mode to use to encode the current block. In some examples, the intra-picture estimation component 215 selects an appropriate intra-prediction mode for encoding the current block from multiple tested intra-prediction modes. The selected intra-prediction mode is then forwarded to the header format and CABAC component 231 for encoding.
[0065] For example, the intra picture estimation component 215 may calculate rate-distortion values for various tested intra prediction modes using a rate-distortion analysis and select the intra prediction mode with the best rate-distortion characteristics among the tested modes. The rate-distortion analysis generally determines the amount of distortion (or error) between a coded block and the original uncoded block that was coded to generate the coded block, as well as the bit rate (e.g., number of bits) used to generate the coded block. The intra picture estimation component 215 may calculate a ratio from the distortion and rate for various coded blocks and determine which intra prediction mode exhibits the best rate-distortion value for the block. Furthermore, the intra picture estimation component 215 may be configured to code the depth blocks of the depth map using a depth modeling mode (DMM) based on rate-distortion optimization (RDO).
[0066] The intra-picture prediction component 217, when implemented in an encoder, may generate a residual block from the prediction block based on a selected intra-prediction mode determined by the intra-picture estimation component 215, or, when implemented in a decoder, may read the residual block from the bitstream. The residual block contains the value differences between the prediction block and the original block, represented as a matrix. The residual block is then forwarded to the transform scaling and quantization component 213. The intra-picture estimation component 215 and the intra-picture prediction component 217 may operate on both the luma and chroma components.
[0067] The transform scaling and quantization component 213 is configured to further compress the residual block. The transform scaling and quantization component 213 applies a transform, such as a discrete cosine transform (DCT), a discrete sine transform (DST), or a conceptually similar transform, to the residual block to generate a video block containing residual transform coefficient values. A wavelet transform, an integer transform, a subband transform, or other types of transforms may also be used. The transform may convert the residual information from the pixel value domain to a transform domain, such as the frequency domain. The transform scaling and quantization component 213 is also configured to scale the transformed residual information, for example, based on frequency. Such scaling may include applying scaling factors to the residual information so that different frequency information is quantized with different granularities, which may affect the final visual quality of the reconstructed video. The transform scaling and quantization component 213 is also configured to quantize the transform coefficients to further reduce the bit rate. The quantization process may reduce the bit depth associated with some or all of the coefficients. The degree of quantization may be changed by adjusting a quantization parameter. In some examples, the transform scaling and quantization component 213 may then perform a scan of a matrix containing the quantized transform coefficients. The quantized transform coefficients are forwarded to the header format and CABAC component 231 for encoding into a bitstream.
[0068] The scaling and inverse transform component 229 applies the inverse operations of the transform scaling and quantization component 213 to support motion estimation. The scaling and inverse transform component 229 applies inverse scaling, transform, and / or quantization to reconstruct a residual block in the pixel domain for later use as a reference block, which may become a prediction block for another current block, for example. The motion estimation component 221 and / or motion compensation component 219 may calculate a reference block by adding the residual block back to the corresponding prediction block for use in motion estimation of a later block / frame. A filter is applied to the reconstructed reference block to mitigate artifacts created during scaling, quantization, and transform. Such artifacts could otherwise cause inaccurate predictions (and create further artifacts) when subsequent blocks are predicted.
[0069] The filter control analysis component 227 and the in-loop filter component 225 apply filters to residual blocks and / or reconstructed image blocks. For example, to reconstruct an original image block, a transformed residual block from the scaling and inverse transform component 229 may be combined with a corresponding prediction block from the intra-picture prediction component 217 and / or the motion compensation component 219. A filter may then be applied to the reconstructed image block. In some examples, a filter may be applied to the residual block instead. Like the other components in FIG. 2, the filter control analysis component 227 and the in-loop filter component 225 may be highly integrated and implemented together, but are shown separately for conceptual purposes. The filters applied to reconstructed reference blocks are applied to specific spatial regions and include multiple parameters for adjusting how such filters are applied. The filter control analysis component 227 analyzes the reconstructed reference blocks to determine where such filters should be applied and set the corresponding parameters. Such data is forwarded to the header format and CABAC component 231 as filter control data for encoding. The in-loop filter component 225 applies such filters based on the filter control data. The filters may include deblocking filters, noise suppression filters, SAO filters, and adaptive loop filters. Such filters may be applied in the spatial / pixel domain (e.g., to reconstructed pixel blocks) or in the frequency domain, depending on the example.
[0070] When operating as an encoder, the filtered reconstructed image blocks, residual blocks, and / or prediction blocks are stored in the decoded picture buffer component 223 for later use in motion estimation as described above. When operating as a decoder, the decoded picture buffer component 223 stores the reconstructed and filtered blocks and forwards them to the display as part of the output video signal. The decoded picture buffer component 223 may be any memory device capable of storing prediction blocks, residual blocks, and / or reconstructed image blocks.
[0071] The header format and CABAC component 231 receives data from various components of the codec system 200 and encodes such data into a coded bitstream for transmission to a decoder. Specifically, the header format and CABAC component 231 generates various headers to encode control data, such as global control data and filter control data. Additionally, prediction data, including intra-prediction and motion data, and residual data in the form of quantized transform coefficient data are all encoded into the bitstream. The final bitstream contains all information required by a decoder to reconstruct the original partitioned video signal 201. Such information may also include an intra-prediction mode index table (also called a codeword mapping table), definitions of coding contexts for various blocks, indications of the most likely intra-prediction mode, indications of partition information, etc. Such data may be encoded using entropy coding. For example, the information may be encoded using context adaptive variable length coding (CAVLC), CABAC, syntax-based context-adaptive binary arithmetic coding (SBAC), probability interval partitioning entropy (PIPE) coding, or other entropy coding techniques. Following entropy coding, the coded bitstream may be transmitted to another device (e.g., a video decoder) or archived for later transmission or retrieval.
[0072] 3 is a block diagram illustrating an exemplary video encoder 300. Video encoder 300 may be used to implement the encoding functionality of codec system 200 and / or to implement steps 101, 103, 105, 107, and / or 109 of method of operation 100. Encoder 300 partitions an input video signal, resulting in a partitioned video signal 301 that is substantially similar to partitioned video signal 201. Partitioned video signal 301 is then compressed and encoded into a bitstream by components of encoder 300.
[0073] Specifically, the partitioned video signal 301 is forwarded to an intra-picture prediction component 317 for intra prediction. The intra-picture prediction component 317 may be substantially similar to the intra-picture estimation component 215 and the intra-picture prediction component 217. The partitioned video signal 301 is also forwarded to a motion compensation component 321 for inter prediction based on reference blocks in a decoded picture buffer component 323. The motion compensation component 321 may be substantially similar to the motion estimation component 221 and the motion compensation component 219. The prediction blocks and residual blocks from the intra-picture prediction component 317 and the motion compensation component 321 are forwarded to a transform and quantization component 313 for transforming and quantizing the residual blocks. The transform and quantization component 313 may be substantially similar to the transform scaling and quantization component 213. The transformed and quantized residual blocks and corresponding prediction blocks (together with associated control data) are forwarded to an entropy coding component 331 for coding into a bitstream. The entropy coding component 331 may have a header format substantially similar to the CABAC component 231 .
[0074] The transformed and quantized residual block and / or the corresponding prediction block are also forwarded from the transform and quantization component 313 to the inverse transform and quantization component 329 for reconstruction into a reference block for use by the motion compensation component 321. The inverse transform and quantization component 329 may be substantially similar to the scaling and inverse transform component 229. Depending on the example, an in-loop filter within the in-loop filter component 325 is also applied to the residual block and / or the reconstructed reference block. The in-loop filter component 325 may be substantially similar to the filter control analysis component 227 and the in-loop filter component 225. The in-loop filter component 325 may include multiple filters as described with respect to the in-loop filter component 225. The filtered block is then stored in the decoded picture buffer component 323 for use as a reference block by the motion compensation component 321. The decoded picture buffer component 323 may be substantially similar to the decoded picture buffer component 223.
[0075] 4 is a block diagram illustrating an exemplary video decoder 400. Video decoder 400 may be used to implement the decoding functionality of codec system 200 and / or to implement steps 111, 113, 115, and / or 117 of method of operation 100. Decoder 400 may, for example, receive a bitstream from encoder 300 and generate a reconstructed output video signal based on the bitstream for display to an end user.
[0076] The bitstream is received by the entropy decoding component 433. The entropy decoding component 433 is configured to implement an entropy decoding scheme, such as CAVLC, CABAC, SBAC, PIPE coding, or other entropy coding techniques. For example, the entropy decoding component 433 may use header information to provide context for interpreting additional data encoded as codewords in the bitstream. The decoded information includes any desired information for decoding the video signal, such as global control data, filter control data, partition information, motion data, prediction data, and quantized transform coefficients from the residual block. The quantized transform coefficients are forwarded to the inverse transform and quantization component 429 for reconstruction into the residual block. The inverse transform and quantization component 429 may be similar to the inverse transform and quantization component 329.
[0077] The reconstructed residual blocks and / or predictive blocks are forwarded to the intra-picture prediction component 417 for reconstructing into image blocks based on intra-prediction operations. The intra-picture prediction component 417 may be similar to the intra-picture estimation component 215 and the intra-picture prediction component 217. Specifically, the intra-picture prediction component 417 uses a prediction mode to locate a reference block within a frame and applies the residual block to the result to reconstruct an intra-predicted image block. The reconstructed intra-predicted image block and / or residual block and corresponding inter-prediction data are forwarded to the decoded picture buffer component 423 via the in-loop filter component 425. The decoded picture buffer component 423 and the in-loop filter component 425 may be substantially similar to the decoded picture buffer component 223 and the in-loop filter component 225, respectively. The in-loop filter component 425 filters the reconstructed image block, residual block, and / or predictive block, and such information is stored in the decoded picture buffer component 423. The reconstructed image blocks from the decoded picture buffer component 423 are forwarded to the motion compensation component 421 for inter-prediction. The motion compensation component 421 may be substantially similar to the motion estimation component 221 and / or the motion compensation component 219. Specifically, the motion compensation component 421 uses motion vectors from reference blocks to generate prediction blocks and applies a residual block to the result to reconstruct an image block. The resulting reconstructed blocks may also be forwarded to the decoded picture buffer component 423 via an in-loop filter component 425. The decoded picture buffer component 423 continues to store further reconstructed image blocks, which can be reconstructed into frames via the partition information. Such frames may also be arranged in a sequence. The sequence is output to a display as a reconstructed output video signal.
[0078] 5 is a schematic diagram illustrating an example multi-layer video sequence 500 configured for inter-layer prediction 521. The multi-layer video sequence 500 may be encoded by an encoder, such as codec system 200 and / or encoder 300, and decoded by a decoder, such as codec system 200 and / or decoder 400, according to method 100, for example. The multi-layer video sequence 500 is included to illustrate an example application of layers within a coded video sequence. The multi-layer video sequence 500 is any video sequence that uses multiple layers, such as layer N 531 and layer N+1 532.
[0079] In one example, multi-layer video sequence 500 may use inter-layer prediction 521. Inter-layer prediction 521 is applied between pictures 511, 512, 513, and 514 and pictures 515, 516, 517, and 518 in different layers. In the illustrated example, pictures 511, 512, 513, and 514 are part of layer N+1 532, and pictures 515, 516, 517, and 518 are part of layer N 531. A layer, such as layer N 531 and / or layer N+1 532, is a group of pictures that all relate to similar values of characteristics such as similar size, quality, resolution, signal-to-noise ratio, capacity, etc. A layer may be formally defined as a set of VCL NAL units and associated non-VCL NAL units that share the same nuh_layer_id. A VCL NAL unit is a coded NAL unit that contains video data, such as a coded slice of a picture. A non-VCL NAL unit is a NAL unit that contains non-video data, such as syntax and / or parameters that support decoding video data, performing conformance checks, or other operations.
[0080] In the illustrated example, layer N+1 532 is associated with a larger image size than layer N 531. Thus, in this example, pictures 511, 512, 513, and 514 in layer N+1 532 have a larger picture size (e.g., larger height and width, and therefore more samples) than pictures 515, 516, 517, and 518 in layer N 531. However, such pictures may be separated between layer N+1 532 and layer N 531 by other characteristics. Although only two layers, layer N+1 532 and layer N 531, are shown, a set of pictures may be separated into any number of layers based on associated characteristics. Layer N+1 532 and layer N 531 may also be indicated by a layer ID, an item of data associated with a picture that indicates that the picture is part of the indicated layer. Thus, each picture 511-518 may be associated with a corresponding layer ID to indicate which layer N+1 532 or layer N 531 contains the corresponding picture. For example, the layer ID may include a NAL unit header layer identifier (nuh_layer_id), which is a syntax element that specifies the identifier of the layer that contains the NAL unit (e.g., contains a slice and / or parameters of a picture within the layer). Layers associated with lower quality / bitstream size, such as layer N 531, are generally assigned lower layer IDs and are referred to as lower layers. Furthermore, layers associated with higher quality / bitstream size, such as layer N+1 532, are generally assigned higher layer IDs and are referred to as upper layers.
[0081] Pictures 511-518 in different layers 531-532 are configured to be displayed alternatively. As a specific example, if a smaller picture is desired, the decoder may decode and display picture 515 at the current display time, or if a larger picture is desired, the decoder may decode and display picture 511 at the current display time. Thus, pictures 511-514 in upper layer N+1 532 contain substantially the same image data as corresponding pictures 515-518 in lower layer N 531 (despite differences in picture size). Specifically, picture 511 contains substantially the same image data as picture 515, picture 512 contains substantially the same picture data as picture 516, and so on.
[0082] Pictures 511-518 can be coded by referencing other pictures 511-518 in the same layer N 531 or N+1 532. Coding a picture by referencing other pictures in the same layer results in inter-prediction 523. Inter-prediction 523 is indicated by a solid arrow. For example, picture 513 may be coded by employing inter-prediction 523 using one or two of pictures 511, 512, and / or 514 in layer N+1 532 as references, one picture referenced for unidirectional inter-prediction and / or two pictures referenced for bidirectional inter-prediction. Furthermore, picture 517 may be coded by employing inter-prediction 523 using one or two of pictures 515, 516, and / or 518 in layer N 531 as references, one picture referenced for unidirectional inter-prediction and / or two pictures referenced for bidirectional inter-prediction. When a picture is used as a reference for other pictures in the same layer when performing inter prediction 523, the picture may be called a reference picture. For example, picture 512 may be a reference picture used to code picture 513 according to inter prediction 523. Inter prediction 523 may also be called intra-layer prediction in a multi-layer context. Thus, inter prediction 523 is a mechanism for coding samples of a current picture by referencing indicated samples in a reference picture different from the current picture, where the reference picture and the current picture are in the same layer.
[0083] Pictures 511-518 can also be coded by referencing other pictures 511-518 in different layers. This process is known as inter-layer prediction 521 and is indicated by the dashed arrows. Inter-layer prediction 521 is a mechanism for coding samples of a current picture by referencing indicated samples in reference pictures, where the current picture and the reference picture are in different layers and therefore have different layer IDs. For example, a picture in lower layer N 531 can be used as a reference picture for coding a corresponding picture in upper layer N+1 532. As a specific example, picture 511 can be coded by referencing picture 515 according to inter-layer prediction 521. In such a case, picture 515 is used as the inter-layer reference picture. An inter-layer reference picture is a reference picture used for inter-layer prediction 521. In most cases, inter-layer prediction 521 is constrained so that a current picture, such as picture 511, can only use inter-layer reference pictures that are included in the same AU, such as picture 515, and that are in a lower layer. An AU is a set of pictures associated with a particular output time in a video sequence, and therefore an AU can contain only one picture per layer. When multiple layers (e.g., more than two) are available, inter-layer prediction 521 can encode / decode the current picture based on multiple inter-layer reference pictures at a lower level than the current picture.
[0084] A video encoder can use the multi-layer video sequence 500 to encode pictures 511-518 via many different combinations and / or permutations of inter-prediction 523 and inter-layer prediction 521. For example, picture 515 may be coded according to intra-prediction. Pictures 516-518 can then be coded according to inter-prediction 523 by using picture 515 as a reference picture. Furthermore, picture 511 may be coded according to inter-layer prediction 521 by using picture 515 as an inter-layer reference picture. Pictures 512-514 can then be coded according to inter-prediction 523 by using picture 511 as a reference picture. Thus, a reference picture can serve as both a single-layer reference picture and an inter-layer reference picture for different coding mechanisms. By coding pictures of the upper layer N+1 532 based on pictures of the lower layer N 531, the upper layer N+1 532 can avoid using intra prediction, which has much lower coding efficiency than inter prediction 523 and inter-layer prediction 521. Thus, the poor coding efficiency of intra prediction can be limited to pictures with the smallest / lowest quality, and therefore to coding a minimum amount of video data. Pictures used as reference pictures and / or inter-layer reference pictures can be indicated in entries of a reference picture list included in a reference picture list structure.
[0085] To perform such operations, layers such as layer N 531 and layer N+1 532 may be included in OLS 525. OLS 525 is a set of layers, one or more of which are designated as output layers. An output layer is a layer designated for output (e.g., to a display). For example, layer N 531 may be included only to support inter-layer prediction 521 and may never be output. In such a case, layer N+1 532 is decoded and output based on layer N 531. In such a case, OLS 525 includes layer N+1 532 as an output layer. OLS 525 may include many layers in different combinations. For example, an output layer in OLS 525 can be coded according to inter-layer prediction 521 based on one, two, or many lower layers. Furthermore, OLS 525 may include more than one output layer. Thus, OLS 525 may include one or more output layers and any support layers necessary to reconstruct the output layer. A multi-layered video sequence 500 can be coded using many different OLSs 525, each using a different combination of layers.
[0086] As a specific example, inter-layer prediction 521 may be used to support scalability. For example, a video may be coded into a base layer, such as layer N 531, and several enhancement layers, such as layer N+1 532, layer N+2, layer N+3, etc., that are coded according to inter-layer prediction 521. A video sequence may be coded for several scalable characteristics, such as signal-to-noise ratio (SNR), frame rate, picture size, etc. An OLS 525 may then be created for each allowable characteristic. For example, an OLS 525 for a first resolution may include only layer N 531, an OLS 525 for a second resolution may include layer N 531 and layer N+1 532, and an OLS for a third resolution may include layer N 531, layer N+1 532, layer N+2, etc. In this manner, OLS 525 can be transmitted to allow a decoder to decode whichever version of multi-layer video sequence 500 is desired, based on network conditions, hardware constraints, etc.
[0087] 6 is a schematic diagram illustrating an example video sequence 600 with an OLS configured for multi-view scalability. Video sequence 600 is a specific example of multi-layer video sequence 500. Thus, video sequence 600 can be encoded by an encoder such as codec system 200 and / or encoder 300 and decoded by a decoder such as codec system 200 and / or decoder 400, for example, according to method 100. Video sequence 600 is useful for scalability.
[0088] The exemplary video sequence 600 includes OLSs 620, 621, and 622, which may be substantially similar to OLS 525. Although three OLSs are shown, any number of OLSs may be used. Each OLS 620, 621, and 622 is referenced by an OLS index and includes one or more layers. Specifically, OLSs 620, 621, and 622 include layers 630, 630, and 631, and layers 630, 631, and 632, respectively. Layers 630, 631, and 632 may be substantially similar to layer N 531 and layer N+1 532. Layers 630, 631, and 632 are referenced by layer indexes. The video sequence 600 includes the same number of layers as the number of OLSs. Specifically, OLS 620 with the lowest OLS index includes layer 630 with the lowest layer index. Each other OLS includes all layers of the previous OLS with a lower OLS index plus one. For example, OLS 621 has a higher OLS index than OLS 620 and includes layers 630 and 631, which are all layers of OLS 620 plus one. Similarly, OLS 622 has a higher OLS index than OLS 621 and includes layers 630, 631, and 632, which are all layers of OLS 621 plus one. This pattern may continue until the layer with the highest layer index and the OLS with the highest OLS index are reached.
[0089] Furthermore, layer 630 is a base layer. All other layers 631 and 632 are enhancement layers coded according to inter-layer prediction based on all layers with lower layer indices. Specifically, layer 630 is a base layer and is not coded according to inter-layer prediction. Layer 631 is an enhancement layer coded according to inter-layer prediction based on layer 630. Furthermore, layer 632 is an enhancement layer coded according to inter-layer prediction based on layers 630 and 631. The result is that OLS 620 includes layer 630, which has the lowest quality SNR and / or smallest picture size. Because OLS 620 does not use inter-layer prediction at all, OLS 620 can be fully decoded without reference to any layers except layer 630. OLS 621 includes layer 631, which has a higher quality SNR and / or picture size than layer 630, and because OLS 621 also includes layer 630, layer 631 can be fully decoded according to inter-layer prediction. Similarly, OLS 622 includes layer 632, which has a higher quality SNR and / or image size than layers 630 and 631, and because OLS 622 also includes layers 630 and 631, layer 632 can be fully decoded according to inter-layer prediction. Thus, video sequence 600 is coded to scale to any pre-selected SNR and / or image size by sending the corresponding OLS 622, 621, or 620 to the decoder. When more OLSs 622, 621, and 620 are used, video sequence 600 can be scaled to more SNR image qualities and / or image sizes.
[0090] Thus, video sequence 600 can support spatial scalability. Spatial scalability allows video sequence 600 to be coded into layers 630, 631, and 632, such that layers 630, 631, and 632 are arranged in OLSs 620, 621, and 622 such that each OLS 620, 621, and 622 contains enough data to decode video sequence 600 to a corresponding output screen size. Thus, spatial scalability may include a set of layers (e.g., layer 630) for decoding video for smartphone screens, a set of layers (e.g., layers 630, 631, 632) for decoding video for large television screens, and a set of layers (e.g., layers 630, 631) for intermediate screen sizes. SNR scalability allows video sequence 600 to be coded into layers 630, 631, and 632, such that layers 630, 631, and 632 are arranged in OLSs 620, 621, and 622 such that each OLS 620, 621, and 622 contains enough data to decode video sequence 600 at different SNRs. SNR scalability may therefore include a set of layers (e.g., layer 630) that can be decoded for low-quality video, high-quality video (e.g., layers 630, 631, and 632), and various intermediate video qualities (e.g., layers 630 and 631) to support different network conditions.
[0091] This disclosure provides efficient signaling to enable video sequence 600 with multiview layers to be used correctly and efficiently. As an example, layers 630, 631, and 632 may all be designated as output layers. A decoder can then select and render layers 630, 631, and 632 as desired to achieve multiview. To support this implementation, the coding of video sequence 600 may be indicated according to the ols_mode_idc syntax element. For example, the ols_mode_idc syntax element may identify video sequence 600 as OLS mode 1. Thus, the ols_mode_idc syntax element may be set to 1 and conveyed in the bitstream to indicate that video sequence 600 is to be used. Thus, the decoder can receive any OLS and determine based on ols_mode_idc that the number of OLSs 620, 621, and 622 is the same as the number of layers 630, 631, and 632, that the current OLS ID of i indicates that the current OLS includes set layers with IDs from 0 to i, and that all layers in the current OLS are output layers. The decoder can then decode and display layers 630, 631, and / or 632 from OLSs 620, 621, and / or 622 as desired to achieve multiview.
[0092] 7 is a schematic diagram illustrating an example bitstream 700 including an OLS configured for multi-view scalability. For example, bitstream 700 can be generated by codec system 200 and / or encoder 300 for decoding by codec system 200 and / or decoder 400 according to method 100. Furthermore, bitstream 700 may include coded multi-layer video sequence 500 and / or video sequence 600.
[0093] The bitstream 700 includes a VPS 711, one or more sequence parameter sets (SPS) 713, multiple picture parameter sets (PPS) 715, multiple slice headers 717, and image data 720. The VPS 711 includes data related to the entire bitstream 700. For example, the VPS 711 may include data related to the image sequence, layers, and / or sublayers used in the bitstream 700. The SPS 713 includes sequence data common to all pictures in a coded video sequence included in the bitstream 700. For example, each layer may include one or more coded video sequences, and each coded video sequence may reference the SPS 713 for corresponding parameters. Parameters in the SPS 713 may include picture size, bit depth, coding tool parameters, bitrate limits, etc. It should be noted that while each sequence references an SPS 713, in some instances, a single SPS 713 may include data for multiple sequences. The PPS 715 contains parameters that apply to the entire picture. Thus, each picture in a video sequence may reference the PPS 715. While each picture references the PPS 715, it should be noted that in some instances, a single PPS 715 may contain data for multiple pictures. For example, multiple similar pictures may be coded according to similar parameters. In such cases, a single PPS 715 may contain data for such similar pictures. The PPS 715 may indicate coding tools, quantization parameters, offsets, etc. available for slices within the corresponding picture.
[0094] The slice header 717 contains parameters specific to each slice 727 in a picture 725. Thus, there may be one slice header 717 per slice 727 in a video sequence. The slice header 717 may include slice type information, POC, a reference picture list, prediction weights, tile entry points, deblocking parameters, etc. It should be noted that in some examples, the bitstream 700 may also include a picture header, which is a syntax structure that contains parameters that apply to all slices 727 in a single picture. For this reason, the picture header and slice header 717 may be used interchangeably in some contexts. For example, certain parameters may be moved between the slice header 717 and the picture header depending on whether such parameters are common to all slices 727 in a picture 725.
[0095] Image data 720 includes video data coded according to inter-prediction and / or intra-prediction, as well as corresponding transformed and quantized residual data. For example, image data 720 may include layers 723 of picture 725. Layers 723 may be organized into image layers 721. OLSs 721 may be substantially similar to OLSs 525, 620, 621, and / or 622. Specifically, OLSs 721 are a set of layers 723 in which one or more layers 723 are designated as output layers. When layers 723 include multiview video, all of layers 723 may be designated as output layers. For example, bitstream 700 may be coded to include several OLSs 721 having video coded at different resolutions, frame rates, picture 725 sizes, etc. Upon request by a decoder, a sub-bitstream extraction process can remove all but the requested OLSs 721 from bitstream 700. The encoder can then transmit to the decoder a bitstream 700 that contains only the requested OLS 721, and therefore only the video that meets the required criteria.
[0096] Layer 723 may be substantially similar to layer N 531, layer N+1 532, and / or layers 631, 632, and / or 633. Layer 723 is generally a set of coded pictures 725. Layer 723 may be formally defined as a set of VCL NAL units that, when decoded, share specified characteristics (e.g., a common resolution, frame rate, picture size, etc.). Pictures 725 may be coded as a set of VCL NAL units. Layer 723 also includes associated non-VCL NAL units to support decoding of the VCL NAL units. VCL NAL units of layer 723 may share a particular value of an exemplary layer ID, nuh_layer_id. Layer 723 may be a simulcast layer coded without inter-layer prediction or a layer 723 coded according to inter-layer prediction based on other layers.
[0097] A picture 725 is an array of luma samples and / or chroma samples that make up a frame or a field thereof. For example, a picture 725 may be a coded image that may be output for display or used to support coding of other pictures 725 for output. A picture 725 may include a set of VCL NAL units. A picture 725 includes one or more slices 727. A slice 727 may be defined as an integer number of complete tiles or an integer number of contiguous complete coding tree unit (CTU) rows (e.g., within a tile) of a picture 725 that are exclusively contained in a single NAL unit, specifically a VCL NAL unit. A slice 727 is further divided into CTUs and / or coding tree blocks (CTBs). A CTU is a group of samples of a predetermined size that can be partitioned by a coding tree. A CTB is a subset of a CTU and contains the luma or chroma component of the CTU. A CTU / CTB is further divided into coding blocks based on the coding tree. The coding block can then be encoded / decoded according to a prediction mechanism.
[0098] This disclosure includes mechanisms for supporting spatial and / or SNR scalability for multiview video, for example, by using video sequence 600. For example, VPS 711 may include ols_mode_idc 735. ols_mode_idc 735 is a syntax element that indicates information related to the number of OLSs 721, layers 723 of the OLSs 721, and output layers 723 within the OLSs 721. An output layer 723 is any layer that is designated to be output by a decoder rather than simply being used for reference-based coding. ols_mode_idc 735 may be set to 0 or 2 to code other types of video. ols_mode_idc 735 can be set to 1 for spatial and / or SNR scalability for multiview video. For example, ols_mode_idc735 can be set to 1 to indicate that the total number of OLSs721 in the video sequence is equal to the total number of layers723 specified in the VPS711, the i-th OLS721 includes layers 0 to i, and for each OLS721, all layers included in the OLS721 are output layers. This set of conditions may describe a video sequence 600 having any number of OLSs721. The advantage of using ols_mode_idc735 is that it provides bit savings. A decoder in an application system typically receives only a single OLS. However, ols_mode_idc735 also provides bit savings in coded bitstreams that include multiple OLSs where much data is shared, thus providing savings for the streaming server and bandwidth savings for transmitting such bitstreams. Specifically, the advantage of setting ols_mode_idc735 to 1 is to support use cases such as multi-view applications, where two or more views, each represented by a single layer, are output and displayed simultaneously.
[0099] In some examples, the VPS 711 also includes a VPS maximum layers minus 1 (vps_max_layers_minus1) 737 syntax element. vps_max_layers_minus1 737 is a syntax element that conveys the number of layers 723 specified by the VPS 711 and, therefore, the maximum number of layers 723 allowed in the corresponding coded video sequence in the bitstream 700. ols_mode_idc 735 may reference the vps_max_layers_minus1 737 syntax element. For example, ols_mode_idc 735 may indicate that the total number of OLS 721 is equal to the number of layers 723 specified by vps_max_layers_minus1 737.
[0100] Additionally, the VPS 711 may include each_layer_is_an_ols_flag 733. Each_layer_is_an_ols_flag 733 is a syntax element that conveys whether each OLS 721 in the bitstream 700 includes a single layer 723. For example, when scalability is not used, each OLS 721 may include a single simulcast layer. Thus, each_layer_is_an_ols_flag 733 can be set (e.g., to 0) to indicate that one or more OLSs 721 include more than one layer 723 to support scalability. Thus, each_layer_is_an_ols_flag 733 can be used to support scalability. For example, a decoder can examine each_layer_is_an_ols_flag 733 to determine that some of the OLSs 721 include more than one layer 723. When each_layer_is_an_ols_flag 733 is set to 0 and ols_mode_idc 735 is set to 1 (or 0 when used in a different mode), the total number of OLSs (TotalNumOlss) can be set equal to vps_max_layers_minus1 737. TotalNumOlss is a variable used by both the decoder and the hypothetical reference decoder (HRD) in the encoder. TotalNumOlss is a variable used to store the number of OLSs 721 based on the data in the bitstream 700. TotalNumOlss can then be used for decoding in the decoder or for checking for bitstream 700 errors in the HRD in the encoder.
[0101] The VPS 711 may also include a VPS layer identifier (vps_layer_id[i]) 731 syntax element. The vps_layer_id[i] 731 is an array that stores the layer ID (e.g., nuh_layer_id) of each layer. Thus, vps_layer_id[i] 731 indicates the layer ID of the i-th layer.
[0102] The decoder or HRD may be able to use the data in the VPS 711 to determine the configuration of the OLS 721 and layers 723. In a specific example, the number of layers in the ith OLS (numLayersInOls[i]) and the layer ID in the OLS (LayerIdInOLS[i][j]) specifying the nuh_layer_id value of the jth layer in the ith OLS are as follows: NumLayersInOls[0]=1 LayerIdInOls[0][0]=vps_layer_id[0] for(i=1,i <TotalNumOlss;i++){ if(each_layer_is_an_ols_flag){ NumLayersInOls[i]=1 LayerIdInOls[i][0]=vps_layer_id[i] }else if(ols_mode_idc==0||ols_mode_idc==1){ NumLayersInOls[i]=i+1 for(j=0;j <NumLayersInOls[i];j++) LayerIdInOls[i][j]=vps_layer_id[j] where vps_layer_id[i] is the i-th VPS layer identifier, TotalNumOlss is the total number of OLSs specified by the VPS, and each_layer_is_an_ols_flag is a flag for each layer that specifies whether at least one OLS contains more than one layer.
[0103] The data in the VPS 711 can be used to support SNR and / or spatially scalable layers 723, including multiview video. The layers 723 can be coded and included in the OLS 721. The encoder can transmit a bitstream 700, including the requested OLS 721 and VPS 711, to a decoder. The decoder can then use the information in the VPS 711 to accurately decode the layers 723 in the OLS 721. This approach supports coding efficiency while supporting scalability. Specifically, the decoder can quickly determine the number of layers 723 in the OLS 721, determine that all layers in the OLS 721 are output layers, and decode the output layers according to inter-layer prediction. The decoder can then select the output layers to be rendered to achieve multiview. Thus, the decoder may receive the layers 723 necessary to decode the views for multiview, and the decoder can decode and display pictures 725 from the layers 723 as desired. In this way, the total number of coded layers 723 may not affect the decoding process, and one or more of the errors described above may be avoided. Thus, the disclosed mechanism improves the performance of the encoder and / or decoder. Furthermore, the disclosed mechanism may reduce bitstream size, and therefore reduce processor, memory, and / or network resource utilization in both the encoder and decoder.
[0104] The above information will be described in more detail below. Layered video coding is also referred to as scalable video coding or scalable video coding. Scalability in video coding may be supported by using multi-layer coding techniques. A multi-layer bitstream includes a base layer (BL) and one or more enhancement layers (EL). Examples of scalability include spatial scalability, quality / signal-to-noise ratio (SNR) scalability, multiview scalability, frame rate scalability, etc. When a multi-layer coding technique is used, a picture or a portion thereof may be coded without using a reference picture (intra-prediction), coded by referencing a reference picture in the same layer (inter-prediction), and / or coded by referencing a reference picture in another layer (inter-layer prediction). A reference picture used for inter-layer prediction of a current picture is called an inter-layer reference picture (ILRP). FIG. 5 shows an example of multi-layer coding for spatial scalability where pictures in different layers have different resolutions.
[0105] Some video coding families provide support for scalability in profiles other than those for single-layer coding. Scalable video coding (SVC) is a scalable extension of advanced video coding (AVC) that provides support for spatial, temporal, and quality scalability. For SVC, a flag is signaled in each EL macroblock (MB) in an EL picture to indicate whether the EL macroblock is predicted using a co-located block from a lower layer. Predictions from co-located blocks may include texture, motion vectors, and / or coding modes. SVC implementations may not directly reuse unmodified AVC implementations in their designs. The SVC EL macroblock syntax and decoding process are different from the AVC syntax and decoding process.
[0106] Scalable HEVC (SHVC) is an extension of HEVC that provides support for spatial and quality scalability. Multiview HEVC (MV-HEVC) is an extension of HEVC that provides support for multiview scalability. 3D HEVC (3D-HEVC) is an extension of HEVC that provides support for more advanced and efficient 3D video coding than MV-HEVC. Temporal scalability may be included as an integral part of a single-layer HEVC codec. In multi-layer extensions of HEVC, decoded pictures used for inter-layer prediction originate only from the same AU and are treated as long-term reference pictures (LTRPs). Such pictures are assigned reference indices in a reference picture list along with other temporal reference pictures in the current layer. Inter-layer prediction (ILP) is achieved at the prediction unit (PU) level by setting the value of a reference index to refer to an inter-layer reference picture in the reference picture list. Spatial scalability involves resampling a reference picture or part of it when the ILRP has a different spatial resolution than the current picture being coded or decoded. Resampling of the reference picture can be achieved either at the picture level or at the coding block level.
[0107] VVC may also support layered video coding. A VVC bitstream can include multiple layers. The layers can all be independent of each other. For example, each layer can be coded without using inter-layer prediction. In this case, the layers are also referred to as simulcast layers. In some cases, some of the layers are coded using ILP. A flag in the VPS can indicate whether a layer is a simulcast layer or whether some layers use ILP. When some layers use ILP, layer dependencies between layers are also conveyed in the VPS. Unlike SHVC and MV-HEVC, VVC does not require an OLS to be specified. The OLS includes a specified set of layers, and one or more layers in the set of layers are designated as output layers. An output layer is a layer of the OLS that is output. In some implementations of VVC, when a layer is a simulcast layer, only one layer may be selected for decoding and output. In some implementations of VVC, the entire bitstream including all layers is designated to be decoded when any layer uses ILP. Furthermore, certain layers among the layers are designated as output layers. The output layer may be designated as the highest layer only, all layers, or the highest layer plus a designated set of lower layers.
[0108] The above aspect involves certain problems. In some video coding systems, when inter-layer prediction is used, the entire bitstream and all layers are specified to be decoded, and a specific layer among the layers is specified as the output layer. The output layer may be indicated as only the highest layer, all layers, or the highest layer plus a designated set of lower layers. To simplify the problem description, two layers may be used by a higher layer that uses a lower layer for inter-layer prediction reference. For multiview scalability, the system should specify the use of only the lower layer (decoding and outputting only the lower layer). The system should also specify the use of both layers (decoding and outputting both layers). Unfortunately, this is not possible in some video coding systems.
[0109] Generally, this disclosure describes techniques for simple and efficient signaling of output layer sets (OLS) for multiview scalability. The description of the technique is based on VVC from ITU-T and ISO / IEC JVET. However, the technique also applies to layered video coding based on other video codec specifications.
[0110] One or more of the above problems may be solved as follows. Specifically, this disclosure includes a simple and efficient method for signaling OLSs for spatial and SNR scalability. A video coding system may use a VPS to indicate that some layers use ILPs, the total number of OLSs specified by the VPS is equal to the number of layers, the i-th OLS includes layers with layer indices 0 to i, and for each OLS, only the highest layer in the OLS is output.
[0111] An exemplary implementation of the above mechanism is as follows: An exemplary video parameter set syntax is as follows: [Table 1] TIFF0007819384000002.tif192170
[0112] The semantics of an example video parameter set are as follows: A VPS RBSP should be available to the decoding process before being referenced, should be included in at least one access unit with TemporalId equal to 0, or should be provided through an external mechanism, and the VPS NAL unit containing the VPS RBSP should have nuh_layer_id equal to vps_layer_id[0]. All VPS NAL units with a particular value of vps_video_parameter_set_id in a CVS should have the same content. vps_video_parameter_set_id provides an identifier for the VPS for referencing by other syntax elements. vps_max_layers_minus1 plus 1 specifies the maximum allowed number of layers in each CVS that references the VPS. vps_max_sub_layers_minus1 plus 1 specifies the maximum number of temporal sublayers that can exist in each CVS that references the VPS. The value of vps_max_sub_layers_minus1 should be in the range 0 to 6, inclusive.
[0113] vps_all_independent_layers_flag may be set equal to 1 to specify that all layers in the CVS are coded independently without using inter-layer prediction. vps_all_independent_layers_flag may be set equal to 0 to specify that one or more of the layers in the CVS may use inter-layer prediction. When not present, the value of vps_all_independent_layers_flag is inferred to be equal to 1. When vps_all_independent_layers_flag is equal to 1, the value of vps_independent_layer_flag[i] is inferred to be equal to 1. When vps_all_independent_layers_flag is equal to 0, the value of vps_independent_layer_flag[0] is inferred to be equal to 1. vps_layer_id[i] specifies the nuh_layer_id value of the i-th layer. For any two non-negative integer values of m and n, when m is less than n, the value of vps_layer_id[m] should be less than vps_layer_id[n]. vps_independent_layer_flag[i] may be set equal to 1 to specify that the layer with index i does not use inter-layer prediction. vps_independent_layer_flag[i] may be set equal to 0 to specify that the layer with index i may use inter-layer prediction and vps_layer_dependency_flag[i] is present in the VPS. When not present, the value of vps_independent_layer_flag[i] is inferred to be equal to 1.
[0114] vps_direct_dependency_flag[i][j] may be set equal to 0 to specify that the layer with index j is not a direct reference layer for the layer with index i. vps_direct_dependency_flag[i][j] may be set equal to 1 to specify that the layer with index j is a direct reference layer for the layer with index i. When vps_direct_dependency_flag[i][j] is not present for i and j in the range 0 to vps_max_layers_minus1, inclusive, vps_direct_dependency_flag[i][j] is inferred to be equal to 0. The variable DirectDependentLayerIdx[i][j] specifying the jth directly dependent layer of the ith layer is as follows, i.e. for(i=1;i <vps_max_layers_minus1;i++) if(!vps_independent_layer_flag[i]) for(j=i,k=0;j>=0;j--) if(vps_direct_dependency_flag[i][j]) DirectDependentLayerIdx[i][k++]=j It is derived as follows.
[0115] The variable GeneralLayerIdx[i] specifying the layer index of the layer with nuh_layer_id equal to vps_layer_id[i] is defined as follows, i.e. for(i=0;i<=vps_max_layers_minus1;i++) GeneralLayerIdx[vps_layer_id[i]]=i It is derived as follows.
[0116] each_layer_is_an_ols_flag may be set equal to 1 to specify that each output layer set contains only one layer, with each layer in the bitstream itself being an output layer set, such that the single included layer is the only output layer. each_layer_is_an_ols_flag may be set equal to 0 to specify that the output layer set may contain more than one layer. If vps_max_layers_minus1 is equal to 0, the value of each_layer_is_an_ols_flag is inferred to be equal to 1. Otherwise, when vps_all_independent_layers_flag is equal to 0, the value of each_layer_is_an_ols_flag is inferred to be equal to 0.
[0117] ols_mode_idc may be set equal to 0 to specify that the total number of OLSs specified by the VPS is equal to vps_max_layers_minus1+1, the i-th OLS contains layers with layer indices 0 to i, inclusive, and for each OLS, only the highest layer in the OLS is output. ols_mode_idc may be set equal to 1 to specify that the total number of OLSs specified by the VPS is equal to vps_max_layers_minus1+1, the i-th OLS contains layers with layer indices 0 to i, inclusive, and for each OLS, all layers in the OLS are output. ols_mode_idc may be set equal to 2 to specify that the total number of OLSs specified by the VPS are explicitly signaled, and for each OLS, the highest layer in the OLS and the set of explicitly signaled lower layers are output. The value of ols_mode_idc should be in the range 0 to 2, inclusive. The value 3 for ols_mode_idc is reserved. When vps_all_independent_layers_flag is equal to 1 and each_layer_is_an_ols_flag is equal to 0, the value of ols_mode_idc is inferred to be equal to 2.
[0118] num_output_layer_sets_minus1 plus 1 specifies the total number of OLSs specified by the VPS when ols_mode_idc is equal to 2. The variable TotalNumOlss, which specifies the total number of OLSs specified by the VPS, is as follows: if(vps_max_layers_minus1==0) TotalNumOlss=1 else if(each_layer_is_an_ols_flag||ols_mode_idc==0||ols_mode_idc==1) TotalNumOlss=vps_max_layers_minus1+1 else if(ols_mode_idc==2) TotalNumOlss=num_output_layer_sets_minus1+1 It is derived as follows.
[0119] layer_included_flag[i][j] specifies whether the jth layer (e.g., the layer with nuh_layer_id equal to vps_layer_id[j]) is included in the ith OLS when ols_mode_idc is equal to 2. layer_included_flag[i][j] may be set equal to 1 to specify that the jth layer is included in the ith OLS. layer_included_flag[i][j] may be set equal to 0 to specify that the jth layer is not included in the ith OLS.
[0120] The variable NumLayersInOls[i], which specifies the number of layers in the i-th OLS, and the variable LayerIdInOls[i][j], which specifies the nuh_layer_id value of the j-th layer in the i-th OLS, are defined as follows: NumLayersInOls[0]=1 LayerIdInOls[0][0]=vps_layer_id[0] for(i=1,i <TotalNumOlss;i++){ if(each_layer_is_an_ols_flag){ NumLayersInOls[i]=1 LayerIdInOls[i][0]=vps_layer_id[i] }else if(ols_mode_idc==0||ols_mode_idc==1){ NumLayersInOls[i]=i+1 for(j=0;j <NumLayersInOls[i];j++) LayerIdInOls[i][j]=vps_layer_id[j] }else if(ols_mode_idc==2){ for(k=0,j=0;k<=vps_max_layers_minus1;k++) if(layer_included_flag[i][k]) LayerIdInOls[i][j++]=vps_layer_id[k] NumLayersInOls[i]=j } } It may be derived as follows:
[0121] The variable OlsLayeIdx[i][j] specifying the OLS layer index of the layer with nuh_layer_id equal to LayerIdInOls[i][j] is defined as follows, i.e., for(i=0,i <TotalNumOlss;i++) for j=0;j <NumLayersInOls[i];j++) OlsLayeIdx[i][LayerIdInOls[i][j]]=j It may be derived as follows:
[0122] The lowest layer in each OLS should be an independent layer. In other words, for each i in the range 0 to TotalNumOlss-1, inclusive, the value of vps_independent_layer_flag[GeneralLayerIdx[LayerIdInOls[i][0]]] should be equal to 1. Each layer may be included in at least one OLS specified by the VPS. In other words, for each layer with a particular value of nuh_layer_id (e.g., nuhLayerId equals one of vps_layer_id[k] for k in the range 0 to vps_max_layers_minus1, inclusive), there should be at least one pair of i and j values, where i is in the range 0 to TotalNumOlss-1, and j is in the range NumLayersInOls[i]-1, inclusive, such that the value of LayerIdInOls[i][j] is equal to nuhLayerId. Any layer in the OLS may be the output layer of the OLS or a reference layer (direct or indirect) of the output layer of the OLS.
[0123] vps_output_layer_flag[i][j] specifies whether the jth layer in the ith OLS is output when ols_mode_idc is equal to 2. vps_output_layer_flag[i] may be set equal to 1 to specify that the jth layer in the ith OLS is output. vps_output_layer_flag[i] may be set equal to 0 to specify that the jth layer in the ith OLS is not output. When vps_all_independent_layers_flag is equal to 1 and each_layer_is_an_ols_flag is equal to 0, the value of vps_output_layer_flag[i] can be inferred to be equal to 1.
[0124] The variable OutputLayerFlag[i][j], where a value of 1 specifies that the jth layer in the ith OLS is output and a value of 0 specifies that the jth layer in the ith OLS is not output, is defined as follows: for(i=0,i <TotalNumOlss;i++){ OutputLayerFlag[i][NumLayersInOls[i]-1]=1 for(j=0;j <NumLayersInOls[i]-1;j++) if(ols_mode_idc[i]==0) OutputLayerFlag[i][j]=0 else if(ols_mode_idc[i]==1) OutputLayerFlag[i][j]=1 else if(ols_mode_idc[i]==2) OutputLayerFlag[i][j]=vps_output_layer_flag[i][j] } It may be derived as follows:
[0125] The 0th OLS includes only the lowest layer (e.g., the layer with nuh_layer_id equal to vps_layer_id[0]), and for the 0th OLS, only the included layers are output. vps_constraint_info_present_flag may be set equal to 1 to specify that the general_constraint_info() syntax structure is present in the VPS. vps_constraint_info_present_flag may be set equal to 0 to specify that the general_constraint_info() syntax structure is not present in the VPS. vps_reserved_zero_7bits should be equal to 0 in a conforming bitstream. Other values for vps_reserved_zero_7bits are reserved. Decoders should ignore the value of vps_reserved_zero_7bits.
[0126] general_hrd_params_present_flag may be set equal to 1 to specify that the syntax elements num_units_in_tick and time_scale and the syntax structure general_hrd_parameters() are present in the SPS RBSP syntax structure. general_hrd_params_present_flag may be set equal to 0 to specify that the syntax elements num_units_in_tick and time_scale and the syntax structure general_hrd_parameters() are not present in the SPS RBSP syntax structure. num_units_in_tick is the number of time units of a clock running at a frequency time_scale Hertz (Hz) that corresponds to one increment (called a clock tick) of the clock tick counter. num_units_in_tick should be greater than 0. A clock tick in units of seconds is equal to num_units_in_tick divided by time_scale. For example, when the picture rate of the video signal is 25 Hz, time_scale may be equal to 27000000 and num_units_in_tick may be equal to 1080000, so that a clock tick may be equal to 0.04 seconds.
[0127] time_scale is the number of time units that elapse in one second. For example, a time coordinate system that measures time using a 27 megahertz (MHz) clock has a time_scale of 27,000,000. The value of time_scale should be greater than 0. vps_extension_flag may be set equal to 0 to specify that the vps_extension_data_flag syntax element is not present in the VPS RBSP syntax structure. vps_extension_flag may be set equal to 1 to specify that the vps_extension_data_flag syntax element is present in the VPS RBSP syntax structure. vps_extension_data_flag may have any value. The presence and value of vps_extension_data_flag do not affect a decoder's conformance to the profile. Conforming decoders should ignore all vps_extension_data_flag syntax elements.
[0128] 8 is a schematic diagram of an exemplary video coding device 800. The video coding device 800 is suitable for implementing examples / embodiments of the disclosure as described herein. The video coding device 800 includes a downstream port 820, an upstream port 850, and / or a transceiver unit (Tx / Rx) 810 including a transmitter and / or receiver for communicating data upstream and / or downstream over a network. The video coding device 800 also includes a processor 830 including a logic unit and / or central processing unit (CPU) for processing data and a memory 832 for storing data. The video coding device 800 may also include electrical, optical-to-electrical (OE), electrical-to-optical (EO), and / or wireless communication components coupled to the upstream port 850 and / or downstream port 820 for communicating data over an electrical, optical, or wireless communication network. Video coding device 800 may also include input and / or output (I / O) devices 860 for communicating data to and from a user. I / O devices 860 may include output devices such as a display for displaying video data, speakers for outputting audio data, etc. I / O devices 860 may also include input devices such as a keyboard, mouse, trackball, etc., and / or corresponding interfaces for interacting with such output devices.
[0129] The processor 830 is implemented in hardware and software. The processor 830 may be implemented as one or more CPU chips, cores (e.g., as a multi-core processor), field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), and digital signal processors (DSPs). The processor 830 communicates with the downstream port 820, the Tx / Rx 810, the upstream port 850, and the memory 832. The processor 830 includes a coding module 814. The coding module 814 implements embodiments of the disclosure described herein, such as methods 100, 900, and 1000, which may use the multi-layer video sequence 500, the video sequence 600, and / or the bitstream 700. The coding module 814 may also implement any other method / mechanism described herein. Additionally, the coding module 814 may implement the codec system 200, the encoder 300, and / or the decoder 400. For example, coding module 814 may be used to code a video sequence into layers and / or OLSs to support multiview scalability. For example, coding module 814 may encode and / or decode an ols_mode_idc syntax element into and / or from a VPS in the bitstream. The ols_mode_idc syntax element may indicate that the total number of OLSs in the video sequence is equal to the total number of layers specified in the VPS, that the i-th OLS includes layers from 0 to i, inclusive, and that for each OLS, all layers in the OLS are output. Thus, coding module 814 may use the ols_mode_idc syntax element to indicate / determine that all layers received from the scalable video can be decoded and displayed as desired to achieve multiview video.Coding module 814 may therefore provide video coding device 800 with additional functionality and / or coding efficiency when coding video data. Coding module 814 may therefore improve the functionality of video coding device 800 and address problems specific to the video coding field. Furthermore, coding module 814 may effect transitions of video coding device 800 into different states. Alternatively, coding module 814 may be implemented as instructions stored in memory 832 and executed by processor 830 (e.g., as a computer program product stored on a non-transitory medium).
[0130] Memory 832 may include one or more memory types such as a disk, a tape drive, a solid-state drive, read only memory (ROM), random access memory (RAM), flash memory, ternary content-addressable memory (TCAM), static random-access memory (SRAM), etc. Memory 832 may be used as an overflow data storage device to store such programs when such programs are selected for execution and to store instructions and data read during program execution.
[0131] 9 is a flowchart of an example method 900 for encoding a video sequence with an OLS configured for multi-view scalability, such as multi-layer video sequence 500 and / or video sequence 600 in bitstream 700. Method 900 may be used by an encoder, such as codec system 200, encoder 300, and / or video coding device 800, when performing method 100.
[0132] Method 900 may begin when an encoder receives a video sequence and determines, e.g., based on user input, to encode the video sequence as a scalable multiview video sequence within a set of layers and an OLS. The video sequence may be configured to support multiview and may be coded to support SNR scalability, spatial scalability, scalability according to other properties described herein, or a combination thereof. In step 901, the encoder may encode a bitstream including one or more OLSs that include one or more layers of a coded picture. For example, the layers may include a base layer with the lowest layer ID and various enhancement layers with increasing layer IDs. Each enhancement layer with a layer ID of j may be coded according to inter-layer prediction based on the base layer and any enhancement layers with layer IDs less than j. The OLS may include an OLS ID, which may be denoted by i to distinguish it from a layer ID of j. For example, there may be one OLS per layer. Thus, an OLS with an OLS ID of i may include an output layer with a layer ID of j, where i is equal to i. An OLS with an OLS ID of i may also include all layers with layer IDs from 0 to j-1 inclusive. In this example, all layers may be set as output layers. As an example, an OLS with an OLS ID of 5 may include layers 0 to 5, and each layer is designated as an output layer.
[0133] In step 903, the encoder encodes the VPS into a bitstream. The configuration of OLSs and layers may be indicated by the VPS. The VPS includes an ols_mode_idc syntax element. ols_mode_idc may be set to specify that the total number of OLSs specified by the VPS is equal to the number of layers specified by the VPS. Furthermore, ols_mode_idc may be set to specify that the i-th OLS includes layers with layer indices greater than or equal to 0 and less than or equal to i and / or j (e.g., in this case, i is equal to j). ols_mode_idc may also be set to specify, for each OLS, that all layers in each OLS are output layers. For example, ols_mode_idc may be set to one of several modes. The above modes may be signaled when ols_mode_idc is set to 1. In some examples, the VPS may also include vps_max_layers_minus1, which specifies the number of layers specified by the VPS. This is also the maximum allowable number of layers in each CVS that references the VPS. ols_mode_idc may refer to vps_max_layers_minus1.
[0134] As an example, a video sequence may be decoded in a hypothetical reference decoder (HRD) in a decoder and / or encoder for standard validation purposes. When decoding a video sequence, the total number of OLSs (TotalNumOlss) variable for the video sequence may be set equal to vps_max_layers_minus1 plus 1 when each_layer_is_an_ols_flag in the VPS is set to 0, when ols_mode_idc is set to 0, or when ols_mode_idc is set to 1. As a specific example, the number of layers in the ith OLS (NumLayersInOls[i]) and the layer ID in the OLS (LayerIdInOLS[i][j]), which specifies the nuh_layer_id value of the jth layer in the ith OLS, may be expressed as follows: NumLayersInOls[0]=1 LayerIdInOls[0][0]=vps_layer_id[0] for(i=1,i <TotalNumOlss;i++){ if(each_layer_is_an_ols_flag){ NumLayersInOls[i]=1 LayerIdInOls[i][0]=vps_layer_id[i] }else if(ols_mode_idc==0||ols_mode_idc==1){ NumLayersInOls[i]=i+1 for(j=0;j <NumLayersInOls[i];j++) LayerIdInOls[i][j]=vps_layer_id[j] where vps_layer_id[i] is the i-th VPS layer identifier, TotalNumOlss is the total number of OLSs specified by the VPS, and each_layer_is_an_ols_flag is a flag for each layer that specifies whether at least one OLS contains more than one layer. Knowing the IDs of the OLSs and the IDs of the output layers, the HRD in the encoder can begin to decode the coded pictures in the output layers by using inter-layer prediction to perform a conformance check to ensure that the video complies with the standard.
[0135] In step 905, the encoder can store the bitstream for communication to the decoder. For example, the decoder may be aware of available OLSs (e.g., via communication and / or other protocols such as dynamic adaptive streaming over hypertext transfer protocol (DASH)). The decoder can select and request the OLS with the highest ID that can be appropriately decoded / displayed by the decoder. For example, in the case of spatial scalability, the decoder can request an OLS with multiview video and a picture size associated with the screen connected to the decoder. In the case of SNR scalability, the decoder can request the highest ID OLS with multiview video that can be decoded in light of the current network conditions (e.g., in light of the available communication bandwidth). The encoder and / or an intermediate cache or content server can then transmit the OLS and associated layers to the decoder for decoding. Thus, the encoder can create multiview video sequences that can be scaled up or down based on the decoder's needs.
[0136] 10 is a flowchart of an example method 1000 of decoding a video sequence including an OLS configured for multi-view scalability, such as multi-layer video sequence 500 and / or video sequence 600 in bitstream 700. Method 1000 may be used by a decoder, such as codec system 200, decoder 400, and / or video coding device 800, when performing method 100.
[0137] Method 1000 may start when a decoder begins receiving a bitstream including an OLS having a set of layers of a scalable multiview video sequence, e.g., as a result of method 900. The video sequence may be coded to support SNR scalability, spatial scalability, scalability according to other properties described herein, or a combination thereof. At step 1001, the decoder may receive a bitstream including an OLS and a VPS. For example, the OLS may include one or more layers of a coded picture. The layers may include a base layer with the lowest layer ID and various enhancement layers with increasing layer IDs. Each enhancement layer with a layer ID of j may be coded according to inter-layer prediction based on the base layer and any enhancement layers with layer IDs less than j. The OLS may include an OLS ID, which may be denoted by i to distinguish it from a layer ID of j. For example, there may be one OLS per layer in the coded bitstream. Thus, an OLS with an OLS ID of i may include an output layer with a layer ID of j, where i is equal to i. The OLS received with an OLS ID of i may also include all layers with layer IDs from 0 to j-1 inclusive. In this example, all layers may be set as output layers. As an example, a received OLS with an OLS ID of 5 may include layers 0 to 5, with each layer indicated as an output layer. The OLS and layer configuration may be indicated by the VPS.
[0138] For example, a VPS includes an ols_mode_idc syntax element. ols_mode_idc can be set to specify that the total number of OLSs specified by the VPS is equal to the number of layers specified by the VPS. Furthermore, ols_mode_idc can be set to specify that the i-th OLS includes layers with layer indices greater than or equal to 0 and less than or equal to i and / or j (e.g., in this case, i is equal to j). ols_mode_idc may also be set to specify, for each OLS, that all layers within each OLS are output layers. For example, ols_mode_idc may be set to one of several modes. The above modes may be conveyed when ols_mode_idc is set to 1. In some examples, a VPS may also include vps_max_layers_minus1, which specifies the number of layers specified by the VPS. This is also the maximum allowed number of layers in each CVS that references the VPS. ols_mode_idc may reference vps_max_layers_minus1.
[0139] In step 1003, the decoder can determine the output layers based on the ols_mode_idc in the VPS. As a specific example, when determining the configuration of a video sequence, the variable for the total number of OLSs for the video sequence (TotalNumOlss) can be set equal to vps_max_layers_minus1 plus 1 when each_layer_is_an_ols_flag in the VPS is set to 0, when ols_mode_idc is set to 0, or when ols_mode_idc is set to 1. As a specific example, the number of layers in the i-th OLS (NumLayersInOls[i]) and the layer ID in the OLS (LayerIdInOLS[i][j]), which specifies the nuh_layer_id value of the j-th layer in the i-th OLS, can be determined as follows: NumLayersInOls[0]=1 LayerIdInOls[0][0]=vps_layer_id[0] for(i=1,i <TotalNumOlss;i++){ if(each_layer_is_an_ols_flag){ NumLayersInOls[i]=1 LayerIdInOls[i][0]=vps_layer_id[i] }else if(ols_mode_idc==0||ols_mode_idc==1){ NumLayersInOls[i]=i+1 for(j=0;j <NumLayersInOls[i];j++) LayerIdInOls[i][j]=vps_layer_id[j] where vps_layer_id[i] is the i-th VPS layer identifier, TotalNumOlss is the total number of OLSs specified by the VPS, and each_layer_is_an_ols_flag is a flag for each layer that specifies whether at least one OLS contains more than one layer.
[0140] In step 1005, using the IDs of the output layers, the decoder can decode coded pictures from the output layers to generate decoded pictures. For example, the decoder can decode all of the output layers using inter-layer prediction and decode upper layers based on lower layers as desired. The decoder can also select layers to achieve multiview. In step 1007, the decoder can forward decoded pictures for display as part of the decoded video sequence. For example, the decoder may forward decoded pictures from a first layer set for display on a first screen (or a portion thereof) and pictures from a second layer set for display on a second screen (or a portion thereof).
[0141] As a specific example, a decoder may be aware of available OLSs (e.g., via communication and / or other protocols such as dynamic adaptive streaming over hypertext transfer protocol (DASH)). The decoder can select and request an OLS with the highest ID that can be appropriately decoded / displayed by the decoder. For example, in the case of spatial scalability, the decoder can request an OLS with a picture size associated with the screen connected to the decoder. In the case of SNR scalability, the decoder can request the highest ID OLS that can be decoded in light of current network conditions (e.g., in light of available communication bandwidth). The encoder and / or intermediate cache or content server can then transmit the OLS and associated layers to the decoder for decoding to support multiview. Thus, the encoder can create multiview video sequences that can be scaled up or down based on the decoder's needs. The decoder can then decode the requested video sequence upon receipt by using method 1000.
[0142] 11 is a schematic diagram of an example system 1100 for coding a video sequence with OLS configured for multi-view scalability, such as multi-layer video sequence 500 and / or video sequence 600 in bitstream 700. System 1100 may be implemented by an encoder and decoder, such as codec system 200, encoder 300, decoder 400, and / or video coding device 800. Furthermore, system 1100 may be used when implementing methods 100, 900, and / or 1000.
[0143] The system 1100 includes a video encoder 1102. The video encoder 1102 includes an encoding module 1105 for encoding a bitstream including one or more OLSs, each OLS including one or more layers of a coded picture. Further, the encoding module 1105 is for encoding a VPS into the bitstream, the VPS including, for each OLS, an ols_mode_idc that specifies that all layers in each OLS are output layers. The video encoder 1102 further includes a storage module 1106 for storing the bitstream for communication toward a decoder. The video encoder 1102 further includes a transmission module 1107 for transmitting the bitstream toward the video decoder 1100. The video encoder 1102 may be further configured to perform any of the steps of the method 900.
[0144] The system 1100 also includes a video decoder 1110. The video decoder 1110 includes a receiving module 1111 for receiving a bitstream including an OLS and a VPS, where the OLS includes one or more layers of a coded picture, and the VPS includes, for each OLS, an ols_mode_idc that specifies that all layers in each OLS are output layers. The video decoder 1100 further includes a determining module 1113 for determining an output layer based on the ols_mode_idc in the VPS. The video decoder 1110 further includes a decoding module 1115 for decoding the coded picture from the output layer and generating a decoded picture. The video decoder 1110 further includes a transport module 1115 for transporting the decoded picture for display as part of a decoded video sequence. The video decoder 1110 may be further configured to perform any of the steps of the method 1000.
[0145] A first component is directly coupled to a second component when there are no intervening components, other than lines, traces, or other media, between the first and second components. A first component is indirectly coupled to a second component when there are intervening components, other than lines, traces, or other media, between the first and second components. The term "coupled" and variations thereof include both directly coupled and indirectly coupled. The use of the term "about," unless otherwise specified, refers to a range that includes ±10% of the subsequent number.
[0146] It should also be understood that the steps of the exemplary methods described herein do not necessarily have to be performed in the order described, and the order of steps in such methods should be understood to be merely exemplary. Similarly, additional steps may be included in such methods, and certain steps may be omitted or combined, in methods consistent with various embodiments of the present disclosure.
[0147] While several embodiments are provided in this disclosure, it will be understood that the disclosed systems and methods may be embodied in many other specific forms without departing from the spirit or scope of the present disclosure. The examples should be considered illustrative, not limiting, and the intention is not to be limited to the details given herein. For example, various elements or components may be combined or integrated in other systems, or certain features may be omitted or not implemented.
[0148] Furthermore, techniques, systems, subsystems, and methods described and illustrated in various embodiments as separate or distinct may be combined or integrated with other systems, components, techniques, or methods without departing from the scope of this disclosure. Other examples of variations, substitutions, and alterations will be apparent to those skilled in the art and may be made without departing from the spirit and scope of the present disclosure.
Claims
1. A decoder-implemented method, the method comprising: receiving a bitstream including a video parameter set (VPS), the VPS including an output layer set (OLS) mode identification code (ols_mode_idc), the ols_mode_idc equal to 1 specifying that the total number of OLSs specified by the VPS is equal to the number of layers specified by the VPS, the i-th OLS includes layers having layer indices greater than or equal to 0 and less than or equal to i, and for each OLS, all layers in that OLS are output layers; determining the output layer based on the ols_mode_idc in the VPS; decoding the output layer to generate a decoded picture; A method comprising:
2. The method described in claim 1, wherein the VPS includes a VPS maximum layers minus 1 (vps_max_layers_minus1) that specifies the number of layers specified by the VPS, and vps_max_layers_minus1 plus 1 is the maximum allowable number of layers in each coded video sequence (CVS) that references the VPS.
3. A method as described in claim 1 or 2, wherein the VPS includes each_layer_is_an_ols_flag, wherein each_layer_is_an_ols_flag equal to 1 specifies that each output layer set includes only one layer, and each_layer_is_an_ols_flag equal to 0 specifies that at least one OLS includes more than one layer.
4. A method as described in claim 2 or 3, wherein when vps_max_layers_minus1 is greater than 0, the VPS further includes vps_all_independent_layers_flag, wherein vps_all_independent_layers_flag equal to 1 specifies that all layers in the CVS are coded independently without using inter-layer prediction, and vps_all_independent_layers_flag equal to 0 specifies that one or more of the layers in the CVS use inter-layer prediction.
5. 5. The method according to claim 1, wherein the total number of OLSs (TotalNumOlss) is equal to vps_max_layers_minus1 plus 1 when ols_mode_idc is equal to 0 or 1.
6. The number of layers in the ith OLS (NumLayersInOls [i]) and the Network Abstraction Layer (NAL) unit header layer identifier (nuh_layer_id) value (LayerIdInOLS[i]) of the jth layer in the ith OLS. [i][j]) is expressed as follows: NumLayersInOls[0]=1 LayerIdInOls[0][0]=vps_layer_id[0] for(i=1,i <TotalNumOlss;i++){ if(each_layer_is_an_ols_flag){ NumLayersInOls[i]=1 LayerIdInOls[i][0]=vps_layer_id[i] }else if(ols_mode_idc==0||ols_mode_idc==1){ NumLayersInOls[i]=i+1 for(j=0;j <NumLayersInOls[i];j++) LayerIdInOls[i][j]=vps_layer_id[j] where vps_layer_id[i] is the i-th VPS layer identifier, TotalNumOlss is the total number of OLSs specified by the VPS, and each_layer_is_an_ols_flag is a flag indicating whether each layer is an OLS, specifying whether at least one OLS contains more than one layer.
7. 1. A method implemented by an encoder, the method comprising:
1. A method comprising: encoding a video parameter set (VPS) into a bitstream, the VPS including an output layer set (OLS) mode identification code (ols_mode_idc), wherein the ols_mode_idc equal to 1 specifies that the total number of OLSs specified by the VPS is equal to the number of layers specified by the VPS, the i-th OLS includes layers having layer indices greater than or equal to 0 and less than or equal to i, and for each OLS, all layers in that OLS are output layers.
8. The method described in claim 7, wherein the VPS includes a VPS maximum layers minus 1 (vps_max_layers_minus1) that specifies the number of layers specified by the VPS, and vps_max_layers_minus1 plus 1 is the maximum allowable number of layers in each coded video sequence (CVS) that references the VPS.
9. A method as described in claim 7 or 8, wherein the VPS includes each_layer_is_an_ols_flag, wherein each_layer_is_an_ols_flag equal to 1 specifies that each output layer set includes only one layer, and each_layer_is_an_ols_flag equal to 0 specifies that at least one OLS includes more than one layer.
10. A method as described in claim 8 or 9, wherein when vps_max_layers_minus1 is greater than 0, the VPS further includes vps_all_independent_layers_flag, wherein vps_all_independent_layers_flag equal to 1 specifies that all layers in the CVS are coded independently without using inter-layer prediction, and vps_all_independent_layers_flag equal to 0 specifies that one or more of the layers in the CVS use inter-layer prediction.
11. 11. The method of claim 7, wherein the total number of OLSs (TotalNumOlss) is equal to vps_max_layers_minus1 plus 1 when the ols_mode_idc is equal to 0 or when the ols_mode_idc is equal to 1.
12. The number of layers in the ith OLS (NumLayersInOls [i]) and the Network Abstraction Layer (NAL) unit header layer identifier (nuh_layer_id) value (LayerIdInOLS[i]) of the jth layer in the ith OLS. [i][j]) is expressed as follows: NumLayersInOls[0]=1 LayerIdInOls[0][0]=vps_layer_id[0] for(i=1,i <TotalNumOlss;i++){ if(each_layer_is_an_ols_flag){ NumLayersInOls[i]=1 LayerIdInOls[i][0]=vps_layer_id[i] }else if(ols_mode_idc==0||ols_mode_idc==1){ NumLayersInOls[i]=i+1 for(j=0;j <NumLayersInOls[i];j++) LayerIdInOls[i][j]=vps_layer_id[j] 12. The method of claim 7, wherein vps_layer_id[i] is the i-th VPS layer identifier, TotalNumOlss is the total number of OLSs specified by the VPS, and each_layer_is_an_ols_flag is a flag indicating whether at least one OLS contains more than one layer.
13. 1. A video coding device comprising: a processor; a receiver coupled to the processor; a memory coupled to the processor; and a transmitter coupled to the processor, A video coding device, wherein the processor, receiver, memory and transmitter are configured to perform the method of any one of claims 1 to 12.
14. 1. A non-transitory computer-readable medium containing a computer program product for use by a video coding device, comprising:
13. A non-transitory computer-readable medium comprising computer-executable instructions stored on the non-transitory computer-readable medium, the computer program product, when executed by a processor, causing the video coding device to perform the method of any one of claims 1 to 12.
15. A decoder comprising: receiving means for receiving a bitstream including a video parameter set (VPS), the VPS including an output layer set (OLS) mode identification code (ols_mode_idc), the ols_mode_idc equal to 1 specifying that the total number of OLSs specified by the VPS is equal to the number of layers specified by the VPS, the i-th OLS includes layers having layer indices between 0 and i, inclusive, and for each OLS, all layers in that OLS are output layers; determining means for determining the output layer based on the ols_mode_idc in the VPS; decoding means for decoding the output layer to generate a decoded picture; A decoder containing
16. Decoder according to claim 15, wherein the decoder is further configured to perform a method according to any one of claims 2 to 6.
17. 1. An encoder comprising:
1. An encoder comprising: encoding means for encoding a video parameter set (VPS) into a bitstream, the VPS including an output layer set (OLS) mode identification code (ols_mode_idc), wherein the ols_mode_idc equal to 1 specifies that a total number of OLSs specified by the VPS is equal to a number of layers specified by the VPS, the i-th OLS includes layers having layer indices greater than or equal to 0 and less than or equal to i, and for each OLS, all layers in that OLS are output layers.
18. 18. The encoder of claim 17, further configured to perform a method according to any one of claims 8 to 12.
19. 1. A device for storing a bitstream, comprising at least one memory and at least one receiver, the at least one receiver configured to receive one or more bitstreams; the at least one memory configured to store the one or more bitstreams; the bitstream includes a video parameter set (VPS), the VPS including an output layer set (OLS) mode identification code (ols_mode_idc); The ols_mode_idc equal to 1 specifies that the total number of OLSs specified by the VPS is equal to the number of layers specified by the VPS, the i-th OLS includes layers with layer indices greater than or equal to 0 and less than or equal to i, and for each OLS, all layers in that OLS are output layers.
20. 1. A method for storing a bitstream, comprising: receiving one or more bitstreams; storing the bitstream in one or more memories; Including, the bitstream includes a video parameter set (VPS), the VPS including an output layer set (OLS) mode identification code (ols_mode_idc); a method in which the ols_mode_idc equal to 1 specifies that the total number of OLSs specified by the VPS is equal to the number of layers specified by the VPS, the i-th OLS includes layers with layer indices between 0 and i, inclusive, and for each OLS, all layers within that OLS are output layers.
Citation Information
Patent Citations
Image decoder and image encoder
JP2015195543A
Selection of target output layers in high efficiency video coding extensions
WO2015006674A1
Image decoding device
WO2015137237A1