Sequence-level HRD parameters
By signaling sequence-level HRD parameters in the VPS for all output layer sets, the complexity and redundancy in HRD processes are mitigated, leading to improved coding efficiency and reduced resource utilization in video coding systems.
Patent Information
- Application Number
- JP2024176886
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2019-09-24
- Filing Date
- 2024-10-09
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2040-09-08
AI Technical Summary
Existing video coding systems face complexity and redundancy in HRD parameter signaling processes, especially in multi-layer contexts, leading to increased processor, memory, and network resource utilization due to redundant information and complicated signaling schemes.
Implementing a mechanism that signals a global set of sequence-level HRD parameters once in the VPS, reducing redundant signaling and simplifying the HRD process by applying these parameters to all output layer sets, thereby improving coding efficiency.
This approach reduces processor, memory, and network resource usage by minimizing redundant signaling and simplifying the HRD process, enhancing overall coding efficiency in both encoders and decoders.
Smart Images

Figure 2025013832000001_ABST
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 on September 24, 2019 by Ye-Kui Wang, and 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 depict even a relatively short video can be enormous, which can pose challenges when streaming or otherwise communicating the data over communication networks with limited bandwidth capacity. Thus, video data is typically compressed before being communicated over modern telecommunication networks. The size of the video can also be an issue when storing the video on a storage device, which may have limited memory resources. Video compression devices often use software and / or hardware to code the video data at the source before transmission or storage, thereby reducing the amount of data required to represent a digital video image. The compressed data is then received at the destination by a video decompression device, which decodes the video data. With limited network resources and an increasing demand for higher quality video, improved compression and decompression techniques are desired that provide increased 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 one or more output layer sets (OLS) and a video parameter set (VPS), where the VPS specifies the OLS and includes sequence-level hypothetical reference decoder (HRD) parameters to be applied to all OLSs specified by the VPS; and decoding, by a processor of the decoder, an image from the OLS.
[0005] Video coding systems utilize various conformance tests to ensure that a bitstream is decodable by a decoder. For example, a conformance check may include testing the entire bitstream for conformance, then testing each layer of the bitstream for conformance, and finally checking potential decodable outputs for conformance. To implement the conformance check, 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 OLSs. Upon request, an encoder transmits one or more layers of a selected OLS. For example, an encoder may transmit the best layer from an OLS that can be supported by the current network bandwidth. A problem with this mechanism 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 of each OLS. Such HRD parameters may be signaled at different locations in the bitstream depending on the intended range of the parameters. As a result, the scheme becomes more complicated as more layers and / or OLSs are added. Furthermore, HRD parameters of different layers and / or OLSs may contain redundant information. An exemplary mechanism for signaling a global set of sequence level HRD parameters for an OLS and corresponding layers is disclosed. For example, all sequence level HRD parameters that apply to all OLSs and all layers included in the OLS are signaled in a VPS. The VPS is signaled once in the bitstream, and therefore the sequence level HRD parameters are signaled once. Furthermore, the sequence level HRD parameters may 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 processing, resulting in reduced processor, memory, and / or network signaling resource usage in both the encoder and decoder.
[0006] Optionally, in any of the aforementioned aspects, another implementation of the aspect is provided in which the sequence level HRD parameters are included in a general HRD parameters (general_hrd_parameters) syntax structure, and the general_hrd_parameters syntax structure provides parameters used in HRD operations.
[0007] Optionally, in any of the aforementioned aspects, another implementation of the aspect is provided, in which the HRD operation includes a set of bitstream conformance tests performed by the HRD operating on the encoder.
[0008] Optionally, in any of the aforementioned aspects, another implementation of the aspect is provided in which the sequence level HRD parameters include a decoding unit HRD parameter present flag (decoding_unit_hrd_params_present_flag), and the decoding_unit_hrd_params_present_flag is set to 1 when the HRD is scheduled to operate at the access unit (AU) level or the decoding unit (DU) level, and the decoding_unit_hrd_params_present_flag is set to 0 when the HRD is scheduled to operate at the AU level.
[0009] Optionally, in any of the aforementioned aspects, another implementation of the aspect is provided, wherein the sequence level HRD parameters include an HRD coding picture buffer count (hrd_cpb_cnt_minus1), where hrd_cpb_cnt_minus1+1 specifies the number of alternative coding picture buffer (CPB) delivery schedules, and the value of hrd_cpb_cnt_minus1 is constrained to be in the range of 0 to 31, inclusive.
[0010] Optionally, in any of the aforementioned aspects, another implementation of the aspect is provided, in which the VPS further includes a sublayer CPB parameters present flag (sublayer_cpb_params_present_flag), where sublayer_cpb_params_present_flag is set to 1 when the i-th layer HRD parameter syntax structure includes HRD parameters for a sublayer representation having a time identifier (ID) in the range from 0 to a maximum HRD time ID (hrd_max_tid[i]), inclusive, and sublayer_cpb_params_present_flag is set to 0 when the i-th layer HRD parameter syntax structure includes HRD parameters for a sublayer representation having a time ID equal to hrd_max_tid[i] only.
[0011] Optionally, in any of the aforementioned aspects, another implementation of the aspect is provided, in which the presence of a sequence level HRD parameter in the bitstream indicates that the decoder is capable of decoding the bitstream according to the delivery schedule.
[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 one or more output layer sets (OLS); encoding, by the processor, a video parameter set (VPS) specifying the OLS into the bitstream, the VPS including sequence-level hypothetical reference decoder (HRD) parameters that apply to all OLSs specified by the VPS; and performing, by the processor, a set of bitstream conformance tests based on the sequence-level HRD parameters.
[0013] Video coding systems utilize various conformance tests to ensure that a bitstream is decodable by a decoder. For example, a conformance check may include testing the entire bitstream for conformance, then testing each layer of the bitstream for conformance, and finally checking potential decodable outputs for conformance. To implement a conformance check, 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, the encoder transmits one or more layers of a selected OLS. For example, the encoder can transmit the best layer from the OLS that is supportable by the current network bandwidth. A problem with this mechanism 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 of each OLS. Such HRD parameters may be signaled at different locations in the bitstream depending on the intended range of the parameters. As a result, the scheme becomes more complicated as more layers and / or OLSs are added. Furthermore, HRD parameters of different layers and / or OLSs may contain redundant information. An exemplary mechanism is disclosed for signaling a global set of sequence-level HRD parameters for an OLS and corresponding layers. For example, all sequence-level HRD parameters that apply to all OLSs and all layers included in the OLS are signaled in a VPS. The VPS is signaled once in the bitstream, and therefore the sequence-level HRD parameters are signaled once. Furthermore, the sequence-level HRD parameters may 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 HRD processing.As a result, processor, memory and / or network signaling resource usage is reduced in both the encoder and the decoder.
[0014] Optionally, in any of the aforementioned aspects, another implementation of the aspect is provided, in which the sequence level HRD parameters are included in a general_hrd_parameters syntax structure, and the general_hrd_parameters syntax structure provides parameters used in the HRD operation.
[0015] Optionally, in any of the aforementioned aspects, another implementation of the aspect is provided, in which the HRD operation includes a set of bitstream conformance tests, and the set of bitstream conformance tests is executed by an HRD running on a processor.
[0016] Optionally, in any of the aforementioned aspects, another implementation of the aspect is provided in which the sequence level HRD parameters include decoding_unit_hrd_params_present_flag, and the decoding_unit_hrd_params_present_flag is set to 1 when the HRD is scheduled to operate at the AU level or DU level, and the decoding_unit_hrd_params_present_flag is set to 0 when the HRD is scheduled to operate at the AU level.
[0017] Optionally, in any of the above-mentioned aspects, another implementation of the aspect is provided in which the sequence level HRD parameters include hrd_cpb_cnt_minus1, hrd_cpb_cnt_minus1+1 specifies the number of alternative CPB delivery schedules, and the value of hrd_cpb_cnt_minus1 is constrained to be in the range of 0 to 31, inclusive.
[0018] Optionally, in any of the aforementioned aspects, another implementation of the aspect is provided, wherein the VPS further includes sublayer_cpb_params_present_flag, wherein sublayer_cpb_params_present_flag is set to 1 when the i-th layer HRD parameter syntax structure includes HRD parameters for a sublayer representation having a temporal ID in the range from 0 to hrd_max_tid[i], inclusive, and wherein sublayer_cpb_params_present_flag is set to 0 when the i-th layer HRD parameter syntax structure includes HRD parameters for a sublayer representation having a temporal ID equal to hrd_max_tid[i] only.
[0019] Optionally, in any of the aforementioned aspects, another implementation of the aspect is provided, in which the presence of a sequence level HRD parameter in the bitstream indicates that the decoder is capable of decoding the bitstream according to the delivery schedule.
[0020] In one embodiment, the present disclosure includes a video coding device comprising a processor, a receiver coupled to the processor, a memory coupled to the processor, and a transmitter coupled to the processor, 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 comprising computer-executable instructions stored on the non-transitory computer-readable medium that, when executed by a processor, causes the video coding device to perform a method of any of the aforementioned aspects.
[0022] In one embodiment, the disclosure includes a decoder comprising receiving means for receiving a bitstream including one or more OLSs and a VPS, where the VPS specifies the OLSs and includes sequence-level HRD parameters that apply to all OLSs specified by the VPS, decoding means for decoding images from the OLS, and forwarding means for forwarding the images for display as part of a decoded video sequence.
[0023] Optionally, in any of the preceding aspects, there is provided another implementation of the aspect, wherein the decoder is further configured to perform the method of any of the preceding aspects.
[0024] In one embodiment, the disclosure includes an encoder comprising: encoding means for encoding a bitstream including one or more OLSs and encoding a VPS specifying the OLSs into the bitstream, the VPS including sequence-level HRD parameters that apply to all OLSs specified by the VPS; HRD means for performing a set of bitstream conformance tests based on the sequence-level HRD parameters; and storage means for storing the bitstream for communication to a decoder.
[0025] Optionally, in any of the preceding aspects, there is provided another implementation of the aspect, wherein the encoder is further configured to perform the method of any of the preceding 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 description of the drawings]
[0028] For a more complete understanding of this disclosure, reference should now be 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] 4 is a flowchart of an exemplary method for coding a video signal.
[0030] [Diagram 2] 1 is a schematic diagram of an example coding and decoding (codec) system for video coding.
[0031] [Diagram 3] FIG. 1 is a schematic diagram illustrating an exemplary video encoder.
[0032] [Figure 4] FIG. 2 is a schematic diagram illustrating an exemplary video decoder.
[0033] [Diagram 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] 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 example video coding device.
[0038] [Figure 10] 1 is a flowchart of an example method for encoding a video sequence into a bitstream that includes sequence-level HRD parameters that are applied to all output layer sets (OLS).
[0039] [Figure 11] 1 is a flowchart of an example method for decoding a video sequence from a bitstream that includes sequence-level HRD parameters that are applied to all OLSs.
[0040] [Figure 12] 1 is a schematic diagram of an example system for coding a video sequence using a bitstream that includes sequence-level HRD parameters that are applied to all OLSs. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0041] Although an exemplary implementation of one or more embodiments is 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 scope of equivalents.
[0042] The following terms are defined as follows, unless used in the present specification 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 as supplementary and should not be considered as limiting any other definitions of the explanations provided for such terms in the present specification.
[0043] A bitstream is a sequence of bits that contains compressed video data for transmission between an encoder and a decoder. An encoder is a device configured to use an encoding process to compress video data into a bitstream. A decoder is a device configured to use a decoding process to reconstruct video data from a bitstream for display. A picture is an array of luma samples and / or an array of chroma samples that make up a frame or a field thereof. The picture being encoded or decoded may be referred to as the current picture for clarity of description. 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 that is coded to contain video data, such as a coding 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 that are associated with each other according to specified classification rules and relate to one particular output time. A decode 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 units in the AU. Furthermore, a DU includes a set or a subset of VCL NAL units from the AU and any non-VCL NAL units associated with the VCL NAL units 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.). A decoding order is the order in which syntax elements are processed by the decoding process.A video parameter set (VPS) is a data unit that contains parameters related to an 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 temporally scalable layer of a temporally scalable bitstream that includes VCL NAL units with a particular 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 particular sublayer and lower sublayer. Thus, one or more temporal sublayers can be combined to provide a sublayer representation that can be decoded to be a video sequence with a specified frame rate. An output layer set (OLS) is a set of layers where one or more layers are designated as output layers. An output layer is a layer that is designated for output (e.g., to a display). An OLS index is an index that uniquely identifies a corresponding OLS. The zeroth (0th) OLS is an OLS that contains only the lowest layer (the layer with the lowest layer identifier) and therefore 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 from the bitstream those NAL units 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 outputs a sub-bitstream that contains NAL units that are part of the target set from the bitstream.
[0045] HRD is a decoder model that runs on an encoder and checks the variability of the bitstream generated by the encoding process to verify its conformance with specified constraints. Bitstream conformance tests are tests to determine whether the encoded bitstream conforms to a standard such as Versatile 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 parameters 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 may contain multiple syntax elements. Sequence-level HRD parameters are HRD parameters that apply to the entire coding video sequence. Maximum HRD temporal ID (hrd_max_tid[i]) specifies the temporal ID of the highest sublayer representation for which the HRD parameter is included in the i-th OLS HRD parameter set. 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 and is identified by an OLS index and a highest 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 Coding Picture Buffer (CPB) is a first-in, first-out buffer in the HRD that contains coding pictures in decoding order for use during bitstream conformance verification. A Decoding Picture Buffer (DPB) is a buffer for holding decoded pictures for reference, output reordering, and / or output delay.
[0046] A Supplemental Enhancement Information (SEI) message is a semantically specified syntax structure that conveys information that is not required by the decoding process to determine values of samples of the decoded image. 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 nesting SEI message is a message that is not nested 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 delivery information of AUs in the CPB and / or DPB. A decode unit information (DUI) SEI message is an SEI message that contains HRD parameters for managing delivery information for DUs in the CPB and / or DPB.
[0047] The CPB removal delay is the period of time that the corresponding current AU can remain in the CPB before being removed and output to the DPB. The initial CPB removal delay is the default CPB removal delay of each picture, AU, and / or DU in the bitstream, OLS, and / or layer. The CPB removal offset is a location in the CPB that is 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 can remain in the DPB before being output. The CPB removal delay information is information related to the removal of the corresponding DU from the CPB. The delivery schedule specifies the timing for the 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 i-th layer indicated in the VPS. The number of output layer sets minus 1 (num_output_layer_sets_minus1) is a syntax element that specifies the total number of OLSs specified by the VPS. The HRD coding 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 contains HRD parameters for the specified sublayer representation. The schedule index (ScIdx) is an index that identifies a delivery schedule. The BP CPB count minus1 (bp_cpb_cnt_minus1) is a syntax element that specifies the number of initial CPB removal delay and offset pairs and thus 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 to constrain the temporal distance between the HRD output times of consecutive pictures in output order. The sublayer HRD parameters (sublayer_hrd_parameters) syntax structure is a syntax structure that contains the HRD parameters of the corresponding sublayer. The general VCL HRD parameters present flag (general_vcl_hrd_params_present_flag) is a flag that specifies whether the VCL HRD parameters are present in the general HRD parameters syntax structure. The BP max sublayers-1 (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-1 (vps_max_sublayers_minus1) syntax element is a syntax element that specifies the maximum number of temporal sublayers that may be present 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 to a specific layer. The scalable nesting OLS number-1 (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-1 (TotalNumOlss-1) is a syntax element that specifies the total number of OLSs specified in the VPS.
[0048] The following acronyms are used herein: 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), Coding Video Sequence (CVS), Coding Video Sequence Start (CVSS), Joint Video Experts Team (JVET), Hypothetical Reference Decoder (HRD), Motion Constrained Tile Set (MCTS), Maximum Transmission 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), Generic Video Coding (VVC).
[0049] Many video compression techniques may be utilized 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. For block-based video coding, a video slice (e.g., a video image or a portion of a video image) may be divided into video blocks, which may also be referred to as tree blocks, encoding tree blocks (CTBs), coding tree units (CTUs), coding units (CUs), and / or coding nodes. Video blocks in an intra-coded (I) slice of an image are coded using spatial prediction with respect to reference samples of neighboring blocks in the same image. Video blocks in an inter-coded unidirectionally predictive (P) slice or bidirectionally predictive (B) slice of an image may be coded by utilizing spatial prediction with respect to reference samples of neighboring blocks in the same image or temporal prediction with respect to reference samples of other reference images. A picture may be referred to as a frame and / or an image, and a reference picture may be referred to as a reference frame and / or a reference image. Spatial or temporal prediction results in a predictive block representing the image block. The residual data represents the pixel difference between the original image block and the predictive block. Thus, inter-coding blocks are encoded according to a motion vector pointing to a block of reference samples forming the predictive block and the residual data indicating the difference between the coding block and the predictive block. Intra-coding blocks are encoded according to an intra-coding mode and the residual data. For further compression, the residual data may be transformed from the pixel domain to a transform domain. This results in residual transform coefficients that may be quantized. The quantized transform coefficients may be initially 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 more 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, including International Telecommunications Union (ITU) Standardization Sector (ITU-T) H.261, International Organization for Standardization / International Electrotechnical Commission (ISO / IEC) Motion Picture Experts Group (MPEG)-1 Part 2, Advanced Video Coding (AVC), also known as ITU-T H.262 or ISO / IEC MPEG-2 Part 2, ITU-T H.263, ISO / IEC MPEG-4 Part 2, ITU-T H.264 or ISO / IEC MPEG-4 Part 10, and High Efficiency Video Coding (HEVC), also known as ITU-T H.265 or MPEG-H Part 2. AVC includes extensions such as Scalable Video Coding (SVC), Multiview Video Coding (MVC) and Multiview Video Coding plus Depth (MVC+D), as well as three-dimensional (3D) AVC (3D-AVC). HEVC includes extensions such as Scalable HEVC (SHVC), Multiview HEVC (MV-HEVC), and 3D HEVC (3D-HEVC). The 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 utilize various conformance tests to ensure that a bitstream is decodable by a decoder. For example, a conformance check may include testing the entire bitstream for conformance, then testing each layer of the bitstream for conformance, and finally checking potential decodable outputs for conformance. To implement the conformance check, 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 (OLS). Upon request, the encoder transmits one or more layers of a selected OLS. For example, the encoder may transmit the best layer from the OLS that can be supported by the current network bandwidth. A first problem with this approach is that a significant number of layers are tested but not actually transmitted to the decoder. However, parameters to support such tests may still be included in the bitstream, unnecessarily increasing the size of the bitstream.
[0052] In a first embodiment, a mechanism is disclosed herein for applying bitstream conformance tests only to each OLS. In this way, when testing the corresponding OLS, the entire bitstream, each layer, and the decodable output are tested together. Thus, the number of conformance tests is reduced, thereby reducing the processor and memory resource usage at 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, thus reducing the processor, memory, and / or network resource utilization at both the encoder and the decoder.
[0053] The second problem is that the signaling process of HRD parameters 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 for each OLS. Such HRD parameters may be signaled at different locations in the bitstream depending on the intended range of the parameters. As a result, the scheme becomes more complicated as more layers and / or OLSs are added. Furthermore, the HRD parameters for different layers and / or OLSs may contain redundant information.
[0054] In a second embodiment, a mechanism is disclosed herein for signaling a global set of sequence level HRD parameters for an OLS and corresponding layers. For example, all sequence level HRD parameters that apply to all OLSs and all layers contained in the OLS are signaled in a video parameter set (VPS). The VPS is signaled once in the bitstream, and therefore the sequence level HRD parameters are signaled once. Furthermore, the sequence level HRD parameters may 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 HRD processing. As a result, the usage of processor, memory, and / or network signaling resources is reduced in both the encoder and the decoder.
[0055] A third problem may occur when a video coding system performs conformance checking of a bitstream. Video may be coded into multiple layers and / or sublayers, which can 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 coding picture buffer (CPB) size and CPB delay to account for different transmission bandwidths and system capabilities. Some video coding systems allow each sublayer to define any number of delivery schedules. This can result in a large amount of signaling to support conformance checking, resulting in reduced bitstream coding efficiency.
[0056] In a third embodiment, a mechanism is disclosed herein for increasing the coding efficiency of videos that include multiple layers. Specifically, all layers and / or sublayers are constrained to include the same number of CPB delivery schedules. For example, an encoder may determine the maximum number of CPB delivery schedules that will be used for any one layer and set the number of CPB delivery schedules for all layers to this maximum number. The number of delivery schedules may then be signaled once, for example, as part of the HRD parameters in the VPS. This eliminates the need to signal several schedules per layer / sublayer. In some examples, all layers / sublayers of an OLS may also share the same delivery schedule index. These changes reduce the amount of data used to signal data related to conformance checking. This reduces the bitstream size and therefore reduces the utilization of processor, memory, and / or network resources in both the encoder and decoder.
[0057] A fourth problem may occur 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. Supplemental Enhancement Information (SEI) messages may be included in the bitstream to inform the HRD of layer / OLS-specific parameters used to test the multiple layers of the bitstream for conformance to the standard. Specifically, when an OLS is included in the bitstream, a scalable nesting SEI message is utilized. A scalable nesting SEI message includes one or more OLSs and / or a group of nested SEI messages that apply to one or more layers of an OLS. Each nested SEI message may include an indicator to indicate association with the corresponding OLS and / or layer. A nested SEI message is configured for use with multiple layers and may include irrelevant information when applied to a 0th OLS that includes a single layer.
[0058] In a fourth embodiment, a mechanism is disclosed herein for increasing the coding efficiency of a video including a 0th OLS. A non-scalable nested SEI message is utilized for the 0th OLS. The non-scalable nested SEI message is constrained to apply only to the 0th OLS and thus only to the output layers included in the 0th OLS. In this manner, 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 decode unit (DU) SEI message, or a combination thereof. These modifications reduce the amount of data used to signal conformance check related information to the 0th OLS. This reduces the bitstream size and therefore reduces the utilization of processor, memory, and / or network resources at both the encoder and decoder.
[0059] A fifth problem may also occur when a video is separated into multiple layers and / or sublayers. An encoder may encode these layers into a bitstream. In addition, the encoder may utilize HRD to perform conformance tests to check the bitstream for conformance with the standard. The encoder may be configured to include layer-specific HRD parameters in the bitstream to support such conformance tests. The layer-specific HRD parameters may be encoded 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 that unnecessarily increases the size of the video encoding.
[0060] In a fifth embodiment, a mechanism for reducing HRD parameter redundancy is disclosed herein for videos utilizing multiple layers. An encoder may encode the HRD parameters of the top layer. The encoder may also encode a sublayer CPB parameters present flag (sublayer_cpb_params_present_flag). Setting sublayer_cpb_params_present_flag to 0 may indicate that all lower layers should use the same HRD parameters as the top layer. In this context, the top layer has the highest layer identifier (ID) and a lower layer is any layer with a layer ID smaller than the layer ID of the top layer. In this manner, the HRD parameters of the lower layers may be omitted from the bitstream. This reduces the bitstream size and thus reduces the utilization of processor, memory, and / or network resources at both the encoder and decoder.
[0061] The sixth problem concerns the usage of sequence parameter sets (SPS), which contain syntax elements related to each video sequence in a video. A video coding system may code a video in layers and / or sublayers. A video sequence may operate differently in different layers and / or sublayers. Thus, different layers may reference different SPSs. A BP SEI message may indicate the layer / sublayer for which conformance to the standard is checked. Some video coding systems may indicate that the BP SEI message applies to the layer / sublayer indicated in the SPS. This may cause problems if different layers reference different SPSs, resulting in unexpected errors, since such SPSs may contain conflicting information.
[0062] In a sixth embodiment, a mechanism is disclosed herein for addressing errors related to conformance checking when multiple layers are utilized in a video sequence. Specifically, the BP SEI message is modified to indicate that the conformance of any number of layers / sublayers represented in the VPS can be checked. For example, the BP SEI message may include a BP max sublayers-1 (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-1 (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, the conformance of any number of layers / sublayers in a video can be checked while avoiding layer-based sequence problems related to SPS inconsistencies. Thus, the present disclosure avoids layer-based coding and thus improves the functionality of the encoder and / or decoder. Furthermore, the present embodiment supports layer-based coding, which can improve coding efficiency, and therefore supports 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 of 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 partly managed by SEI messages. For example, a scalable nesting SEI message may include scalable nested SEI messages. Each scalable nested SEI message may include data related to the corresponding layer. When performing a conformance check, the HRD can perform a bitstream extraction process on the target OLS. Data not related to a layer in an OLS is generally removed before conformance testing (e.g., before transmission) so that each OLS can be checked separately. Some video coding systems do not remove scalable nesting SEI messages during the sub-bitstream extraction process because such messages pertain to multiple layers. For this reason, scalable nesting SEI messages may remain in the bitstream after sub-bitstream extraction even if they are not related to any layer of the target OLS (the OLS being extracted), which may increase the size of the final bitstream without providing any additional functionality.
[0064] In a seventh embodiment, a mechanism for reducing the size of a multi-layer bitstream is disclosed herein. During sub-bitstream extraction, a scalable nesting SEI message may be considered for removal from the bitstream. If the scalable nesting SEI message is associated with one or more OLSs, the scalable nested SEI messages in the scalable nesting SEI message are checked. If the scalable nesting SEI message is not associated with any layer of the target OLS, the entire scalable nesting SEI message may be removed from the bitstream. This results in a smaller size of the bitstream sent to the decoder. Thus, this embodiment increases coding efficiency and reduces the usage of processor, memory, and / or network resources in both the encoder and the decoder.
[0065] 1 is a flow chart of an exemplary operational method 100 of coding a video signal. Specifically, a video signal is encoded in an encoder. The encoding process compresses the video signal by utilizing various mechanisms to reduce the video file size. With the reduced file size, the compressed video file can be transmitted to a user while reducing the associated bandwidth overhead. A decoder then decodes the compressed video file to reconstruct the original video signal for display to an end user. The decoding process generally mirrors the encoding process so that the decoder can consistently reconstruct the video signal.
[0066] At stage 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 audio and video components. The video component includes a series of image frames, which, when viewed in succession, give the impression of visual motion. The frames include pixels represented in terms of 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 stage 103, the video is divided into blocks. The division includes subdividing the pixels in each frame into square and / or rectangular blocks for compression. For example, in High Efficiency Video Coding (HEVC) (also known as H.265 and MPEG-H Part 2), a frame can be first divided into coding tree units (CTUs), which are blocks of a predefined size (e.g., 64 pixels by 64 pixels). The CTUs include both luma and chroma samples. The coding tree can be utilized to divide the CTUs into blocks, which can then be recursively subdivided until a configuration is achieved that supports further encoding. For example, the luma component of a frame may be subdivided until individual blocks contain relatively homogenous illumination values. Additionally, the chroma component of a frame may be subdivided until individual blocks contain relatively homogenous color values. Thus, the division mechanism varies depending on the content of the video frame.
[0068] At stage 105, various compression mechanisms are utilized to compress the image blocks partitioned at stage 103. For example, inter-prediction and / or intra-prediction may be utilized. Inter-prediction is designed to utilize the fact that objects in a common scene tend to appear in successive frames. Thus, blocks representing objects in a reference frame do not need to be repeatedly represented in adjacent frames. Specifically, an object such as a table may remain in a constant position across multiple frames. Thus, once a table is represented, adjacent frames may refer back to the reference frame. Pattern matching mechanisms may be utilized to match objects across multiple frames. Additionally, 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. Such motion may be represented using motion vectors. 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. Thus, inter-prediction may encode image blocks in a current frame as a set of motion vectors indicating an 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, some green patches in a tree tend to be located adjacent to similar green patches. Intra prediction utilizes multiple directional prediction modes (e.g., 33 in HEVC), planar mode, and direct current (DC) mode. Directional mode indicates that the current block is similar / same as the samples of neighboring blocks in the corresponding direction. Planar mode indicates that a series of blocks along a row / column (e.g., a plane) may be interpolated based on neighboring blocks at the ends of the row. Planar mode effectively indicates a smooth transition of light / color across the row / column by utilizing a relatively constant slope in changing values. DC mode is utilized for boundary smoothing and indicates that the block is similar / same as the average value associated with the samples of all neighboring blocks associated with the angular direction of the directional prediction mode. Thus, intra predicted blocks may represent image blocks as various related prediction mode values rather than actual values. Additionally, inter predicted blocks may represent image blocks as motion vector values rather than actual values. In either case, the prediction block may in some cases not exactly represent the image block. Any differences are stored in a residual block, to which a transform can be applied to further compress the file.
[0070] Various filtering techniques can be applied in stage 107. In HEVC, filters are applied according to an in-loop filtering scheme. Block-based prediction as described above may produce blocky images at the decoder. Furthermore, after encoding a block, the block-based prediction scheme may reconstruct the encoded block for later use as a reference block. The in-loop filtering scheme iteratively applies noise suppression filters, deblocking filters, adaptive loop filters, and sample adaptive offset (SAO) filters to the block / frame. These filters reduce such blocking artifacts, so that the encoded file can be accurately reconstructed. Furthermore, these filters reduce artifacts in the reconstructed reference block, so that the artifacts are less likely to generate additional artifacts in subsequent blocks that are encoded based on the reconstructed reference block.
[0071] Once the video signal has been segmented, compressed, and filtered, the resulting data is encoded in a bitstream in step 109. The bitstream includes the data described above and any signaling data desired to support proper video signal reconstruction at the decoder. For example, such data may include segmentation data, prediction data, residual blocks, and various flags that provide coding instructions to the decoder. The bitstream may be stored in a memory for transmission to a decoder upon request. The bitstream may also be broadcast and / or multicast to multiple decoders. The generation 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 discussion and is not intended to limit the video coding process to a particular order.
[0072] The decoder receives the bitstream and starts the decoding process at step 111. Specifically, the decoder utilizes an entropy decoding scheme to convert the bitstream into corresponding syntax and video data. The decoder utilizes syntax data from the bitstream at step 111 to determine the division of the frame. This division should match the result of the block division at step 103. Next, the entropy encoding / decoding utilized at step 111 will be described. The encoder makes many choices during the compression process, such as selecting a block division scheme from several possible choices based on the spatial arrangement of values in the input image. Signaling the exact selection may utilize a number of bins. As used herein, a bin is a binary value that is treated as a variable (e.g., a bit value that may change depending on the context). Entropy coding allows the encoder to discard any options that are clearly not feasible for a particular case, leaving a set of allowed options. Each allowed option is then assigned a codeword. The length of the codeword is based on the number of options allowed (e.g., one bin for two options, two bins for three to four options, etc.). The encoder then encodes the codeword for the selected option. This scheme reduces the size of the codeword because it is desired that the codeword be large enough to uniquely indicate a selection from a small subset of the allowed options, rather than uniquely indicating a selection from a potentially large set of all possible options. The decoder then decodes this selection by determining the set of allowed options in a similar manner as the encoder. By determining the set of allowed options, the decoder can read the codeword and determine the selection made by the encoder.
[0073] In step 113, the decoder performs decoding of the block. Specifically, the decoder uses an inverse transform to generate a residual block. Then, the decoder uses the residual block and a corresponding prediction block to reconstruct an image block according to the partition. The prediction block may include both intra-prediction blocks and inter-prediction blocks as generated in the encoder in step 105. Then, the reconstructed image block is 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] At stage 115, filtering is performed on the frames of the reconstructed video signal in a manner similar to stage 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 are filtered, the video signal may be output to a display at stage 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, the codec system 200 provides functionality to support the implementation of the operational method 100. The codec system 200 is generalized to show components utilized in both an encoder and a decoder. The codec system 200 receives and splits a video signal, as described with respect to steps 101 and 103 of the operational method 100, resulting in a split video signal 201. The codec system 200 then compresses the split video signal 201 into a coded bitstream, as described with respect to steps 105, 107, and 109 of the method 100, when operating as an encoder. When operating as a decoder, the codec system 200 generates an output video signal from the bitstream, as described with respect to steps 111, 113, 115, and 117 of the operational method 100. Codec system 200 includes a general coder control component 211, a transform scaling and quantization component 213, an intra-image estimation component 215, an intra-image 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 image buffer component 223, and a header formatting and context-adaptive binary arithmetic coding (CABAC) component 231. Such components are coupled as shown. In FIG. 2, black lines indicate the movement of data to be encoded / decoded, and dashed lines indicate the movement of control data that controls the operation of the other components. All of the components of codec system 200 may reside in an encoder. A decoder may include a subset of the components of codec system 200.For example, the decoder may include an intra-image prediction component 217, a motion compensation component 219, a scaling and inverse transform component 229, an in-loop filter component 225, and a decoded image buffer component 223. These components will now be described.
[0076] The partitioned video signal 201 is a captured video sequence partitioned into blocks of pixels by a coding tree. The coding tree utilizes 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) in some cases. For example, a CU may be a subpart of a CTU that includes a luma block, a red-difference chroma (Cr) block, and a blue-difference chroma (Cb) block, along with corresponding syntax instructions for the CU. The partitioning modes may include a binary tree (BT), a ternary tree (TT), and a quad tree (QT) that are utilized to partition a node into two, three, or four child nodes of various shapes, respectively, depending on the partitioning mode utilized. The segmented video signal 201 is forwarded to a generic coder control component 211, a transform scaling and quantization component 213, an intra image 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 the images of the 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 into account transmission rates to mitigate buffer under-run and over-run 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 can dynamically increase compression complexity to improve resolution and increase bandwidth usage, or decrease compression complexity to reduce resolution and bandwidth usage. Thus, the generic coder control component 211 controls other components of the codec system 200 to balance the relationship between video signal reconstruction quality and bitrate. The generic coder control component 211 creates control data that controls the operation of the other components. Control data is also forwarded to the header formatting and CABAC component 231 where it is encoded into 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 partitioned into multiple video blocks. The motion estimation component 221 and the motion compensation component 219 perform relative inter predictive coding of the received video blocks relative to one or more blocks in one or more reference frames to provide temporal prediction. The codec system 200 may perform multiple coding passes, for example, to select an appropriate coding mode for each block of video data.
[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 a process that generates motion vectors that estimate the motion of a video block. A motion vector may indicate, for example, the relative 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 utilizes several coded objects including CTUs, coding tree blocks (CTBs), and CUs. For example, a CTU may be divided into CTBs, which may then be divided into CBs for inclusion in a CU. A CU may be encoded as a prediction unit (PU) that includes predictive data and / or a transform unit (TU) that includes residual data transformed for the CU. The motion estimation component 221 generates the motion vectors, PUs, and TUs by using rate-distortion analysis as part of the rate-distortion optimization process. For example, the motion estimation component 221 can determine multiple reference blocks, multiple motion vectors, etc. for a current block / frame, and can select the reference block, motion vector, etc. that has 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 can calculate values for sub-integer pixel locations of the reference image stored in the decoded image buffer component 223. For example, the video codec system 200 can interpolate values for quarter-pixel locations, eighth-pixel locations, or other fractional pixel locations of the reference image. Thus, the motion estimation component 221 can perform motion search for full-pixel and fractional pixel locations and output motion vectors with fractional pixel accuracy. The motion estimation component 221 calculates a motion vector for a PU of a video block in an inter-coding slice by comparing the location of the PU with the location of a predictive block of the reference image. 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 the motion vector for the PU of the current video block, the motion compensation component 219 may identify the location of the predictive block to which the motion vector points. A residual video block is then formed by subtracting pixel values of the predictive block from pixel values of the current video block being coded to form pixel difference values. In general, the motion estimation component 221 performs motion estimation on the luma component, and the motion compensation component 219 uses the motion vector calculated based on the luma component for both the chroma and luma components. The predictive block and the residual block are forwarded to the transform scaling and quantization component 213.
[0082] The split video signal 201 is also sent to an intra image estimation component 215 and an intra image prediction component 217. As with the motion estimation component 221 and the motion compensation component 219, the intra image estimation component 215 and the intra image prediction component 217 may be highly integrated, but are shown separately for conceptual purposes. The intra image estimation component 215 and the intra image 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 image estimation component 215 determines the intra prediction mode to use to encode the current block. In some examples, the intra image estimation component 215 selects an appropriate intra prediction mode to encode the current block from a plurality of tested intra prediction modes. The selected intra prediction mode is then forwarded to the header formatting and CABAC component 231 for encoding.
[0083] For example, the intra image estimation component 215 calculates rate-distortion values using a rate-distortion analysis for various tested intra prediction modes and selects an 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 an encoded block and an original unencoded block that was encoded to generate the encoded block, as well as the bit rate (e.g., number of bits) used to generate the encoded block. The intra image estimation component 215 calculates a ratio from the distortion and rate of various encoded blocks and determines which intra prediction mode exhibits the best rate-distortion value for the block. In addition, the intra image estimation component 215 may be configured to code the depth block of the depth map using a depth modeling mode (DMM) based on rate-distortion optimization (RDO).
[0084] The intra image prediction component 217 may generate a residual block from the prediction block based on a selected intra prediction mode determined by the intra image estimation component 215 if implemented on an encoder, or may read the residual block from the bitstream if implemented on a decoder. The residual block includes the difference in values between the prediction block and the original block and is represented as a matrix. The residual block is then forwarded to the transform scaling and quantization component 213. The intra image estimation component 215 and the intra image prediction component 217 may 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 including residual transform coefficient values. A wavelet transform, an integer transform, a subband transform, or other types of transforms may also be used. The transform may convert the residual information from a pixel value domain to a transform domain, such as a frequency domain. The transform scaling and quantization component 213 is also configured to scale the transformed residual information, for example based on frequency. Such scaling involves applying 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 for encoding into a 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, transformation, and / or quantization to reconstruct a residual block in the pixel domain, for example, for later use as a reference block that may become a predictive block for another current block. The motion estimation component 221 and / or the motion compensation component 219 can compute a reference block by adding the residual block to a 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 generated during scaling, quantization, and transformation. Such artifacts may otherwise cause inaccurate predictions (and generate additional artifacts) when predicting subsequent blocks.
[0087] The filter control analysis component 227 and the in-loop filter component 225 apply filters to the residual block and / or the reconstructed image block. For example, the transformed residual block from the scaling and inverse transform component 229 may be combined with a corresponding prediction block from the intra-image prediction component 217 and / or the motion compensation component 219 to reconstruct the original image block. The filter may then be applied to the reconstructed image block. In some examples, the filter may be applied to the residual block instead. As with the other components in FIG. 2, the filter control analysis component 227 and the in-loop filter component 225 may be highly integrated and implemented together, but are shown separately for conceptual purposes. The filters applied to the reconstructed reference block are applied to a particular spatial region and include multiple parameters to adjust how such filters are applied. The filter control analysis component 227 analyzes the reconstructed reference block to determine where such filters are applied and sets 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., to reconstructed pixel blocks) or in the frequency domain, depending on the implementation.
[0088] When operating as an encoder, the filtered reconstructed image blocks, residual blocks, and / or predictive blocks are stored in the decoded image buffer component 223 for later use in motion estimation as described above. When operating as a decoder, the decoded image buffer component 223 stores the reconstructed and filtered blocks and forwards them towards the display as part of the output video signal. The decoded image buffer component 223 may be any memory device capable of storing predictive 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 towards the decoder. In particular, the header formatting and CABAC component 231 generates various headers to encode control data, such as general control data and filter control data. In addition, prediction data, including intra prediction and motion data, as well as residual data in the form of quantized transform coefficient data, are all encoded into the bitstream. The final bitstream contains all information desired by the decoder to reconstruct the original segmented video signal 201. Such information may include an intra prediction mode index table (also called a codeword mapping table), definitions of encoding contexts for various blocks, indications of the most probable intra prediction mode, indications of segmentation information, etc. Such data may be encoded by utilizing entropy coding. For example, the information may be encoded by utilizing 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 example video encoder 300. The video encoder 300 can be utilized to implement the encoding functionality of the codec system 200 and / or to implement stages 101, 103, 105, 107, and / or 109 of the method of operation 100. The encoder 300 splits an input video signal, resulting in a split video signal 301 that is substantially similar to the split video signal 201. The split video signal 301 is then compressed and encoded into a bitstream by components of the encoder 300.
[0091] Specifically, the split video signal 301 is forwarded to an intra image prediction component 317 for intra prediction. The intra image prediction component 317 may be substantially similar to the intra image estimation component 215 and the intra image 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 image buffer component 323. The motion compensation component 321 may be substantially similar to the motion estimation component 221 and the motion compensation component 219. The prediction block and the residual block from the intra image prediction component 317 and the motion compensation component 321 are forwarded to a transform and quantization component 313 for transform and quantization of 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 forwarded 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 embodiment, an in-loop filter of 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 image buffer component 323 for use as a reference block by the motion compensation component 321. The decoded image buffer component 323 may be substantially similar to the decoded image buffer component 223.
[0093] 4 is a block diagram illustrating an example video decoder 400. The video decoder 400 can be utilized to implement the decoding functionality of the codec system 200 and / or to implement steps 111, 113, 115, and / or 117 of the method of operation 100. The decoder 400 receives a bitstream, for example, from the 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 can utilize header information to provide a 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, partitioning information, motion data, prediction data, and quantized transform coefficients from the residual block. The quantized transform coefficients are forwarded to the inverse transform and quantization component 429 for reconstruction into the residual block. The inverse transform and quantization component 429 can be similar to the inverse transform and quantization component 329.
[0095] The reconstructed residual block and / or predictive block are forwarded to the intra image prediction component 417 for reconstructing into an image block based on an intra prediction operation. The intra image prediction component 417 may be similar to the intra image estimation component 215 and the intra image prediction component 217. Specifically, the intra image prediction component 417 utilizes the prediction mode to locate a reference block in a frame and applies the residual block to the result to reconstruct an intra predicted image block. The reconstructed intra predicted image block and / or residual block and corresponding inter prediction data are forwarded to the decoded image buffer component 423 via the in-loop filter component 425, which may be substantially similar to the decoded image buffer component 223 and the in-loop filter component 225, respectively. The in-loop filter component 425 filters the reconstructed image block, the residual block, and / or the predictive block, and such information is stored in the decoded image buffer component 423. The reconstructed image block from the decoded image buffer component 423 is 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 utilizes 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 image buffer component 423 via the in-loop filter component 425. The decoded image buffer component 423 continues to store additional reconstructed image blocks that can be reconstructed into frames via the partition information. Such frames may also be arranged into sequences. The sequences are output as a reconstructed output video signal toward a display.
[0096] 5 is a schematic diagram illustrating an exemplary HRD 500. The HRD 500 may be utilized in the codec system 200 and / or an encoder, such as the encoder 300. The HRD 500 may check the bitstream created in step 109 of the method 100 before the bitstream is forwarded to a decoder, such as the 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 does not 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 execute a virtual distribution mechanism. The virtual distribution mechanism is used to check the conformance of a bitstream or a decoder with respect to the timing and data flow of the 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 test process on the bitstream 551. In a particular example, the HSS 541 may control the rate at which the coded image moves through the HRD 500 and verify that the bitstream 551 does not contain non-conforming data.
[0098] The HSS 541 can forward the bitstream 551 to the CPB 543 at a predetermined rate. The HRD 500 can manage data in a decode unit (DU) 553. The 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 can include a single picture in a single-layer bitstream and can include pictures of each layer in a multi-layer bitstream. Each picture of an AU can be divided into slices that are each included in a corresponding VCL NAL unit. Thus, the DU 553 can include one or more pictures, one or more slices of a picture, or a combination thereof. Also, parameters used to decode the AU, picture, and / or slice can be included in the non-VCL NAL unit. Thus, the DU 553 includes non-VCL NAL units that include data necessary to support decoding of the VCL NAL units in the DU 553. The CPB 543 is a first-in, first-out buffer in the HRD 500. CPB 543 contains DUs 553 containing video data in decode order CPB 543 stores the video data for use during bitstream conformance verification.
[0099] The CPB 543 forwards the DU 553 to the decoding component 545. The decoding component 545 is a VVC standard compliant component. For example, the decoding component 545 can emulate the decoder 400 used by an end user. The decoding component 545 decodes the DU 553 at a rate achievable by an exemplary end user decoder. If the decoding component 545 cannot decode the DU 553 fast enough to prevent the CPB 543 from overflowing, the bitstream 551 is not compliant and needs to be re-encoded.
[0100] The decode processing component 545 decodes the DU 553 to generate a decoded DU 555. The decoded DU 555 includes a decoded image. The decoded DU 555 is forwarded to the DPB 547. The DPB 547 may be substantially similar to the decoded image buffer components 223, 323, and / or 423. To support inter-prediction, images marked for use as reference images 556 obtained from the decoded DU 555 are returned to the decode processing component 545 to support further decoding. The DPB 547 outputs the decoded video sequence as a series of images 557. The images 557 are reconstructed images that generally mirror the images encoded by the encoder into the bitstream 551.
[0101] Image 557 is forwarded to output cropping component 549, which is configured to apply an adaptive cropping window to image 557. This results in cropped output image 559. Cropped output image 559 is a perfectly reconstructed image. Thus, cropped output image 559 mimics what an end user would see when decoding bitstream 551. In this way, the encoder can review cropped output image 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 the VPS, SPS, and / or SEI messages. The HRD 500 may then perform conformance testing operations on the bitstream 551 based on the information in such HRD parameters. As a specific example, the HRD 500 may determine one or more CPB delivery schedules 561 from the HRD parameters. The delivery schedules specify timings for delivery of video data to and / or from memory locations, such as the CPB and / or DPB. Thus, the CPB delivery schedule 561 specifies delivery timings of AUs, DUs 553, and / or pictures to / from the CPB 543. For example, the CPB delivery schedule 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 may indicate how long data can remain in the CPB 543 before evacuation. The inability 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 may utilize a DPB delivery schedule similar to the CPB delivery schedule 561 for the DPB 547.
[0103] Video may be coded into different layers and / or OLSs for use by decoders with various levels of hardware capabilities, as well as for various network conditions. The CPB delivery schedule 561 is selected to reflect these challenges. Thus, the sub-bitstreams of the higher layers are specified for optimal hardware and network conditions, and thus the higher layers may receive one or more CPB delivery schedules 561 that utilize a large amount of memory in the CPB 543 and a short delay for the transfer of the DU 553 towards the DPB 547. Similarly, the sub-bitstreams of the lower layers are specified for limited decoder hardware capabilities and / or poor network conditions. Thus, the lower layers may receive one or more CPB delivery schedules 561 that utilize a small amount of memory in the CPB 543 and a longer delay for the transfer of the DU 553 towards the DPB 547. The OLSs, layers, sub-layers, or combinations thereof may 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 a delivery schedule. Thus, the HRD parameters in the bitstream 551 may not only indicate the CPB delivery schedule 561 by ScIdx 563, but may also include sufficient data to enable the 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. Additionally, 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 of layers in a coding video sequence. The multi-layer video sequence 600 is any video sequence that utilizes multiple layers, such as layer N 631 and layer N+1 632.
[0105] In one example, the multi-layer video sequence 600 may utilize inter-layer prediction 621. Inter-layer prediction 621 is applied between pictures 611, 612, 613, and 614 and pictures 615, 616, 617, and 618 of 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 characteristic values, 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 the 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, images 611, 612, 613, and 614 of layer N+1 632 have a larger image size (e.g., larger height and width, and therefore more samples) than images 615, 616, 617, and 618 of layer N 631. However, such images 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 images may be separated into any number of layers based on associated characteristics. Layer N+1 632 and layer N 631 may also be represented by a layer ID. A layer ID is an item of data associated with an image and represents that the image is part of the indicated layer. Thus, each image 611-618 may be associated with a corresponding layer ID to indicate which layer N+1 632 or layer N 631 contains the corresponding image. For example, the layer ID may include a NAL unit header layer identifier (nuh_layer_id), which is a syntax element that specifies an identifier of the layer that contains the NAL unit (e.g., contains slices and / or parameters of the image in the layer). Layers associated with lower quality / bitstream size, such as layer N 631, are generally assigned a lower layer ID and are referred to as lower layers. Additionally, layers associated with higher quality / bitstream size, such as layer N+1 632, are generally assigned a higher layer ID and are referred to as upper layers.
[0107] The images 611-618 of the different layers 631-632 are configured to be displayed in an alternative. Thus, the images of the different layers 631-632 can share a time ID 622 as long as these images are included in the same AU. The time ID 622 is a data element indicating that the data corresponds to a time position in a video sequence. An AU is a set of NAL units that are associated with each other according to a specified classification rule and related to one particular output time. For example, an AU may include one or more images in different layers, such as image 611 and image 615, if such images are associated with the same time ID 622. As a specific example, a decoder may decode and display image 615 at the current display time if a smaller image is desired, or the decoder may decode and display image 611 at the current display time if a larger image is desired. Thus, the images 611-614 of the upper layer N+1 632 include substantially the same image data as the corresponding images 615-618 of the lower layer N 631 (despite the difference in image size). Specifically, image 611 contains substantially the same image data as image 615, image 612 contains substantially the same image data as image 616, and so on.
[0108] The images 611-618 can be coded by referencing other images 611-618 of the same layer N 631 or N+1 632. Coding an image by referencing another image of the same layer results in inter prediction 623. Inter prediction 623 is depicted by a solid arrow. For example, image 613 may be coded by utilizing inter prediction 623 using one or two of images 611, 612, and / or 614 of layer N+1 632 as references, one image being referenced for unidirectional inter prediction and / or two images being referenced for bidirectional inter prediction. Furthermore, image 617 may be coded by utilizing inter prediction 623 using one or two of images 615, 616, and / or 618 of layer N531 as references, one image being referenced for unidirectional inter prediction and / or two images being referenced for bidirectional inter prediction. When performing inter prediction 623, a picture may be referred to as a reference picture when it is used as a reference for another picture of the same layer. 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 referring to indicated samples in a reference picture different from the current picture, where the reference picture and the current picture are in the same layer.
[0109] Pictures 611-618 can also be coded by referencing other pictures 611-618 in different layers. This process is known as inter-layer prediction 621 and is depicted by dashed arrows. Inter-layer prediction 621 is a mechanism for coding samples of a current picture by referencing indicated samples in a reference picture, where the current picture and the reference picture are in different layers and therefore have different layer IDs. For example, a picture in a lower layer N 631 can be used as a reference picture for coding a corresponding picture in a higher layer N+1 632. As a specific example, picture 611 can 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 pictures in a lower layer, such as picture 615, that are included in the same AU. If multiple layers (eg, three or more) are available, inter-layer prediction 621 can encode / decode the current image based on multiple inter-layer reference images at a lower level than the current image.
[0110] A video encoder may utilize the multi-layer video sequence 600 to encode images 611-618 via many different combinations and / or permutations of inter-prediction 623 and inter-layer prediction 621. For example, image 615 may be coded according to intra-prediction. Images 616-618 may then be coded according to inter-prediction 623 by using image 615 as a reference image. Furthermore, image 611 may be coded according to inter-layer prediction 621 by using image 615 as an inter-layer reference image. Images 612-614 may then be coded according to inter-prediction 623 by using image 611 as a reference image. Thus, a reference image may serve as both a single-layer reference image and an inter-layer reference image for different coding mechanisms. By coding an image of the upper layer N+1 632 based on an image of the lower layer N 631, the upper layer N+1 632 may avoid utilizing intra-prediction, which has much lower coding efficiency than inter-prediction 623 and inter-layer prediction 621. Thus, the low coding efficiency of intra prediction can be limited to images of minimum / lowest quality and therefore limited to coding of a minimum amount of video data. Images used as reference images and / or inter-layer reference images can be indicated in reference image list entries included in a reference image 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 of OLSs 625 and 626. Specifically, images 611-618 are encoded as layers 631-632 of the bitstream 600, and then each layer 631-632 of the image is assigned to one or more of the OLSs 625 and 626. The OLSs 625 and / or 626 may then be selected, and depending on the capabilities and / or network conditions at the decoder, the corresponding layers 631 and / or 632 may be sent to 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 that is 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 an 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 therefore an OLS that includes only output layers. In other cases, the OLS 625 may include many layers in different combinations. For example, the output layer of 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 supporting 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 utilizing many different OLSs 625 and / or 626, each utilizing 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] Checking the multi-layer video sequence 600 for conformance with the HRD 500 can be complicated 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 set 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 as well as the highest time ID 622 of the corresponding OLS 625 / 626. As a specific example, a first operation point 627 can include all images in the first OLS 625 from time ID 0 to time ID 200, a second operation point 627 can include all images in the first OLS 625 from time ID 201 to time ID 400, and so on. In such a case, the first operating point 627 is described by the OLS index 629 of the first OLS 625 and a time ID of 200. And the second operating point 627 is described by the OLS index 629 of the first OLS 625 and a time ID of 400. The operating point 627 selected for testing at a given instant in time is called the OP to be tested (targetOp). Thus, targetOp is the operating 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 the codec system 200 and / or the encoder 300, and decoded by a decoder, such as the codec system 200 and / or the decoder 400, according to, for example, the method 100. Additionally, the multi-layer video sequence 700 may be checked for conformance by an HRD, such as the HRD 500. The multi-layer video sequence 700 is included to illustrate another example application for layers in a coding video sequence. For example, the multi-layer video sequence 700 may be utilized as a separate embodiment or may be combined with the techniques described with respect to the multi-layer video sequence 600.
[0114] The multi-layer video sequence 700 includes sub-layers 710, 720, and 730. A sub-layer is a temporal scalable layer of a temporal scalable bitstream that includes VCL NAL units (e.g., pictures) with a particular temporal identifier value as well as 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 sub-layers 710, 720, and 730 to support temporal scalability. Sub-layer 710 may be referred to as a base layer, and sub-layers 720 and 730 may be referred to as enhancement layers. As shown, sub-layer 710 includes a picture 711 at a first frame rate, such as 30 frames per second. Sub-layer 710 is a base layer because it includes a base / lowest frame rate. Sub-layer 720 includes a picture 721 that is temporally offset from picture 711 of sub-layer 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 can have a combined frame rate of 60 frames per second. Sublayer 720 thus enhances the frame rate of sublayer 710. Additionally, sublayer 730 includes image 731 that is also temporally offset from images 721 and 711 of sublayers 720 and 710. Sublayer 730 can thus be combined with sublayers 720 and 710 to further enhance sublayer 710. For example, sublayers 710, 720, and 730 can have a combined frame rate of 90 frames per second.
[0115] The sublayer representation 740 may be dynamically created by combining the sublayers 710, 720, and / or 730. The sublayer representation 740 is a subset of the bitstream that includes NAL units of a particular sublayer and lower sublayers. In the illustrated example, the sublayer representation 740 includes an image 741 that is a composite image 711, 721, and 731 of the sublayers 710, 720, and 730. Thus, the multi-layer video sequence 700 may be temporally scaled to a desired frame rate by selecting a sublayer representation 740 that includes a desired set of the sublayers 710, 720, and / or 730. The sublayer representation 740 may be created by utilizing an OLS that includes the sublayers 710, 720, and / or 730 as layers. In such a case, the sublayer representation 740 is selected as the output layer. Thus, temporal scalability is one of several mechanisms that can be achieved using the multi-layer mechanism.
[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 may check the bitstream 800 for compliance with a standard before sending it towards 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 an 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 that is common to all pictures in a coding video sequence included in the bitstream 800. For example, each layer may include one or more coding video sequences, and each coding video sequence may reference an SPS 813 for corresponding parameters. The parameters of the SPS 813 may include picture sizing, bit depth, coding tool parameters, bit rate limits, etc. It should be noted that each sequence references an SPS 813, but 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 image in a video sequence may reference a PPS 815. Although each image references a PPS 815, it should be noted that in some examples, a single PPS 815 may contain data for multiple images. For example, multiple similar images may be coded according to similar parameters. In such a case, a single PPS 815 may contain data for such similar images. The PPS 815 may indicate coding tools, quantization parameters, offsets, etc. available for slices of the corresponding image.
[0118] The slice header 817 includes parameters that are 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, 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 includes parameters that apply to all slices in a single picture. For this reason, picture header and slice header 817 may be used interchangeably in some contexts. For example, certain parameters may move between slice header 817 and picture header depending on whether such parameters are common to all slices in a picture.
[0119] The image data 820 includes video data encoded 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 a specified classification rule 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 layman's terms, 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 picture that may be output for display or used to support coding of other pictures 823 for output. The DU 822 may include one or more pictures 823 and any supporting syntax data required for decoding. For example, the DU 822 and the 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, the DU 822 may include only a portion of the video data from the AU 821. For example, the AU 821 may include pictures 823 in several layers and / or sublayers, some of which are associated with different OLSs. In such a case, the DU 822 may include only pictures 823 from a specified OLS and / or a specified layer / sublayer.
[0120] The image 823 includes one or more slices 825. A slice 825 may be defined as an integer number of complete tiles or an integer number of consecutive complete coding tree unit (CTU) rows of the image 823 (e.g., within a tile), where a tile or a CTU row is exclusively contained in a single NAL unit 829. Thus, a slice 825 is also contained in a single NAL unit 829. The 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 components 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 series of NAL units 829. The 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 that is coded to include video data, such as a coded slice 825 and an associated slice header 817. A non-VCL NAL unit is a NAL unit 829 that includes 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 include a VPS 811, an SPS 813, a PPS 815, an SEI message 819, or other supporting syntax.
[0122] The SEI message 819 is a semantically specified syntax structure that conveys information that is not required by the decoding process to determine values of samples of the decoded image. For example, the SEI message may include data to support HRD processing or other support data that is not directly related to decoding the bitstream 800 at the decoder. The SEI message 819 may include a scalable nesting SEI message and / or a non-scalable nested SEI message. 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 message that is not nested and therefore includes a single SEI message. The SEI message 819 may include a BP SEI message that includes HRD parameters for initializing the HRD to manage the CPB. The SEI message 819 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 819 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 bitstream 800 includes an integer (i) set of sequence level HRD parameters 833, which are syntax elements that initialize and / or define the operating conditions of an HRD, such as the HRD 500. In some examples, a general HRD parameters (general_hrd_parameters) syntax structure may include sequence level HRD parameters 833 that apply to all OLSs specified by the VPS 811. The sequence level HRD parameters are HRD parameters that apply to the entire coding video sequence. The coding video sequence is one or more images 823. In one example, an encoder may encode a video sequence into layers. Each layer may include a coded video sequence. The encoder may then encode the sequence level HRD parameters 833 into the bitstream to appropriately configure the HRD to perform a conformance check against the sequence in the OLS. The HRD parameters 833 may also indicate to the decoder that the decoder can decode the bitstream according to the delivery schedule. The sequence level HRD parameters 833 are included in the VPS 811. Additional parameters used to configure the HRD may also be included in the SEI message 819.
[0124] As mentioned 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 more than one OLS. Thus, a multi-layer video sequence, such as multi-layer video sequence 600 and / or 700, may become quite complex. Some video coding systems may signal a set of HRD parameters for each layer of each OLS. Such HRD parameters may be signaled in several places depending on the type of layer and / or OLS involved. As a result, the HRD signaling scheme becomes more complex as more layers and / or OLSs are added. Furthermore, the HRD parameters of different layers and / or OLSs may contain redundant information.
[0125] The present disclosure includes a mechanism for simplified HRD signaling. Specifically, the sequence level HRD parameters 833 can be constrained to be the same for all OLSs. Because the sequence level HRD parameters 833 are the same, the sequence level HRD parameters 833 may be signaled once instead of signaling such parameters per layer / OLS. As a specific example, the sequence level HRD parameters 833 are signaled in the VPS 811. The VPS 811 may be signaled once in the bitstream 800. Therefore, the sequence level HRD parameters 833 are signaled only once. In this way, complex and / or redundant signaling in the bitstream 800 is reduced, thereby improving coding efficiency. This approach also simplifies HRD processing. As a result, the usage of processor, memory, and / or network signaling resources is reduced in both the encoder and the decoder.
[0126] In a specific example, the VPS 811 may include sequence level HRD parameters 833. The sequence level HRD parameters 833 may include a sublayer CPB parameters present flag 831, a DU HRD parameters present flag 835, and an HRD CPB count 837. The sublayer CPB parameters present flag 831 may be represented as sublayer_cpb_params_present_flag. The sublayer CPB parameters present flag 831 is a syntax element that specifies whether a set of OLS HRD parameters includes HRD parameters for a specified sublayer representation. Thus, the sublayer CPB parameters present flag 831 may indicate whether a corresponding set of sequence level HRD parameters 833 includes HRD parameters for use in performing a conformance check against one or more corresponding sublayer representations, such as the sublayer representation 740.
[0127] The DU HRD parameters present flag 835 may be denoted as decoding_unit_hrd_params_present_flag. The DU HRD parameters present flag 835 is a flag indicating whether the corresponding HRD parameters operate at the DU level or the AU level. For example, a DU may be an AU or a subset of an AU. For example, a DU may include a single image. Furthermore, an AU may include an AU for each layer of an OLS. If the bitstream 800 includes a single layer, an AU and a DU are the same. If the bitstream 800 includes a multi-layer bitstream, an AU may include many DUs. Thus, the DU HRD parameters present flag 835 can indicate to the HRD whether the HRD should check the entire AU according to the delivery schedule, or whether the HRD should check each DU of the AU according to the delivery schedule.
[0128] The HRD CPB count 837 may be denoted as bp_cpb_cnt_minus1. The HRD CPB count 837 is a syntax element that specifies the number of pairs of initial CPB removal delay and initial CPB removal offset used for a corresponding temporal sublayer, such as sublayers 710, 720, and / or 730. The initial CPB removal delay is a default removal delay used when removing data units from the CPB of the HRD when checking pictures, AUs, and / or DUs in the bitstream, OLS, and / or layer. The initial CPB removal offset is a default CPB removal offset associated with each picture, AU, and / or DU in the bitstream, OLS, and / or layer. For example, the offset indicates the size of the data unit to be removed from the CPB of the HRD. The initial CPB removal delay and the initial CPB removal offset form a pair that defines a delivery schedule, such as the CPB delivery schedule 561. Thus, the HRD CPB count 837 indicates the number of delivery schedules available for a temporal sub-layer, such as sub-layers 710 , 720 , and / or 730 .
[0129] Thus, the sub-layer CPB parameters present flag 831, the DU HRD parameters present flag 835, and the HRD CPB count 837 may be constrained to contain the same value for each sub-layer of a sequence. Thus, these syntax elements can be signaled once in the VPS 811, which reduces the bitstream 800 size and reduces the complexity of the HRD conformance check. Thus, the mechanism described with respect to the bitstream 800 can enhance the capabilities of the encoder and / or decoder. Furthermore, the mechanism described with respect to the bitstream 800 can support improved coding efficiency and / or reduced processor, memory, and / or network communication resources in the encoder and / or decoder.
[0130] The aforementioned information will now be described in more detail below. Layered video coding is also referred to as scalable video coding or video coding with scalability. Scalability in video coding may be supported by using 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, multi-view scalability, frame rate scalability, etc. When using multi-layer coding techniques, an image or a part thereof may be coded without using a reference picture (intra prediction), may be coded by referencing a reference picture in the same layer (inter prediction), and / or may be coded by referencing a reference picture in another layer (inter layer prediction). The reference picture used for inter layer prediction of the current image is called an inter layer reference picture (ILRP). Figure 6 shows an example of multi-layer coding for spatial scalability where images of different layers have different resolutions.
[0131] Some video coding families provide support for profile scalability separated from profiles for single-layer coding. Scalable Video Coding (SVC) is a scalable extension of Advanced Video Coding (AVC) that provides support for spatial, temporal, and quality scalability. For SVC, a flag is signaled for each macroblock (MB) of an EL image that indicates 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. An SVC implementation cannot directly reuse an unmodified AVC implementation in its design. The syntax and decoding process of an SVC EL macroblock is different from the AVC syntax and decoding process.
[0132] Scalable HEVC (SHVC) is an extension of HEVC that provides support for spatial and quality scalability. Multiview HEVC (MV-HEVC) is an extension of HEVC that provides support for multiview scalability. 3D HEVC (3D-HEVC) is an extension of HEVC that provides support for more advanced and efficient 3D video coding than MV-HEVC. Temporal scalability may be included as an integral part of a single-layer HEVC codec. In multi-layer extensions of HEVC, decoded pictures used for inter-layer prediction are only from the same AU and are treated as long-term reference pictures (LTRPs). Such pictures are assigned a reference index in a reference picture list along with other temporal reference pictures of the current layer. Inter-layer prediction (ILP) is achieved at the prediction unit (PU) level by setting the value of the reference index to refer to an inter-layer reference picture in the reference picture list. Spatial scalability resamples a reference picture or a part of it when the ILRP has a different spatial resolution than the current picture being encoded or decoded. The resampling of the reference image can be achieved either at the image level or at the coding block level.
[0133] VVC can also support layered video coding. A VVC bitstream may contain multiple layers. The layers may all be independent of each other. For example, each layer may be coded without using inter-layer prediction. In this case, the layers are also referred to as simulcast layers. In some cases, some of the layers are coded using ILP. A flag in the VPS may indicate whether the layers are simulcast layers or whether some layers use ILP. If some layers use ILP, layer dependencies between layers are also signaled in the VPS. VVC, unlike SHVC and MV-HEVC, may not specify an OLS. An OLS includes a set of specified layers, and one or more layers in the set of layers are specified to be output layers. An output layer is a layer of the OLS that is output. In some implementations of VVC, 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 specified to be decoded if any layer uses ILP. In addition, certain layers of the layers are specified as output layers. The output layer may be designated to be the top layer only, all layers, or the top layer plus a set of designated lower layers.
[0134] A video coding standard may specify an HRD for verifying the conformance of a bitstream through specified HRD conformance tests. In SHVC and MV-HEVC, three sets of bitstream conformance tests are utilized to check the conformance of a bitstream. The bitstream is referred to as the entire bitstream and is denoted as entireBitstream. The first set of bitstream conformance tests is for testing the conformance of the entire bitstream and the corresponding temporal subset. Such tests are utilized regardless of whether there is a layer set specified by the active VPS that includes all the nuh_layer_id values of the 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 utilized to test the conformance of the layer set and associated temporal subset specified by the active VPS. 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 utilized to test conformance of an OLS and associated temporal subsets specified by a VPS extension portion of an active VPS based on the OLS and bitstream partitioning, the bitstream partitioning including one or more layers of an OLS for a multi-layer bitstream.
[0135] The above aspects include 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 data that is decoded. Thus, utilizing the first two sets of conformance tests both complicates the codec design and may waste bits to carry both sequence level parameters and picture level parameters used to support the conformance tests. The third set of conformance tests involves bitstream splitting. Such splitting may be related to one or more layers of the OLS of a multi-layer bitstream. If instead the conformance tests always operate separately for each layer, the HRD may be significantly simplified.
[0136] Signaling of sequence level HRD parameters may be complex. For example, sequence level HRD parameters may be signaled in multiple places, such as both SPS and 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 for each layer in each OLS. Furthermore, the exemplary HRD scheme allows for a different delivery schedule to be selected for each layer. Such delivery schedules may be selected from a list of schedules signaled for each layer per operation point, where an operation point is an OLS or a time subset of an OLS. Such a system is complex. Furthermore, the exemplary HRD scheme allows for an incomplete AU to be associated with a buffering period SEI message. An incomplete AU is an AU that does not have pictures for all layers present in the CVS. However, HRD initialization in such an AU may be problematic. For example, HRD may not be properly initialized for a layer that has layer access units that are not present in the incomplete AU. In addition, the demultiplexing process to derive the layer bitstream may not be efficient enough to remove nested SEI messages that do not apply to the target layer. A layer bitstream occurs when a bitstream split contains only one layer. Furthermore, the applicable OLS of non-scalable nested buffering periods, picture timing, and decode unit information SEI messages may be specified for the entire bitstream. However, the non-scalable nested buffering periods should be applicable to the 0th OLS instead.
[0137] Furthermore, some VVC implementations may fail to infer HDR parameters when sub_layer_cpb_params_present_flag is equal to 0. Such an inference may allow 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 may be nested and may be applicable to multiple OLSs and multiple layers of each of the multiple OLSs. In such a context, the involved layers may refer to multiple SPSs. Thus, the system may have difficulty tracking which SPS is the SPS corresponding to each layer. Therefore, the values of these two syntax elements should be constrained based on the value of vps_max_sub_layers_minus1 instead. Furthermore, because different layers may have different numbers of sublayers, the values of these two syntax elements may not always be equal to a particular value in all buffering period and picture timing SEI messages.
[0138] Also, 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 that contain nested SEI messages that are not required for the target OLS.
[0139] In general, this disclosure describes techniques for scalable nesting of SEI messages for output layer sets in a multi-layer video bitstream. The description of the techniques is based on VVC. However, the techniques also apply to layered video coding based on other video codec specifications.
[0140] 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 with a much simpler HRD operation 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 only needs to utilize one set of conformance tests to test the conformance of an OLS specified by a VPS. Furthermore, instead of a design based on bitstream splitting, the disclosed HRD mechanism can always operate separately for each layer of an OLS. Furthermore, sequence-level HRD parameters that are global for all layers and sublayers of all OLSs only need to be signaled once, for example, in a VPS. In addition, a single number of delivery schedules only need to be signaled for all layers and sublayers of all OLSs. The same delivery schedule index can also be applied to all layers of an OLS. Furthermore, an incomplete AU may not 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 is always 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. In addition, the applicable OLS for non-scalable nested buffering period, picture timing, and decode unit information SEI messages may be specified to be the 0th OLS. Furthermore, HDR parameters may be inferred and proper HRD operation may be possible when sub_layer_cpb_params_present_flag is equal to 0. The values of bp_max_sub_layers_minus1 and pt_max_sub_layers_minus1 may be required to be in 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.
[0141] An exemplary implementation of the aforementioned mechanism is as follows: An output layer is a layer of an output layer set that is output. An OLS is a set of layers that includes a specified set of layers, where one or more layers in the set of layers are specified to be output layers. An OLS layer index is an index of a layer in an OLS to a list of layers in the OLS. A 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 highest TemporalId, are removed from the bitstream, and the output sub-bitstream contains NAL units in the bitstream that belong to the target set.
[0142] An example video parameter set syntax is as follows: [Table 1]
[0143] The syntax of an exemplary sequence parameter set RBSP is as follows: [Table 2-1] [Table 2-2]
[0144] An example DPB parameter syntax is as follows: [Table 3]
[0145] An exemplary general HRD parameter syntax is as follows: [Table 4-1] [Table 4-2]
[0146] The semantics of an example video parameter set RBSP are as follows: Setting each_layer_is_an_ols_flag equal to 1 specifies that each output layer set contains only one layer, each layer in the bitstream is itself an output layer set, and the single layer included is the only output layer. Setting each_layer_is_an_ols_flag equal to 0 specifies 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.
[0147] Setting ols_mode_idc equal to 0 specifies 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 of the OLS is output. Setting ols_mode_idc equal to 1 specifies 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 of the OLS are output. Setting ols_mode_idc equal to 2 specifies that the total number of OLSs specified by the VPS are explicitly signaled, and for each OLS, the top layer of the OLS and the set of explicitly signaled lower layers are output. The value of ols_mode_idc shall be in the range from 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+1 specifies the total number of OLS specified by the VPS if ols_mode_idc is equal to 2.
[0148] The variable TotalNumOlss, which specifies the total number of OLSs specified by the VPS, is derived as follows:
number
[0149] layer_included_flag[i][j] specifies whether to include the jth layer (layer with nuh_layer_id equal to vps_layer_id[j]) in the ith OLS when ols_mode_idc is equal to 2. Set layer_included_flag[i][j] equal to 1 to specify that the jth layer is included in the ith OLS. Set layer_included_flag[i][j] equal to 0 to specify that the jth layer is not included in the ith OLS.
[0150] 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
[0151] The variable LayerIdInOls[i][j], which specifies the OLS layer index of the layer whose nuh_layer_id is equal to OlsLayeIdx[i][j], is derived as follows:
number
[0152] 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 for which a particular value of nuh_layer_id nuhLayerId is equal to one of vps_layer_id[k] for k in the range 0 to vps_max_layers_minus1, inclusive, there may be at least one pair of values of i and j, where i is in the range 0 to TotalNumOlss-1, inclusive, j is in the range NumLayersInOls[i]-1, inclusive, and the value of LayerIdInOls[i][j] is equal to nuhLayerId. Any layer of the OLS may be either an output layer of the OLS or a reference layer (direct or indirect) of an output layer of the OLS.
[0153] vps_output_layer_flag[i][j] specifies whether the jth layer of 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 of the ith OLS is output. Setting vps_output_layer_flag[i] equal to 0 specifies that the jth layer of the ith OLS is not output. The value of vps_output_layer_flag[i] is inferred to be equal to 1 when vps_all_independent_layers_flag is equal to 1 and each_layer_is_an_ols_flag is equal to 0. The variable OutputLayerFlag[i][j], where a value of 1 specifies that the jth layer of the ith OLS is output and a value of 0 specifies that the jth layer of the ith OLS is not output, is derived as follows:
number
[0154] Setting vps_extension_flag equal to 0 specifies that the vps_extension_data_flag syntax element is not present in the VPS RBSP syntax structure. Setting vps_extension_flag equal to 1 specifies 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 has no effect on the conformance of the decoder to the specified profile. Decoders shall ignore all vps_extension_data_flag syntax elements.
[0155] Exemplary DPB parameter semantics are as follows: The dpb_parameters() syntax structure provides DPB size information and, optionally, maximum image reordering and maximum latency (MRML) information. Each SPS includes one or more dpb_parameters() syntax structures. The first dpb_parameters() syntax structure of an SPS includes both DPB size information and MRML information. If present, the second dpb_parameters() syntax structure of an SPS includes only DPB size information. The MRML information of the first dpb_parameters() syntax structure of an SPS applies to a layer that references the SPS, regardless of whether that layer is an output layer of an OLS. The DPB size information of the first dpb_parameters() syntax structure of an SPS applies to a layer that references the SPS if that layer is an output layer of an OLS. The DPB size information contained in the second dpb_parameters() syntax structure of an SPS, if present, applies to the layer referencing the SPS if that layer is a non-output layer of the OLS. If 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 for the layer as an output layer.
[0156] Exemplary general HRD parameters semantics are as follows: The general_hrd_parameters() syntax structure provides the HRD parameters used in HRD operations. Setting sub_layer_cpb_params_present_flag equal to 1 specifies that the i-th layer_level_hrd_parameters() syntax structure includes HRD parameters for sub-layer representations whose TemporalId is in the range of 0 to hrd_max_temporal_id[i], inclusive. Setting sub_layer_cpb_params_present_flag equal to 0 specifies that the i-th layer_level_hrd_parameters() syntax structure includes HRD parameters for sub-layer representations whose TemporalId is 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 from 0 to hrd_max_temporal_id[i]-1, inclusive, are inferred to be the same as those for sub-layer representations with TemporalId equal to hrd_max_temporal_id[i]. These include the HRD parameters in the layer_level_hrd_parameters syntax structure starting from the fixed_pic_rate_general_flag[i] syntax element up to the sub_layer_hrd_parameters(i) syntax structure immediately below the conditional statement if(general_vcl_hrd_params_present_flag). num_layer_hrd_params_minus1+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+1 specifies the number of alternative 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 top-level 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 into the layer_level_hrd_parameters() syntax structure that applies to the jth layer of the ith OLS. The value of layer_level_hrd_idx[[i][j] shall be in the range from 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.
[0157] An exemplary sub-bitstream extraction process is as follows: The inputs to this process are the bitstream inBitstream, the target OLS index targetOlsIdx, and the target highest TemporalId value tIdTarget. The output of this process is the sub-bitstream outBitstream. The bitstream conformance requirement for an input bitstream is that any output sub-bitstream that is the output of the process specified in this section for a bitstream with inputs targetOlsIdx equal to an index in the list of OLS 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 should contain at least one VCL NAL unit whose nuh_layer_id is equal to each of the nuh_layer_id values in LayerIdInOls[targetOlsIdx]. The output sub-bitstream should contain at least one VCL NAL unit whose TemporalId is equal to tIdTarget. A conformance bitstream contains one or more coding slice NAL units with TemporalId equal to 0, but is not required to contain any coding slice NAL units with nuh_layer_id equal to 0.
[0158] The output sub-bitstream OutBitstream is derived as follows: The bitstream outBitstream is set to be identical to the bitstream inBitstream. Remove from outBitstream all NAL units whose TemporalId is greater than tIdTarget. Remove from outBitstream all NAL units whose nuh_layer_id is not included in the list LayerIdInOls[targetOlsIdx]. Remove from outBitstream all SEI NAL units containing a scalable nesting SEI message with nesting_ols_flag equal to 1 and with a value of i not in the range from 0 to nesting_num_olss_minus1, inclusive, such 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 (decode unit information).
[0159] 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 utilized to check conformance of a bitstream, called the entire bitstream, denoted as entireBitstream. A set of bitstream conformance tests is for testing conformance of each OLS and temporal subsets of each OLS specified by the VPS. For each test, the following ordered stages are applied in the order listed:
[0160] The operation point under test, denoted targetOp, is selected by selecting the target OLS with OLS index opOlsIdx and highest TemporalId value opTid. The value of opOlsIdx is in the range from 0 to TotalNumOlss-1, inclusive. The value of opTid is in the range from 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 whose nuh_layer_id is equal to each of the nuh_layer_id values in LayerIdInOls[opOlsIdx] of BitstreamToDecode. There is at least one VCL NAL unit whose TemporalId is equal to opTid of BitstreamToDecode.
[0161] 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 from 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 and is called access unit 0 for each layer of the target OLS.
[0162] The subsequent steps are applied to each layer with OLS layer index TargetOlsLayerIdx in the target OLS. If there is only one layer in the target OLS, the layer bitstream under test TargetLayerBitstream is set equal to BitstreamToDecode. Otherwise, TargetLayerBitstream is derived by invoking a demultiplexing process with BitstreamToDecode, TargetOlsIdx, and TargetOlsLayerIdx as inputs to derive the layer bitstream, and the output is assigned to TargetLayerBitstream.
[0163] 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. In the selected layer_level_hrd_parameters() syntax structure, if BitstreamToDecode is a Type I bitstream, then 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 which case the variable NalHrdModeFlag is set equal to 0) or the condition if(general_nal_hrd_params_present_flag) (in which 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_0_8bits, 0_byte, start_code_prefix_one_3bytes, and trailing_0_8bit syntax elements that form a byte stream from the NAL unit stream, if present, are discarded from the TargetLayerBitstream and the remaining bitstream is assigned to the TargetLayerBitstream.
[0164] 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 through 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 through 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 through an external mechanism) associated with the decoding unit within the access unit and applied to TargetOlsIdx and TargetOlsLayerIdx is selected.
[0165] Each conformance test includes a combination of one option in each of the above stages. If more than one option exists for a stage, then only one option is selected for any particular conformance test. All possible combinations of all stages form the full set of conformance tests. For each operating point under test, 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, and n2 is derived as follows: If BitstreamToDecode is a Type I bitstream, then n0 is equal to 1; otherwise (if BitstreamToDecode is a Type II bitstream), then n0 is equal to 2; and n3 is derived as follows: If decoding_unit_hrd_params_present_flag is equal to 0, then n3 is equal to 1. Otherwise, n3 is equal to 2.
[0166] The HRD includes a bitstream demultiplexer (optionally present), a coding picture buffer (CPB) for each layer, instantaneous decoding processing for each layer, a decoded picture buffer (DPB) containing sub-DPBs for each layer, and output cropping.
[0167] In one example, the HRD operates as follows: The HRD is initialized to 0 in the decoding unit, and each CPB and each sub-DPB of the DPB is set to be empty. The sub-DPB fullness of each sub-DPB is set equal to 0. After initialization, the HRD is not initialized again by a subsequent buffering period SEI message. The data associated with each decoding unit that flowed into each CPB according to the specified arrival schedule is delivered by the HSS. The data associated with each decoding unit is removed by the instantaneous decoding process at the CPB removal time of the decoding unit and is decoded instantly. Each decoded image is placed in the DPB. The decoded image is removed from the DPB when it is no longer needed for inter-prediction reference and no longer needed for output.
[0168] 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: Bitstream outBitstream is set to be identical to bitstream inBitstream. Remove all NAL units from outBitstream whose nuh_layer_id is not equal to LayerIdInOls[targetOlsIdx][targetOlsLayerIdx]. Remove from outBitstream all SEI NAL units containing scalable nesting SEI messages with nesting_ols_flag equal to 1 such that NestingOlsLayerIdx[i][j] is equal to targetOlsLayerIdx, and the values of i and j are not in the ranges from 0 to nesting_num_ols_minus1, inclusive, and from 0 to nesting_num_olss_layers_minus1[i], inclusive, respectively. Remove from outBitstream all SEI NAL units containing scalable nesting SEI messages with nesting_ols_flag equal to 1 such that NestingOlsLayerIdx[i][j] is less than targetOlsLayerIdx, and the values of i and j are in the ranges from 0 to nesting_num_olss_minus1, inclusive, and from 0 to nesting_num_ols_layers_minus1[i], inclusive, respectively.Remove from outBitstream all SEI NAL units containing scalable nesting SEI messages with nesting_ols_flag equal to 0 and no value of i in the range from 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 with nesting_ols_flag equal to 0 and at least one value of i in the range from 0 to LayerIdInOls-1, inclusive, such that NestingLayerId[i] is less than NestingNumLayers[targetOlsIdx][targetOlsLayerIdx].
[0169] An example buffering period SEI message syntax is as follows: [Table 5]
[0170] An example scalable nesting SEI message syntax is as follows: [Table 6-1] [Table 6-2]
[0171] Exemplary general SEI payload semantics are as follows: The following applies to the applicable layers of a non-scalable nested SEI message (in the context of an OLS or in general): For a non-scalable nested SEI message, if payloadType is equal to 0 (buffering duration), 1 (picture timing), or 130 (decode 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 nuh_layer_id of the VCL NAL unit is equal to the nuh_layer_id of the SEI NAL unit containing the SEI message.
[0172] The semantics of an exemplary buffering period SEI message are as follows: The buffering period SEI message provides initial CPB removal delay and initial CPB removal delay offset information to initialize the HRD with the position of the associated access unit in decoding order. In the presence of a buffering period SEI message, a picture is said to be a notDiscardablePic picture if it has TemporalId equal to 0 and is not a RASL or RADL (random access decodable leading) picture. If the current picture is not the first picture of the bitstream in decoding order, let prevNonDiscardablePic be the preceding picture in decoding order with TemporalId equal to 0 and that is not a RASL or RADL picture.
[0173] 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 a 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 no access unit in the CVS shall 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 an image of an access unit is associated with a buffering period SEI message, the access unit shall have images of each of the layers present in the CVS, and each image of the access unit shall be associated with a buffering period SEI message.
[0174] bp_max_sub_layers_minus1+1 specifies the maximum number of temporal sub-layers 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 from 0 to vps_max_sub_layers_minus1, inclusive. bp_cpb_cnt_minus1+1 specifies the number of syntax element pairs nal_initial_cpb_removal_delay[i][j] and nal_initial_cpb_removal_offset[i][j] of the i-th temporal sublayer when 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] of the i-th temporal sublayer when bp_vcl_hrd_params_present_flag is equal to 1. The value of bp_cpb_cnt_minus1 shall be in the range 0 to 31, inclusive. The value of bp_cpb_cnt_minus1 shall be equal to the value of hrd_cpb_cnt_minus1.
[0175] The semantics of an example picture timing SEI message 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+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 from 0 to vps_max_sub_layers_minus1, inclusive.
[0176] The semantics of an exemplary scalable nesting SEI message are as follows: The 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 not in the context of an OLS. The 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. A bitstream conformance requirement is that the following restrictions apply to the inclusion of SEI messages in a scalable nesting SEI message: 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 decode unit information SEI message, the scalable nesting SEI message shall not contain any other SEI message whose payloadType is not equal to 0 (buffering period), 1 (picture timing), or 130 (decode unit information).
[0177] The bitstream conformance requirements are that the following restrictions apply to the value of nal_unit_type of an SEI NAL unit that contains a scalable nesting SEI message: If the scalable nesting SEI message contains an SEI message with payloadType equal to 0 (buffering duration), 1 (picture timing), 130 (decoded 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. If the scalable nesting SEI message contains an SEI message with payloadType equal to 132 (decoded image hash), the SEI NAL unit that contains the scalable nesting SEI message shall have nal_unit_type equal to SUFFIX_SEI_NUT.
[0178] Set nesting_ols_flag to 1 to specify that the scalable nesting SEI message applies to a particular layer in the context of a particular OLS. Set nesting_ols_flag to 0 to specify that the scalable nesting SEI message applies to a particular layer in general (not in the context of an OLS). Bitstream conformance requirements are 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 (decode 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 of VclAssociatedSeiList, the value of nesting_ols_flag shall be equal to 0. nesting_num_olss_minus1+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 from 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 i-th OLS to which the scalable nesting 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 from 0 to TotalNumOlss-2, inclusive. The variable NestingOlsIdx[i] is derived as follows:
number
[0179] nesting_num_ols_layers_minus1[ i ]+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 from 0 to NumLayersInOls[NestingOlsIdx[i]]-1, inclusive. nesting_ols_layer_idx_delta_minus1[i][j] 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, when nesting_ols_flag is equal to 1. The value of nesting_ols_layer_idx_delta_minus1[i] shall be in the range from 0 to NumLayersInOls[nestingOlsIdx[i]]-2, inclusive. The variable NestingOlsLayerIdx[i][j] is derived as follows:
number
[0180] The smallest of all values of LayerIdInOls[NestingOlsIdx[i]][NestingOlsLayerIdx[i][0]] for i ranging from 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 generically to all layers whose nuh_layer_id is 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 generically to all layers whose nuh_layer_id is greater than or equal to the nuh_layer_id of the current SEI NAL unit. nesting_num_layers_minus1+1 specifies the number of layers to which the scalable nested SEI message applies in general. The value of nesting_num_layers_minus1 shall be in the range from 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 i-th layer to which the scalable nested SEI message applies in general 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.When nesting_ols_flag is equal to 0, the variable NestingNumLayers, which specifies the number of layers to which the scalable nested SEI message generally applies, and the list NestingLayerId[i], for i ranging from 0 to NestingNumLayers-1, inclusive, which specifies a list of nuh_layer_id values of 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
[0181] nesting_num_seis_minus1+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.
[0182] FIG. 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 comprises a downstream port 920, an upstream port 950, and / or a transceiver unit (Tx / Rx) 910 including 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 a central processing unit (CPU) for processing data, and a memory 932 for storing data. The video coding device 900 may also comprise electrical, optical-electrical (OE) components, electrical-optical (EO) components, and / or wireless communication components coupled to the upstream port 950 and / or the downstream port 920 for communication of data over an electrical, optical, or wireless communication network. The video coding device 900 may also include an input and / or output (I / O) device 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.
[0183] 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 comprises a coding module 914. The coding module 914 implements the disclosed embodiments described herein, such as the methods 100, 1000, and 1100 that may utilize 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 methods / mechanisms described herein. Additionally, 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 utilized to implement an HRD. Furthermore, the coding module 914 may be utilized to encode parameters into a bitstream and support an HRD conformance check 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 while also addressing 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 in a non-transitory medium).
[0184] Memory 932 comprises 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), flash memory, a ternary content addressable memory (TCAM), a static random access memory (SRAM), etc. Memory 932 is used as an overflow data storage device, and can store programs when such programs are selected for execution, and store instructions and data read during program execution.
[0185] 10 is a flowchart of an example method 1000 of encoding a video sequence into a bitstream, such as bitstream 800, that includes sequence-level HRD parameters that apply to all OLS. Method 1000 may be utilized by an encoder, such as codec system 200, encoder 300, and / or video coding device 900, when performing method 100. Additionally, method 1000 may operate on HRD 500 and thus perform conformance testing on multi-layer video sequences 600 and / or 700.
[0186] The method 1000 may begin when an encoder receives a video sequence and determines, for example based on user input, to encode the video sequence into a multi-layer bitstream. At stage 1001, the encoder encodes a bitstream that includes one or more OLSs. Each of the OLSs may include one or more coding video sequences.
[0187] In step 1003, the encoder encodes the VPS into a bitstream. The VPS specifies the OLSs encoded in step 1001. Furthermore, the VPS includes sequence level HRD parameters that apply to all OLSs specified by the VPS. For example, the sequence level HRD parameters may describe HRD functionality for a coding video sequence included in the OLS. In a specific example, the sequence level HRD parameters of the VPS are included in a general HRD parameters (general_hrd_parameters) syntax structure. The general_hrd_parameters syntax structure provides parameters used in HRD operations. The HRD operations may include a set of bitstream conformance tests. The sequence level HRD parameters of the VPS may include a decoding unit HRD parameters present flag (decoding_unit_hrd_params_present_flag). The decoding_unit_hrd_params_present_flag may be set to 1 when the HRD is scheduled to operate at the AU level or the DU level. The decoding_unit_hrd_params_present_flag may be set to 0 when the HRD is scheduled to operate at the AU level. Sequence level HRD parameters may also include an HRD coding picture buffer count (hrd_cpb_cnt_minus1). hrd_cpb_cnt_minus1+1 may specify the number of alternative CPB delivery schedules, such as CPB delivery schedule 561, that may be used by the HRD. The value of hrd_cpb_cnt_minus1 is constrained to the range of 0 to 31, inclusive. The VPS may further include a sublayer CPB parameters present flag (sublayer_cpb_params_present_flag).sublayer_cpb_params_present_flag may be set to 1 when the i-th layer HRD parameter syntax structure includes HRD parameters for sublayer representations with a time ID ranging from 0 to the maximum HRD time ID (hrd_max_tid[i]), inclusive. sublayer_cpb_params_present_flag may be set to 0 when the i-th layer HRD parameter syntax structure includes HRD parameters for sublayer representations with a time ID equal to hrd_max_tid[i] only. As can be seen, a VPS may include many HRD parameters. A VPS may be signaled once in the bitstream. Thus, sequence level HRD parameters are also signaled once. Furthermore, sequence level HRD parameters may be constrained to be the same in all OLSs. In this way, redundant signaling is reduced and coding efficiency is improved.
[0188] In stage 1005, the HRD obtains sequence level HRD parameters from the VPS. The HRD then performs a set of bitstream conformance tests based on the sequence level HRD parameters. For example, the HRD can obtain the sequence level HRD parameters from a general_hrd_parameters syntax structure. The HRD can obtain the decoding_unit_hrd_params_present_flag to determine whether to perform conformance tests for the DU level or the AU level. The HRD can also utilize hrd_cpb_cnt_minus1 to determine the number of CPB delivery schedules to utilize when performing the conformance tests. The HRD can also utilize the sublayer_cpb_params_present_flag to determine whether a particular sublayer has unique HRD parameters or whether such a sublayer shares HRD parameters with other sublayers. The HRD can then perform the HRD tests based on this data. The HRD can run on the same processor as the encoder. In another example, the HRD can run on a processor in the same chassis as the encoder. In another example, the HRD can run on a processor in the same network as the encoder. Since the sequence-level HRD parameters are included in the VPS, the sequence-level HRD parameters may be read once by the HRD, which can simplify HRD operations.
[0189] In step 1007, the encoder stores the bitstream for communication to the decoder. The presence of a sequence level HRD parameter in the bitstream may indicate that the decoder is capable of decoding the bitstream according to a delivery schedule, such as a CPB delivery schedule, a DPB delivery schedule, etc.
[0190] 11 is a flowchart of an example method 1100 of decoding a video sequence from a bitstream, such as bitstream 800, that includes sequence-level HRD parameters that apply to all OLSs that are checked for conformance by an HRD, such as HRD 500. Method 1100 may be utilized by a decoder, such as codec system 200, decoder 400, and / or video coding device 900, when performing method 100. Additionally, method 1100 may operate on a bitstream that includes multi-layer video sequences 600 and / or 700.
[0191] Method 1100 may begin when a decoder begins receiving a bitstream of coding data representing a multi-layer video sequence, for example as a result of method 1000. In stage 1101, the decoder receives a bitstream including one or more OLSs. Each OLS may include one or more coded video sequences. The bitstream also includes a VPS. The VPS specifies the OLSs. Additionally, the VPS includes sequence level HRD parameters that apply to all OLSs specified by the VPS. The presence of the sequence level HRD parameters in the bitstream indicates that the decoder is capable of decoding the bitstream according to a delivery schedule, such as a CPB and / or DPB delivery schedule. The sequence level HRD parameters may be included in a general_hrd_parameters syntax structure. The general_hrd_parameters syntax structure may provide parameters used in HRD operations. The HRD operations may include a set of bitstream conformance tests performed by the HRD running on the encoder. The sequence level HRD parameters may include a decoding_unit_hrd_params_present_flag. The decoding_unit_hrd_params_present_flag may be set to 1 when the HRD is scheduled to operate at the AU level or the DU level. The decoding_unit_hrd_params_present_flag may be set to 0 when the HRD is scheduled to operate at the AU level. The sequence level HRD parameters may also include a hrd_cpb_cnt_minus1 syntax element. hrd_cpb_cnt_minus1+1 may specify the number of alternative CPB delivery schedules, such as CPB delivery schedule 561, that may be used by the HRD. The value of hrd_cpb_cnt_minus1 is constrained to the range of 0 to 31, inclusive. The VPS may further include a sublayer_cpb_params_present_flag.sublayer_cpb_params_present_flag may be set to 1 when the i-th layer HRD parameter syntax structure includes HRD parameters for sublayer representations with a time ID ranging from 0 to the maximum HRD time ID (hrd_max_tid[i]), inclusive. sublayer_cpb_params_present_flag may be set to 0 when the i-th layer HRD parameter syntax structure includes HRD parameters for sublayer representations with a time ID equal to hrd_max_tid[i] only. As can be seen, a VPS may include many HRD parameters. A VPS may be signaled once in the bitstream. Thus, sequence level HRD parameters are also signaled once. Furthermore, sequence level HRD parameters may be constrained to be the same in all OLSs. In this way, redundant signaling is reduced, which improves coding efficiency and reduces the size of the bitstream received by the decoder.
[0192] At step 1103, the decoder may decode images from the coded video sequence included in the OLS. At step 1105, the decoder may forward the decoded images 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 using a bitstream including sequence-level HRD parameters that apply to all OLS. The system 1200 may be implemented by an encoder and a decoder, such as the codec system 200, the encoder 300, the decoder 400, and / or the video coding device 900. Furthermore, the system 1200 may utilize the HRD 500 to perform conformance testing on the multi-layer video sequence 600, the multi-layer video sequence 700, and / or the bitstream 800. In addition, the system 1200 may be utilized when implementing the methods 100, 1000, and / or 1100.
[0194] The system 1200 includes a video encoder 1202. The video encoder 1202 comprises an encoding module 1203 for encoding a bitstream including one or more OLSs. The encoding module 1203 is further for encoding a VPS specifying the OLSs into the bitstream, the VPS including sequence level HRD parameters that apply to all OLSs specified by the VPS. The video encoder 1202 further comprises an HRD module 1205 for performing a set of bitstream conformance tests based on the sequence level HRD parameters. The video encoder 1202 further comprises a storage module 1206 for storing the bitstream for communication towards a decoder. The video encoder 1202 further comprises a transmission module 1207 for transmitting the bitstream towards a video decoder 1210. The video encoder 1202 may be further configured to perform any of the stages of the method 1000.
[0195] The system 1200 also includes a video decoder 1210. The video decoder 1210 comprises a receiving module 1211 for receiving a bitstream including one or more OLSs and a VPS that specifies the OLSs and includes sequence-level HRD parameters that apply to all OLSs specified by the VPS. The video decoder 1210 further comprises a decoding module 1213 for decoding images from the OLS. The video decoder 1210 further comprises a forwarding module 1215 for forwarding the images for display as part of a decoded video sequence. The video decoder 1210 may be further configured to perform any of the stages of the method 1100.
[0196] A first component is directly coupled to a second component when there are no intervening components, other than lines, 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 lines, traces, or another medium, between the first and second components. The term "coupled" and variations thereof include both directly coupled and indirectly coupled. Use of the term "about" means a range that includes ±10% of the succeeding number, unless otherwise specified.
[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 of such methods should be understood to be merely exemplary. Similarly, additional steps may be included in such methods, and certain steps may be omitted or combined, in methods consistent with various embodiments of the present disclosure.
[0198] Although several embodiments are provided in the present disclosure, it can be understood that the disclosed system and method can be embodied in many other specific forms without departing from the spirit or scope of the present disclosure. The present examples should be considered as illustrative and not restrictive, and the invention should not be limited to the details provided 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 disclosure. Other examples of modifications, substitutions, and alterations will be ascertainable by those skilled in the art and can be made without departing from the spirit and scope disclosed herein. [Other possible items] (Item 1) A method implemented by a decoder, comprising: receiving, by a receiver of the decoder, a bitstream including one or more output layer sets (OLS) and a video parameter set (VPS), the VPS specifying the plurality of OLSs and including sequence-level hypothetical reference decoder (HRD) parameters that apply to all OLSs specified by the VPS; decoding, by a processor of the decoder, an image from the plurality of OLSs; The method includes: (Item 2) 2. The method of claim 1, wherein the sequence level HRD parameters are included in a general_hrd_parameters syntax structure, the general_hrd_parameters syntax structure providing parameters used in HRD operations. (Item 3) 3. The method according to any of items 1 to 2, wherein the HRD operations include a set of bitstream conformance tests performed by the HRD. (Item 4) A method according to any one of items 1 to 3, wherein the sequence level HRD parameters include a decoding unit HRD parameter present flag (decoding_unit_hrd_params_present_flag), the decoding_unit_hrd_params_present_flag being set to 1 when the HRD is scheduled to operate at the access unit (AU) level or the decoding unit (DU) level, and the decoding_unit_hrd_params_present_flag being set to 0 when the HRD is scheduled to operate at the AU level. (Item 5) 5. The method of any one of items 1 to 4, wherein the sequence level HRD parameters include an HRD coding picture buffer count (hrd_cpb_cnt_minus1), where the hrd_cpb_cnt_minus1+1 specifies the number of alternative coding picture buffer (CPB) delivery schedules, and the value of hrd_cpb_cnt_minus1 is constrained to be in the range of 0 to 31, inclusive. (Item 6) A method according to any one of items 1 to 5, wherein the VPS further includes a sublayer CPB parameter present flag (sublayer_cpb_params_present_flag), wherein the sublayer_cpb_params_present_flag is set to 1 when the i-th layer HRD parameter syntax structure includes HRD parameters for a sublayer representation having a time identifier (ID) in the range from 0 to a maximum HRD time ID (hrd_max_tid[i]), inclusive, and the sublayer_cpb_params_present_flag is set to 0 when the i-th layer HRD parameter syntax structure includes HRD parameters for a sublayer representation having a time ID equal to hrd_max_tid[i] only. (Item 7) 7. The method according to any one of items 1 to 6, wherein the presence of the sequence level HRD parameter in the bitstream indicates that the decoder is capable of decoding the bitstream according to a delivery schedule. (Item 8) A method implemented by an encoder, comprising: encoding, by a processor of the encoder, a bitstream including one or more output layer sets (OLS); encoding, by the processor, into the bitstream a video parameter set (VPS) that specifies the plurality of OLSs, the VPS including sequence-level hypothetical reference decoder (HRD) parameters that apply to all OLSs specified by the VPS; performing, by the processor, a set of bitstream conformance tests based on the sequence-level HRD parameters; The method includes: (Item 9) 9. The method of claim 8, wherein the sequence level HRD parameters are included in a general_hrd_parameters syntax structure, the general_hrd_parameters syntax structure providing parameters used in HRD operations. (Item 10) 10. The method according to any of items 8 to 9, wherein the HRD operations include the set of bitstream conformance tests, the bitstream conformance tests being performed by an HRD running on the processor. (Item 11) A method according to any one of items 8 to 10, wherein the sequence level HRD parameters include a decoding unit HRD parameter present flag (decoding_unit_hrd_params_present_flag), the decoding_unit_hrd_params_present_flag being set to 1 when the HRD is scheduled to operate at the access unit (AU) level or the decoding unit (DU) level, and the decoding_unit_hrd_params_present_flag being set to 0 when the HRD is scheduled to operate at the AU level. (Item 12) 12. The method of any one of items 8 to 11, wherein the sequence level HRD parameters include an HRD coding picture buffer count (hrd_cpb_cnt_minus1), where the hrd_cpb_cnt_minus1+1 specifies the number of alternative coding picture buffer (CPB) delivery schedules, and the value of hrd_cpb_cnt_minus1 is constrained to be in the range of 0 to 31, inclusive. (Item 13) A method according to any one of items 8 to 12, wherein the VPS further includes a sublayer CPB parameter present flag (sublayer_cpb_params_present_flag), the sublayer_cpb_params_present_flag being set to 1 when the i-th layer HRD parameter syntax structure includes HRD parameters for a sublayer representation having a time identifier (ID) in the range from 0 to a maximum HRD time ID (hrd_max_tid[i]), inclusive, and the sublayer_cpb_params_present_flag being set to 0 when the i-th layer HRD parameter syntax structure includes HRD parameters for a sublayer representation having a time ID equal to hrd_max_tid[i] only. (Item 14) 14. The method according to any one of items 8 to 13, wherein the presence of the sequence level HRD parameter in the bitstream indicates that the decoder is capable of decoding the bitstream according to a delivery schedule. (Item 15) 1. A video coding device, comprising: A method for implementing a method according to any one of claims 1 to 14, 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 perform a method according to any one of claims 1 to 14. Video coding device. (Item 16) A non-transitory computer-readable medium comprising a computer program product for use by a video coding device, the non-transitory computer-readable medium comprising computer-executable instructions stored on the non-transitory computer-readable medium, the computer program product, when executed by a processor, causing the video coding device to perform a method according to any one of items 1 to 14. (Item 17) A decoder comprising: receiving means for receiving a bitstream including one or more output layer sets (OLS) and a video parameter set (VPS), the VPS specifying the OLSs and including sequence-level hypothetical reference decoder (HRD) parameters that apply to all OLSs specified by the VPS; decoding means for decoding an image from said plurality of OLSs; transfer means for transferring said image for display as part of a decoded video sequence; A decoder comprising: (Item 18) Item 18. The decoder according to item 17, further configured to perform the method according to any one of items 1 to 7. (Item 19) 1. An encoder comprising: Encode a bitstream that includes one or more output layer sets (OLSs); encoding a video parameter set (VPS) specifying the plurality of OLSs into the bitstream; wherein the VPS includes sequence-level hypothetical reference decoder (HRD) parameters that are applied to all OLSs specified by the VPS. An encoding means; HRD means for performing a set of bitstream conformance tests based on said sequence-level HRD parameters; storage means for storing said bitstream for communication to a decoder; An encoder comprising: (Item 20) 20. The encoder of claim 19, further configured to perform the method of any one of claims 8 to 14.
Claims
1. A method implemented by a decoder, comprising: receiving a bitstream including one or more output layer sets (OLS) and a video parameter set (VPS), the VPS specifying the one or more OLS and including sequence level hypothetical reference decoder (HRD) parameters that apply to all OLS specified by the VPS, the VPS including a sublayer coding picture buffer (CPB) parameters present flag (sublayer_cpb_params_present_flag) and an OLS mode indication flag, the OLS mode indication flag being set equal to 0 to specify that a total number of OLSs specified by the VPS is equal to vps_max_layers_minus1+1, the i-th OLS including layers having layer indices from 0 to i, inclusive, for each OLS, only the most significant layer in the OLS is output, and vps_max_layers_minus specifying the number of layers; inferring, when the sublayer_cpb_params_present_flag is equal to 0, that the HRD parameters for all sublayer representations having a temporal identifier (TemporalId) less than a maximum HRD temporal ID (hrd_max_tid) are the same as the HRD parameters for the sublayer representation having a TemporalId equal to the hrd_max_tid; parsing the bitstream to obtain the one or more OLSs and the VPS, and decoding images from the one or more OLSs based on the VPS; A method comprising:
2. The method of claim 1 , wherein the sequence-level HRD parameters are included in a general_hrd_parameters syntax structure, the general_hrd_parameters syntax structure providing parameters used in HRD operations.
3. 3. The method of claim 1 or 2, wherein the sequence level HRD parameters include a decoding unit HRD parameters present flag (decoding_unit_hrd_params_present_flag), the decoding_unit_hrd_params_present_flag being set to 1 when the HRD is scheduled to operate at an access unit (AU) level or a decoding unit (DU) level, and the decoding_unit_hrd_params_present_flag being set to 0 when the HRD is scheduled to operate at the AU level.
4. 3. The method of claim 2, wherein the sequence level HRD parameters include a decoding unit HRD parameters present flag (decoding_unit_hrd_params_present_flag), the decoding_unit_hrd_params_present_flag being set to 1 when the HRD is scheduled to operate at an access unit (AU) level or a decoding unit (DU) level, and the decoding_unit_hrd_params_present_flag being set to 0 when the HRD is scheduled to operate at the AU level.
5. 5. The method of claim 1, wherein the sequence level HRD parameters include an HRD coding picture buffer count (hrd_cpb_cnt_minus1), where the hrd_cpb_cnt_minus1+1 specifies a number of alternative coding picture buffer (CPB) delivery schedules, and the value of hrd_cpb_cnt_minus1 is constrained to be in the range of 0 to 31, inclusive.
6. 6. The method of claim 1, wherein the sublayer_cpb_params_present_flag is set to 1 when the i-th layer HRD parameter syntax structure contains HRD parameters for a sub-layer representation having a temporal identifier (ID) ranging from 0 to a maximum HRD temporal ID (hrd_max_tid[i]), inclusive, and the sublayer_cpb_params_present_flag is set to 0 when the i-th layer HRD parameter syntax structure contains HRD parameters for a sub-layer representation having a temporal ID equal to hrd_max_tid[i] only.
7. 7. The method of claim 1, wherein the sequence level HRD parameters include the sub-layer coding picture buffer (CPB) parameter present flag, the decode unit HRD parameter present flag and the HRD coding picture buffer count, and the sub-layer coding picture buffer (CPB) parameter present flag, the decode unit HRD parameter present flag and the HRD coding picture buffer count contain the same value for each sub-layer of a sequence.
8. 8. The method of claim 1, wherein the OLS mode indication flag is set equal to 1 to specify that the total number of OLSs specified by the VPS is equal to vps_max_layers_minus1+1, the i-th OLS includes the layers having layer indices from 0 to i, inclusive, and for each OLS, all layers in the OLS are output.
9. 8. The method of claim 1, wherein the OLS mode indication flag is set equal to 2 to specify that the total number of OLSs specified by the VPS is explicitly signaled, and for each OLS, a top layer in the OLS and a set of explicitly signaled lower layers are output.
10. The method according to claim 1 , wherein if vps_all_independent_layers_flag is equal to 1 and each_layer_is_an_ols_flag is equal to 0, then the value of the OLS mode indication flag is inferred to be equal to 2.
11. A method implemented by an encoder, comprising: encoding a bitstream including one or more output layer sets (OLS); encoding a video parameter set (VPS) specifying the one or more OLSs into the bitstream, the VPS including sequence-level hypothetical reference decoder (HRD) parameters that apply to all OLSs specified by the VPS, the VPS including a sublayer coding picture buffer (CPB) parameters present flag (sublayer_cpb_params_present_flag) and an OLS mode indication flag, the OLS mode indication flag being set equal to 0 to specify that a total number of OLSs specified by the VPS is equal to vps_max_layers_minus1+1, an i-th OLS including layers having layer indices from 0 to i, inclusive, and for each OLS, only a top layer in the OLS is output, and vps_max_layers_minus specifies a number of layers; inferring, when the sublayer_cpb_params_present_flag is equal to 0, that the HRD parameters for all sublayer representations having a temporal identifier (TemporalId) less than a maximum HRD temporal ID (hrd_max_tid) are the same as the HRD parameters for the sublayer representation having a TemporalId equal to the hrd_max_tid; A method comprising:
12. The method of claim 11 , wherein the sequence-level HRD parameters are included in a general_hrd_parameters syntax structure, the general_hrd_parameters syntax structure providing parameters used in HRD operations.
13. 13. The method of claim 11 or 12, wherein the sequence level HRD parameters include a decoding unit HRD parameters present flag (decoding_unit_hrd_params_present_flag), the decoding_unit_hrd_params_present_flag being set to 1 when the HRD is scheduled to operate at an access unit (AU) level or a decoding unit (DU) level, and the decoding_unit_hrd_params_present_flag being set to 0 when the HRD is scheduled to operate at the AU level.
14. 12. The method of claim 11, wherein the sequence level HRD parameters include a decoding unit HRD parameters present flag (decoding_unit_hrd_params_present_flag), the decoding_unit_hrd_params_present_flag being set to 1 when the HRD is scheduled to operate at an access unit (AU) level or a decoding unit (DU) level, and the decoding_unit_hrd_params_present_flag being set to 0 when the HRD is scheduled to operate at the AU level.
15. 15. The method of claim 11, wherein the sequence level HRD parameters include an HRD coding picture buffer count (hrd_cpb_cnt_minus1), where the hrd_cpb_cnt_minus1+1 specifies a number of alternative coding picture buffer (CPB) delivery schedules, and the value of hrd_cpb_cnt_minus1 is constrained to be in the range of 0 to 31, inclusive.
16. 16. A method according to claim 11, wherein the sublayer_cpb_params_present_flag is set to 1 when the i-th layer HRD parameter syntax structure contains HRD parameters for a sub-layer representation having a temporal identifier (ID) ranging from 0 to a maximum HRD temporal ID (hrd_max_tid[i]), inclusive, and the sublayer_cpb_params_present_flag is set to 0 when the i-th layer HRD parameter syntax structure contains HRD parameters for a sub-layer representation having a temporal ID equal to hrd_max_tid[i] only.
17. 17. The method of claim 11, wherein the sequence level HRD parameters include the sub-layer coding picture buffer (CPB) parameter present flag, the decode unit HRD parameter present flag and the HRD coding picture buffer count, and the sub-layer coding picture buffer (CPB) parameter present flag, the decode unit HRD parameter present flag and the HRD coding picture buffer count contain the same value for each sub-layer of a sequence.
18. 18. The method of claim 11, wherein the OLS mode indication flag is set equal to 1 to specify that the total number of OLSs specified by the VPS is equal to vps_max_layers_minus1+1, the i-th OLS includes the layers having layer indices from 0 to i, inclusive, and for each OLS, all layers in the OLS are output.
19. 19. The method of claim 11, wherein the OLS mode indication flag is set equal to 2 to specify that the total number of OLSs specified by the VPS are explicitly signaled, and for each OLS, a top layer in the OLS and a set of explicitly signaled lower layers are output.
20. 20. The method of claim 11, wherein if vps_all_independent_layers_flag is equal to 1 and each_layer_is_an_ols_flag is equal to 0, then the value of the OLS mode indication flag is inferred to be equal to 2.
21. A decoder comprising a processor, a receiver coupled to the processor, a memory coupled to the processor, and a transmitter coupled to the processor, the processor, receiver, memory and transmitter configured to perform a method according to any one of claims 1 to 10.
22. An encoder comprising a processor, a receiver coupled to the processor, a memory coupled to the processor, and a transmitter coupled to the processor, the processor, receiver, memory and transmitter configured to perform a method according to any one of claims 11 to 20.
23. A computer program for use by a video coding device, the computer program comprising computer-executable instructions to cause the video coding device to perform a method according to any one of claims 1 to 20.
24. a transceiver unit configured to communicate a video bitstream over a network, the memory configured to store the video bitstream; the video bitstream includes one or more output layer sets (OLS) and a video parameter set (VPS), the VPS specifying the one or more OLS and including sequence level hypothetical reference decoder (HRD) parameters that apply to all OLS specified by the VPS, the VPS including a sublayer coding picture buffer (CPB) parameters present flag (sublayer_cpb_params_present_flag) and an OLS mode indication flag, the OLS mode indication flag being set equal to 0 to specify that a total number of OLSs specified by the VPS is equal to vps_max_layers_minus1+1, the i-th OLS including layers having layer indices from 0 to i, inclusive, for each OLS, only the most significant layer in the OLS is output, and vps_max_layers_minus specifies the number of layers; The processor analyzes the video bitstream to acquiring the one or more OLS and VPS; when the sublayer_cpb_params_present_flag is equal to 0, inferring that the HRD parameters for all sublayer representations having a temporal identifier (TemporalId) less than a maximum HRD temporal ID (hrd_max_tid) are identical to the HRD parameters for the sublayer representation having a TemporalId equal to the hrd_max_tid, A device that decodes images from the one or more OLSs based on the VPS.
Citation Information
Patent Citations
Virtual reference decoder parameter syntax structure
JP2015532551A
Hypothetical Reference Decoder Model and Adaptability to Cross-Layer Random Access Skip Pictures
JP2016526351A
Designing the hrd descriptor and buffer model for the hevc extension carrying data stream
JP2017535184A
Decoding device and decoding method
JP2018023139A