OLS for Multi-View Scalability
Patent Information
- Application Number
- JP2023194784
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-09-24
- Filing Date
- 2023-11-16
- Publication Date
- 2025-03-26
- Estimated Expiration
- 2040-09-18
Smart Images

Figure 0007651655000003 
Figure 0007651655000004 
Figure 0007651655000005
Abstract
Description
[Technical field]
[0001] [CROSS-REFERENCE TO RELATED APPLICATIONS] This application is a divisional application of Japanese Patent Application No. JP2022-518867 filed on March 23, 2022. Japanese Patent Application No. JP2022-518867 is Claims priority from U.S. Provisional Patent Application No. 62 / 905,132, entitled “Signalling Of Output Layer Sets For Multiview Scalability,” filed on September 24, 2019 by Ye-Kui Wang. This is a continuation of International Application No. PCT / US2020 / 051608, filed September 18, 2020, which , which is incorporated by reference.
[0002] [Technical field] The present disclosure relates generally to video coding, and more particularly to constructing output layer sets (OLS) in a multi-layer bitstream 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 significant, which can create difficulties when the data is streamed or otherwise communicated across communication networks that have limited bandwidth capacity. Therefore, video data is typically compressed before being communicated across today's telecommunications networks. The size of the video can also become an issue when the video is stored on a storage device, since memory resources may be limited. 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 required to represent a digital video image. The compressed data is then received at the destination by a video decompression device that decodes the video data. With limited network resources and an ever-increasing demand for higher video quality, improved compression and decompression techniques that improve compression ratios with little or no sacrifice in image quality are desired. Summary of the Invention
[0004] In one embodiment, the 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 an OLS mode identification code (ols_mode_idc) for each OLS 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 indicated lower layers. This can pose a problem for scalability, since a decoder may not want to decode the highest layer. Specifically, a decoder typically requests the highest layer that the decoder can support, but the decoder is typically not able to decode a layer 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. Since layers 4-15 are not required to decode the third layer, the third layer can be transmitted to the decoder without such layers. However, since 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 not be able 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, since 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 a three dimensional (3D) video. A system that cannot support scalability also cannot support multiview scalability.
[0006] This example includes a mechanism for supporting multi-view scalability. Layers are included in an OLS. An encoder can send an OLS including layers to scale for a particular characteristic, such as size or SNR. Additionally, an 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 multi-view 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, the i-th OLS includes layers 0 to i, and for each OLS, all layers are considered as output layers. This supports scalability since a decoder can receive and decode all layers in a particular OLS. Since 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 multi-view video. Thus, 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 certain embodiments, using ols_mode_idc provides bit savings in encoded bitstreams that include multiple OLSs where a lot of data is shared, thus providing savings in streaming servers and providing bandwidth savings for transmitting such bitstreams. For example, an advantage of setting ols_mode_idc to 1 is to support 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 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 realization of the aspect is to define a number of layers in the ith OLS (NumLayersInOls[i]) and a network abstraction layer (NAL) unit header layer identifier (nuh_layer_id) value of the jth layer in the ith OLS (LayerIdInOLS[i][j]) 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 an each layer is an OLS 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 the steps of: encoding, by a processor of the encoder, a bitstream including one or more OLSs including 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 indicated lower layers. This can pose a problem for scalability, since a decoder may not want to decode the highest layer. Specifically, a decoder typically requests the highest layer that the decoder can support, but the decoder is typically not able to decode a layer 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. Since layers 4-15 are not required to decode the third layer, the third layer can be transmitted to the decoder without such layers. However, since 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 not be able 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, since 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 a three dimensional (3D) video. A system that cannot support scalability also cannot support multiview scalability.
[0015] This example includes a mechanism for supporting multi-view scalability. Layers are included in an OLS. An encoder can send an OLS including layers to scale for a particular characteristic, such as size or SNR. Additionally, an 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 multi-view 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, the i-th OLS includes layers 0 to i, and for each OLS, all layers are considered as output layers. This supports scalability since a decoder can receive and decode all layers in a particular OLS. Since 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 multi-view video. Thus, 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 certain embodiments, using ols_mode_idc provides bit savings in encoded bitstreams that include multiple OLSs where a lot of data is shared, thus providing savings in streaming servers and providing bandwidth savings for transmitting such bitstreams. For example, an advantage of setting ols_mode_idc to 1 is to support 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 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 to define NumLayersInOls[i] and LayerIdInOLS[i][j] 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 an each layer is an OLS 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, causes the video coding device to perform a method of any of the above aspects.
[0024] In one embodiment, the 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 an ols_mode_idc that specifies, for each OLS, 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 layers 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 indicated lower layers. This can pose a problem for scalability, since a decoder may not want to decode the highest layer. Specifically, a decoder typically requests the highest layer that the decoder can support, but the decoder is typically not able to decode a layer 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. Since layers 4-15 are not required to decode the third layer, the third layer can be transmitted to the decoder without such layers. However, since 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 not be able 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, since 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 a three dimensional (3D) video. A system that cannot support scalability also cannot support multiview scalability.
[0026] This example includes a mechanism for supporting multi-view scalability. Layers are included in an OLS. An encoder can send an OLS including layers to scale for a particular characteristic, such as size or SNR. Additionally, an 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 multi-view 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, the i-th OLS includes layers 0 to i, and for each OLS, all layers are considered as output layers. This supports scalability since a decoder can receive and decode all layers in a particular OLS. Since 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 multi-view video. Thus, 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 certain embodiments, using ols_mode_idc provides bit savings in encoded bitstreams that include multiple OLSs where a lot of data is shared, thus providing savings in streaming servers and providing bandwidth savings for transmitting such bitstreams. For example, an advantage of setting ols_mode_idc to 1 is to support 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 disclosure includes an encoder including: an encoder means for encoding a bitstream including one or more OLSs including one or more layers of a coded picture, encoding a VPS into the bitstream, the VPS including an ols_mode_idc for each OLS specifying that all layers in each OLS are output layers; and a 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 indicated lower layers. This can pose a problem for scalability, since a decoder may not want to decode the highest layer. Specifically, a decoder typically requests the highest layer that the decoder can support, but the decoder is typically not able to decode a layer 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. Since layers 4-15 are not required to decode the third layer, the third layer can be transmitted to the decoder without such layers. However, since 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 not be able 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, since 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 a three dimensional (3D) video. A system that cannot support scalability also cannot support multiview scalability.
[0030] This example includes a mechanism for supporting multi-view scalability. Layers are included in an OLS. An encoder can send an OLS including layers to scale for a particular characteristic, such as size or SNR. Additionally, an 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 multi-view 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, the i-th OLS includes layers 0 to i, and for each OLS, all layers are considered as output layers. This supports scalability since a decoder can receive and decode all layers in a particular OLS. Since 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 multi-view video. Thus, 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 certain embodiments, using ols_mode_idc provides bit savings in encoded bitstreams that include multiple OLSs where a lot of data is shared, thus providing savings in streaming servers and providing bandwidth savings for transmitting such bitstreams. For example, an advantage of setting ols_mode_idc to 1 is to support 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 description 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, in which like reference numerals represent like parts. [Figure 1] 4 is a flowchart of an exemplary method for coding a video signal. [Diagram 2] 1 is a schematic diagram of an example coding and decoding (codec) system for video coding. [Diagram 3] FIG. 1 is a schematic diagram illustrating an exemplary video encoder. [Figure 4] FIG. 2 is a schematic diagram illustrating an exemplary video decoder. [Diagram 5] 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 multi-view scalability. [Figure 7] 1 is a schematic diagram illustrating an example bitstream including an OLS configured for multi-view scalability. [Figure 8] 1 is a schematic diagram of an example video coding device. [Figure 9] 1 is a flowchart of an example method for encoding a video sequence with OLS configured for multi-view scalability. [Figure 10]1 is a flowchart of an example method for decoding a video sequence including an OLS configured for multi-view 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 PREFERRED EMBODIMENTS
[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, together with their full scope of equivalents.
[0036] The following terms are defined as follows, unless used in a contrary context herein. Specifically, the following definitions are intended to provide further clarity to the present disclosure. However, in different contexts, terms may be described differently. Thus, the following definitions should be considered as supplemental and not limiting of any other definitions provided herein for such terms.
[0037] A bitstream is a sequence of bits that contains video data compressed 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 an array of 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 that is 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 specific value of the NAL unit header layer identifier (nuh_layer_id). A coded picture is a coded representation of a picture that includes a VCL NAL unit with a particular value of NAL unit header layer identifier (nuh_layer_id) in an access unit (AU) and includes all coding tree units (CTUs) of the picture. A decoded picture is a picture generated 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). A highest layer is a layer in the OLS with the highest layer identifier (ID) of all layers in the OLS. In some exemplary OLS modes, the highest layer may always be an 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 included 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 in the OLS. The VPS max 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 or not. 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. Layer ID in 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. 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 a video file with minimal loss of data. For example, video compression techniques can 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, a video slice (e.g., a video picture or a portion of a video picture) 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 by 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. The residual data represents pixel differences between the original image block and the prediction block. Thus, an inter-coded block is coded according to a motion vector that points to a block of reference samples that form the prediction block, and the residual data that indicates the difference between the coded block and the prediction block. An intra-coded block is coded according to an intra-coding mode and the residual data. For further compression, the residual data may be transformed from the pixel domain to a transform domain. These result 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 be scanned to generate a one-dimensional vector of transform coefficients.To achieve even more 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) has begun developing a video coding standard called Versatile Video Coding (VVC). VVC is included in the Working Drafts, including JVET-O2001-v14.
[0044] To support scalability, layers of pictures can be used. For example, a 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, since 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 not able to decode a layer 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. Since layers 4-15 are not required to decode the third layer, the third layer can be transmitted to the decoder without such layers. However, since 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 not be able 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, since 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 a three dimensional (3D) video. A system that cannot support scalability also cannot support multiview scalability.
[0046] Disclosed herein are mechanisms for supporting multi-view scalability. Layers are included in an output layer set (OLS). An encoder can send an OLS containing layers to scale for a particular characteristic such as size or SNR. Spatial scalability allows a video sequence to be coded in layers such that the layers are placed in an OLS such that each OLS contains enough data to decode the video sequence to a corresponding output screen size. Hence, spatial scalability may include a set of layers for decoding video for a smartphone screen, a set of layers for decoding video for a large television screen, and a set of layers for intermediate screen sizes. SNR scalability allows a video sequence to be coded in layers such that the layers are placed 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, the 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 may be set to 1 to indicate the use of multiview scalability. For example, ols_mode_idc may indicate that the total number of OLSs is equal to the total number of layers specified in the VPS, with the i-th OLS including layers 0 to i, and for each OLS, all layers are considered as output layers. This supports scalability since a decoder can receive and decode all layers in a particular OLS. Since 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. Additionally, 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 flow chart of an exemplary operational method 100 of coding a video signal. Specifically, a video signal is encoded in 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 an 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 the 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 audio and video components. The video component includes a series of image frames that, when viewed in sequence, give the visual impression of motion. The frames include pixels represented in terms of brightness, referred to herein as luma components (or luma samples), and colors, referred to herein as chroma components (or color samples). In some examples, the frames may also include depth values to support three-dimensional displays.
[0049] In step 103, the video is partitioned into blocks. Partitioning involves subdividing pixels in 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 may first be divided into coding tree units (CTUs), which are blocks of a given size (e.g., 64 pixels by 64 pixels). CTUs contain both luma 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 successive frames. Thus, a block that renders an object in a reference frame does not need to be repeatedly described in adjacent frames. In particular, an object such as a table may remain in a constant position across multiple frames. Thus, the table may be described once and adjacent frames may 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 scenes across multiple 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 the reference frame. Thus, inter-prediction may encode an image block in a current frame as a set of motion vectors that point to an offset from a corresponding block in a reference frame.
[0051] Intra prediction codes blocks within a common frame. Intra prediction exploits the fact that luma and chroma components tend to cluster together 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. The directional modes indicate that the current block is similar / identical to the samples of neighboring blocks in the corresponding direction. The planar mode indicates that a series of blocks (e.g., a plane) along a row / column can be interpolated based on the neighboring blocks at the edge of the row. The planar mode effectively indicates a smooth transition of brightness / color across the row / column by using a relatively constant slope in changing the values. The DC mode is used for boundary smoothing and indicates that the block is similar / identical to the average value associated with the samples of all neighboring blocks associated with the angular direction of the directional prediction mode. Thus, intra prediction blocks can represent the image block as various related prediction mode values instead of the actual values. Additionally, inter-prediction blocks can represent image blocks as motion vector values instead of actual values. In either case, the prediction 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] In step 107, various filtering techniques may be applied. In HEVC, filters are applied according to an in-loop filtering scheme. The block-based prediction described above may result in the creation of a blocky image at the decoder. Furthermore, the block-based prediction scheme may code a block and then reconstruct the coded 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 the block / frame. These filters mitigate such blocking artifacts so that the coded 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 coded based on the reconstructed reference block.
[0053] Once the video signal has been partitioned, compressed and filtered, the resulting data is coded 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 starts 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 the syntax data from the bitstream to determine the partitions for the frame. The partitioning should match the result of the block partitioning in step 103. The entropy coding / 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 choices based on the spatial location of values in the input image. Conveying the exact choice may use a number of bins. As used herein, a bin is a binary value that is 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 viable in a particular case, leaving 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 as 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-prediction blocks and inter-prediction blocks generated in 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, a noise suppression filter, a deblocking filter, an adaptive loop filter, and an SAO filter 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, the codec system 200 provides functionality to support the implementation of the operational method 100. The codec system 200 is generalized to show components used in both an encoder and a decoder. The codec system 200 receives and partitions a video signal, as described with respect to steps 101 and 103 in the operational method 100, which results in a partitioned video signal 201. When acting as an encoder, the codec system 200 then compresses the partitioned video signal 201 into a coded bitstream, as described with respect to steps 105, 107, and 109 in the method 100. When acting as a decoder, the codec system 200 generates an output video signal from the bitstream, as described with respect to steps 111, 113, 115, and 117 in the 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. Such components are coupled as shown. In FIG. 2, the black lines indicate the movement of data to be coded / decoded, and the dashed lines indicate the movement of control data that controls the operation of the 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. The partitioning modes may include a binary tree (BT), a triple tree (TT) and a quad tree (QT) that 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 the overall coder control component 201, the transform scaling and quantization component 213, the intra-picture estimation component 215, the filter control analysis component 227 and the 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 light of transmission rate to mitigate buffer under-run and over-run 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 the compression complexity to increase resolution and increase bandwidth usage, or decrease the 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 creates 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 a 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 that is 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 may be divided into CTBs, which may then be divided into CBs for inclusion in a CU. A CU may be coded as a prediction unit (PU) that includes predictive data and / or a transform unit (TU) that includes transformed residual data for the CU. The motion estimation component 221 generates the motion vectors, PUs, and TUs by using a 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 may select the reference block, motion vector, etc. with the best rate-distortion characteristics. The best rate-distortion characteristics balance both the quality of the video reconstruction (e.g., the amount of data lost 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 the 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 the reference picture. Thus, the motion estimation component 221 may perform motion search for full-pixel positions 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 of 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 the motion compensation component 219 may include fetching or generating a predictive block based on the motion vector determined by the motion estimation component 221. Similarly, in some examples, the motion estimation component 221 and the motion compensation component 219 may be functionally integrated. Upon receiving the motion vector for the PU of the current video block, the 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. In general, the motion estimation component 221 performs motion estimation on the luma component, and the 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 the 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. As with 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 a current block relative to blocks in a 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 to encode the current block from a plurality of 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 calculates rate-distortion values using a rate-distortion analysis for various tested intra prediction modes and selects 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, and the bit rate (e.g., number of bits) used to generate the coded block. The intra picture estimation component 215 calculates a ratio from the distortion and rate for the various coded blocks and determines 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 includes the difference in values 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 including 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 to a transform domain, such as from a pixel value domain to a 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 such that different frequency information is quantized with different granularity, 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, transformation and / or quantization to reconstruct the residual block in the pixel domain, for example, for later use as a reference block that may become a predictive block for other current blocks. The motion estimation component 221 and / or the motion compensation component 219 may calculate a reference block by adding the residual block back to the corresponding predictive 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 the scaling, quantization and transformation. Such artifacts may 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 the residual block and / or the reconstructed image block. For example, the transformed residual block from the scaling and inverse transform component 229 may be combined with the corresponding prediction block from the intra-picture prediction component 217 and / or the motion compensation component 219 to reconstruct the original image block. The filter may then be applied to the reconstructed image block. In some examples, the filter may be applied to the residual block instead. As with 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 illustrated separately for conceptual purposes. The filters applied to the reconstructed reference block are applied to a particular spatial region and include multiple parameters to adjust how such filters are applied. The filter control analysis component 227 analyzes the reconstructed reference block to determine where such filters should be applied and sets 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 a deblocking filter, a noise suppression filter, a SAO filter, and an adaptive loop filter. Such filters may be applied in the spatial / pixel domain (e.g., on 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 towards 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 towards a decoder. In particular, the header format and CABAC component 231 generates various headers to encode control data such as global control data and filter control data. In addition, prediction data including intra prediction and motion data, as well as residual data in the form of quantized transform coefficient data, are all encoded into the bitstream. The final bitstream contains all information desired by the 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 probable intra prediction modes, indications of partition information, etc. Such data may be encoded by 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 example video encoder 300. The video encoder 300 may be used to implement the encoding functionality of the codec system 200 and / or to implement steps 101, 103, 105, 107 and / or 109 of the method of operation 100. The encoder 300 partitions an input video signal, resulting in a partitioned video signal 301 that is substantially similar to the partitioned video signal 201. The partitioned video signal 301 is then compressed and encoded into a bitstream by components of the 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 a reference block 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 block and the residual block 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 block. The transform and quantization component 313 may be substantially similar to the transform scaling and quantization component 213. The transformed and quantized residual block and the corresponding prediction block (along 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 in 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 example video decoder 400, which 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 a context for interpreting further 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 block and / or predictive block are forwarded to the intra picture prediction component 417 for reconstructing into an image block based on an intra prediction operation. 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 in 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 the 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, the residual block and / or the 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 a reference block to generate a prediction block and applies a residual block to the result to reconstruct an image block. The resulting reconstructed block 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 into 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, for example, according to method 100. The multi-layer video sequence 500 is included to illustrate an example application of layers in 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, the 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 are all associated with 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 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.
[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. A layer ID is an item of data associated with a picture and 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 an identifier of the layer that contains the NAL unit (e.g., contains slices and / or parameters of a picture within a 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 the difference 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 with reference to 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 being referenced for unidirectional inter prediction and / or two pictures being 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 being referenced for unidirectional inter prediction and / or two pictures being 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 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 an 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 are in a lower layer. An AU is a set of pictures related to a particular output time in a video sequence, and therefore an AU may 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 function 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 thus 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 where one or more layers 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 supporting 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 ration (SNR), frame rate, picture size, etc. Then, an OLS 525 may 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, an OLS for a third resolution may include layer N 531, layer N+1 532, layer N+2, etc. In this manner, the OLS 525 can be transmitted to enable a decoder to decode whichever version of the multi-layered 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 OLS configured for multi-view scalability. The video sequence 600 is a specific example of the multi-layer video sequence 500. Thus, the video sequence 600 can be encoded by an encoder such as the codec system 200 and / or the encoder 300, and can be decoded by a decoder such as the codec system 200 and / or the decoder 400, for example, according to the method 100. The video sequence 600 is useful for scalability.
[0088] The exemplary video sequence 600 includes an OLS 620, an OLS 621, and an OLS 622, which may be substantially similar to the 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, the OLSs 620, 621, and 622 include layers 630, 630, and 631, and layers 630, 631, and 632, respectively. The layers 630, 631, and 632 may be substantially similar to the layer N 531 and the layer N+1 532. The layers 630, 631, and 632 are referenced by layer indexes. The video sequence 600 includes as many layers as there are OLSs. Specifically, the OLS 620 with the lowest OLS index includes the 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 of the 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 of the 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 indexes. 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 with the lowest quality SNR and / or smallest picture size. Since OLS 620 does not use inter-layer prediction at all, OLS 620 can be fully decoded without reference to any layer except layer 630. OLS 621 includes layer 631 with higher quality SNR and / or picture size than layer 630, and since OLS 621 also includes layer 630, layer 631 can be fully decoded according to inter-layer prediction. Similarly, OLS 622 includes layer 632 having a higher quality SNR and / or image size than layers 630 and 631, and since 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 preselected 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] Therefore, the video sequence 600 can support spatial scalability. Spatial scalability allows the video sequence 600 to be coded into layers 630, 631, and 632 such that the layers 630, 631, and 632 are placed into the OLSs 620, 621, and 622 such that each OLS 620, 621, and 622 contains enough data to decode the video sequence 600 to a corresponding output screen size. Therefore, spatial scalability may include a set of layers (e.g., layer 630) for decoding video for a smartphone screen, a set of layers (e.g., layers 630, 631, 632) for decoding video for a large television screen, 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 placed in OLSs 620, 621, and 622 such that each OLS 620, 621, and 622 contains sufficient data to decode video sequence 600 at different SNRs. Thus, SNR scalability may 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 scheme, the coding of video sequence 600 may be indicated according to an 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 used. Thus, the decoder can receive either OLS and, based on ols_mode_idc, determine that the number of OLSs 620, 621, and 622 is the same as the number of layers 630, 631, and 632, the current OLS ID of i indicates that the current OLS includes set layers with IDs from 0 to i, and 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, the bitstream 700 may be generated by the codec system 200 and / or the encoder 300 for decoding by the codec system 200 and / or the decoder 400 according to the method 100. Additionally, the bitstream 700 may include the coded multi-layer video sequence 500 and / or the video sequence 600.
[0093] The bitstream 700 includes a VPS 711, one or more sequence parameter sets (SPS) 713, a number of picture parameter sets (PPS) 715, a number of 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 OLS, 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, bit rate limits, etc. It should be noted that while each sequence references an SPS 713, in some examples, a single SPS 713 may include data for multiple sequences. The PPS 715 includes parameters that apply to the entire picture. Thus, each picture in a video sequence may reference the PPS 715. It should be noted that while each picture references the PPS 715, in some examples, a single PPS 715 may include data for multiple pictures. For example, multiple similar pictures may be coded according to similar parameters. In such a case, a single PPS 715 may include data for such similar pictures. The PPS 715 may indicate coding tools, quantization parameters, offsets, etc. available for slices in the corresponding picture.
[0094] The slice header 717 includes 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, 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 includes 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 encoded 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 OLSs 721. OLSs 721 may be substantially similar to OLSs 525, 620, 621, and / or 622. Specifically, OLSs 721 are a set of layers 723 where 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 the 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.). Picture 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. The 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 may be 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 consecutive 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 predefined size that can be partitioned by a coding tree. A CTB is a subset of a CTU and includes the luma or chroma components of the CTU. The CTUs / CTBs are further divided into coding blocks based on the coding tree. The coding block can then be encoded / decoded according to the 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, which is a syntax element that indicates information related to the number of OLSs 721, layers 723 of OLSs 721, and output layers 723 within 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 for coding 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 may be set to 1 to indicate that the total number of OLS721 in the video sequence is equal to the total number of layers 723 specified in 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 OLS721. 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 in the streaming server and providing 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 one layer, are output and displayed simultaneously.
[0099] In some examples, the VPS 711 also includes a VPS maximum layers minus one (vps_max_layers_minus1) 737 syntax element. The vps_max_layers_minus1 737 is a syntax element that conveys the number of layers 723 specified by the VPS 700 and thus the maximum number of layers 723 allowed in the corresponding coded video sequence in the bitstream 700. The ols_mode_idc 735 may reference the vps_max_layers_minus1 737 syntax element. For example, the ols_mode_idc 735 may indicate that the total number of OLS 721 is equal to the number of layers 723 specified by the 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) at 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 at the decoder or checking for bitstream 700 errors at the HRD at 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, the vps_layer_id[i] 731 indicates the layer ID of the i-th layer.
[0102] A 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 i-th OLS (numLayersInOls[i]) and the layer ID in the OLS (LayerIdInOLS[i][j]) specifying the nuh_layer_id value of the j-th layer in the i-th 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 each layer is an OLS flag 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 multi-view video. The layers 723 can be coded and included in the OLS 721. The encoder can transmit a bitstream 700 including the required OLS 721 and VPS 711 to the 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 realize multi-view. Thus, the decoder may receive the layers 723 necessary to decode the views for multi-view, and the decoder can decode and display the 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 the bitstream size, and therefore reduce processor, memory and / or network resource utilization in both the encoder and decoder.
[0104] Below, the above information will now be described in more detail. Layered video coding is also referred to as scalable video coding or video coding with scalability. Scalability in video coding may be supported by using a multi-layer coding technique. 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, multi-view scalability, frame rate scalability, etc. When a multi-layer coding technique is used, a picture or a part thereof may be coded without using a reference picture (intra prediction), may be coded by referencing a reference picture in the same layer (inter prediction), and / or may be 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 in which 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 the multi-layer extension of HEVC, decoded pictures used for inter-layer prediction originate only from the same AU and are treated as long-term reference pictures (LTRP). Such pictures are assigned a reference index 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 the reference index to refer to an inter-layer reference picture in the reference picture list. Spatial scalability involves resampling a reference picture or a 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 hierarchical video coding. A VVC bitstream may include multiple layers. The layers may all be independent of each other. For example, each layer may be coded without using inter-layer prediction. In this case, the layers may also be referred to as simulcast layers. In some cases, some of the layers are coded using ILP. A flag in the VPS may indicate whether the layers are simulcast layers 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 may not specify an OLS. The OLS includes a set of specified layers, and one or more layers in the set of layers are specified to be 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 specified to be decoded when any layer uses ILP. Furthermore, certain layers among the layers are specified to be output layers. The output layer may be designated as only the highest layer, all layers, or the highest layer plus a designated set of lower layers.
[0108] The above aspect includes 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 to be the output layer. The output layer may be indicated as only the highest layer, all layers, or the highest layer plus a set of designated 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 multi-view scalability, the system should specify the use of only the lower layer (decode and output only the lower layer). The system should also specify the use of both layers (decode and output 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 JVET of ITU-T and ISO / IEC. 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, the present disclosure includes a simple and efficient method for signaling OLS for spatial and SNR scalability. A video coding system may use a VPS to indicate that some layers use an ILP, 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] TIFF0007651655000002.tif192170
[0112] The semantics of an exemplary 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 reference 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 may 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], which specifies the jth direct dependent layer of the ith layer, is defined 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], which specifies 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, with the single included layer being the only output layer. each_layer_is_an_ols_flag may be set equal to 0 to specify that an 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 includes layers with layer indices 0 to i, 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 includes layers with layer indices 0 to i, 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 of 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, i.e. 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 variables NumLayersInOls[i], which specifies the number of layers in the i-th OLS, and LayerIdInOls[i][j], which specifies the nuh_layer_id value of the j-th layer in the i-th OLS, are defined as follows, i.e. 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], which specifies 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 is equal to 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 values of i and j, 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 either 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, i.e., 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 conforming bitstreams. 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 does 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 example 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 a 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 a 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 the downstream port 820 for communication of 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 downstream ports 820, Tx / Rx 810, upstream ports 850, and memory 832. The processor 830 includes a coding module 814. The coding module 814 implements the disclosed embodiments 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, the coding module 814 may be used to code a video sequence into layers and / or OLSs to support multiview scalability. For example, the 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, the i-th OLS includes layers 0 to i, and for each OLS, all layers in the OLS are output. Thus, the 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.Thus, coding module 814 allows video coding device 800 to provide additional functionality and / or coding efficiency when coding video data. Thus, coding module 814 improves the functionality of video coding device 800 and addresses problems specific to the video coding field. Furthermore, coding module 814 effects 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 for storing such programs when such programs are selected for execution and for storing instructions and data read during program execution.
[0131] 9 is a flow chart of an example method 900 for encoding 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. 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] The method 900 may start when an encoder receives a video sequence and determines, for example, based on user input, to encode the video sequence as a scalable multiview video sequence in 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 including one or more layers of a coded picture. For example, the layers may include a base layer with a 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, with each layer 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 that for each OLS, 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 conveyed 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 allowed 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, a variable for the total number of OLSs (TotalNumOlss) 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 i-th OLS (NumLayersInOls[i]) and the layer ID in the OLS (LayerIdInOLS[i][j]) specifying the nuh_layer_id value of the j-th layer in the i-th OLS may be expressed as follows, i.e. 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 an each-layer-is-OLS flag 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 start 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 the available OLS (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 properly decoded / displayed by the decoder. For example, in the case of spatial scalability, the decoder can request the OLS with the multiview video and 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 the 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 intermediate cache or content server can then transmit the OLS and associated layers to the decoder for decoding. Thus, the encoder can create a multiview video sequence that can be scaled up or down based on the needs of the decoder.
[0136] 10 is a flow chart 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 to receive a bitstream including an OLS with a set of layers of a scalable multiview video sequence, for example 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. In 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 in the coded bitstream 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. The received 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, a received OLS with an OLS ID of 5 may include layers 0 to 5, with each layer indicated as an output layer. The configuration of the OLS and layers may be indicated by the VPS.
[0138] For example, the 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. Additionally, 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 that for each OLS, 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 conveyed 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 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 may 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, a variable for the total number of OLSs for the video sequence (TotalNumOlss) 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 i-th OLS (NumLayersInOls[i]) and the layer ID in the OLS (LayerIdInOLS[i][j]) specifying the nuh_layer_id value of the j-th layer in the i-th OLS may be determined as follows, i.e., 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 an each layer is an OLS flag that specifies whether at least one OLS contains more than one layer.
[0140] In step 1005, using the ID of the output layer, the decoder can decode the coded picture from the output layer to generate a decoded picture. For example, the decoder can decode all of the output layers using inter-layer prediction and decode the upper layer based on the lower layer as desired. The decoder can also select the layer to achieve multiview. In step 1007, the decoder can forward the decoded picture for display as part of the decoded video sequence. For example, the decoder may forward the decoded picture from the first layer for display on the first screen (or a portion thereof) and the picture from the second layer set for display on the second screen (or a portion thereof).
[0141] As a specific example, the decoder may be aware of the available OLS (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 properly decoded / displayed by the decoder. For example, in the case of spatial scalability, the decoder can request an OLS with a picture size related to 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 the current network conditions (e.g., in light of the 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 a multiview video sequence that can be scaled up or down based on the needs of the decoder. The decoder can then decode the requested video sequence as it is received by using the 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 a 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 including one or more layers of a coded picture. Furthermore, the encoding module 1105 is for encoding a VPS into the bitstream, the VPS including an ols_mode_idc for each OLS specifying 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 an ols_mode_idc that specifies for each OLS 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. Use of the term "about" means a range that includes ±10% of the succeeding number, unless otherwise specified.
[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 of 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] Although 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 disclosure. The examples should be considered as illustrative rather than 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 into other systems, or certain features may be omitted or not implemented.
[0148] Additionally, the 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 the present 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 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; A device, wherein the bitstream includes an output layer set (OLS) and a video parameter set (VPS), the OLS including one or more layers of a coded picture, the VPS including an OLS mode identification code (ols_mode_idc), where when the ols_mode_idc is equal to 1, it specifies that for each OLS, all layers in each OLS are output layers, and the total number of OLSs specified by the VPS is equal to the number of layers specified by the VPS.
2. The device of claim 1 , wherein when ols_mode_idc is equal to 1, it further specifies that the i-th OLS includes layers having layer indices greater than or equal to 0 and less than or equal to i.
3. 3. The device of claim 1, wherein 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.
4. The device of claim 1 , wherein the total number of OLSs (TotalNumOlss) is equal to vps_max_layers_minus1 plus 1 when the ols_mode_idc is equal to 1.
5. The number of layers in the ith OLS (NumLayersInOls [i]) and a 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, i.e. 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] 5. The device of claim 1 , 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 each layer is an OLS flag specifying whether at least one OLS contains more than one layer.
6. 1. A method for storing a bitstream, comprising: receiving one or more bitstreams; storing the bitstream in one or more memories; Including, 11. A method according to claim 10, wherein the bitstream includes an output layer set (OLS) and a video parameter set (VPS), the OLS including one or more layers of a coded picture, the VPS including an OLS mode identification code (ols_mode_idc), where when the ols_mode_idc is equal to 1, it specifies that for each OLS, all layers in each OLS are output layers, and the total number of OLSs specified by the VPS is equal to the number of layers specified by the VPS.
7. The method of claim 6 , further specifying that when ols_mode_idc is equal to 1, the i-th OLS includes layers having layer indices greater than or equal to 0 and less than or equal to i.
8. 8. The method of claim 6 or 7, wherein 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.
9. 9. The method of claim 6, wherein the total number of OLSs (TotalNumOlss) is equal to vps_max_layers_minus1 plus 1 when the ols_mode_idc is equal to 1.
10. The number of layers in the ith OLS (NumLayersInOls [i]) and a 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, i.e. 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 each layer is an OLS flag specifying whether at least one OLS contains more than one layer.
11. 1. A system for processing a bitstream, comprising: an encoding device, one or more memories, and a decoding device, comprising: the encoding device is configured to obtain a video signal and to encode the video signal to obtain one or more bitstreams, the bitstream including an output layer set (OLS) and a video parameter set (VPS), the OLS including one or more layers of a coded picture, the VPS including an OLS mode identification code (ols_mode_idc), where when the ols_mode_idc is equal to 1, it specifies that for each OLS, all layers in each OLS are output layers, and a total number of OLSs specified by the VPS is equal to a number of layers specified by the VPS; the one or more memories are used to store the one or more bitstreams; The decoding device is used to decode the one or more bitstreams.
12. 12. The system of claim 11, wherein when ols_mode_idc is equal to 1, it further specifies that the i-th OLS includes layers having layer indices from 0 to i, inclusive.
13. 13. The system of claim 11 or 12, wherein 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.
14. The system of any one of claims 11 to 13, wherein the total number of OLSs (TotalNumOlss) is equal to vps_max_layers_minus1 plus 1 when the ols_mode_idc is equal to 1.
15. A non-transitory computer-readable medium having computer-executable instructions stored thereon, comprising: A non-transitory computer readable medium, the instructions of which, when executed by a processor, perform the method of any one of claims 6 to 10.
Citation Information
Patent Citations
Target Output Layer Selection in High Efficiency Video Coding Extension
JP2016529781A
Selection of target output layers in high efficiency video coding extensions
US20150016532A1
Image decoding apparatus
US20170006300A1
Image decoding device
WO2015137237A1