Error mitigation for sublayers in video coding
By modifying the Buffering Period SEI message to support flexible layer checking, the solution addresses inconsistencies in multi-layer video coding, enhancing efficiency and reducing resource usage in encoders and decoders.
Patent Information
- Application Number
- JP2024039214
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-09-24
- Filing Date
- 2024-03-13
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2040-09-08
AI Technical Summary
Video coding systems face challenges in efficiently encoding and decoding multi-layer bitstreams due to inconsistencies in sequence parameter sets (SPSs) across different layers, leading to unexpected errors and increased resource usage.
The proposed solution involves modifying the Buffering Period Supplemental Enhancement Information (SEI) message to indicate any number of layers or sublayers for conformance checking, using a bp_max_sublayers_minus1 syntax element, and ensuring compatibility by setting it within a range defined by the VPS, thereby avoiding layer-based coding errors and reducing resource usage.
This approach enhances the functionality of encoders and decoders by improving coding efficiency, reducing processor, memory, and network resource usage while ensuring accurate conformance testing across multiple layers.
Smart Images

Figure 0007732620000014 
Figure 0007732620000015 
Figure 0007732620000016
Abstract
Description
[Technical Field]
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This patent application claims the benefit of U.S. Provisional Patent Application No. 62 / 905,244, entitled "Hypothetical Reference Decoder (HRD) for Multi-Layer Video Bitstreams," filed September 24, 2019 by Ye-Kui Wang, which is incorporated herein by reference.
[0002] FIELD This disclosure relates generally to video coding, and more particularly to hypothetical reference decoder (HRD) parameter modification to support efficient encoding and / or conformance testing of multi-layer bitstreams. [Background technology]
[0003] The amount of video data required to represent even a relatively short video can be enormous, making it difficult to communicate, for example, through streaming data, over bandwidth-limited communication networks. Therefore, it is common for video data to be compressed before communication in modern communication networks. Furthermore, when video is stored on a storage device, the size of the video can be an issue due to limited memory resources. Video compression devices often use software and / or hardware to code video data at the source before transmission or storage, thereby reducing the amount of data required to represent a digital video image. After compression, the compressed data is received at the destination by a video decompression device, which decodes the video data. With limited network resources and increasing demand for higher video quality, improved compression and decompression techniques are desirable to increase compression ratios with little or no sacrifice in image quality. Summary of the Invention
[0004] In one embodiment, the present disclosure includes a method implemented by a decoder, the method including receiving, by a receiver of the decoder, a bitstream including a video parameter set (VPS), one or more sublayers, and a buffering period (BP) max sublayers minus one (bp_max_sublayers_minus1) set to a value within a range from 0 to the maximum number of sublayers indicated in the VPS, and decoding, by a processor of the decoder, a picture from the one or more sublayers.
[0005] Video coding systems employ various conformance tests to ensure that a bitstream is decodable by a decoder. For example, conformance tests may include testing the entire bitstream for conformance, then testing each layer of the bitstream for conformance, and finally testing potential decodable outputs for conformance. To implement conformance tests, corresponding parameters are included in the bitstream. A hypothetical reference decoder (HRD) can read the parameters and perform the tests. A video may contain many layers and many different output layer sets (OLSs). Upon request, an encoder transmits one or more layers of a selected OLS. For example, the encoder may transmit the best layer(s) from the OLS that can be supported by the current network bandwidth. An issue concerns the usage of sequence parameter sets (SPSs) to include syntax elements related to each video sequence in a video. Video coding systems may code video in layers and / or sublayers. A video sequence may behave differently in different layers and / or sublayers. Therefore, different layers may refer to different SPSs. The BP SEI message may indicate layers / sublayers to be checked for conformance to the standard. Some video coding systems may indicate that the BP SEI message applies to layers / sublayers indicated in the SPS. This presents a problem in that if different layers reference different SPSs, the SPSs may contain conflicting information, resulting in unexpected errors. The disclosed example includes a mechanism for addressing errors associated with conformance checking when multiple layers are employed in a video sequence. Specifically, the BP SEI message is modified to indicate that any number of layers / sublayers described in the VPS may be checked for conformance. For example, the BP SEI message may include a bp_max_sublayers_minus1 syntax element that indicates the number of layers / sublayers associated with the data in the BP SEI message.Meanwhile, the VPS Max Sublayers Minus One (vps_max_sublayers_minus1) syntax element in the VPS indicates the number of sublayers in the entire video. The bp_max_sublayers_minus1 syntax element can be set to any value between 0 and the value of the vps_max_sublayers_minus1 syntax element. In this manner, the compatibility of any number of layers / sublayers in a video can be checked, and layer-based sequencing issues related to SPS inconsistencies can be avoided. Therefore, the present disclosure avoids layer-based coding errors, thereby improving the functionality of the encoder and / or decoder. Furthermore, the present example supports layer-based coding, which may increase coding efficiency. Therefore, the present example supports reduced processor, memory, and / or network resource usage in the encoder and / or decoder.
[0006] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides that bp_max_sublayers_minus1 is included in a buffering period supplemental enhancement information (SEI) message, and the BP SEI message includes a parameter associated with the maximum number of temporal sublayers specified by bp_max_sublayers_minus1.
[0007] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides that the parameters in the BP SEI message include an initial coded picture buffer (CPB) removal delay and an initial CPB removal offset.
[0008] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides that the maximum number of sublayers indicated in a VPS is included in VPS maximum sublayers minus one (vps_max_sublayers_minus1).
[0009] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides that vps_max_sublayers_minus1 is included in the VPS.
[0010] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides that the BP SEI message is for initialization of a hypothetical reference decoder (HRD) at the position of the associated access unit (AU) in decoding order.
[0011] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides that the bitstream is a temporal scalable bitstream, and the one or more sub-layers are temporal scalable layers of the bitstream, each sub-layer including video coding layer (VCL) network abstraction layer (NAL) units and associated non-VCL NAL units that have the same value of a temporal identifier (TemporalId) variable.
[0012] In one embodiment, the present disclosure includes a method implemented by an encoder, the method including: encoding, by a processor of the encoder, a bitstream including a VPS and one or more sublayers; encoding, by the processor, a BP SEI message including bp_max_sublayers_minus1 set to a value in the range from 0 to the maximum number of sublayers indicated in the VPS into the bitstream; initializing, by the processor, an HRD based on the BP SEI message; and performing, by the processor, a set of bitstream conformance tests on the sublayers using the HRD.
[0013] Video coding systems employ various conformance tests to ensure that a bitstream can be decodable by a decoder. For example, conformance testing may include testing the entire bitstream for conformance, then testing each layer of the bitstream for conformance, and finally testing potential decodable outputs for conformance. To implement a conformance test, corresponding parameters are included in the bitstream. The HRD can read the parameters and perform the tests. A video may contain many layers and many different OLSs. Upon request, an encoder transmits one or more layers of a selected OLS. For example, the encoder may transmit the best layer(s) from the OLS that can be supported by the current network bandwidth. The issue concerns the usage of SPSs to include syntax elements related to each video sequence in a video. Video coding systems may code video in layers and / or sublayers. A video sequence may behave differently in different layers and / or sublayers. Therefore, different layers may reference different SPSs. The BP SEI message may indicate the layers / sublayers to be tested for conformance to the standard. Some video coding systems may indicate that a BP SEI message applies to layers / sublayers indicated in an SPS. This presents a problem in that if different layers reference different SPSs, the SPSs may contain conflicting information, resulting in unexpected errors. The disclosed example includes a mechanism for addressing errors associated with conformance checking when multiple layers are employed in a video sequence. Specifically, the BP SEI message is modified to indicate that any number of layers / sublayers described in the VPS may be checked for conformance. For example, the BP SEI message may include a bp_max_sublayers_minus1 syntax element that indicates the number of layers / sublayers associated with the data in the BP SEI message.Meanwhile, the vps_max_sublayers_minus1 syntax element in the VPS indicates the number of sublayers in the entire video. The bp_max_sublayers_minus1 syntax element can be set to any value between 0 and the value of the vps_max_sublayers_minus1 syntax element. In this manner, the compatibility of any number of layers / sublayers in a video can be checked, and layer-based sequencing issues related to SPS inconsistencies can be avoided. Therefore, the present disclosure avoids layer-based coding errors, thereby improving the functionality of the encoder and / or decoder. Furthermore, the present example supports layer-based coding, which may increase coding efficiency. Therefore, the present example supports reduced processor, memory, and / or network resource usage in the encoder and / or decoder.
[0014] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides that the BP SEI message includes a parameter associated with a maximum number of temporal sublayers specified by bp_max_sublayers_minus1.
[0015] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides that the parameters in the BP SEI message include an initial CPB removal delay and an initial CPB removal offset.
[0016] Optionally, in any of the foregoing aspects, another implementation of the aspect provides that the maximum number of sublayers indicated in the VPS is included in vps_max_sublayers_minus1.
[0017] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides that vps_max_sublayers_minus1 is included in the VPS.
[0018] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides that the HRD is initialized at the position of the associated AU in decoding order based on the BP SEI message.
[0019] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides that the bitstream is a temporal scalable bitstream, and the one or more sub-layers are temporal scalable layers of the bitstream, and each sub-layer includes VCL NAL units and associated non-VCL NAL units that have the same value of the TemporalId variable.
[0020] 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 aforementioned aspects.
[0021] In one embodiment, the present disclosure includes a non-transitory computer-readable medium comprising a computer program product for use by a video coding device, the computer program product including computer-executable instructions stored on the non-transitory computer-readable medium that, when executed by a processor, cause the video coding device to perform the method of any of the foregoing aspects.
[0022] In one embodiment, the present disclosure includes a decoder comprising: receiving means for receiving a bitstream including a VPS, one or more sublayers, and a bp_max_sublayers_minus1 set to a value in the range from 0 to the maximum number of sublayers indicated in the VPS; decoding means for decoding pictures from the one or more sublayers; and forwarding means for forwarding the pictures for display as part of a decoded video sequence.
[0023] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides that the decoder is further configured to perform the method of any of the aforementioned aspects.
[0024] In one embodiment, the present disclosure includes an encoder comprising: encoding means for encoding a bitstream including a VPS and one or more sublayers; and encoding into the bitstream a BP SEI message including bp_max_sublayers_minus1 set to a value ranging from 0 to the maximum number of sublayers indicated in the VPS; initialization means for initializing an HRD based on the BP SEI message; HRD means for performing a set of bitstream conformance tests on the sublayers; and storage means for storing the bitstream for communication to a decoder.
[0025] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides that the encoder is further configured to perform the method of any of the aforementioned aspects.
[0026] For clarity, any one of the above-described embodiments may be combined with any one or more of the other above-described embodiments to create new embodiments within the scope of the present disclosure.
[0027] These and other features will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings and claims. [Brief explanation of the drawings]
[0028] 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.
[0029] [Figure 1] 1 is a flowchart of an exemplary method for coding a video signal.
[0030] [Figure 2] 1 is a schematic diagram of an example coding and decoding (codec) system for video coding.
[0031] [Figure 3] FIG. 1 is a schematic diagram illustrating an exemplary video encoder.
[0032] [Figure 4] FIG. 1 is a schematic diagram illustrating an exemplary video decoder.
[0033] [Figure 5] 1 is a schematic diagram illustrating an exemplary hypothetical reference decoder (HRD).
[0034] [Figure 6] 1 is a schematic diagram illustrating an example multi-layer video sequence configured for inter-layer prediction.
[0035] [Figure 7] FIG. 1 is a schematic diagram illustrating an example multi-layer video sequence configured for temporal scalability.
[0036] [Figure 8] FIG. 2 is a schematic diagram illustrating an exemplary bitstream.
[0037] [Figure 9] 1 is a schematic diagram of an exemplary video coding device.
[0038] [Figure 10] 10 is a flowchart of an example method for encoding a video sequence into a bitstream by including a BP SEI message that directly references a maximum sublayer for bitstream conformance testing with HRD.
[0039] [Figure 11]10 is a flowchart of an example method for decoding a video sequence from a bitstream including a BP SEI message that directly references a maximum sublayer for bitstream conformance testing with HRD.
[0040] [Figure 12] 1 is a schematic diagram of an example system for coding a video sequence in a bitstream including a BP SEI message that directly references a maximum sublayer for bitstream conformance testing with HRD; DETAILED DESCRIPTION OF THE INVENTION
[0041] While exemplary implementations of one or more embodiments are provided below, it should be understood at the outset 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 shown below, including the exemplary designs and implementations shown and described herein, but may be modified within the scope of the appended claims, along with their full range of equivalents.
[0042] The following terms are defined as follows, unless used herein in a contrary context. Specifically, the following definitions are intended to provide further clarity to the present disclosure. However, terms may be explained differently in different contexts. Therefore, the following definitions should be considered supplementary and not limiting of any other definitions of the explanations provided for such terms herein.
[0043] A bitstream is a sequence of bits containing compressed video data for transmission between an encoder and a decoder. An encoder is a device configured to employ an encoding process to compress video data into a bitstream. A decoder is a device configured to employ a decoding process to reconstruct video data from the bitstream for display. A picture is an array of luma samples and / or chroma samples that make up a frame or its fields. The picture being coded or decoded is sometimes referred to as the current picture for clarity. 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, and emulation prevention bytes, interspersed as needed. A video coding layer (VCL) NAL unit is a NAL unit coded to contain video data, such as a coded slice of a picture. A non-VCL NAL unit is a NAL unit that contains non-video data, such as syntax and / or parameters, that support decoding the video data, performing conformance checks, or other operations. An access unit (AU) is a set of NAL units associated with each other according to specified classification rules and related to one particular output time. A decoding unit (DU) is an AU or a subset of AUs and associated non-VCL NAL units. For example, an AU includes a VCL NAL unit and any non-VCL NAL units associated with the VCL NAL unit in the AU. Furthermore, a DU includes a set or subset of VCL NAL units from the AU and any non-VCL NAL units associated with the VCL NAL unit in the DU. A layer is a set of VCL NAL units and associated non-VCL NAL units that share specified characteristics (e.g., a common resolution, frame rate, picture size, etc.). Decoding order is the order in which syntax elements are processed by the decoding process. A video parameter set (VPS) is a data unit containing parameters related to the entire video.
[0044] A temporal scalable bitstream is a bitstream coded in multiple layers that provide various temporal resolutions / frame rates (e.g., each layer is coded to support a different frame rate). A sublayer is a temporal scalable layer of a temporal scalable bitstream that includes VCL NAL units with a specific temporal identifier value and associated non-VCL NAL units. For example, a temporal sublayer is a layer that includes video data associated with a specified frame rate. A sublayer representation is a subset of a bitstream that includes NAL units of a specific sublayer and lower sublayer. Thus, one or more temporal sublayers can be combined to achieve a sublayer representation that can be decoded to result in a video sequence with a specified frame rate. An output layer set (OLS) is a set of layers in which one or more layers are designated as output layer(s). An output layer is a layer designated for output (e.g., to a display). An OLS index is an index that uniquely identifies the corresponding OLS. The zeroth (0th) OLS is an OLS that contains only the lowest layer (the layer with the lowest layer identifier) and is an OLS that contains only output layers. The temporal identifier (ID) is a data element that indicates that the data corresponds to a temporal position in a video sequence. The sub-bitstream extraction process is a process that removes NAL units from the bitstream that do not belong to a target set determined by the target OLS index and the target highest temporal ID. The sub-bitstream extraction process results in an output sub-bitstream that contains NAL units from the bitstream that are part of the target set.
[0045] An HRD is a decoder model that runs on an encoder and examines variations in the bitstream generated by the encoding process to verify conformance with specified constraints. Bitstream conformance tests are tests to determine whether the encoded bitstream conforms to a standard such as Generic Video Coding (VVC). HRD parameters are syntax elements that initialize and / or define the operating conditions of the HRD. HRD parameters can be included in an HRD parameter syntax structure. A syntax structure is a data object configured to contain multiple different parameters. A syntax element is a data object that contains one or more parameters of the same type. Thus, a syntax structure can contain multiple syntax elements. Sequence-level HRD parameters are HRD parameters that apply to the entire coded video sequence. The maximum HRD temporal ID (hrd_max_tid[i]) specifies the temporal ID of the highest sublayer representation whose HRD parameters are included in the ith set of OLS HRD parameters. The general HRD parameters (general_hrd_parameters) syntax structure is a syntax structure that contains sequence-level HRD parameters. An operation point (OP) is a temporal subset of an OLS identified by an OLS index and a top-level temporal ID. A test target OP (targetOp) is an OP selected for conformance testing in the HRD. A target OLS is an OLS selected for extraction from the bitstream. A decoding unit HRD parameter present flag (decoding_unit_hrd_params_present_flag) is a flag indicating whether the corresponding HRD parameter operates at the DU level or the AU level. A coded picture buffer (CPB) is a first-in, first-out buffer in the HRD that contains coded pictures in decoding order for use during bitstream conformance verification. A decoded picture buffer (DPB) is a buffer for holding decoded pictures for reference, output reordering, and / or output delay.
[0046] A Supplementary Enhancement Information (SEI) message is a syntax structure with specified semantics that conveys information not required by the decoding process to determine the values of samples in a decoded picture. A scalable nesting SEI message is a message that contains multiple SEI messages corresponding to one or more OLSs or one or more layers. A non-scalable nested SEI message is a non-nested message and therefore contains a single SEI message. A buffering period (BP) SEI message is an SEI message that contains HRD parameters for initializing the HRD to manage the CPB. A picture timing (PT) SEI message is an SEI message that contains HRD parameters for managing distribution information for AUs in the CPB and / or DPB. A decoding unit information (DUI) SEI message is an SEI message that contains HRD parameters for managing distribution information for DUs in the CPB and / or DPB.
[0047] The CPB removal delay is the period of time that the corresponding current AU may remain in the CPB before being removed and output to the DPB. The initial CPB removal delay is the default CPB removal delay for each picture, AU, and / or DU in the bitstream, OLS, and / or layer. The CPB removal offset is a location in the CPB used to determine the boundary of the corresponding AU in the CPB. The initial CPB removal offset is the default CPB removal offset associated with each picture, AU, and / or DU in the bitstream, OLS, and / or layer. The decoded picture buffer (DPB) output delay information is the period of time that the corresponding AU may remain in the DPB before being output. The CPB removal delay information is information regarding the removal of the corresponding DU from the CPB. The delivery schedule specifies the timing for delivery of video data to and / or from memory locations such as the CPB and / or DPB. The VPS layer ID (vps_layer_id) is a syntax element that indicates the layer ID of the ith layer indicated in the VPS. The number of output layer sets minus one (num_output_layer_sets_minus1) is a syntax element that specifies the total number of OLSs specified by the VPS. The HRD coded picture buffer count (hrd_cpb_cnt_minus1) is a syntax element that specifies the number of alternative CPB delivery schedules. The sublayer CPB parameters present flag (sublayer_cpb_params_present_flag) is a syntax element that specifies whether the set of OLS HRD parameters includes HRD parameters for the specified sublayer representation. The schedule index (ScIdx) is an index that identifies a delivery schedule. The BP CPB count minus one (bp_cpb_cnt_minus1) is a syntax element that specifies the number of initial CPB removal delay and offset pairs, and therefore the number of delivery schedules available for a temporal sublayer. The NAL unit header layer identifier (nuh_layer_id) is a syntax element that specifies the identifier of the layer that contains the NAL unit.The fixed picture rate general flag (fixed_pic_rate_general_flag) syntax element is a syntax element that specifies whether the temporal distance between the HRD output times of consecutive pictures in output order is constrained. The sublayer HRD parameters (sublayer_hrd_parameters) syntax structure is a syntax structure that contains HRD parameters for the corresponding sublayer. The general VCL HRD parameters present flag (general_vcl_hrd_params_present_flag) is a flag that specifies whether VCL HRD parameters are present in the general HRD parameters syntax structure. The BP max sublayers minus one (bp_max_sublayers_minus1) syntax element is a syntax element that specifies the maximum number of temporal sublayers for which the CPB removal delay and CPB removal offset are indicated in the BP SEI message. The VPS max sublayers minus one (vps_max_sublayers_minus1) syntax element is a syntax element that specifies the maximum number of temporal sublayers that can exist in a layer specified by the VPS. The scalable nesting OLS flag is a flag that specifies whether the scalable nested SEI message applies to a specific OLS or a specific layer. The scalable nesting number of OLSs minus one (num_olss_minus1) is a syntax element that specifies the number of OLSs to which the scalable nested SEI message applies. The nesting OLS index (NestingOlsIdx) is a syntax element that specifies the OLS index of the OLS to which the scalable nested SEI message applies. The target OLS index (targetOlsIdx) is a variable that identifies the OLS index of the OLS to be decoded. The total number of OLSs minus one (TotalNumOlss-1) is a syntax element that specifies the total number of OLSs specified in the VPS.
[0048] In this specification, the following abbreviations are used: Access Unit (AU), Coding Tree Block (CTB), Coding Tree Unit (CTU), Coding Unit (CU), Coding Layer Video Sequence (CLVS), Coding Layer Video Sequence Start (CLVSS), Coded Video Sequence (CVS), Coded Video Sequence Start (CVSS), Joint Video Experts Team (JVET), Hypothetical Reference Decoder (HRD), Motion Constrained Tile Set (MCTS), Maximum Transfer Unit (MTU), Network Abstraction Layer (NAL), Output Layer Set (OLS), Picture Order Count (POC), Random Access Point (RAP), Raw Byte Sequence Payload (RBSP), Sequence Parameter Set (SPS), Video Parameter Set (VPS), and Generic Video Coding (VVC).
[0049] Many video compression techniques can be employed to minimize data loss and reduce the size of video files. For example, video compression techniques may include performing spatial (e.g., intra-picture) prediction and / or temporal (e.g., inter-picture) prediction to reduce or remove data redundancy in a video sequence. In block-based video coding, a video slice (e.g., a video picture or a portion of a video picture) may be divided 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) slice or bidirectionally predicted (B) slice of a picture may be coded by employing 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 image, and a reference picture may be referred to as a reference frame and / or reference image. Spatial or temporal prediction results in a predictive block that represents an image block. Residual data represents pixel differences between the original image block and the predictive block. Thus, inter-coded blocks are coded according to a motion vector that points to a block of reference samples that form the predictive block, and residual data that indicates the difference between the coding block and the predictive block. Intra-coded blocks are coded according to an intra-coding mode and residual data. For further compression, the residual data may be transformed from the pixel domain to a transform domain. 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. Entropy coding may be applied to achieve even greater compression. Such video compression techniques are described in more detail below.
[0050] To ensure that the encoded video can be accurately decoded, the video is encoded and decoded according to a corresponding video coding standard. Video coding standards include Advanced Video Coding (AVC), also known as 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, 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), and three-dimensional (3D) AVC (3D-AVC). HEVC includes extensions such as Scalable HEVC (SHVC), Multiview HEVC (MV-HEVC), and 3D HEVC (3D-HEVC). The Joint Video Experts Team (JVET) of ITU-T and ISO / IEC has begun development of a video coding standard called Versatile Video Coding (VVC). VVC is included in working drafts (WDs), including JVET-O2001-v14.
[0051] Video coding systems employ various conformance tests to ensure that a bitstream is decodable by a decoder. For example, conformance tests may include testing the entire bitstream for conformance, then testing each layer of the bitstream for conformance, and finally testing potential decodable outputs for conformance. To implement conformance tests, corresponding parameters are included in the bitstream. A hypothetical reference decoder (HRD) can read the parameters and perform the tests. A video may contain many layers and many different output layer sets (OLSs). Upon request, an encoder transmits one or more layers of a selected OLS. For example, the encoder may transmit the best layer(s) from the OLS that can be supported by the current network bandwidth. A first problem with this approach is that a large number of layers are tested but not actually transmitted to the decoder. However, parameters to support such tests are still included in the bitstream, which may unnecessarily increase the bitstream size.
[0052] In a first example, a mechanism for applying a bitstream conformance test to only each OLS is disclosed herein. In this way, when testing the corresponding OLS, the entire bitstream, each layer, and the decodable output are tested together. Therefore, the number of conformance tests is reduced, thereby reducing processor and memory resource usage in the encoder. Furthermore, reducing the number of conformance tests can reduce the number of associated parameters included in the bitstream. This reduces the bitstream size, thereby reducing processor, memory, and / or network resource usage in both the encoder and the decoder.
[0053] A second problem is that the HRD parameter signaling process used for HRD conformance testing in some video coding systems can become complicated in a multi-layer context. For example, a set of HRD parameters may be signaled for each layer in each OLS. Such HRD parameters may be signaled at different locations in the bitstream depending on the intended range of the parameters. Thus, as more layers and / or OLSs are added, the scheme becomes more complex. Furthermore, the HRD parameters for different layers and / or OLSs may contain redundant information.
[0054] In a second example, a mechanism for signaling a global set of HRD parameters for an OLS and corresponding layers is disclosed herein. For example, all sequence-level HRD parameters that apply to all OLSs and all layers included in the OLSs are signaled in a video parameter set (VPS). Because the VPS is signaled once in the bitstream, sequence-level HRD parameters are signaled once. Furthermore, sequence-level HRD parameters can be constrained to be the same for all OLSs. In this way, redundant signaling is reduced and coding efficiency is improved. This approach also simplifies the HRD process. As a result, processor, memory, and / or network signaling resource usage is reduced in both the encoder and decoder.
[0055] A third problem may arise when a video coding system performs conformance checking on a bitstream. Video may be coded into multiple layers and / or sublayers, which may then be organized into an OLS. Each layer and / or sublayer of each OLS is checked for conformance according to a delivery schedule. Each delivery schedule is associated with a different coded picture buffer (CPB) size and CPB delay, taking into account different transmission bandwidths and system capabilities. Some video coding systems allow each sublayer to define any number of delivery schedules. This may result in a large amount of signaling to support the conformance checking, which may reduce coding efficiency for the bitstream.
[0056] In a third example, a mechanism for improving coding efficiency for videos containing multiple layers is disclosed herein. Specifically, all layers and / or sublayers are constrained to include the same number of CPB delivery schedules. For example, an encoder can determine the maximum number of CPB delivery schedules to be used for any one layer and set the number of CPB delivery schedules for all layers to the maximum number. The number of delivery schedules can then be signaled once, for example, as part of the HRD parameters in the VPS. This eliminates the need to signal multiple schedules per layer / sublayer. In some examples, all layers / sublayers in the OLS can also share the same delivery schedule index. These changes reduce the amount of data used to signal data related to conformance checking. This reduces bitstream size, thereby reducing processor, memory, and / or network resource usage in both the encoder and decoder.
[0057] A fourth problem may arise when video is coded into multiple layers and / or sublayers, which are then organized into an OLS. The OLS may include a zeroth (0th) OLS that includes only output layers. A supplemental enhancement information (SEI) message may be included in the bitstream to inform the HRD of layer / OLS-specific parameters used to test the bitstream's layers for conformance to the standard. Specifically, when an OLS is included in the bitstream, a scalable nesting SEI message is employed. The scalable nesting SEI message includes a group of nested SEI messages that apply to one or more OLSs and / or one or more layers of the OLS. Each nested SEI message may include an indicator to indicate its association with the corresponding OLS and / or layer. A nested SEI message is configured for use with multiple layers and may contain irrelevant information when applied to a zeroth OLS that includes a single layer.
[0058] In a fourth example, a mechanism for improving coding efficiency for video including a 0th OLS is disclosed herein. A non-scalable nested SEI message is employed for the 0th OLS. The non-scalable nested SEI message is constrained to apply only to the 0th OLS and, therefore, only to the output layers included in the 0th OLS. In this way, irrelevant information such as nesting relationships, layer indications, etc. can be omitted from the SEI message. The non-scalable nested SEI message may be used as a buffering period (BP) SEI message, a picture timing (PT) SEI message, a decoding unit (DU) SEI message, or a combination thereof. These modifications reduce the amount of data used to signal conformance check-related information for the 0th OLS. This reduces the bitstream size, thereby reducing processor, memory, and / or network resource utilization in both the encoder and decoder.
[0059] A fifth problem may also occur when video is separated into multiple layers and / or sublayers. An encoder may encode these layers into a bitstream. Furthermore, the encoder may employ HRD to perform conformance testing to check the bitstream for conformance with a standard. To support such conformance testing, the encoder may be configured to include layer-specific HRD parameters in the bitstream. The layer-specific HRD parameters may be coded for each layer in some video coding systems. In some cases, the layer-specific HRD parameters are the same for each layer, resulting in redundant information and unnecessarily increasing the size of the video encoding.
[0060] In a fifth example, a mechanism for reducing HRD parameter redundancy for video employing multiple layers is disclosed herein. An encoder may encode the HRD parameters of the highest layer. The encoder may also encode a sublayer CPB parameter present flag (sublayer_cpb_params_present_flag). The sublayer_cpb_params_present_flag may be set to 0 to indicate that all lower layers should use the same HRD parameters as the highest layer. In this context, the highest layer has the highest layer identifier (ID), and a lower layer is any layer with a layer ID lower than the layer ID of the highest layer. In this manner, HRD parameters for lower layers may be omitted from the bitstream. This reduces the bitstream size, thereby reducing processor, memory, and / or network resource usage in both the encoder and decoder.
[0061] A sixth issue concerns the use of sequence parameter sets (SPSs) to include syntax elements related to each video sequence in a video. A video coding system may code video in layers and / or sublayers. A video sequence may behave differently in different layers and / or sublayers. Therefore, different layers may reference different SPSs. A BP SEI message may indicate the layer / sublayer that is being checked for conformance to the standard. Some video coding systems may indicate that a BP SEI message applies to the layer / sublayer indicated in the SPS. This poses a problem: if different layers reference different SPSs, the SPSs may contain conflicting information, resulting in unexpected errors.
[0062] In a sixth example, a mechanism for addressing errors associated with conformance checking when multiple layers are employed in a video sequence is disclosed herein. Specifically, the BP SEI message is modified to indicate that any number of layers / sublayers described in the VPS can be checked for conformance. For example, the BP SEI message may include a BP max sublayers minus one (bp_max_sublayers_minus1) syntax element indicating the number of layers / sublayers associated with the data in the BP SEI message. Meanwhile, the VPS max sublayers minus one (vps_max_sublayers_minus1) syntax element in the VPS indicates the number of sublayers in the entire video. The bp_max_sublayers_minus1 syntax element may be set to any value between 0 and the value of the vps_max_sublayers_minus1 syntax element. In this manner, any number of layers / sublayers in a video can be checked for conformance, avoiding layer-based sequencing issues associated with SPS inconsistencies. Therefore, the present disclosure avoids layer-based coding errors, thereby improving the functionality of the encoder and / or decoder. Furthermore, the present example supports layer-based coding, which may increase coding efficiency and therefore support reduced processor, memory, and / or network resource usage in the encoder and / or decoder.
[0063] The seventh problem concerns the layers included in an OLS. Each OLS includes at least one output layer configured to be displayed at a decoder. The HRD in the encoder can check each OLS for conformance with the standard. A conforming OLS can always be decoded and displayed at a conforming decoder. The HRD process may be managed in part by SEI messages. For example, a scalable nesting SEI message may include a scalable nesting SEI message. Each scalable nesting SEI message may include data related to the corresponding layer. When performing conformance testing, the HRD may perform a bitstream extraction process on the target OLS. Data not related to a layer in the OLS is generally removed before conformance testing (e.g., before transmission), and each OLS may be inspected separately. Some video coding systems do not remove scalable nesting SEI messages during the sub-bitstream extraction process because such messages relate to multiple layers. This may result in scalable nesting SEI messages remaining in the bitstream after sub-bitstream extraction, even if the scalable nesting SEI messages are not related to any layer in the target OLS (the OLS being extracted), which may increase the size of the final bitstream but does not provide any additional functionality.
[0064] In a seventh example, a mechanism for reducing the size of a multi-layer bitstream is disclosed herein. During sub-bitstream extraction, a scalable nesting SEI message can be considered for removal from the bitstream. If the scalable nesting SEI message is associated with one or more OLSs, the scalable nesting SEI message in the scalable nesting SEI message is inspected. If the scalable nesting SEI message is not associated with any layer in the target OLS, the entire scalable nesting SEI message can be removed from the bitstream. This results in a smaller size of the bitstream sent to the decoder. This example therefore improves coding efficiency and reduces processor, memory, and / or network resource usage in both the encoder and decoder.
[0065] 1 is a flowchart of an exemplary operational method 100 for coding a video signal. Specifically, a video signal is encoded by an encoder. The encoding process compresses the video signal by employing 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 decodes the compressed video file to reconstruct the original video signal for display to the end user. The decoding process generally mirrors the encoding process, allowing the decoder to consistently reconstruct the video signal.
[0066] In step 101, a video signal is input to an encoder. For example, the video signal may be an uncompressed video file stored in memory. As another example, the video file may be captured by a video capture device, such as a video camera, and encoded to support live streaming of the video. The video file may include both an audio component and a video component. The video component includes a series of image frames, which, when viewed in succession, create the visual impression of movement. The frames include pixels represented by light, referred to herein as luma components (or luma samples), and color, referred to herein as chroma components (or color samples). In some examples, the frames may also include depth values to support three-dimensional views.
[0067] In step 103, the video is divided into blocks. Partitioning involves subdividing pixels within each frame into square and / or rectangular blocks for compression. For example, in High Efficiency Video Coding (HEVC) (also known as H.265 and MPEG-H Part 2), a frame can first be divided into coding tree units (CTUs), which are blocks of a predefined size (e.g., 64 pixels by 64 pixels). CTUs contain both luma and chroma samples. A coding tree can be employed to divide the CTUs into blocks, and then the blocks can be recursively subdivided until a configuration that supports further encoding is achieved. For example, the luma component of a frame can be subdivided until each block contains a relatively uniform brightness value. Furthermore, the chroma component of a frame can be subdivided until each block contains a relatively uniform color value. Thus, the partitioning mechanism varies depending on the content of the video frame.
[0068] In step 105, various compression mechanisms are employed to compress the image blocks partitioned in step 103. For example, inter-prediction and / or intra-prediction may be employed. Inter-prediction is designed to take advantage of the fact that objects in a common scene tend to appear in consecutive frames. This eliminates the need to redundantly describe blocks representing objects in a reference frame between adjacent frames. Specifically, an object such as a table may remain in a constant position across multiple frames. Thus, the table can be described once and adjacent frames can reference the reference frame. A pattern matching mechanism can be employed to match objects across multiple frames. Furthermore, moving objects may be represented across multiple frames, for example, due to object movement or camera movement. As a specific example, a video may show a car moving across the screen across multiple frames. Motion vectors can be employed to describe such movement. A motion vector is a two-dimensional vector that provides an offset from the coordinates of an object in a frame to the coordinates of the object in a reference frame. In this manner, inter-prediction may encode an image block in a current frame as a set of motion vectors indicating its offset from a corresponding block in a reference frame.
[0069] Intra prediction encodes blocks within a common frame. Intra prediction takes advantage of the fact that luma and chroma components tend to cluster within a frame. For example, a green patch in a portion of a tree tends to be located adjacent to similar green patches. Intra prediction employs multiple directional prediction modes (e.g., 33 directions in HEVC), planar mode, and direct current (DC) mode. Directional mode indicates that the current block is similar / identical to samples of neighboring blocks in that direction. Planar mode indicates that a series of blocks along a row / column (e.g., a plane) can be interpolated based on neighboring blocks at the edge of the row. Planar mode effectively smooths light / color transitions across rows / columns by employing a relatively constant slope in changing values. DC mode is employed for boundary smoothing, indicating that the block is similar / identical to the average value associated with samples of all neighboring blocks associated with the angular direction of the directional prediction mode. In this way, intra-predicted blocks can represent image blocks as various related prediction mode values instead of actual values. Furthermore, inter-predicted 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. The difference is stored in a residual block. A transform may also be applied to the residual block to further compress the file.
[0070] Various filtering techniques can be applied in step 107. In HEVC, filters are applied according to an in-loop filtering scheme. The block-based prediction described above can result in the creation of blocky images in the decoder. Furthermore, the block-based prediction scheme can encode a block and then reconstruct the encoded block for later use as a reference block. The in-loop filtering scheme iteratively applies a noise suppression filter, a deblocking filter, an adaptive loop filter, and a sample adaptive offset (SAO) filter to the block / frame. These filters mitigate such blocking artifacts so that the encoded file can be accurately reconstructed. Furthermore, these filters mitigate artifacts in the reconstructed reference block, making the artifact less likely to generate additional artifacts in subsequent blocks that are coded based on the reconstructed reference block.
[0071] Once the video signal has been segmented, compressed, and filtered, the resulting data is coded into a bitstream in step 109. The bitstream includes the data described above as well as 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.
[0072] The decoder receives the bitstream and begins the decoding process in step 111. Specifically, the decoder employs an entropy decoding scheme to convert the bitstream into corresponding syntax and video data. In step 111, the decoder employs syntax data from the bitstream to determine the frame partition. This partition should match the result of the block partitioning in step 103. Next, the entropy encoding / decoding employed in step 111 will be described. The encoder makes many choices during the compression process, for example, selecting a block partitioning scheme from multiple possible choices based on the spatial arrangement of values in the input image(s). To signal the exact selection, a number of bins may be employed. As used herein, a bin is a binary value (e.g., a bit value that can change depending on the context) treated as a variable. Entropy coding allows the encoder to discard any options that are clearly not feasible for a particular case, leaving a set of acceptable options. Each acceptable option is then assigned a codeword. 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, making it desired to uniquely indicate a selection from a small subset of allowable options rather than a selection from a potentially large set of all possible options. The decoder then decodes the selection by determining the set of allowable options in a similar manner to the encoder. By determining the set of allowable options, the decoder can read the codeword and determine the selection made by the encoder.
[0073] In step 113, the decoder performs block decoding. Specifically, the decoder employs an inverse transform to generate a residual block. Then, the decoder employs the residual block and a corresponding predictive block to reconstruct an image block according to the partition. The predictive block may include both an intra-predictive block and an inter-predictive block generated by the encoder in step 105. The reconstructed image block is then placed in a frame of the reconstructed video signal according to the partition data determined in step 111. The syntax of step 113 may also be signaled in the bitstream via entropy coding, as described above.
[0074] 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, the video signal may be output to a display in step 117 for viewing by an end user.
[0075] 2 is a schematic diagram of an exemplary coding and decoding (codec) system 200 for video coding. Specifically, codec system 200 provides functionality supporting implementation of operational method 100. Codec system 200 is generalized to show components employed in both encoders and decoders. Codec system 200 receives and splits a video signal, as described with reference to steps 101 and 103 of operational method 100, resulting in split video signal 201. When operating as an encoder, codec system 200 then compresses split video signal 201 into a coded bitstream, as described with reference to steps 105, 107, and 109 of method 100. When operating as a decoder, codec system 200 generates an output video signal from the bitstream, as described with reference to steps 111, 113, 115, and 117 of operational method 100. Codec system 200 includes a general 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 formatting and context-adaptive binary arithmetic coding (CABAC) component 231. These components are coupled as shown. In Figure 2, black lines indicate the movement of data to be coded / decoded, and dashed lines indicate the movement of control data that controls the operation of other components. All of the components of codec system 200 may reside within 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, which are described below.
[0076] The partitioned video signal 201 is a captured video sequence partitioned into blocks of pixels by a coding tree. The coding tree employs 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 partitioned 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 may be included in coding units (CUs). For example, a CU may be a subpart of a CTU that includes a luma block, red-difference chroma (Cr) block(s), and blue-difference chroma (Cb) block(s), along with corresponding syntax instructions for the CU. Partitioning modes may include binary tree (BT), ternary tree (TT), and quad tree (QT), which are employed to partition a node into two, three, or four child nodes of various shapes, depending on the partitioning mode employed. The split video signal 201 is forwarded to a general coder control component 211, a transform scaling and quantization component 213, an intra-picture estimation component 215, a filter control analysis component 227, and a motion estimation component 221 for compression.
[0077] The generic coder control component 211 is configured to make decisions related to coding images of a video sequence into a bitstream according to application constraints. For example, the generic coder control component 211 manages the optimization of bitrate / bitstream size versus reconstruction quality. Such decisions can be made based on storage space / bandwidth availability and image resolution requirements. The generic coder control component 211 also manages buffer utilization, taking transmission speed into account, to mitigate buffer underrun and overrun issues. To manage these issues, the generic coder control component 211 manages segmentation, prediction, and filtering by other components. For example, the generic coder control component 211 may dynamically increase compression complexity to increase resolution and bandwidth usage, or decrease compression complexity to decrease resolution and bandwidth usage. Thus, the generic coder control component 211 controls other components of the codec system 200 to balance the reconstruction quality of the video signal versus the bitrate. The generic coder control component 211 generates control data that controls the operation of the other components. Control data is also forwarded to the header formatting and CABAC component 231 and encoded in the bitstream to signal parameters for decoding at the decoder.
[0078] 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, for example, perform multiple coding passes to select an appropriate coding mode for each block of video data.
[0079] The motion estimation component 221 and the motion compensation component 219 may be highly integrated but are shown separately for conceptual purposes. Motion estimation, performed by the motion estimation component 221, is the process of generating motion vectors that estimate the motion of a video block. A motion vector may indicate, for example, the displacement of a coded object 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 is sometimes referred to as a reference block. Such pixel differences may be determined by sum of absolute differences (SAD), sum of squared differences (SSD), or other difference metrics. HEVC employs multiple coded objects, including CTUs, coding tree blocks (CTBs), and CUs. For example, a CTU may be partitioned into CTBs, which may then be partitioned into CBs for inclusion in a CU. A CU may be coded as a prediction unit (PU) containing prediction data and / or a transform unit (TU) containing transformed residual data for the CU. The motion estimation component 221 generates motion vectors, PUs, and TUs by using rate-distortion analysis as part of a rate-distortion optimization process. For example, the motion estimation component 221 may determine multiple reference blocks, multiple motion vectors, etc. for the current block / frame and 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 loss due to compression) and the coding efficiency (e.g., the size of the final encoding).
[0080] In some examples, the codec system 200 may calculate values for sub-integer pixel positions of reference pictures 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 pictures. Accordingly, the motion estimation component 221 may perform motion search for whole pixel positions and fractional pixel positions and output motion vectors with fractional pixel accuracy. The motion estimation component 221 calculates the motion vector of 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 as motion data to the header formatting and CABAC component 231 for encoding and outputs the motion to the motion compensation component 219.
[0081] The motion compensation performed by the motion compensation component 219 may involve fetching or generating a predictive block based on a motion vector determined by the motion estimation component 221. Again, the motion estimation component 221 and the motion compensation component 219 may be functionally integrated in some examples. Upon receiving a 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. Generally, 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.
[0082] The split video signal 201 is also sent to an intra-picture estimation component 215 and an intra-picture prediction component 217. Like the motion estimation component 221 and the motion compensation component 219, the intra-picture estimation component 215 and the intra-picture prediction component 217 may be highly integrated but are shown separately for conceptual purposes. The intra-picture estimation component 215 and the intra-picture prediction component 217 intra-predict the current block relative to blocks in the current frame as an alternative to the inter-prediction performed by the motion estimation component 221 and the motion compensation component 219 between frames, as described above. In particular, the intra-picture estimation component 215 determines the intra-prediction mode to be used 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 multiple tested intra-prediction modes. The selected intra-prediction mode is then forwarded to the header formatting and CABAC component 231 for encoding.
[0083] For example, the intra picture estimation component 215 may use a rate-distortion analysis to calculate rate-distortion values for various tested intra prediction modes and select the intra prediction mode with the best rate-distortion characteristics among the tested modes. The rate-distortion analysis generally determines the amount of distortion (or error) between a coded block and the original uncoded block coded to generate the coded block, as well as the bit rate (e.g., number of bits) used to generate the coded block. The intra picture estimation component 215 may calculate a ratio from the distortion and rate for various coded blocks and determine which intra prediction mode exhibits the best rate-distortion value for the block. In addition, the intra picture estimation component 215 may be configured to code the depth blocks of the depth map using a rate-distortion optimization (RDO)-based depth modeling mode (DMM).
[0084] The intra-picture prediction component 217, when implemented on an encoder, can generate a residual block from the prediction block based on the selected intra-prediction mode determined by the intra-picture estimation component 215, or, when implemented on a decoder, can read the residual block from the bitstream. The residual block includes value differences between the prediction block and the original block, represented as a matrix. The residual block is then forwarded to the transform scaling and quantization component 213. The intra-picture estimation component 215 and the intra-picture prediction component 217 can operate on both luma and chroma components.
[0085] The transform scaling and quantization component 213 is configured to further compress the residual block. The transform scaling and quantization component 213 applies a transform, such as a discrete cosine transform (DCT), a discrete sine transform (DST), or a conceptually similar transform, to the residual block to generate a video block containing residual transform coefficient values. A wavelet transform, an integer transform, a subband transform, or other types of transforms may also be used. This transform may convert the residual information from the pixel value domain to a transform domain, such as the frequency domain. The transform scaling and quantization component 213 is also configured to scale the transformed residual information, for example, based on frequency. Such scaling applies a scale factor 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 modified 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, which are forwarded to the header formatting and CABAC component 231 and encoded in the bitstream.
[0086] The scaling and inverse transform component 229 applies the inverse operations of the transform scaling and quantization component 213 to support motion estimation. The scaling and inverse transform component 229 applies inverse scaling, transform, and / or quantization to reconstruct a residual block in the pixel domain for later use as a reference block, which may become a predictive block for another current block, for example. The motion estimation component 221 and / or motion compensation component 219 can calculate a reference block by adding the residual block 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 produced during scaling, quantization, and transform. Such artifacts may otherwise cause inaccurate predictions (and generate additional artifacts) when subsequent blocks are predicted.
[0087] The filter control analysis component 227 and the in-loop filter component 225 apply filters to residual blocks and / or reconstructed image blocks. For example, a transformed residual block from the scaling and inverse transform component 229 can be combined with a corresponding prediction block from the intra-picture prediction component 217 and / or the motion compensation component 219 to reconstruct an original image block. A filter may then be applied to the reconstructed image block. In some examples, a filter may be applied to the residual block instead. Like the other components in FIG. 2, the filter control analysis component 227 and the in-loop filter component 225 can be highly integrated and implemented together, but are shown separately for conceptual purposes. The filters applied to the reconstructed reference block are applied to specific spatial regions and include multiple parameters for adjusting how such filters are applied. The filter control analysis component 227 analyzes the reconstructed reference block to determine where such filters should be applied and set the corresponding parameters. Such data is forwarded to the header formatting 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.
[0088] When operating as an encoder, the filtered reconstructed image blocks, residual blocks, and / or prediction blocks are stored in the decoded picture buffer component 223 for later use in motion estimation as described above. When operating as a decoder, the decoded picture buffer component 223 stores the reconstructed and filtered blocks and forwards them to a 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.
[0089] The header formatting and CABAC component 231 receives data from various components of the codec system 200 and encodes such data into a coded bitstream for transmission to a decoder. Specifically, the header formatting and CABAC component 231 generates various headers to encode control data, such as general control data and filter control data. Furthermore, prediction data, including intra-prediction and motion data, and residual data in the form of quantized transform coefficient data are all encoded in the bitstream. The final bitstream contains all information desired by a decoder to reconstruct the original split video signal 201. Such information may also include an intra-prediction mode index table (also referred to as a codeword mapping table), definitions of coding contexts for various blocks, indications of the most probable intra-prediction mode, indications of partition information, etc. Such data may be encoded by employing entropy coding. For example, the information may be encoded by employing context-adaptive variable length coding (CAVLC), CABAC, syntax-based context-adaptive binary arithmetic coding (SBAC), probability interval partitioning entropy (PIPE) coding, or another entropy coding technique. Following entropy coding, the coded bitstream may be transmitted to another device (e.g., a video decoder) or archived for later transmission or retrieval.
[0090] 3 is a block diagram illustrating an exemplary video encoder 300. Video encoder 300 may be employed to implement the encoding functionality of codec system 200 and / or to implement steps 101, 103, 105, 107, and / or 109 of method of operation 100. Encoder 300 splits an input video signal, thereby resulting in split video signal 301 that is substantially similar to split video signal 201. Split video signal 301 is then compressed and encoded into a bitstream by components of encoder 300.
[0091] Specifically, the split 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 split 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 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 be substantially similar to the header formatting and CABAC component 231 .
[0092] The transformed and quantized residual block and / or the corresponding prediction block are also transferred from the transform and quantization component 313 to the inverse transform and quantization component 329 for reconstructing 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.
[0093] 4 is a block diagram illustrating an exemplary video decoder 400. Video decoder 400 may be employed 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 receives a bitstream, for example, from encoder 300, and generates a reconstructed output video signal based on the bitstream for display to an end user.
[0094] 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 employ header information to provide context for interpreting additional data encoded as codewords in the bitstream. The decoded information includes any desired information for decoding the video signal, such as general control data, filter control data, partition information, motion data, prediction data, and quantized transform coefficients from residual blocks. The quantized transform coefficients are forwarded to the inverse transform and quantization component 429 for reconstruction into residual blocks. The inverse transform and quantization component 429 may be similar to the inverse transform and quantization component 329.
[0095] 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 employs a prediction mode to locate a reference block within a frame and applies the residual block to the result to reconstruct an intra-predicted image block. The reconstructed intra-predicted image block and / or residual block and corresponding inter-prediction data are forwarded to the decoded picture buffer component 423 via the in-loop filter component 425, which may be substantially similar to the decoded picture buffer component 223 and the in-loop filter component 225, respectively. The in-loop filter component 425 filters the reconstructed image block, residual block, and / or predictive block, and such information is stored in the decoded picture buffer component 423. The reconstructed image blocks from the decoded picture buffer component 423 are forwarded to the motion compensation component 421 for inter prediction. The motion compensation component 421 may be substantially similar to the motion estimation component 221 and / or the motion compensation component 219. Specifically, the motion compensation component 421 employs a motion vector 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 the in-loop filter component 425. The decoded picture buffer component 423 continues to store additional reconstructed image blocks, which may be reconstructed into frames via partition information. Such frames may also be arranged in a sequence. The sequence is output to a display as a reconstructed output video signal.
[0096] 5 is a schematic diagram illustrating an exemplary HRD 500. The HRD 500 may be employed in codec system 200 and / or an encoder, such as encoder 300. The HRD 500 may inspect the bitstream created in step 109 of method 100 before the bitstream is forwarded to a decoder, e.g., decoder 400. In some examples, the bitstream may be continuously forwarded through the HRD 500 as the bitstream is encoded. If a portion of the bitstream fails to conform to an associated constraint, the HRD 500 may indicate such failure to the encoder, causing the encoder to re-encode the corresponding section of the bitstream with a different mechanism.
[0097] The HRD 500 includes a virtual stream scheduler (HSS) 541. The HSS 541 is a component configured to implement a virtual distribution mechanism. The virtual distribution mechanism is used to check the conformance of a bitstream or decoder with respect to the timing and data flow of a bitstream 551 input to the HRD 500. For example, the HSS 541 may receive the bitstream 551 output from an encoder and manage a conformance testing process for the bitstream 551. In a particular example, the HSS 541 may control the rate at which coded pictures move through the HRD 500 and verify that the bitstream 551 does not contain non-conforming data.
[0098] The HSS 541 can transfer the bitstream 551 to the CPB 543 at a predetermined rate. The HRD 500 can manage data in a decoding unit (DU) 553. A DU 553 is an AU or a subset of AUs and associated non-video coding layer (VCL) network abstraction layer (NAL) units. Specifically, an AU includes one or more pictures associated with an output time. For example, an AU may include a single picture in a single-layer bitstream or may include pictures per layer in a multi-layer bitstream. Each picture in an AU may be divided into slices, each of which is included in a corresponding VCL NAL unit. Thus, the DU 553 may include one or more pictures, one or more slices of a picture, or a combination thereof. Additionally, parameters used to decode the AUs, pictures, and / or slices may be included in the non-VCL NAL units. Thus, the DU 553 includes non-VCL NAL units that include data needed to support decoding the VCL NAL units in the DU 553. CPB 543 is a first-in, first-out buffer in HRD 500. CPB 543 contains DU 553, which contains video data in decoding order. CPB 543 stores video data for use during bitstream conformance verification.
[0099] The CPB 543 forwards the DU 553 to a decoding process component 545. The decoding process component 545 is a component that conforms to the VVC standard. For example, the decoding process component 545 may emulate the decoder 400 employed by an end user. The decoding process component 545 decodes the DU 553 at a rate that can be achieved by an exemplary end-user decoder. If the decoding process component 545 cannot decode the DU 553 fast enough to prevent overflow of the CPB 543, the bitstream 551 does not conform to the standard and must be re-encoded.
[0100] The decoding process component 545 decodes the DU 553 to generate a decoded DU 555. The decoded DU 555 includes a decoded picture. The decoded DU 555 is forwarded to the DPB 547. The DPB 547 may be substantially similar to the decoded picture buffer components 223, 323, and / or 423. To support inter-prediction, pictures marked for use as reference pictures 556 obtained from the decoded DU 555 are returned to the decoding process component 545 to support further decoding. The DPB 547 outputs the decoded video sequence as a series of pictures 557. The pictures 557 are reconstructed pictures that generally mirror the pictures coded into the bitstream 551 by the encoder.
[0101] Picture 557 is forwarded to output cropping component 549, which is configured to apply an adaptive cropping window to picture 557, resulting in output cropped picture 559. Output cropped picture 559 is a fully reconstructed picture. Thus, output cropped picture 559 mimics what an end user would see when decoding bitstream 551. Thus, the encoder can review output cropped picture 559 to ensure that the encoding is satisfactory.
[0102] The HRD 500 is initialized based on HRD parameters in the bitstream 551. For example, the HRD 500 may read the HRD parameters from a VPS, SPS, and / or SEI message. The HRD 500 may then perform conformance testing operations on the bitstream 551 based on the information in such HRD parameters. As a particular example, the HRD 500 may determine one or more CPB delivery schedules 561 from the HRD parameters. The delivery schedules specify timing for delivery of video data to and / or from memory locations, such as the CPB and / or DPB. Thus, the CPB delivery schedules 561 specify timing for delivery of AUs, DUs 553, and / or pictures to / from the CPB 543. For example, the CPB delivery schedules 561 may describe bitrates and buffer sizes for the CPB 543, where such bitrates and buffer sizes correspond to a particular class of decoder and / or network conditions. Thus, the CPB delivery schedule 561 can indicate how long data can remain in the CPB 543 before being evicted. Failure to maintain the CPB delivery schedule 561 in the HRD 500 during conformance testing indicates that a decoder compatible with the CPB delivery schedule 561 cannot decode the corresponding bitstream. Note that the HRD 500 can employ a DPB delivery schedule for the DPB 547 similar to the CPB delivery schedule 561.
[0103] Video may be coded into different layers and / or OLSs for use by decoders with varying levels of hardware capabilities and for varying network conditions. The CPB delivery schedule 561 is selected to reflect these considerations. Thus, upper layer sub-bitstreams are designated for optimal hardware and network conditions, allowing upper layers to receive one or more CPB delivery schedules 561 that employ large amounts of memory in the CPB 543 and short delays for the transfer of DUs 553 toward the DPB 547. Similarly, lower layer sub-bitstreams are designated for limited decoder hardware capabilities and / or poor network conditions. Thus, lower layers may receive one or more CPB delivery schedules 561 that employ small amounts of memory in the CPB 543 and longer delays for the transfer of DUs 553 toward the DPB 547. The OLSs, layers, sub-layers, or combinations thereof can then be tested according to the corresponding delivery schedules 561 to ensure that the resulting sub-bitstreams can be correctly decoded under the conditions expected for the sub-bitstreams. Each CPB delivery schedule 561 is associated with a schedule index (ScIdx) 563. ScIdx 563 is an index that identifies the delivery schedule. Thus, the HRD parameters in bitstream 551 may indicate a CPB delivery schedule 561 by ScIdx 563 and may include sufficient data to enable HRD 500 to determine the CPB delivery schedule 561 and correlate the CPB delivery schedule 561 to a corresponding OLS, layer, and / or sublayer.
[0104] 6 is a schematic diagram illustrating an example multi-layer video sequence 600 configured for inter-layer prediction 621. The multi-layer video sequence 600 may be encoded by an encoder, such as codec system 200 and / or encoder 300, and decoded by a decoder, such as codec system 200 and / or decoder 400, according to, for example, method 100. Furthermore, the multi-layer video sequence 600 may be checked for conformance by an HRD, such as HRD 500. The multi-layer video sequence 600 is included to illustrate an example application for layers in a coded video sequence. The multi-layer video sequence 600 is any video sequence employing multiple layers, such as layer N 631 and layer N+1 632.
[0105] In one example, the multi-layer video sequence 600 may employ inter-layer prediction 621. Inter-layer prediction 621 is applied between pictures 611, 612, 613, and 614 and pictures 615, 616, 617, and 618 in different layers. In the illustrated example, pictures 611, 612, 613, and 614 are part of layer N+1 632, and pictures 615, 616, 617, and 618 are part of layer N 631. A layer, such as layer N 631 and / or layer N+1 632, 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. 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 video data, performing conformance checks, or other operations.
[0106] In the illustrated example, layer N+1 632 is associated with a larger image size than layer N 631. Thus, in this example, pictures 611, 612, 613, and 614 in layer N+1 632 have a larger picture size (e.g., larger height and width, and therefore more samples) than pictures 615, 616, 617, and 618 in layer N 631. However, such pictures may be separated between layer N+1 632 and layer N 631 by other characteristics. Although only two layers, layer N+1 632 and layer N 631, are shown, a set of pictures may be separated into any number of layers based on associated characteristics. Layer N+1 632 and layer N 631 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 611-618 may be associated with a corresponding layer ID to indicate which layer N+1 632 or layer N 631 contains the corresponding picture. For example, the layer ID may include a NAL unit header layer identifier (nuh_layer_id), which is a syntax element that specifies the identifier of the layer that contains the NAL unit (e.g., contains a slice and / or parameters of a picture in the layer). Layers associated with lower quality / bitstream sizes, such as layer N 631, are generally assigned a lower layer ID and are referred to as lower layers. Furthermore, layers associated with higher quality / bitstream sizes, such as layer N+1 632, are generally assigned a higher layer ID and are referred to as higher layers.
[0107] Pictures 611-618 in different layers 631-632 are configured to be alternatively displayed. Thus, pictures in different layers 631-632 can share a temporal ID 622 as long as the pictures are included in the same AU. The temporal ID 622 is a data element indicating that data corresponds to a temporal position in a video sequence. An AU is a set of NAL units associated with each other according to specified classification rules and related to one particular output time. For example, an AU may include one or more pictures in different layers, such as picture 611 and picture 615, when such pictures are associated with the same temporal ID 622. As a specific example, a decoder can decode and display picture 615 at the current display time if a smaller picture is desired, or the decoder can decode and display picture 611 at the current display time if a larger picture is desired. Thus, pictures 611-614 in higher layer N+1 632 contain substantially the same image data (despite differences in picture size) as corresponding pictures 615-618 in lower layer N 631. Specifically, picture 611 contains substantially the same image data as picture 615, picture 612 contains substantially the same image data as picture 616, and so on.
[0108] Pictures 611-618 may be coded by referencing other pictures 611-618 in the same layer N 631 or layer N+1 632. Coding a picture with reference to another picture in the same layer results in inter prediction 623. Inter prediction 623 is indicated by a solid arrow. For example, picture 613 may be coded by employing inter prediction 623 using one or two of pictures 611, 612, and / or 614 in layer N+1 632 as references, where one picture is referenced for unidirectional inter prediction and / or two pictures are referenced for bidirectional inter prediction. Furthermore, picture 617 may be coded by employing inter prediction 623 using one or two of pictures 615, 616, and / or 618 in layer N 531 as references, where one picture is referenced for unidirectional inter prediction and / or two pictures are referenced for bidirectional inter prediction. A picture may be referred to as a reference picture when it is used as a reference for another picture in the same layer when performing inter prediction 623. For example, picture 612 may be a reference picture used to code picture 613 according to inter prediction 623. Inter prediction 623 may also be referred to as intra-layer prediction in a multi-layer context. Thus, inter prediction 623 is a mechanism for coding samples of a current picture by referencing indicated samples in a reference picture different from the current picture when the reference picture and the current picture are in the same layer.
[0109] Pictures 611-618 may also be coded by referencing other pictures 611-618 in different layers. This process is known as inter-layer prediction 621 and is indicated by the dashed arrows. Inter-layer prediction 621 is a mechanism for coding samples of a current picture by referencing indicated samples in a reference picture when 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 631 may be used as a reference picture for coding a corresponding picture in upper layer N+1 632. As a specific example, picture 611 may be coded by referencing picture 615 according to inter-layer prediction 621. In such a case, picture 615 is used as an inter-layer reference picture. An inter-layer reference picture is a reference picture used for inter-layer prediction 621. In most cases, inter-layer prediction 621 is constrained so that a current picture, such as picture 611, can only use inter-layer reference picture(s) that are contained in the same AU and that are in a lower layer, such as picture 615. When multiple layers (e.g., three or more) are available, inter-layer prediction 621 can encode / decode the current picture based on multiple inter-layer reference picture(s) that are at a lower level than the current picture.
[0110] A video encoder may employ multi-layer video sequence 600 to encode pictures 611-618 via many different combinations and / or permutations of inter-prediction 623 and inter-layer prediction 621. For example, picture 615 may be coded according to intra-prediction. Pictures 616-618 may then be coded according to inter-prediction 623 by using picture 615 as a reference picture. Furthermore, picture 611 may be coded according to inter-layer prediction 621 by using picture 615 as an inter-layer reference picture. Pictures 612-614 may then be coded according to inter-prediction 623 by using picture 611 as a reference picture. Thus, reference pictures may function as both single-layer and inter-layer reference pictures for different coding mechanisms. By coding the upper layer N+1 632 picture based on the lower layer N 631 picture, the upper layer N+1 632 can avoid employing intra prediction, which has significantly lower coding efficiency than inter prediction 623 and inter-layer prediction 621. Thus, the low coding efficiency of intra prediction can be limited to pictures of minimum / lowest quality, thereby limiting coding to a minimum amount of video data. Pictures used as reference pictures and / or inter-layer reference pictures can be indicated in entries of reference picture list(s) included in a reference picture list structure.
[0111] To perform such operations, layers such as layer N 631 and layer N+1 632 may be included in one or more OLSs 625 and 626. Specifically, pictures 611-618 are coded as layers 631-632 in the bitstream 600, and then each layer 631-632 of a picture is assigned to one or more of the OLSs 625 and 626. The OLSs 625 and / or 626 can then be selected, and the corresponding layers 631 and / or 632 can be sent to the decoder depending on the capabilities and / or network conditions at the decoder. The OLS 625 is a set of layers, one or more of which are designated as output layers. An output layer is a layer designated for output (e.g., to a display). For example, layer N 631 may be included only to support inter-layer prediction 621 and may never be output. In such a case, layer N+1 632 is decoded and output based on layer N 631. In such a case, the OLS 625 includes layer N+1 632 as the output layer. If an OLS includes only output layers, that OLS is referred to as the 0th OLS 626. The 0th OLS 626 is an OLS that includes only the lowest layer (the layer with the lowest layer identifier) and is an OLS that includes only output layers. In other cases, the OLS 625 may include many layers in different combinations. For example, an output layer in the OLS 625 may be coded according to inter-layer prediction 621 based on one, two, or many lower layers. Furthermore, the OLS 625 may include two or more output layers. Thus, the OLS 625 may include one or more output layers and any support layers necessary to reconstruct the output layers. Although only two OLSs 625 and 626 are shown, the multi-layer video sequence 600 may be coded by employing many different OLSs 625 and / or 626, each employing a different combination of layers. Each OLS 625 and 626 is associated with an OLS index 629, which is an index that uniquely identifies the corresponding OLS 625 and 626.
[0112] Testing a multi-layer video sequence 600 for conformance in the HRD 500 can be complex depending on the number of layers 631-632 and OLSs 625 and 626. The HRD 500 can separate the multi-layer video sequence 600 into a sequence of operation points 627 for testing. The OLSs 625 and / or 626 are identified by an OLS index 629. An operation point 627 is a temporal subset of an OLS 625 / 626. An operation point 627 can be identified by both the OLS index 629 of the corresponding OLS 625 / 626 as well as the highest temporal ID 622. As a specific example, a first operation point 627 can include all pictures in the first OLS 625 from temporal ID 0 to temporal ID 200, a second operation point 627 can include all pictures in the first OLS 625 from temporal ID 201 to temporal ID 400, and so on. In such a case, the first operation point 627 is described by the OLS index 629 and temporal ID 200 of the first OLS 625. Furthermore, the second operation point 627 is described by the OLS index 629 and temporal ID 400 of the first OLS 625. The operation point 627 selected for testing at a specified instant is referred to as the test target OP (targetOp). Thus, targetOp is the operation point 627 selected for conformance testing in the HRD 500.
[0113] 7 is a schematic diagram illustrating an example multi-layer video sequence 700 configured for temporal scalability. The multi-layer video sequence 700 may be encoded by an encoder, such as codec system 200 and / or encoder 300, and decoded by a decoder, such as codec system 200 and / or decoder 400, according to, for example, method 100. Additionally, the multi-layer video sequence 700 may be checked for conformance by an HRD, such as HRD 500. The multi-layer video sequence 700 is included to illustrate another example application for layers in a coded video sequence. For example, the multi-layer video sequence 700 may be employed as a separate embodiment or combined with the techniques described with respect to the multi-layer video sequence 600.
[0114] The multi-layer video sequence 700 includes sublayers 710, 720, and 730. A sublayer is a temporal scalable layer of a temporal scalable bitstream that includes VCL NAL units (e.g., pictures) with specific temporal identifier values and associated non-VCL NAL units (e.g., supporting parameters). For example, a layer such as layer N 631 and / or layer N+1 632 may be further divided into sublayers 710, 720, and 730 to support temporal scalability. Sublayer 710 may be referred to as a base layer, and sublayers 720 and 730 may be referred to as enhancement layers. As shown, sublayer 710 includes pictures 711 at a first frame rate, such as 30 frames per second. Because sublayer 710 includes the base / lowest frame rate, sublayer 710 is a base layer. Sublayer 720 includes picture 721 that is temporally offset from picture 711 of sublayer 710. As a result, sublayer 710 and sublayer 720 can be combined, resulting in an overall frame rate that is higher than the frame rate of sublayer 710 alone. For example, sublayers 710 and 720 may have a combined frame rate of 60 frames per second. Thus, sublayer 720 enhances the frame rate of sublayer 710. Furthermore, sublayer 730 includes picture 731 that is also temporally offset from pictures 721 and 711 of sublayers 720 and 710. Thus, sublayer 730 can be combined with sublayers 720 and 710 to further enhance sublayer 710. For example, sublayers 710, 720, and 730 may have a combined frame rate of 90 frames per second.
[0115] Sublayer representation 740 can be dynamically created by combining sublayers 710, 720, and / or 730. Sublayer representation 740 is a subset of the bitstream that includes NAL units of a particular sublayer and lower sublayers. In the illustrated example, sublayer representation 740 includes picture 741, which is a composite picture 711, 721, and 731 of sublayers 710, 720, and 730. Thus, multi-layer video sequence 700 can be temporally scaled to a desired frame rate by selecting sublayer representation 740 that includes the desired set of sublayers 710, 720, and / or 730. Sublayer representation 740 can be created by employing an optical link scaler (OLS) that includes sublayers 710, 720, and / or 730 as layers. In such a case, sublayer representation 740 is selected as the output layer. Thus, temporal scalability is one of several mechanisms that can be achieved using multi-layer mechanisms.
[0116] 8 is a schematic diagram illustrating an exemplary bitstream 800. For example, the bitstream 800 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. Furthermore, the bitstream 800 may include the multi-layer video sequences 600 and / or 700. Furthermore, the bitstream 800 may include various parameters for controlling the operation of an HRD, such as the HRD 500. Based on such parameters, the HRD can check the bitstream 800 for conformance with the standard before sending it to the decoder for decoding.
[0117] The bitstream 800 includes a VPS 811, one or more SPSs 813, multiple picture parameter sets (PPSs) 815, multiple slice headers 817, image data 820, and a BP SEI message 819. The VPS 811 includes data related to the entire bitstream 800. For example, the VPS 811 may include data related to the OLS, layers, and / or sublayers used in the bitstream 800. The SPS 813 includes sequence data common to all pictures in a coded video sequence included in the bitstream 800. For example, each layer may include one or more coded video sequences, and each coded video sequence may reference an SPS 813 for corresponding parameters. Parameters in the SPS 813 may include picture sizing, bit depth, coding tool parameters, bit rate limits, etc. Note that while each sequence references an SPS 813, in some examples, a single SPS 813 may include data for multiple sequences. The PPS 815 includes parameters that apply to the entire picture. Thus, each picture in a video sequence may reference a PPS 815. Note that while each picture references a PPS 815, in some examples, a single PPS 815 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 815 may include data for such similar pictures. The PPS 815 may indicate coding tools, quantization parameters, offsets, etc. available for slices in the corresponding picture.
[0118] The slice header 817 contains parameters specific to each slice in a picture. Thus, there may be one slice header 817 for each slice in a video sequence. The slice header 817 may include slice type information, POC, a reference picture list, prediction weights, tile entry points, deblocking parameters, etc. Note that in some examples, the bitstream 800 may also include a picture header, which is a syntax structure that contains parameters that apply to all slices in a single picture. For this reason, the picture header and slice header 817 may be used interchangeably in some situations. For example, some parameters may be moved between the slice header 817 and the picture header depending on whether such parameters are common to all slices in the picture.
[0119] The image data 820 includes video data coded according to inter-prediction and / or intra-prediction, as well as corresponding transformed and quantized residual data. For example, the image data 820 may include AUs 821, DUs 822, and / or pictures 823. An AU 821 is a set of NAL units associated with each other according to specified classification rules and associated with one particular output time. A DU 822 is an AU or a subset of AUs and associated non-VCL NAL units. A picture 823 is an array of luma samples and / or an array of chroma samples that make up a frame or a field thereof. In plain language, an AU 821 includes various video data that may be displayed at a specified instant in a video sequence, as well as supporting syntax data. Thus, an AU 821 may include a single picture 823 in a single-layer bitstream, or multiple pictures from multiple layers all associated with the same instant in a multi-layer bitstream. A picture 823, on the other hand, is a coded image that can be output for display or used to support coding of other picture(s) 823 for output. A DU 822 may include one or more pictures 823 and any supporting syntax data required for decoding. For example, DU 822 and AU 821 may be used interchangeably in a simple bitstream (e.g., when an AU includes a single picture). However, in a more complex multi-layer bitstream, a DU 822 may include only a portion of the video data from an AU 821. For example, an AU 821 may include pictures 823 in multiple layers and / or sublayers, where some of the pictures 823 are associated with different OLSs. In such cases, a DU 822 may include only picture(s) 823 from a specified OLS and / or specified layer / sublayer.
[0120] A picture 823 includes one or more slices 825. A slice 825 can be defined as an integer number of complete tiles (e.g., within a tile) of the picture 823 or an integer number of consecutive complete coding tree unit (CTU) rows, where a tile or CTU row is exclusively contained in a single NAL unit 829. Thus, a slice 825 is also contained in a single NAL unit 829. A slice 825 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 divided by a coding tree. A CTB is a subset of a CTU and includes the luma or chroma component of the CTU. The CTUs / CTBs are further divided into coding blocks based on the coding tree. The coding blocks can then be encoded / decoded according to a prediction mechanism.
[0121] The bitstream 800 is a sequence of NAL units 829. NAL units 829 are containers for video data and / or supporting syntax. The NAL units 829 can be VCL NAL units or non-VCL NAL units. A VCL NAL unit is a NAL unit 829 coded to contain video data, such as a coded slice 825 and associated slice header 817. A non-VCL NAL unit is a NAL unit 829 that contains non-video data, such as syntax and / or parameters that support decoding the video data, performing conformance checks, or other operations. For example, a non-VCL NAL unit may contain a VPS 811, an SPS 813, a PPS 815, a BP SEI message 819, or other supporting syntax.
[0122] An SEI message is a syntax structure with specified semantics that conveys information not required by the decoding process to determine the values of samples in a decoded picture. For example, an SEI message may include data to support the HRD process or other support data not directly related to decoding the bitstream 800 at the decoder. SEI messages used in the bitstream 800 may include scalable nesting SEI messages and / or non-scalable nested SEI messages. A scalable nesting SEI message is a message that includes multiple SEI messages corresponding to one or more OLSs or one or more layers. A non-scalable nested SEI message is a non-nested message and therefore includes a single SEI message. The BP SEI message 819 is an SEI message that includes HRD parameters for initializing the HRD to manage the CPB. The SEI message may also include a PT SEI message that includes HRD parameters for managing distribution information for AUs 821 in the CPB and / or DPB. The SEI message may also include a DUI SEI message that includes HRD parameters for managing delivery information for the DU 822 in the CPB and / or DPB.
[0123] The BP SEI message 819 may include data describing a CPB delivery schedule, such as CPB delivery schedule 561, which may be employed when performing conformance testing on the bitstream 800. The delivery schedule may be described by a pair of values that describes the timing of the delivery schedule (e.g., how often to remove data) and the amount of data to be transferred (e.g., the amount of data to remove at each occurrence). The BP SEI message 819 indicates the AU or DU (e.g., AU 821 or DU 822) that should be the starting point for the conformance check and a data pair that indicates the default schedule to be used for each data unit. In a particular example, the BP SEI message 819 may include an initial CPB removal delay 835 and an initial CPB removal offset 837. The initial CPB removal delay 835 is the default CPB removal delay for each picture, AU, and / or DU in the bitstream, OLS, and / or layer. The initial CPB removal offset 837 is a default CPB removal offset associated with each picture, AU, and / or DU in the bitstream, OLS, and / or layer. By employing the pair of initial CPB removal delay 835 and initial CPB removal offset 837, the HRD can determine the CPB delivery schedule to be used when removing data units (AUs or DUs) from the CPB during conformance testing.
[0124] As described above, a video stream may include many OLSs and many layers, such as OLS 625, layer N 631, layer N+1 632, sublayer 710, sublayer 720, and / or sublayer 730. Furthermore, some layers may be included in multiple OLSs. Thus, multi-layer video sequences, such as multi-layer video sequences 600 and / or 700, can become quite complex. As a result, the bitstream conformance checking process in the HRD may become complicated. Some video coding systems may correlate a BP SEI message 819 to an SPS 813. For example, such a system may indicate that a BP SEI message 819 applies to the layer / sublayer described by the SPS 813. However, a bitstream 800 may include many different SPSs 813. For example, different layers may be coded differently and, therefore, may employ different SPSs 813 at different relative points in the bitstream 800. This can cause problems if different layers reference different SPSs 813 because such SPSs 813 may contain conflicting information. For example, a system may be unable to determine which SPSs 813 are associated with a BP SEI message 819 without first determining which layers are associated with the BP SEI message 819. Furthermore, a system may be unable to determine which layers are associated with a BP SEI message 819 without first determining which SPSs 813 are associated with the BP SEI message 819. Such systems may be unable to resolve this issue and return unexpected errors. For example, such systems may be unable to properly initialize the HRD in some scenarios.
[0125] This disclosure includes a mechanism for addressing errors associated with conformance checking when multiple layers are employed in a video sequence. Specifically, the BP SEI message 819 is modified to indicate that any number of layers / sublayers described in the VPS 811 may be checked for conformance. For example, the BP SEI message 819 may be modified to include a BP Maximum Sublayers Minus One (bp_max_sublayers_minus1) 831 syntax element. bp_max_sublayers_minus1 831 is a syntax element that specifies the maximum number of temporal sublayers for which the Initial CPB Removal Delay 835 and Initial CPB Removal Offset 837 are indicated in the BP SEI message 819. Thus, bp_max_sublayers_minus1 831 indicates the number of layers / sublayers associated with the data in the BP SEI message 819. The HRD can employ the value of bp_max_sublayers_minus1 831 to determine the correct set of layers / sublayers associated with the BP SEI message 819. The HRD can then use the initial CPB removal delay 835 and the initial CPB removal offset 837 to determine a CPB delivery schedule to properly perform conformance checks on the layers / sublayers indicated by bp_max_sublayers_minus1 831.
[0126] Additionally, the VPS 811 may include a VPS Max Sublayers Minus One (vps_max_sublayers_minus1) 833 syntax element. vps_max_sublayers_minus1 833 is a syntax element that specifies the maximum number of temporal sublayers that may exist in a layer specified by the VPS 811. Thus, vps_max_sublayers_minus1 833 may indicate the number of sublayers in the entire video. bp_max_sublayers_minus1 831 may be set to any value between 0 and the value of vps_max_sublayers_minus1 833. In this manner, the compatibility of any number of layers / sublayers in a video can be checked, and layer-based sequencing issues related to SPS 813 inconsistencies can be avoided. Thus, the present disclosure avoids layer-based coding errors, thereby improving the functionality of the encoder and / or decoder. Furthermore, the present example supports layer-based coding, which may increase coding efficiency. Thus, the present example supports reduced processor, memory, and / or network resource usage in the encoder and / or decoder.
[0127] The foregoing information will now be described in more detail below. Layered video coding is also referred to as scalable video coding or scalable video coding. Scalability in video coding can be supported by using multi-layer coding techniques. A multi-layer bitstream includes a base layer (BL) and one or more enhancement layers (EL). Examples of scalability include spatial scalability, quality / signal-to-noise ratio (SNR) scalability, multiview scalability, frame rate scalability, etc. When a multi-layer coding technique is used, a picture or a portion thereof may be coded without using a reference picture (intra-prediction), coded by referencing a reference picture in the same layer (inter-prediction), and / or coded by referencing a reference picture in another layer(s) (inter-layer prediction). A reference picture used for inter-layer prediction of a current picture is called an inter-layer reference picture (ILRP). Figure 6 shows an example of multi-layer coding for spatial scalability in which pictures in different layers have different resolutions.
[0128] Some video coding families provide scalability support in profile(s) separate from profile(s) for single-layer coding. Scalable Video Coding (SVC) is a scalable extension of Advanced Video Coding (AVC) that provides support for spatial scalability, temporal scalability, and quality scalability. For SVC, a flag is signaled in each macroblock (MB) in an EL picture to indicate whether the EL MB is predicted using co-located blocks 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 design. The SVC EL macroblock syntax and decoding process differ from the AVC syntax and decoding process.
[0129] 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 can 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 are obtained only from the same AU and treated as long-term reference pictures (LTRPs). Such pictures are assigned reference indices in the reference picture list(s) 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 inter-layer reference picture(s) in the reference picture list(s). Spatial scalability involves resampling a reference picture or part of it when the ILRP has a different spatial resolution than the current picture being coded or decoded. Reference picture resampling can be achieved either at the picture level or at the coding block level.
[0130] VVC may also support layered 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 layer is also referred to as a simulcast layer. In some cases, some of the layers are coded using ILP. A flag in the VPS may indicate whether a layer is a simulcast layer or whether some layers use ILP. If some layers use ILP, layer dependencies between layers are also signaled in the VPS. Unlike SHVC and MV-HEVC, VVC may not specify an OLS. An OLS includes a specified set of layers, and one or more layers in the set of layers are designated as output layers. An output layer is a layer of the OLS that is output. In some implementations of VVC, if a layer is a simulcast layer, only one layer may be selected for decoding and output. In some implementations of VVC, the entire bitstream, including all layers, is designated to be decoded if any layer uses ILP. Furthermore, certain layers are designated as output layers. The output layers may be indicated as the top layer only, all layers, or the top layer plus the indicated lower layers.
[0131] Video coding standards may specify an HRD for verifying bitstream conformance through specified HRD conformance tests. In SHVC and MV-HEVC, three sets of bitstream conformance tests are employed to check bitstream conformance. A bitstream is referred to as the entire bitstream and denoted as entireBitstream. The first set of bitstream conformance tests is employed to test the conformance of the entire bitstream and the corresponding temporal subset. Such tests are employed regardless of whether there is a layer set specified by an active VPS that includes all nuh_layer_id values of VCL NAL units present in the entire bitstream. Thus, the entire bitstream is always checked for conformance, even if one or more layers are not included in the output set. The second set of bitstream conformance tests is employed to test the conformance of the layer set specified by the active VPS and the associated temporal subset. For all these tests, only base layer pictures (e.g., pictures with nuh_layer_id equal to 0) are decoded and output. Other pictures are ignored by the decoder when the decoding process is invoked. A third set of bitstream conformance tests is employed to test conformance of the OLS and associated temporal subsets specified by the VPS extension of the active VPS based on the OLS and bitstream partition, where the bitstream partition includes one or more layers of the OLS of a multi-layer bitstream.
[0132] The above-described aspects involve certain problems. For example, the first two sets of conformance tests may be applied to layers that are not decoded and output. For example, layers other than the lowest layer may not be decoded and output. In a practical application, a decoder may only receive decoded data. Therefore, employing the first two sets of conformance tests may complicate the codec design and waste bits to carry both sequence-level and picture-level parameters used to support the conformance tests. The third set of conformance tests involves bitstream partitioning. Such partitions may relate to one or more layers of an OLS of a multi-layer bitstream. If instead the conformance tests always operate separately for each layer, the HRD may be significantly simplified.
[0133] Signaling sequence-level HRD parameters can be complex. For example, sequence-level HRD parameters may be signaled in multiple places, such as both in the SPS and the VPS. Furthermore, sequence-level HRD parameter signaling may include redundancy. For example, information that may be generally the same for the entire bitstream may be repeated in each layer of each OLS. Furthermore, the exemplary HRD scheme allows a different delivery schedule to be selected for each layer. Such a delivery schedule may be selected from a list of schedules signaled for each layer for each operation point when the operation point is an OLS or a temporal subset of an OLS. Such a system is complex. Furthermore, the exemplary HRD scheme allows incomplete AUs to be associated with buffering period SEI messages. An incomplete AU is an AU that does not have pictures for all layers present in the CVS. However, HRD initialization in such AUs may have problems. For example, the HRD may not be properly initialized for layers that have layer access units that are not present in the incomplete AU. Additionally, the demultiplexing process to derive layer bitstreams may not remove nested SEI messages that do not apply to the target layer efficiently enough. A layer bitstream occurs when a bitstream partition contains only one layer. Furthermore, the non-scalable nested buffering period, picture timing, and applicable OLSs of the decoding unit information SEI messages may be specified for the entire bitstream. However, the non-scalable nested buffering period should instead apply to the 0th OLS.
[0134] Furthermore, some VVC implementations may fail to infer HDR parameters when sub_layer_cpb_params_present_flag is equal to 0. Such inference may enable proper HRD operation. In addition, the values of bp_max_sub_layers_minus1 and pt_max_sub_layers_minus1 may be required to be equal to the value of sps_max_sub_layers_minus1. However, buffering period and picture timing SEI messages can be nested and can apply to multiple OLSs and multiple layers in each of the multiple OLSs. In such a context, the involved layers may reference multiple SPSs. Therefore, it may be difficult for the system to track which SPS corresponds to each layer. Therefore, the values of these two syntax elements need to be constrained based on the value of vps_max_sub_layers_minus1 instead. Furthermore, since different layers may have different numbers of sub-layers, the values of these two syntax elements may not always be equal to a specific value in all buffering period and picture timing SEI messages.
[0135] Additionally, the following issues are associated with the HRD design in both SHVC / MV-HEVC and VVC: The sub-bitstream extraction process may not remove SEI NAL units containing nested SEI messages that are not required for the target OLS.
[0136] Generally, this disclosure describes techniques for scalable nesting of SEI messages for output layer sets in a multi-layer video bitstream. The description of this technique is based on VVC. However, this technique also applies to layered video coding based on other video codec specifications.
[0137] One or more of the above-mentioned problems can be solved as follows. Specifically, the present disclosure includes a method and related aspects for HRD design that enables efficient signaling of HRD parameters using much simpler HRD operations compared to SHVC and MV-HEVC. Each of the solutions described below addresses the above-mentioned problems. For example, instead of requiring three sets of conformance tests, the present disclosure can employ only one set of conformance tests to test the conformance of an OLS specified by a VPS. Furthermore, instead of a bitstream partition-based design, the disclosed HRD mechanism can always operate separately for each layer of an OLS. Furthermore, sequence-level HRD parameters that are global to all layers and sublayers of all OLSs can be signaled only once in a VPS, for example. Furthermore, a single number of delivery schedules can be signaled for all layers and sublayers of all OLSs. The same delivery schedule index can also be applied to all layers in an OLS. Furthermore, an incomplete AU does not need to be associated with a buffering period SEI message. An incomplete AU is an AU that does not contain pictures for all layers present in the CVS. This ensures that the HRD can always be properly initialized for all layers in the OLS. Also, a mechanism is disclosed for efficiently removing nested SEI messages that do not apply to the target layer in the OLS. This supports the demultiplexing process to derive the layer bitstream. Additionally, the applicable OLS for non-scalable nested buffering period, picture timing, and decoding unit information SEI messages may be specified to be the 0th OLS. Furthermore, HDR parameters may be inferred when sub_layer_cpb_params_present_flag is equal to 0, which may enable proper HRD operation. The values of bp_max_sub_layers_minus1 and pt_max_sub_layers_minus1 may be required to be within the range of 0 to vps_max_sub_layers_minus1.In this way, such parameters do not need to be specific values for all buffering period and picture timing SEI messages. Also, the sub-bitstream extraction process can remove SEI NAL units that contain nested SEI messages that do not apply to the target OLS.
[0138] An example implementation of the aforementioned mechanism is as follows: output layer is a layer of the output layer set that is output; OLS is a set of layers that includes a specified set of layers, where one or more layers in the set of layers are designated to be output layers; OLS layer index is an index of a layer in the OLS to a list of layers in the OLS; sub-bitstream extraction process is a specified process in which NAL units in the bitstream that do not belong to a target set, as determined by a target OLS index and a target top-level TemporalId, are removed from the bitstream, and the output sub-bitstream contains NAL units in the bitstream that belong to the target set.
[0139] An example video parameter set syntax is as follows: [Table 1]
[0140] An exemplary sequence parameter set RBSP syntax is as follows: [Table 2]
[0141] An exemplary DPB parameter syntax is as follows: [Table 3]
[0142] An exemplary general HRD parameter syntax is as follows: [Table 4]
[0143] Example video parameter set RBSP semantics are as follows: each_layer_is_an_ols_flag is set equal to 1 to specify that each output layer set contains only one layer, each layer in the bitstream is itself an output layer set, and the single contained layer is the only output layer. each_layer_is_an_ols_flag is 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, then the value of each_layer_is_an_ols_flag is inferred to be equal to 1. Otherwise, if vps_all_independent_layers_flag is equal to 0, then the value of each_layer_is_an_ols_flag is inferred to be equal to 0.
[0144] ols_mode_idc is set to 0 to specify that the total number of OLSs specified by the VPS is equal to vps_max_layers_minus1+1, where the i-th OLS contains layers with layer indices from 0 to i, inclusive, and for each OLS, only the top layer in the OLS is output. ols_mode_idc is set to 1 to specify that the total number of OLSs specified by the VPS is equal to vps_max_layers_minus1+1, where the i-th OLS contains layers with layer indices from 0 to i, inclusive, and for each OLS, all layers in the OLS are output. ols_mode_idc is set to 2 to specify that the total number of OLSs specified by the VPS is explicitly signaled, and for each OLS, the top layer in the OLS and the set of explicitly signaled lower layers are output. The value of ols_mode_idc shall be in the range 0 to 2, inclusive. The value 3 of ols_mode_idc is reserved. If 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. 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.
[0145] The variable TotalNumOlss, which specifies the total number of OLSs specified by the VPS, is derived as follows:
number
[0146] layer_included_flag[i][j] specifies whether the jth layer (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] is set equal to 1 to specify that the jth layer is included in the ith OLS. layer_included_flag[i][j] is set equal to 0 to specify that the jth layer is not included in the ith OLS.
[0147] The variable NumLayersInOls[i] that specifies the number of layers in the i-th OLS and the variable LayerIdInOls[i][j] that specifies the nuh_layer_id value of the j-th layer in the i-th OLS are derived as follows:
number
[0148] The variable LayerIdInOls[i][j], which specifies the OLS layer index of the layer with nuh_layer_id equal to OlsLayeIdx[i][j], is derived as follows:
number
[0149] The lowest layer in each OLS shall 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]]] shall be equal to 1. Each layer shall 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 nuhLayerId equal to one of vps_layer_id[k] for k in the range 0 to vps_max_layers_minus1, inclusive, there shall be at least one pair of values of i and j such that i is in the range 0 to TotalNumOlss-1, inclusive, and j is in the range NumLayersInOls[i]-1, inclusive, and the value of LayerIdInOls[i][j] equals nuhLayerId. Any layer in the OLS may be an output layer of the OLS or a reference layer (direct or indirect) of an output layer of the OLS.
[0150] 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] equal to 1 specifies that the jth layer in the ith OLS is output. vps_output_layer_flag[i] is set equal to 0 to specify that the jth layer in the ith OLS is not output. If 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] is inferred to be equal to 1. 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 derived as follows:
number
[0151] vps_extension_flag is 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 is 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 the conformance of the decoder to the specified profile. Decoders shall ignore all vps_extension_data_flag syntax elements.
[0152] Exemplary DPB parameter semantics are as follows: The dpb_parameters() syntax structure provides DPB size information and, optionally, maximum picture reordering and maximum latency (MRML) information. Each SPS contains one or more dpb_parameters() syntax structures. The first dpb_parameters() syntax structure in an SPS contains both DPB size information and MRML information. If present, the second dpb_parameters() syntax structure in an SPS contains only DPB size information. The MRML information in the first dpb_parameters() syntax structure in an SPS applies to the layer that references the SPS, regardless of whether the layer is an output layer in the OLS. The DPB size information in the first dpb_parameters() syntax structure in an SPS applies to the layer that references the SPS when the layer is an output layer in the OLS. The DPB size information contained in the second dpb_parameters() syntax structure in an SPS, if present, applies to the layer referencing the SPS when the layer is a non-output layer of the OLS. When an SPS contains only one dpb_parameters() syntax structure, the DPB size information for the layer as a non-output layer is inferred to be the same as the DPB size information for the layer as an output layer.
[0153] Exemplary general HRD parameter semantics are as follows: The general_hrd_parameters() syntax structure provides the HRD parameters used in HRD operations. The sub_layer_cpb_params_present_flag is set equal to 1 to specify that the i-th layer_level_hrd_parameters() syntax structure contains HRD parameters for sub-layer representations with TemporalId in the range of 0 to hrd_max_temporal_id[i], inclusive. The sub_layer_cpb_params_present_flag is set equal to 0 to specify that the i-th layer_level_hrd_parameters() syntax structure contains HRD parameters for sub-layer representations with TemporalId equal to hrd_max_temporal_id[i] only. If vps_max_sub_layers_minus1 is equal to 0, the value of sub_layer_cpb_params_present_flag is inferred to be equal to 0. If sub_layer_cpb_params_present_flag is equal to 0, the HRD parameters for sub-layer representations with TemporalId in the range of 0 to hrd_max_temporal_id[i]-1, inclusive, are inferred to be the same as the HRD parameters for sub-layer representations with TemporalId equal to hrd_max_temporal_id[i]. These include the HRD parameters from the fixed_pic_rate_general_flag[i] syntax element to the sub_layer_hrd_parameters(i) syntax structure immediately below the condition if(general_vcl_hrd_params_present_flag) in the layer_level_hrd_parameters syntax structure. num_layer_hrd_params_minus1 plus 1 specifies the number of layer_level_hrd_parameters() syntax structures present in the general_hrd_parameters() syntax structure.The value of num_layer_hrd_params_minus1 shall be in the range of 0 to 63, inclusive. hrd_cpb_cnt_minus1 plus 1 specifies the number of alternate CPB specifications in the CVS bitstream. The value of hrd_cpb_cnt_minus1 shall be in the range of 0 to 31, inclusive. hrd_max_temporal_id[i] specifies the TemporalId of the highest sublayer representation whose HRD parameters are included in the i-th layer_level_hrd_parameters() syntax structure. The value of hrd_max_temporal_id[i] shall be in the range of 0 to vps_max_sub_layers_minus1, inclusive. If vps_max_sub_layers_minus1 is equal to 0, the value of hrd_max_temporal_id[i] is inferred to be equal to 0. layer_level_hrd_idx[i][j] specifies the index of the layer_level_hrd_parameters() syntax structure that applies to the jth layer in the ith OLS. The value of layer_level_hrd_idx[[i][j] shall be in the range 0 to num_layer_hrd_params_minus1, inclusive. If not present, the value of layer_level_hrd_idx[[0][0] is inferred to be equal to 0.
[0154] An exemplary sub-bitstream extraction process is as follows: The inputs to this process are the bitstream inBitstream, a target OLS index targetOlsIdx, and a target top-level TemporalId value tIdTarget. The output of this process is the sub-bitstream outBitstream. The bitstream conformance requirement for the input bitstream is that any output sub-bitstream that is the output of the process specified in this section with as input the bitstream, targetOlsIdx equal to an index into the list of OLSs specified by the VPS, and tIdTarget equal to any value in the range 0 to 6, inclusive, and that satisfies the following conditions is a conforming bitstream: The output sub-bitstream must contain at least one VCL NAL unit with nuh_layer_id equal to each of the nuh_layer_id values in LayerIdInOls[targetOlsIdx]. The output sub-bitstream must contain at least one VCL NAL unit with TemporalId equal to tIdTarget. A conforming bitstream contains one or more coded slice NAL units with TemporalId equal to 0, but need not contain any coded slice NAL units with nuh_layer_id equal to 0.
[0155] The output sub-bitstream OutBitstream is derived as follows: The bitstream outBitstream is set identical to the bitstream inBitstream. Remove from outBitstream all NAL units with TemporalId greater than tIdTarget. Remove from outBitstream all NAL units with nuh_layer_id that is not included in the list LayerIdInOls[targetOlsIdx]. Remove from outBitstream all SEI NAL units that contain scalable nesting SEI messages with nesting_ols_flag equal to 1 and with no value of i in the range 0 to nesting_num_olss_minus1, inclusive, so that NestingOlsIdx[i] is equal to targetOlsIdx. If targetOlsIdx is greater than 0, remove all SEI NAL units from outBitstream, including non-scalable nested SEI messages with payloadType equal to 0 (buffering duration), 1 (picture timing), or 130 (decoding unit information).
[0156] General aspects of an exemplary HRD are as follows: This section specifies the HRD and its usage for checking bitstream and decoder conformance. A set of bitstream conformance tests is employed to check the conformance of a bitstream, referred to as the entire bitstream, denoted as entireBitstream. A set of bitstream conformance tests is for testing the conformance of each OLS and temporal subset of each OLS specified by the VPS. For each test, the following ordered steps are applied in the order listed:
[0157] The operation point under test, denoted as targetOp, is selected by selecting a target OLS with an OLS index opOlsIdx and the highest TemporalId value opTid. The value of opOlsIdx is in the range 0 to TotalNumOlss-1, inclusive. The value of opTid is in the range 0 to vps_max_sub_layers_minus1, inclusive. The values of opOlsIdx and opTid are such that the sub-bitstream BitstreamToDecode, which is the output of invoking the sub-bitstream extraction process with entireBitstream, opOlsIdx, and opTid as inputs, satisfies the following conditions: There is at least one VCL NAL unit with nuh_layer_id equal to each of the nuh_layer_id values in LayerIdInOls[opOlsIdx] in BitstreamToDecode. There is at least one VCL NAL unit in BitstreamToDecode with TemporalId equal to opTid.
[0158] The values of TargetOlsIdx and Htid are set equal to the opOlsIdx and opTid of targetOp, respectively. A value of ScIdx is selected. The selected ScIdx shall be in the range 0 to hrd_cpb_cnt_minus1, inclusive. The access unit in the BitstreamToDecode associated with the buffering period SEI message applicable to TargetOlsIdx (present in TargetLayerBitstream or available through an external mechanism not specified herein) is selected as the HRD initialization point, referred to as access unit 0 for each layer in the target OLS.
[0159] The subsequent steps are applied to each layer with OLS layer index TargetOlsLayerIdx in the target OLS. If only one layer exists in the target OLS, the tested layer bitstream TargetLayerBitstream is set equal to BitstreamToDecode. Otherwise, TargetLayerBitstream is derived by invoking a demultiplexing process to derive a layer bitstream with BitstreamToDecode, TargetOlsIdx, and TargetOlsLayerIdx as inputs, and the output is assigned to TargetLayerBitstream.
[0160] The layer_level_hrd_parameters() syntax structure and sub_layer_hrd_parameters() syntax structure applicable to the TargetLayerBitstream are selected as follows: The layer_level_hrd_idx[TargetOlsIdx][TargetOlsLayerIdx]th layer_level_hrd_parameters() syntax structure in the VPS (or provided through an external mechanism such as user input) is selected. Within the selected layer_level_hrd_parameters() syntax structure, if BitstreamToDecode is a Type I bitstream, the sub_layer_hrd_parameters(Htid) syntax structure immediately following the condition if(general_vcl_hrd_params_present_flag) is selected, and the variable NalHrdModeFlag is set equal to 0. Otherwise (if BitstreamToDecode is a Type II bitstream), the sub_layer_hrd_parameters(Htid) syntax structure that immediately follows either the condition if(general_vcl_hrd_params_present_flag) (in this case, the variable NalHrdModeFlag is set equal to 0) or the condition if(general_nal_hrd_params_present_flag) (in this case, the variable NalHrdModeFlag is set equal to 1) is selected. If BitstreamToDecode is a Type II bitstream and NalHrdModeFlag is equal to 0, all non-VCL NAL units except filler data NAL units, as well as all leading_zero_8bits, zero_byte, start_code_prefix_one_3bytes, and trailing_zero_8bits syntax elements that form the byte stream from the NAL unit stream, if present, are discarded from the TargetLayerBitstream, and the remaining bitstream is assigned to the TargetLayerBitstream.
[0161] If decoding_unit_hrd_params_present_flag is equal to 1, the CPB is scheduled to operate either at the access unit level (in this case the variable DecodingUnitHrdFlag is set equal to 0) or at the decoding unit level (in this case the variable DecodingUnitHrdFlag is set equal to 1). Otherwise, DecodingUnitHrdFlag is set equal to 0 and the CPB is scheduled to operate at the access unit level. For each access unit in the TargetLayerBitstream starting with access unit 0, a buffering period SEI message (present in the TargetLayerBitstream or available via an external mechanism) associated with the access unit and applied to TargetOlsIdx and TargetOlsLayerIdx is selected, a picture timing SEI message (present in the TargetLayerBitstream or available via an external mechanism) associated with the access unit and applied to TargetOlsIdx and TargetOlsLayerIdx is selected, and if DecodingUnitHrdFlag is equal to 1 and decoding_unit_cpb_params_in_pic_timing_sei_flag is equal to 0, a decoding unit information SEI message (present in the TargetLayerBitstream or available via an external mechanism) associated with the decoding unit in the access unit and applied to TargetOlsIdx and TargetOlsLayerIdx is selected.
[0162] Each conformance test includes a combination of one option in each of the above steps. If more than one option exists for a step, only one option is selected for any particular conformance test. All possible combinations of all steps form the entire set of conformance tests. For each operation point being tested, the number of bitstream conformance tests performed is equal to n0 * n1 * n2 * n3, where the values of n0, n1, n2, and n3 are specified as follows: n1 is equal to hrd_cpb_cnt_minus1 + 1. n1 is the number of access units in BitstreamToDecode associated with the buffering period SEI message. n2 is derived as follows: If BitstreamToDecode is a Type I bitstream, n0 is equal to 1. Otherwise (if BitstreamToDecode is a Type II bitstream), n0 is equal to 2. n3 is derived as follows: If decoding_unit_hrd_params_present_flag is equal to 0, n3 is equal to 1. Otherwise, n3 is equal to 2.
[0163] The HRD includes a bitstream demultiplexer (optionally present), a coded picture buffer (CPB) per layer, an instantaneous decoding process per layer, a decoded picture buffer (DPB) containing sub-DPBs per layer, and output cropping.
[0164] In one example, the HRD operates as follows: The HRD is initialized in decoding unit 0, and each CPB and each sub-DPB of the DPB is set to empty. The sub-DPB fullness for each sub-DPB is set equal to 0. After initialization, the HRD is not reinitialized by subsequent buffering period SEI messages. Data associated with decoding units that flow into each CPB according to a specified arrival schedule is delivered by the HSS. Data associated with each decoding unit is removed and instantly decoded by an instantaneous decoding process at the CPB removal time of the decoding unit. Each decoded picture is placed in a DPB. A decoded picture is removed from the DPB when it is no longer needed for inter-prediction reference and no longer needed for output.
[0165] In one example, the demultiplexing process to derive the layer bitstreams is as follows: The inputs to this process are bitstream inBitstream, target OLS index targetOlsIdx, and target OLS layer index targetOlsLayerIdx. The output of this process is layer bitstream outBitstream. The output layer bitstream outBitstream is derived as follows: The bitstream outBitstream is set to be identical to bitstream inBitstream. Remove all NAL units with nuh_layer_id not equal to LayerIdInOls[targetOlsIdx][targetOlsLayerIdx] from outBitstream. Remove from outBitstream all SEI NAL units containing scalable nesting SEI messages that have nesting_ols_flag equal to 1 and whose values of i and j are not in the ranges of 0 to nesting_num_ols_minus1, inclusive, and 0 to nesting_num_ols_layers_minus1[i], inclusive, respectively, so that NestingOlsLayerIdx[i][j] is equal to targetOlsLayerIdx. Remove from outBitstream all SEI NAL units containing scalable nesting SEI messages that have nesting_ols_flag equal to 1 and whose values of i and j are in the ranges of 0 to nesting_num_ols_minus1, inclusive, and 0 to nesting_num_ols_layers_minus1[i], inclusive, respectively, so that NestingOlsLayerIdx[i][j] is less than targetOlsLayerIdx.Remove from outBitstream all SEI NAL units containing scalable nesting SEI messages that have nesting_ols_flag equal to 0 and for which a value of i is not in the range of 0 to LayerIdInOls-1, inclusive, such that NestingLayerId[i] is equal to NestingNumLayers[targetOlsIdx][targetOlsLayerIdx]. Remove from outBitstream all SEI NAL units containing scalable nesting SEI messages that have nesting_ols_flag equal to 0 and for which at least one value of i is in the range of 0 to LayerIdInOls-1, inclusive, such that NestingLayerId[i] is less than NestingNumLayers[targetOlsIdx][targetOlsLayerIdx].
[0166] An exemplary buffering period SEI message syntax is as follows: [Table 5]
[0167] An exemplary scalable nesting SEI message syntax is as follows: [Table 6]
[0168] Exemplary general SEI payload semantics are as follows: The following applies to the applicable layers (in the context of an OLS, or generally) of a non-scalable nested SEI message: For a non-scalable nested SEI message, if payloadType is equal to 0 (buffering duration), 1 (picture timing), or 130 (decoding unit information), the non-scalable nested SEI message applies only to the lowest layer in the context of the 0th OLS. For a non-scalable nested SEI message, if payloadType is equal to any value in VclAssociatedSeiList, the non-scalable nested SEI message applies only to layers whose VCL NAL unit has nuh_layer_id equal to the nuh_layer_id of the SEI NAL unit that contains the SEI message.
[0169] Exemplary buffering period SEI message semantics are as follows: The buffering period SEI message provides initial CPB removal delay and initial CPB removal delay offset information for initialization of the HRD at the position of the associated access unit in decoding order. When the buffering period SEI message is present, a picture with TemporalId equal to 0 and that is not a RASL or random access decodable leading (RADL) picture is said to be a notDiscardablePic picture. If the current picture is not the first picture in the bitstream in decoding order, the preceding picture in decoding order with TemporalId equal to 0 that is not a RASL or RADL picture is called prevNonDiscardablePic.
[0170] The presence of a buffering period SEI message is specified as follows: If NalHrdBpPresentFlag is equal to 1 or VclHrdBpPresentFlag is equal to 1, then the following applies for each access unit in the CVS: If the access unit is an IRAP or Gradual Decoder Refresh (GDR) access unit, then a buffering period SEI message applicable to the operation point shall be associated with the access unit. Otherwise, if the access unit contains notDiscardablePic, then a buffering period SEI message applicable to the operation point may or may not be associated with the access unit. Otherwise, the access unit shall not be associated with a buffering period SEI message applicable to the operation point. Otherwise (if both NalHrdBpPresentFlag and VclHrdBpPresentFlag are equal to 0), then the access unit in the CVS shall not be associated with a buffering period SEI message. In some applications, it may be desirable for buffering period SEI messages to be present frequently (e.g., for random access in IRAP or non-IRAP pictures, or for bitstream splicing). If a picture in an access unit is associated with a buffering period SEI message, the access unit shall have a picture in each of the layers present in the CVS, and each picture in the access unit shall have a buffering period SEI message.
[0171] bp_max_sub_layers_minus1 plus 1 specifies the maximum number of temporal sublayers for which the CPB removal delay and CBP removal offset are indicated in the buffering period SEI message. The value of bp_max_sub_layers_minus1 shall be in the range of 0 to vps_max_sub_layers_minus1, inclusive. bp_cpb_cnt_minus1 plus 1 specifies the number of syntax element pairs nal_initial_cpb_removal_delay[i][j] and nal_initial_cpb_removal_offset[i][j] for the i-th temporal sublayer if bp_nal_hrd_params_present_flag is equal to 1, and specifies the number of syntax element pairs vcl_initial_cpb_removal_delay[i][j] and vcl_initial_cpb_removal_offset[i][j] for the i-th temporal sublayer if bp_vcl_hrd_params_present_flag is equal to 1. The value of bp_cpb_cnt_minus1 shall be in the range of 0 to 31, inclusive. The value of bp_cpb_cnt_minus1 shall be equal to the value of hrd_cpb_cnt_minus1.
[0172] Example picture timing SEI message semantics are as follows: The picture timing SEI message provides CPB removal delay and DPB output delay information for the access unit associated with the SEI message. If bp_nal_hrd_params_present_flag or bp_vcl_hrd_params_present_flag of the buffering period SEI message applicable to the current access unit is equal to 1, then the variable CpbDpbDelaysPresentFlag is set equal to 1. Otherwise, CpbDpbDelaysPresentFlag is set equal to 0. The presence of a picture timing SEI message is specified as follows: If CpbDpbDelaysPresentFlag is equal to 1, then a picture timing SEI message shall be associated with the current access unit. Otherwise (CpbDpbDelaysPresentFlag is equal to 0), then there shall be no picture timing SEI message associated with the current access unit. The TemporalId in the picture timing SEI message syntax is the TemporalId of the SEI NAL unit that contains the picture timing SEI message. pt_max_sub_layers_minus1 plus 1 specifies the TemporalId of the highest sub-layer representation whose CPB removal delay information is included in the picture timing SEI message. The value of pt_max_sub_layers_minus1 shall be in the range 0 to vps_max_sub_layers_minus1, inclusive.
[0173] Exemplary scalable nesting SEI message semantics are as follows: A scalable nesting SEI message provides a mechanism to associate an SEI message with a specific layer in the context of a specific OLS or with a specific layer outside the context of an OLS. A scalable nesting SEI message contains one or more SEI messages. An SEI message included in a scalable nesting SEI message is also referred to as a scalable nested SEI message. When including an SEI message in a scalable nesting SEI message, the following restrictions apply as bitstream conformance requirements: An SEI message with payloadType equal to 132 (decoded picture hash) or 133 (scalable nesting) shall not be included in a scalable nesting SEI message. If a scalable nesting SEI message contains a buffering period, picture timing, or decoding unit information SEI message, the scalable nesting SEI message shall not contain other SEI messages with payloadType not equal to 0 (buffering period), 1 (picture timing), or 130 (decoding unit information).
[0174] It is a bitstream conformance requirement that the following restrictions apply to the values of nal_unit_type of SEI NAL units that contain scalable nesting SEI messages: If the scalable nesting SEI message contains an SEI message with payloadType equal to 0 (buffering duration), 1 (picture timing), 130 (decoding unit information), 145 (dependent RAP indication), or 168 (frame field information), the SEI NAL unit that contains the scalable nesting SEI message shall have nal_unit_type equal to PREFIX_SEI_NUT. When the scalable nesting SEI message contains an SEI message with payloadType equal to 132 (decoded picture hash), the SEI NAL unit that contains the scalable nesting SEI message shall have nal_unit_type equal to SUFFIX_SEI_NUT.
[0175] nesting_ols_flag is set to 1 to specify that the scalable nesting SEI message applies to a particular layer in the context of a particular OLS. nesting_ols_flag is set to 0 to specify that the scalable nesting SEI message applies to a particular layer in general (not in the context of an OLS). It is a bitstream conformance requirement that the following restrictions apply to the value of nesting_ols_flag: If the scalable nesting SEI message contains an SEI message with payloadType equal to 0 (buffering duration), 1 (picture timing), or 130 (decoding unit information), the value of nesting_ols_flag shall be equal to 1. If the scalable nesting SEI message contains an SEI message with payloadType equal to a value in VclAssociatedSeiList, the value of nesting_ols_flag shall be equal to 0. nesting_num_olss_minus1 plus 1 specifies the number of OLSs to which the scalable nesting SEI message applies. The value of nesting_num_olss_minus1 shall be in the range 0 to TotalNumOlss-1, inclusive. nesting_ols_idx_delta_minus1[i] is used to derive the variable NestingOlsIdx[i], which specifies the OLS index of the ith OLS to which the scalable nested SEI message applies if nesting_ols_flag is equal to 1. The value of nesting_ols_idx_delta_minus1[i] shall be in the range 0 to TotalNumOlss-2, inclusive. The variable NestingOlsIdx[i] is derived as follows:
number
[0176] nesting_num_ols_layers_minus1[i] plus 1 specifies the number of layers to which the scalable nesting SEI message applies in the context of the NestingOlsIdx[i]th OLS. The value of nesting_num_ols_layers_minus1[i] shall be in the range of 0 to NumLayersInOls[NestingOlsIdx[i]]-1, inclusive. nesting_ols_layer_idx_delta_minus1[i][j], when nesting_ols_flag is equal to 1, is used to derive the variable NestingOlsLayerIdx[i][j], which specifies the OLS layer index of the jth layer to which the scalable nesting SEI message applies in the context of the NestingOlsIdx[i]th OLS. The value of nesting_ols_layer_idx_delta_minus1[i] shall be in the range of 0 to NumLayersInOls[nestingOlsIdx[i]]-2, inclusive. The variable NestingOlsLayerIdx[i][j] is derived as follows:
number
[0177] The lowest of all values of LayerIdInOls[NestingOlsIdx[i]][NestingOlsLayerIdx[i][0]] for i in the range of 0 to nesting_num_olss_minus1, inclusive, shall be equal to the nuh_layer_id of the current SEI NAL unit (the SEI NAL unit that contains the scalable nesting SEI message). nesting_all_layers_flag is set to 1 to specify that the scalable nesting SEI message applies in general to all layers with nuh_layer_id greater than or equal to the nuh_layer_id of the current SEI NAL unit. nesting_all_layers_flag is set to 0 to specify that the scalable nesting SEI message may or may not apply in general to all layers with nuh_layer_id greater than or equal to the nuh_layer_id of the current SEI NAL unit. nesting_num_layers_minus1 plus 1 specifies the number of layers to which the scalable nested SEI message generally applies. The value of nesting_num_layers_minus1 shall be in the range of 0 to vps_max_layers_minus1-GeneralLayerIdx[nuh_layer_id], inclusive, where nuh_layer_id is the nuh_layer_id of the current SEI NAL unit. nesting_layer_id[i] specifies the nuh_layer_id value of the ith layer to which the scalable nested SEI message generally applies if nesting_all_layers_flag is equal to 0. The value of nesting_layer_id[i] shall be greater than nuh_layer_id, where nuh_layer_id is the nuh_layer_id of the current SEI NAL unit.If nesting_ols_flag is equal to 0, the variable NestingNumLayers, which specifies the number of layer(s) to which the scalable nested SEI message generally applies, and the list NestingLayerId[i], for i in the range 0 to NestingNumLayers-1 inclusive, which specifies the list of nuh_layer_id values of the layers to which the scalable nested SEI message generally applies, are derived as follows, where nuh_layer_id is the nuh_layer_id of the current SEI NAL unit:
number
[0178] nesting_num_seis_minus1 plus 1 specifies the number of scalable nested SEI messages. The value of nesting_num_seis_minus1 shall be in the range of 0 to 63, inclusive. nesting_0_bit shall be equal to 0.
[0179] 9 is a schematic diagram of an exemplary video coding device 900. The video coding device 900 is suitable for implementing the disclosed examples / embodiments described herein. The video coding device 900 includes a downstream port 920, an upstream port 950, and / or a transceiver unit (Tx / Rx) 910, which includes a transmitter and / or a receiver for communicating data upstream and / or downstream over a network. The video coding device 900 also includes a processor 930 including a logic unit and / or central processing unit (CPU) for processing data and a memory 932 for storing data. The video coding device 900 may also include electrical, optical-electrical (OE) components, electro-optical (EO) components, and / or wireless communication components coupled to the upstream port 950 and / or the downstream port 920 for communicating data over an electrical, optical, or wireless communication network. The video coding device 900 may also include input and / or output (I / O) devices 960 for communicating data to and from a user. The I / O devices 960 may include output devices such as a display for displaying video data, speakers for outputting audio data, etc. The I / O devices 960 may also include input devices such as a keyboard, mouse, trackball, etc., and / or corresponding interfaces for interacting with such output devices.
[0180] The processor 930 is implemented by hardware and software. The processor 930 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 930 communicates with the downstream port 920, the Tx / Rx 910, the upstream port 950, and the memory 932. The processor 930 includes a coding module 914. The coding module 914 implements the disclosed embodiments described herein, such as methods 100, 1000, and 1100, which may employ the multi-layer video sequence 600, the multi-layer video sequence 700, and / or the bitstream 800. The coding module 914 may also implement any other method / mechanism described herein. Furthermore, the coding module 914 may implement the codec system 200, the encoder 300, the decoder 400, and / or the HRD 500. For example, the coding module 914 may be employed to implement an HRD. Furthermore, the coding module 914 may be employed to encode parameters into a bitstream to support an HRD conformance testing process. Thus, the coding module 914 may be configured to execute a mechanism to address one or more of the above-mentioned problems. Thus, the coding module 914 causes the video coding device 900 to provide additional functionality and / or coding efficiency when coding video data. Thus, the coding module 914 improves the functionality of the video coding device 900 and addresses problems specific to video coding techniques. Furthermore, the coding module 914 effects a transformation of the video coding device 900 into a different state. Alternatively, the coding module 914 may be implemented as instructions stored in the memory 932 and executed by the processor 930 (e.g., as a computer program product stored on a non-transitory medium).
[0181] Memory 932 includes one or more memory types such as a disk, a tape drive, a solid state drive, a read-only memory (ROM), a random access memory (RAM), a flash memory, a ternary content addressable memory (TCAM), a static random access memory (SRAM), etc. Memory 932 stores programs when such programs are selected for execution and may be used as an overflow data storage device to store instructions and data retrieved during program execution.
[0182] 10 is a flowchart of an example method 1000 for encoding a video sequence into a bitstream by including a BP SEI message that directly references a maximum sublayer for bitstream conformance testing by an HRD. Method 1000 may be employed by an encoder, such as codec system 200, encoder 300, and / or video coding device 900, in performing method 100. Furthermore, method 1000 may operate on HRD 500, thereby performing conformance testing on multi-layer video sequence 600, multi-layer video sequence 700, and / or bitstream 800.
[0183] Method 1000 may begin when an encoder receives a video sequence and determines, e.g., based on user input, to encode the video sequence into a multi-layer bitstream. In step 1001, the encoder may encode the bitstream. For example, the bitstream may include pictures organized into one or more sublayers, such as sublayers 710, 720, and / or 730. For example, the bitstream may be a temporal scalable bitstream encoded from a multi-layer video sequence, such as multi-layer video sequence 700. In such cases, the sublayers in the bitstream are referred to as temporal scalable layers / sublayers. Each sublayer is a set of data that includes VCL NAL units (e.g., picture slices) and associated non-VCL NAL units (e.g., parameters) that have the same value of the TemporalId variable.
[0184] The encoder can also encode a VPS, such as VPS 811, into the bitstream. The VPS may include data related to the entire bitstream. For example, the VPS may include a vps_max_sublayers_minus1 syntax element. The vps_max_sublayers_minus1 syntax element may indicate the maximum number of sublayers specified by the VPS for a layer, OLS, and / or bitstream. The encoder can also encode a BP SEI message into the bitstream. The BP SEI message includes a bp_max_sublayers_minus1 syntax element. The bp_max_sublayers_minus1 syntax element is a syntax element that specifies the maximum number of temporal sublayers for which the initial CPB removal delay and initial CPB removal offset are indicated in the BP SEI message. The bp_max_sublayers_minus1 syntax element may be set to a value within the range from 0 to the maximum number of sublayers indicated in the VPS, inclusive. For example, the value of the bp_max_sublayers_minus1 syntax element may be set to any value between 0 and vps_max_sublayers_minus1, inclusive. In this way, a BP SEI message can be associated with any number of sublayers in the bitstream as specified by the VPS.
[0185] The BP SEI message also includes one or more pairs of initial CPB removal delays and initial CPB removal offsets, which may be denoted as nal_initial_cpb_removal_delay and nal_initial_cpb_removal_offset, respectively. These values are parameters included in the BP SEI message and are related to the maximum number of temporal sublayers specified by bp_max_sublayers_minus1.
[0186] In step 1003, the encoder may initialize the HRD based on the BP SEI message. For example, the HRD may be located at the position of the associated AU or DU in the decoding order for each layer / sublayer indicated by the value of bp_max_sublayers_minus1 in the BP SEI message. For example, the HRD may determine a CPB delivery schedule for each such layer / sublayer based on the associated paired values of the initial CPB removal delay and initial CPB removal offset.
[0187] In step 1005, the HRD may perform a set of bitstream conformance tests on the sublayers based on the corresponding CPB delivery schedule. Then, in step 1007, the bitstream may be stored for communication to a decoder.
[0188] 11 is a flowchart of an example method 1100 of decoding a video sequence from a bitstream including a BP SEI message that directly references a maximum sublayer for bitstream conformance testing by an HRD, such as HRD 500. Method 1100 may be employed by a decoder, such as codec system 200, decoder 400, and / or video coding device 900, in performing method 100. Additionally, method 1100 may operate on a bitstream, such as bitstream 800, that includes multi-layer video sequence 600 and / or multi-layer video sequence 700.
[0189] Method 1100 may begin when a decoder begins receiving a bitstream of coded data representing a multi-layer video sequence, e.g., as a result of method 1000. In step 1101, the decoder receives a bitstream including one or more sublayers. For example, the bitstream may include pictures organized into one or more sublayers, such as sublayers 710, 720, and / or 730. For example, the bitstream may be a temporal scalable bitstream including a coded multi-layer video sequence, such as multi-layer video sequence 700. In such cases, the sublayers in the bitstream are referred to as temporal scalable layers / sublayers. Each sublayer is a set of data including VCL NAL units (e.g., picture slices) and associated non-VCL NAL units (e.g., parameters) that have the same value of the TemporalId variable.
[0190] The bitstream also includes a VPS, such as VPS 811. The VPS may include data related to the entire bitstream. For example, the VPS may include a vps_max_sublayers_minus1 syntax element. The vps_max_sublayers_minus1 syntax element may indicate the maximum number of sublayers specified by the VPS for a layer, OLS, and / or bitstream. The bitstream also includes a BP SEI message. The BP SEI message includes a bp_max_sublayers_minus1 syntax element. The bp_max_sublayers_minus1 syntax element is a syntax element that specifies the maximum number of temporal sublayers for which the initial CPB removal delay and initial CPB removal offset are indicated in the BP SEI message. The bp_max_sublayers_minus1 syntax element may be set to a value in the range from 0 to the maximum number of sublayers indicated in the VPS, inclusive. For example, the value of the bp_max_sublayers_minus1 syntax element may be set to any value between 0 and vps_max_sublayers_minus1, inclusive. In this way, a BP SEI message can be associated with any number of sublayers in the bitstream as specified by the VPS.
[0191] The BP SEI message also includes one or more pairs of initial CPB removal delays and initial CPB removal offsets, which may be denoted as nal_initial_cpb_removal_delay and nal_initial_cpb_removal_offset, respectively. These values are parameters included in the BP SEI message and are related to the maximum number of temporal sublayers specified by bp_max_sublayers_minus1. The BP SEI message and related data are employed for initialization of the HRD at the position of the associated AU or DU in decoding order during the bitstream conformance test process in the HRD.
[0192] In step 1103, the decoder may decode the picture from one or more sub-layers. For example, the decoder may decode one or more of the sub-layers and combine them into a sub-layer representation, such as sub-layer representation 740, for presentation to a user. In step 1107, the decoder may forward the decoded picture for display as part of the decoded video sequence.
[0193] 12 is a schematic diagram of an example system 1200 for coding a video sequence in a bitstream including a BP SEI message that directly references a maximum sublayer for bitstream conformance testing by an HRD. System 1200 may be implemented by an encoder and decoder, such as codec system 200, encoder 300, decoder 400, and / or video coding device 900. Furthermore, system 1200 may employ HRD 500 to perform conformance testing on multi-layer video sequence 600, multi-layer video sequence 700, and / or bitstream 800. In addition, system 1200 may be employed when implementing methods 100, 1000, and / or 1100.
[0194] The system 1200 includes a video encoder 1202. The video encoder 1202 includes an encoding module 1203 for encoding a bitstream including a VPS and one or more sublayers. The encoding module 1203 is further for encoding a BP SEI message including a bp_max_sublayers_minus1 syntax element set to a value within a range from 0 to the maximum number of sublayers indicated in the VPS into the bitstream. The video encoder 1202 further includes an initialization module 1204 for initializing an HRD based on the BP SEI message. The video encoder 1202 further includes an HRD module 1205 for performing a set of bitstream conformance tests on the sublayers. The video encoder 1202 further includes a storage module 1206 for storing the bitstream for communication to the decoder. The video encoder 1202 further includes a transmission module 1207 for transmitting the bitstream toward the video decoder 1210. The video encoder 1202 may be further configured to perform any of the steps of the method 1000.
[0195] System 1200 also includes a video decoder 1210. Video decoder 1210 includes a receiving module 1211 for receiving a bitstream including a VPS, one or more sublayers, and a bp_max_sublayers_minus1) syntax element set to a value within a range from 0 to the maximum number of sublayers indicated in the VPS. Video decoder 1210 further includes a decoding module 1213 for decoding pictures from the one or more sublayers. Video decoder 1210 further includes a transport module 1215 for transporting pictures for display as part of a decoded video sequence. Video decoder 1210 may be further configured to perform any of the steps of method 1100.
[0196] A first component is directly coupled to a second component when there are no intervening components, other than wires, traces, or another medium, between the first and second components. A first component is indirectly coupled to a second component when there are intervening components, other than wires, traces, or another medium, between the first and second components. "Coupled" and variations thereof include both directly coupled and indirectly coupled. The use of the term "about," unless otherwise specified, means a range that includes ±10% of the subsequent number.
[0197] It should also be understood that the steps of the exemplary methods described herein do not necessarily have to be performed in the order described, and the order of steps in such methods should be understood to be merely exemplary. Similarly, additional steps may be included in such methods, and certain steps may be omitted or combined, in methods consistent with various embodiments of the present disclosure.
[0198] While multiple 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 present examples should be considered illustrative and not limiting, and the invention should not be limited to the details given herein. For example, various elements or components may be combined or integrated in another system, or certain features may be omitted or not implemented.
[0199] Additionally, the techniques, systems, subsystems, and methods described and illustrated in various embodiments as discrete or separate may be combined or integrated with other systems, components, techniques, or methods without departing from the scope of the present disclosure. Other examples of modifications, substitutions, and alterations are ascertainable by those skilled in the art and could be made without departing from the spirit and scope disclosed herein. [Other possible items] [Item 1] 1. A method implemented by a decoder, said method comprising: receiving, by a receiver of the decoder, a bitstream including a video parameter set (VPS), one or more sub-layers, and a buffering period (BP) max sub-layers minus one (bp_max_sublayers_minus1) set to a value ranging from 0 to the maximum number of sub-layers indicated in the VPS; decoding, by a processor of the decoder, pictures from the one or more sub-layers; A method comprising: [Item 2] The method described in item 1, wherein the bp_max_sublayers_minus1 is included in a buffering period supplemental enhancement information (SEI) message, and the BP SEI message includes a parameter associated with the maximum number of temporal sublayers specified by bp_max_sublayers_minus1. [Item 3] 3. The method according to item 1 or 2, wherein the parameters in the BP SEI message include an initial coded picture buffer (CPB) removal delay and an initial CPB removal offset. [Item 4] 4. The method according to any one of items 1 to 3, wherein the maximum number of sublayers indicated in the VPS is included in VPS maximum sublayers minus one (vps_max_sublayers_minus1). [Item 5] 5. The method according to any one of items 1 to 4, wherein the vps_max_sublayers_minus1 is included in the VPS. [Item 6] 6. The method according to any one of items 1 to 5, wherein the BP SEI message is for initialization of a hypothetical reference decoder (HRD) at the position of the associated access unit (AU) in decoding order. [Item 7] 7. The method of any one of items 1 to 6, wherein the bitstream is a temporal scalable bitstream, and the one or more sub-layers are temporal scalable layers of the bitstream, each sub-layer comprising a video coding layer (VCL) network abstraction layer (NAL) unit and associated non-VCL NAL units having the same value of a temporal identifier (TemporalId) variable. [Item 8] 1. A method implemented by an encoder, the method comprising: encoding, by a processor of the encoder, a bitstream including a video parameter set (VPS) and one or more sub-layers; encoding, by the processor, a buffering period (BP) supplemental enhancement information (SEI) message into the bitstream, the SEI message including a buffering period (BP) maximum sublayers minus one (bp_max_sublayers_minus1) set to a value ranging from 0 to a maximum number of sublayers indicated in the VPS; initializing, by the processor, a hypothetical reference decoder (HRD) based on the BP SEI message; performing, by the processor, a set of bitstream conformance tests on the sub-layer using the HRD; A method comprising: [Item 9] Item 9. The method according to item 8, wherein the BP SEI message includes a parameter associated with the maximum number of temporal sublayers specified by bp_max_sublayers_minus1. [Item 10] 10. The method according to item 8 or 9, wherein the parameters in the BP SEI message include an initial coded picture buffer (CPB) removal delay and an initial CPB removal offset. [Item 11] 11. The method according to any one of items 8 to 10, wherein the maximum number of sublayers indicated in the VPS is included in VPS maximum sublayers minus one (vps_max_sublayers_minus1). [Item 12] 12. The method according to any one of items 8 to 11, wherein the vps_max_sublayers_minus1 is included in the VPS. [Item 13] 13. The method according to any one of items 8 to 12, wherein the HRD is initialized at the position of the associated access unit (AU) in decoding order based on the BP SEI message. [Item 14] 14. The method of any one of items 8 to 13, wherein the bitstream is a temporal scalable bitstream, and the one or more sub-layers are temporal scalable layers of the bitstream, each sub-layer comprising a video coding layer (VCL) network abstraction layer (NAL) unit and associated non-VCL NAL units having the same value of a temporal identifier (TemporalId) variable. [Item 15] A method for transmitting a signal from a wireless device to a wireless network, the method comprising: a processor; a receiver coupled to the processor; a memory coupled to the processor; and a transmitter coupled to the processor, wherein the processor, the receiver, the memory, and the transmitter are configured to execute the method according to any one of items 1 to 14. Video coding device. [Item 16] 15. A non-transitory computer-readable medium comprising a computer program product for use by a video coding device, the computer program product having computer-executable instructions stored on the non-transitory computer-readable medium such that, when executed by a processor, the computer program product causes the video coding device to perform the method of any one of items 1 to 14. [Item 17] A decoder comprising: receiving means for receiving a bitstream including a video parameter set (VPS), one or more sub-layers, and a buffering period (BP) max sub-layers minus one (bp_max_sublayers_minus1) set to a value ranging from 0 to the maximum number of sub-layers indicated in the VPS; decoding means for decoding pictures from the one or more sub-layers; transferring means for transferring the picture for display as part of a decoded video sequence; A decoder comprising: [Item 18] Item 18. The decoder according to item 17, wherein the decoder is further configured to perform the method according to any one of items 1 to 7. [Item 19] 1. An encoder comprising: An encoding means, encoding a bitstream including a video parameter set (VPS) and one or more sub-layers; encoding a buffering period (BP) supplemental enhancement information (SEI) message into the bitstream, the message including a buffering period (BP) maximum sublayers minus one (bp_max_sublayers_minus1) set to a value ranging from 0 to the maximum number of sublayers indicated in the VPS; and encoding means for performing initialization means for initializing a hypothetical reference decoder (HRD) based on the BP SEI message; HRD means for performing a set of bitstream conformance tests on said sub-layers; storage means for storing said bitstream for communication to a decoder; An encoder comprising: [Item 20] 20. The encoder according to claim 19, further configured to execute the method according to any one of claims 8 to 14.
Claims
1. 1. An apparatus for storing a bitstream, comprising: One or more storage media and a receiver Equipped with the receiver is configured to receive the bitstream; the bitstream includes a video parameter set (VPS), one or more sublayers, and a buffering period (BP) max sublayers minus one (bp_max_sublayers_minus1) set to a value ranging from 0 to the maximum number of sublayers indicated in the VPS; the one or more storage media are configured to store the bitstream; Device.
2. 2. The apparatus of claim 1, wherein the bp_max_sublayers_minus1 is included in a buffering period supplemental enhancement information (SEI) message, the BP SEI message including a parameter associated with a maximum number of temporal sublayers specified by bp_max_sublayers_minus1.
3. The apparatus of claim 2 , wherein the parameters in the BP SEI message include an initial coded picture buffer (CPB) removal delay and an initial CPB removal offset.
4. The apparatus of any one of claims 1 to 3, wherein the maximum number of sublayers indicated in the VPS is contained in VPS maximum sublayers minus one (vps_max_sublayers_minus1).
5. The apparatus according to any one of claims 1 to 4, wherein the BP SEI message is for initialization of a hypothetical reference decoder (HRD) at the position of an associated access unit (AU) in decoding order.
6. 6. The apparatus of claim 1, wherein the bitstream is a temporal scalable bitstream, the one or more sub-layers are temporal scalable layers of the bitstream, and each sub-layer comprises a video coding layer (VCL) network abstraction layer (NAL) unit and associated non-VCL NAL units that have the same value of a temporal identifier (TemporalId) variable.
7. 1. A method for storing a bitstream, comprising: receiving the bitstream through a receiver; storing the bitstream on one or more storage media; Equipped with the bitstream includes a video parameter set (VPS), one or more sublayers, and a buffering period (BP) max sublayers minus one (bp_max_sublayers_minus1) set to a value ranging from 0 to the maximum number of sublayers indicated in the VPS; method.
8. 8. The method of claim 7, wherein the bp_max_sublayers_minus1 is included in a buffering period supplemental enhancement information (SEI) message, the BP SEI message including a parameter associated with a maximum number of temporal sublayers specified by bp_max_sublayers_minus1.
9. The method of claim 7 or 8, wherein the parameters in the BP SEI message include an initial coded picture buffer (CPB) removal delay and an initial CPB removal offset.
10. The method according to any one of claims 7 to 9, wherein the maximum number of sublayers indicated in the VPS is contained in VPS maximum sublayers minus one (vps_max_sublayers_minus1).
11. 11. The method of claim 7, wherein the bitstream is a temporal scalable bitstream, and the one or more sub-layers are temporal scalable layers of the bitstream, each sub-layer comprising Video Coding Layer (VCL) Network Abstraction Layer (NAL) units and associated non-VCL NAL units that have the same value of a temporal identifier (TemporalId) variable.
12. 1. A device for transmitting a bitstream, said device comprising: at least one storage medium configured to store the bitstream, the bitstream including a video parameter set (VPS), one or more sublayers, and a buffering period (BP) max sublayers minus one (bp_max_sublayers_minus1) set to a value ranging from 0 to the maximum number of sublayers indicated in the VPS; at least one processor configured to obtain one or more bitstreams from one of the at least one storage medium; a transmitter configured to transmit the one or more bitstreams to another device; Equipped with device.
13. 1. A method for transmitting a bitstream, said method comprising: obtaining the bitstream from at least one storage medium, the at least one storage medium storing at least one bitstream, the bitstream including a video parameter set (VPS), one or more sublayers, and a buffering period (BP) max sublayers minus one (bp_max_sublayers_minus1) set to a value ranging from 0 to a maximum number of sublayers indicated in the VPS; transmitting the bitstream to another device; Equipped with method.
14. 1. A system for processing a bitstream, comprising: an encoding device, one or more storage devices, and a decoding device; Equipped with the encoding device is configured to obtain a video signal and encode the video signal to obtain the bitstream; the bitstream includes a video parameter set (VPS), one or more sublayers, and a buffering period (BP) max sublayers minus one (bp_max_sublayers_minus1) set to a value ranging from 0 to the maximum number of sublayers indicated in the VPS; the decoding device is used to decode the bitstream; system.
Citation Information
Patent Citations
Slice type and decoder compatibility
JP2017522792A