HRD parameters for layer-based conformance testing
By encoding HRD parameters for the top layer and applying sublayer_cpb_params_present_flag to indicate equal parameters for lower layers, the solution addresses redundant signaling in multi-layer bitstreams, reducing bitstream size and resource utilization.
Patent Information
- Application Number
- JP2024019206
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-09-24
- Filing Date
- 2024-02-13
- Publication Date
- 2025-05-20
- Estimated Expiration
- 2040-09-08
AI Technical Summary
Existing video coding systems face inefficiencies due to redundant HRD parameter signaling in multi-layer bitstreams, leading to increased bitstream size and resource utilization at both the encoder and decoder, particularly when performing conformance tests on videos separated into multiple layers and sublayers.
The proposed solution involves encoding HRD parameters for the top layer and setting sublayer_cpb_params_present_flag to 0, indicating that lower layers use the same HRD parameters as the top layer, thereby omitting redundant HRD parameters from the bitstream.
This approach reduces the bitstream size and resource utilization by eliminating redundant HRD parameter signaling, optimizing processor, memory, and network resources at both the encoder and decoder.
Smart Images

Figure 0007680138000014 
Figure 0007680138000015 
Figure 0007680138000016
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 increase compression ratios with little or no sacrifice in image quality. Summary of the Invention
[0004] In one embodiment, the disclosure includes a method implemented by a decoder, the method including: receiving, by a receiver of the decoder, a bitstream including a plurality of sub-layer representations, hypothetical reference decoder (HRD) parameters, and a sub-layer coding picture buffer (CPB) parameters present flag (sublayer_cpb_params_present_flag); inferring, by a processor of the decoder, that the HRD parameters of all sub-layer representations having a temporal identifier (TemporalId) less than a maximum TemporalId are equal to the HRD parameters of a maximum sub-layer representation having the maximum TemporalId when sublayer_cpb_params_present_flag is set to 0; and decoding, by the processor, an image from the sub-layer representations.
[0005] Video coding systems employ 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 perform a conformance check, corresponding parameters are included in the bitstream. The HRD may read the parameters and perform the tests. A video may include many layers and many different output layer sets (OLS). Upon request, an 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 problem may occur when a video is separated into multiple layers and / or sublayers. The encoder may encode these layers into the bitstream. Additionally, the encoder may use the 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 per layer in some video coding systems. In some cases, layer-specific HRD parameters are the same for each layer, resulting in redundant information that unnecessarily increases the size of the video encoding. This embodiment includes a mechanism for reducing HRD parameter redundancy for videos that employ multiple layers. An encoder may encode the HRD parameters of the top layer. An encoder may also encode 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 highest 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 highest layer. In this way, the HRD parameters of the lower layers can be omitted from the bitstream. This reduces the bitstream size and therefore the utilization of processor, memory, and / or network resources at both the encoder and decoder.
[0006] Optionally, in any of the aforementioned aspects, another embodiment of the aspect is provided, wherein the sublayer_cpb_params_present_flag is included in a video parameter set (VPS) in the bitstream.
[0007] Optionally, there is provided another embodiment of the aspect, in any of the aforementioned aspects, wherein the maximum TemporalId of the maximum sub-layer representation is expressed as HRD Max TemporalId(hrd_max_tid[i]), where i indicates the i-th HRD parameter syntax structure.
[0008] Optionally, in any of the preceding aspects, there is provided another embodiment of the aspect, wherein the TemporalId less than the maximum TemporalId is in the range from 0 to hrd_max_tid[i]-1.
[0009] Optionally, in any of the aforementioned aspects, another embodiment of the aspect is provided, wherein the HRD parameters include a fixed picture rate general flag (fixed_pic_rate_general_flag[i]) indicating whether the temporal distance between the HRD output times of successive images in output order is constrained.
[0010] Optionally, in any of the aforementioned aspects, another embodiment of the aspect is provided, wherein the HRD parameters include a sublayer HRD parameters (sublayer_hrd_parameters(i)) syntax structure that includes HRD parameters for one or more sublayers.
[0011] Optionally, in any of the aforementioned aspects, another embodiment of the aspect is provided, wherein the HRD parameters include a general video coding layer (VCL) HRD parameters present flag (general_vcl_hrd_params_present_flag) indicating whether VCL HRD parameters related to the conformance point are present in the general HRD parameters syntax structure.
[0012] In one embodiment, the disclosure includes a method implemented by an encoder, the method including the steps of: encoding, by a processor of the encoder, a plurality of sublayer representations into a bitstream; encoding, by the processor, HRD parameters and sublayer_cpb_params_present_flag into the bitstream; inferring, by the processor, that the HRD parameters of all sublayer representations whose TemporalId is less than the maximum TemporalId are equal to the HRD parameters of the maximum sublayer representation having the maximum TemporalId when sublayer_cpb_params_present_flag is set to 0; and performing, by the processor, a set of bitstream conformance tests on the bitstream based on the HRD parameters.
[0013] Video coding systems employ various conformance tests to ensure that the bitstream is decodable by a decoder. For example, the 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 perform the conformance check, corresponding parameters are included in the bitstream. The HRD may read the parameters and perform the tests. A video may include many layers and many OLSs. 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. Problems may occur when a video is separated into multiple layers and / or sublayers. The encoder may encode these layers into the bitstream. Additionally, the encoder may use the 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 per layer in some video coding systems. In some cases, layer-specific HRD parameters are the same for each layer, resulting in redundant information that unnecessarily increases the size of the video encoding. This embodiment includes a mechanism for reducing HRD parameter redundancy for videos that employ multiple layers. An encoder may encode the HRD parameters of the top layer. An encoder may also encode 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 highest layer has the highest layer ID and a lower layer is any layer with a layer ID smaller than the layer ID of the highest layer. In this way, the HRD parameters of the lower layers can be omitted from the bitstream. This reduces the bitstream size and therefore the utilization of processor, memory and / or network resources at both the encoder and decoder.
[0014] Optionally, in any of the preceding aspects, another embodiment of the aspect is provided, wherein sublayer_cpb_params_present_flag is encoded into the VPS in the bitstream.
[0015] Optionally, in any of the aforementioned aspects, there is provided another embodiment of the aspect, wherein the maximum TemporalId of the maximum sub-layer representation is represented as hrd_max_tid[i], where i indicates the i-th HRD parameter syntax structure.
[0016] Optionally, in any of the preceding aspects, there is provided another embodiment of the aspect, wherein the TemporalId less than the maximum TemporalId is in the range from 0 to hrd_max_tid[i]-1.
[0017] Optionally, in any of the aforementioned aspects, another embodiment of the aspect is provided, wherein the HRD parameters include fixed_pic_rate_general_flag[i] indicating whether the temporal distance between the HRD output times of successive images in output order is constrained.
[0018] Optionally, in any of the aforementioned aspects, another embodiment of the aspect is provided, wherein the HRD parameters include a sublayer_hrd_parameters(i) syntax structure that includes HRD parameters for one or more sublayers.
[0019] Optionally, in any of the aforementioned aspects, another embodiment of the aspect is provided, wherein the HRD parameters include a general_vcl_hrd_params_present_flag indicating whether VCL HRD parameters related to the conformance point are present in the general HRD parameters syntax structure.
[0020] In one embodiment, the present disclosure includes a video coding apparatus 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 apparatus, 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 apparatus to perform a method of any of the aforementioned aspects.
[0022] In one embodiment, the present disclosure includes a decoder comprising: receiving means for receiving a bitstream including a plurality of sublayer representations, HRD parameters, and a sublayer_cpb_params_present_flag; inferring means for inferring that the HRD parameters of all sublayer representations having a TemporalId less than a maximum TemporalId are equal to the HRD parameters of a maximum sublayer representation having a maximum TemporalId when sublayer_cpb_params_present_flag is set to 0; decoding means for decoding an image from the sublayer representations; and forwarding means for forwarding the image for display as part of a decoded video sequence.
[0023] Optionally, in any of the preceding aspects, there is provided a further embodiment of the aspect, wherein the decoder is further configured to perform the method of any of the preceding aspects.
[0024] In one embodiment, the present disclosure includes an encoder comprising: encoding means for encoding a plurality of sublayer representations into a bitstream; encoding means for encoding HRD parameters and sublayer_cpb_params_present_flag into the bitstream; inference means for inferring that the HRD parameters of all sublayer representations whose TemporalId is less than a maximum TemporalId are equal to the HRD parameters of the maximum sublayer representation having the maximum TemporalId when sublayer_cpb_params_present_flag is set to 0; HRD means for performing a set of bitstream conformance tests on the bitstream based on the 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 embodiment 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-decoding (codec) system for video encoding.
[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 exemplary video coding device;
[0038] [Figure 10] 1 is a flowchart of an example method for encoding a video sequence into a bitstream by including inferred HRD parameters to support bitstream conformance testing with HRD.
[0039] [Figure 11]1 is a flowchart of an example method for decoding a video sequence from a bitstream including inferred HRD parameters.
[0040] [Figure 12] 1 is a schematic diagram of an example system for coding a video sequence into a bitstream by including inferred HRD parameters. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0041] Although exemplary implementations of one or more embodiments are provided below, it should be understood at the outset that the disclosed systems and / or methods may be implemented using any number of technologies, whether currently known or in existence. The present disclosure should in no way be limited to the exemplary implementations, drawings, and technologies shown below, including the exemplary designs and implementations shown and described herein, but may be amended 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 employ an encoding process to compress video data into a bitstream. A decoder is a device configured to employ a decoding process to reconstruct video data from the bitstream for display. A picture is an array of luma samples and / or 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 encoded to contain video data, such as a coded slice of a picture. A non-VCL NAL unit is a NAL unit that contains non-video data, such as syntax and / or parameters that support decoding the video data, performing conformance checks, or other operations. An access unit (AU) is a set of NAL units that are associated with each other according to specified classification rules and relate to one particular output time. A decoding unit (DU) is an AU or a subset of AUs and associated non-VCL NAL units. For example, an AU includes a VCL NAL unit and any non-VCL NAL units associated with the VCL NAL 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.). The 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 achieve 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 includes only the lowest layer (the layer with the lowest layer identifier) and thus includes 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 the NAL units from the bitstream that are part of the target set.
[0045] HRD is a decoder model that runs on an encoder and checks the variability of the bitstream produced 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. Sequence-level HRD parameters are HRD parameters that apply to the entire coded video sequence. Maximum HRD temporal ID (hrd_max_tid[i]) specifies the temporal ID of the highest sublayer representation whose HRD parameters are 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 operating point (OP) is a temporal subset of an OLS, identified by an OLS index and a highest temporal ID. A test target OP (targetOp) is an OP selected in the HRD for conformance testing. A target OLS is an OLS selected to extract from the bitstream. The Decoding Unit HRD parameters present flag (decoding_unit_hrd_params_present_flag) is a flag that indicates whether the corresponding HRD parameters operate at the DU level or the AU level. The Coded Picture Buffer (CPB) is a first-in, first-out buffer in the HRD that contains coded pictures in decoding order for use during bitstream conformance verification. The Decoded 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 the 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 distribution information of AUs in the CPB and / or DPB. A decoding unit information (DUI) SEI message is an SEI message that contains HRD parameters for managing distribution information for DUs in the CPB and / or DPB.
[0047] The CPB removal delay is the period of time that the corresponding current AU 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 coded picture buffer count (hrd_cpb_cnt_minus1) is a syntax element that specifies the number of alternative CPB delivery schedules. The sublayer CPB parameters present flag (sublayer_cpb_params_present_flag) is a syntax element that specifies whether the set of OLS HRD parameters contains HRD parameters for the specified sublayer representation. The schedule index (ScIdx) is an index that identifies a delivery schedule. The BP CPB count minus 1 (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 number of scalable nesting OLSs minus 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 minus 1 (OLS-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), Coded Layer Video Sequence (CLVS), Coded Layer Video Sequence Start (CLVSS), Coded Video Sequence (CVS), Coded Video Sequence Start (CVSS), Joint Video Experts Team (JVET), Hypothetical Reference Decoder (HRD), Motion Constrained Tile Set (MCTS), Maximum 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 employed to minimize data loss and reduce the size of video files. For example, video compression techniques may include performing spatial (e.g., intra-picture) prediction and / or temporal (e.g., inter-picture) prediction to reduce or remove data redundancy in a video sequence. 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, coding 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 encoded 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 encoded by employing 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 that represents the image block. The residual data represents pixel differences between the original image block and the predictive block. Thus, inter-coded blocks are coded according to a motion vector that points to a block of reference samples that form the predictive block, and the residual data that indicates the difference between the coding block and the predictive block. Intra-coded blocks are coded according to an intra-coding mode and 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 first be arranged in a two-dimensional array. The quantized transform coefficients may be scanned to generate a one-dimensional vector of transform coefficients. Entropy coding may be applied to achieve even 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. Video coding standards include Advanced Video Coding (AVC), also known as 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, ITU-T H.262 or ISO / IEC MPEG-2 Part 2, ITU-T H.263, ISO / IEC MPEG-4 Part 2, ITU-T H.264 or ISO / IEC MPEG-4 Part 10, and High Efficiency Video Coding (HEVC), also known as ITU-T H.265 or MPEG-H Part 2. AVC includes extensions such as Scalable Video Coding (SVC), Multiview Video Coding (MVC) and Multiview Video Coding plus Depth (MVC+D), and three-dimensional (3D) AVC (3D-AVC). HEVC includes extensions such as Scalable HEVC (SHVC), Multiview HEVC (MV-HEVC), and 3D HEVC (3D-HEVC). The ITU-T and ISO / IEC joint video experts team (JVET) has begun development of a video coding standard called Versatile Video Coding (VVC). VVC is included in Working Drafts (WDs), including JVET-O2001-v14.
[0051] Video coding systems employ various conformance tests to ensure that the 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 perform 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 include 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, the entire bitstream, each layer, and the decodable output are tested together when testing the corresponding OLS. 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 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, the HRD parameters of 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 HRD parameters for OLSs and corresponding layers. For example, all sequence-level HRD parameters that apply to all OLSs and all layers contained in the OLSs 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 identical for all OLSs. In this way, redundant signaling is reduced and coding efficiency is improved. This approach also simplifies the HRD process. As a result, 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 coded 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 the output layer. 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 employed. A scalable nesting SEI message includes a group of nested SEI messages that apply to one or more OLSs and / or one or more layers of an OLS. Each nested SEI message may include an indicator to indicate association with the corresponding OLS and / or layer. The nested SEI messages are 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 employed 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 way, irrelevant information such as nesting relationships, layer indications, etc. can be omitted from the SEI message. The non-scalable nested SEI message may be used as a buffering period (BP) SEI message, a picture timing (PT) SEI message, a decoding unit (DU) SEI message, or a combination thereof. These modifications reduce the amount of data used to signal conformance check related information 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 occur when a video is separated into multiple layers and / or sublayers. An encoder may code these layers into a bitstream. In addition, the encoder may use 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 coded for each layer in some video coding systems. In some cases, the layer-specific HRD parameters are the same for each layer, resulting in redundant information that unnecessarily increases the size of the video coding.
[0060] In a fifth embodiment, a mechanism for reducing HRD parameter redundancy is disclosed herein for videos employing 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 employed in a video sequence. Specifically, the BP SEI message is modified to indicate that the conformance of any number of layers / sublayers described in the VPS can be checked. For example, the BP SEI message can include a 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_minus1 syntax element in the VPS indicates the number of sublayers in the entire video. The bp_max_sublayers_minus1 syntax element can be set to any value between 0 and the value of the vps_max_sublayers_minus1 syntax element. In this way, the conformance of any number of layers / sublayers in a video can be checked while avoiding layer-based sequence issues related to SPS inconsistency. Thus, the present disclosure avoids layer-based coding errors and thus improves the functionality of the encoder and / or decoder. Furthermore, the present embodiment supports layer-based encoding, which can improve coding efficiency. Thus, the present embodiment supports reducing 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 a scalable nested SEI message. Each scalable nested SEI message may include data related to the corresponding layer. When performing a conformance check, the HRD may perform a bitstream extraction process on the target OLS. Data not related to a layer in the OLS is generally removed before conformance testing (e.g., before transmission) 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 employing various mechanisms to reduce the video file size. The reduced file size allows the compressed video file to be transmitted to a user while reducing the associated bandwidth overhead. A decoder decodes the compressed video file to reconstruct the original video signal for display to an end user. The decoding process generally mirrors the encoding process such that the decoder is able to coherently reconstruct the video signal.
[0066] In step 101, a video signal is input to an encoder. For example, the video signal may be an uncompressed video file stored in memory. As another example, the video file may be captured by a video capture device, such as a video camera, and encoded to support live streaming of the video. The video file may include both audio and video components. The video component includes a series of image frames, which, when viewed in succession, give the visual impression of 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 step 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. A coding tree can be employed 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 each block contains a relatively homogenous lighting value. Additionally, the chroma component of a frame may be subdivided until each block contains a relatively homogenous color value. Thus, the division mechanism varies depending on the content of the video frame.
[0068] In step 105, various compression mechanisms are employed to compress the image blocks partitioned in step 103. For example, inter-prediction and / or intra-prediction can be employed. Inter-prediction is designed to take advantage of the fact that objects tend to appear in successive frames in a common scene. Thus, it is not necessary to repeatedly describe a block representing an object in a reference frame in adjacent frames. In particular, an object such as a table may remain in a constant position across multiple frames. Thus, the table may be described once and adjacent frames may refer to the reference frame. A pattern matching mechanism can be used to match objects across multiple frames. Furthermore, a moving object may be represented across multiple frames, for example due to object movement or camera movement. As a particular example, a video may show a car moving across the screen across multiple frames. Such movement can be described using motion vectors. A motion vector is a two-dimensional vector that provides an offset from the coordinates of the object in a frame to the coordinates of the object in a reference frame. Thus, inter-prediction can encode an image block in a current frame as a set of motion vectors that indicate an offset from a corresponding block in a reference frame.
[0069] Intra prediction encodes blocks within a common frame. Intra prediction exploits 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 employs multiple directional prediction modes (e.g., 33 in HEVC), planar mode, and direct current (DC) mode. The directional modes indicate that the current block is similar / identical to samples of neighboring blocks in the corresponding direction. The 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 edge of the row. The planar mode effectively indicates a smooth transition of light / color across the row / column by using a relatively constant slope in changing the values. The DC mode is employed for boundary smoothing and indicates that the block is similar / identical to the average value associated with the samples of all neighboring blocks associated with the angular direction of the directional prediction mode. Thus, intra prediction blocks can represent image blocks as various relational prediction mode values rather than actual values. Additionally, the inter-predicted blocks can represent the image blocks as motion vector values rather than actual values. In either case, the predicted blocks may not represent the image blocks exactly in some cases. The differences are stored in residual blocks. A transform can be applied to the residual blocks to further compress the file.
[0070] In step 107, various filtering techniques can be applied. 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 the block-based prediction scheme encodes a block, the encoded block may be reconstructed 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 coded into a bitstream in step 109. The bitstream includes the data described above, as well as any signaling data desired to support proper video signal reconstruction at the decoder. For example, such data may include segmentation data, prediction data, residual blocks, and various flags that provide coding instructions to the decoder. The bitstream may be stored in memory for transmission to a decoder upon request. The bitstream may also be broadcast and / or multicast to multiple decoders. Creation of the bitstream is an iterative process. Thus, steps 101, 103, 105, 107, and 109 may occur sequentially and / or simultaneously across many frames and blocks. The order shown in FIG. 1 is presented for clarity and ease of discussion and is not intended to limit the video coding process to any particular order.
[0072] The decoder receives the bitstream and starts the decoding process in step 111. Specifically, the decoder employs an entropy decoding scheme to convert the bitstream into corresponding syntax and video data. The decoder uses syntax data from the bitstream to determine the frame partition in step 111. This partition should match the result of the block partition in step 103. Next, the entropy coding / decoding employed in step 111 is described. The encoder makes many choices during the compression process, such as selecting a block partitioning scheme from several possible choices based on the spatial arrangement of values in the input image. Signaling the exact selection may use a number of bins. As used herein, a bin is a binary value (e.g., a bit value that may change depending on the context) that is treated as a variable. Entropy coding allows the encoder to discard any options that are obviously infeasible for a particular case, leaving a set of allowed options. Each allowed option is 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 the codeword is desired 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, similar to 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 block decoding. Specifically, the decoder uses an inverse transform to generate a residual block. Then, the decoder uses the residual block and the 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 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] In step 115, filtering is performed on the frames of the reconstructed video signal in a manner similar to step 107 in the encoder. For example, a noise suppression filter, a deblocking filter, an adaptive loop filter, and an SAO filter may be applied to the frames to remove blocking artifacts. Once the frames are filtered, the video signal may be output to a display for viewing by an end user in step 117.
[0075] FIG. 2 is a schematic diagram of an exemplary coding and decoding (codec) system 200 for video coding. Specifically, the codec system 200 provides functionality supporting the implementation of the operational method 100. The codec system 200 is generalized to show components used in both an encoder and a decoder. The codec system 200 receives and 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 when operating as an encoder, as described with respect to steps 105, 107, and 109 of the method 100. 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 coded / 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 be present in an encoder. A decoder may include a subset of the components of codec system 200.For example, the decoder may include an intra-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 subdivides the blocks of pixels into smaller blocks of pixels using various partitioning modes. 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 employed to partition a node into two, three, or four child nodes of various shapes, respectively, depending on the partitioning mode used. The segmented video signal 201 is forwarded to a general 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 general 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 general 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 requests. The general 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 general coder control component 211 manages segmentation, prediction, and filtering by other components. For example, the general 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 general coder control component 211 controls other components of the codec system 200 to balance the relationship between video signal reconstruction quality and bitrate. The general 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 and 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 encoding 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 of generating 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 employs several coding objects, including CTUs, coding tree blocks (CTBs), and CUs. For example, a CTU may be divided into CTBs, and then the CTBs may be divided into CBs for inclusion in a CU. A CU may be coded as a prediction unit (PU) that includes predictive data and / or a transform unit (TU) that includes 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 a 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 positions 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 positions, eighth-pixel positions, or other fractional pixel positions of the reference image. Thus, the motion estimation component 221 can perform relative motion searches between full-pixel positions and fractional pixel positions and output motion vectors with fractional pixel accuracy. The motion estimation component 221 calculates the motion vector of the PU of the reference image of the video block in the inter-coded slice by comparing the position of the PU with the position of the predictive block. 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 include fetching or generating a predictive block based on a motion vector determined by the motion estimation component 221. Again, the motion estimation component 221 and the motion compensation component 219 may be functionally integrated in some examples. Upon receiving a motion vector for a PU of a current video block, the motion compensation component 219 may identify a location of a 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 uncoded 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 blocks 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 a bitstream if implemented on a decoder. The residual block contains 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 may include 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 to a display as part of an 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 also 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 coding contexts for various blocks, indications of the most probable intra prediction mode, indications of segmentation information, etc. Such data may be encoded by using entropy coding. For example, the information may be encoded by employing Context-Adaptive Variable Length Coding (CAVLC), CABAC, Syntax-Based Context-Adaptive Binary Arithmetic Coding (SBAC), Probability Interval Partitioning Entropy (PIPE) coding, or another entropy coding technique. Following entropy coding, the encoded 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 employed to perform the encoding functions of the codec system 200 and / or to perform steps 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 encoding 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 picture buffer component 323 for use as a reference block by the motion compensation component 321. The decoded picture buffer component 323 may be substantially similar to the decoded picture buffer component 223.
[0093] 4 is a block diagram illustrating an exemplary video decoder 400. The video decoder 400 may be employed to perform the decoding functionality of the codec system 200 and / or to perform 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 may employ 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 may be similar to the inverse transform and quantization component 329.
[0095] The reconstructed residual block and / or predictive block are forwarded to the intra 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 uses 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 generates a prediction block using a motion vector from a reference 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 to a display.
[0096] 5 is a schematic diagram illustrating an exemplary HRD 500. The HRD 500 may be employed 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 testing process for 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 decoding 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 required to support the 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 decoding order. CPB 543 stores the video data for use during bitstream conformance verification.
[0099] The CPB 543 forwards the DU 553 to the decoding process component 545. The decoding process component 545 is a component that conforms to the VVC standard. For example, the decoding process component 545 can emulate the decoder 400 used by the end user. The decoding process component 545 decodes the DU 553 at a rate achievable by an exemplary end user decoder. If the decoding process component 545 cannot decode the DU 553 fast enough to prevent the CPB 543 from overflowing, the bitstream 551 is not conforming to the standard and needs to be re-encoded.
[0100] The decoding process component 545 decodes the DU 553 to generate a decoded DU 555. The decoded DU 555 includes a decoded 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 decoding process 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 use 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 with 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 with 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 can not only indicate the CPB delivery schedule 561 by ScIdx 563, but can 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. Furthermore, the multi-layer video sequence 600 may be checked for conformance by an HRD, such as HRD 500. The multi-layer video sequence 600 is included to illustrate an example application of layers in a coded video sequence. The multi-layer video sequence 600 is any video sequence that employs multiple layers, such as layer N 631 and layer N+1 632.
[0105] In one example, the multi-layer video sequence 600 may employ inter-layer prediction 621. Inter-layer prediction 621 is applied between pictures 611, 612, 613, and 614 and pictures 615, 616, 617, and 618 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 a specified 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 alternatively displayed. 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 can 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 can decode and display image 615 at the current display time if a smaller image is desired, or the decoder can 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 employing 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 employing 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 referencing indicated samples in a reference picture different from the current picture, where the reference picture and the current picture are in the same layer.
[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 that are 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 can use the multi-layer video sequence 600 to code the images 611-618 through many different combinations and / or permutations of inter prediction 623 and inter-layer prediction 621. For example, the image 615 may be coded according to intra prediction. Then, the images 616-618 can be coded according to inter prediction 623 by using the image 615 as a reference image. Furthermore, the image 611 may be coded according to inter-layer prediction 621 by using the image 615 as an inter-layer reference image. Then, the images 612-614 can be coded according to inter prediction 623 by using the image 611 as a reference image. Thus, a reference image can 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 can avoid employing intra prediction, which has much lower coding efficiency than the inter prediction 623 and the 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 encoding 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 coded 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 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 more than one output layer. Thus, the OLS 625 may include one or more output layers and any supporting layers necessary to reconstruct the output layer. Although only two OLSs 625 and 626 are shown, the multi-layer video sequence 600 may be coded by employing many different OLSs 625 and / or 626, each employing a different combination of layers. Each OLS 625 and 626 is associated with an OLS index 629, which is an index that uniquely identifies the corresponding OLS 625 and 626.
[0112] 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 coded video sequence. For example, the multi-layer video sequence 700 may be employed 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 employing 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 the standard before sending it towards the decoder for decoding.
[0117] The bitstream 800 includes a VPS 811, one or more SPSs 813, a number of picture parameter sets (PPSs) 815, a number of 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 coded video sequence included in the bitstream 800. For example, each layer may include one or more coded video sequences, and each coded video sequence may reference an SPS 813 for corresponding parameters. The parameters of the SPS 813 may include picture sizing, bit depth, coding tool parameters, bit rate limits, etc. It should be noted that while each sequence references an SPS 813, in some examples, a single SPS 813 may include data for multiple sequences. The PPS 815 includes parameters that apply to the entire picture. Thus, each 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 may be used to support the encoding 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 may then be encoded / decoded according to a prediction mechanism.
[0121] The bitstream 800 is a sequence 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 the values of samples of the decoded image. For example, the SEI message may include data to support the HRD process 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 nesting 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 nesting SEI message is a message that is not nested and thus 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 a set of integer (i) 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 HRD parameters 833 that apply to all OLSs specified by the VPS 811. In one example, an encoder may encode a video sequence into layers. The encoder may then encode the HRD parameters 833 into the bitstream to appropriately configure the HRD to perform a conformance check. The HRD parameters 833 may also indicate to a decoder that the decoder can decode the bitstream according to a delivery schedule. The HRD parameters 833 may be included in the VPS 811 and / or the SPS 813. 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. Therefore, a multi-layer video sequence, such as multi-layer video sequence 600 and / or 700, may become quite complex. As a result, the bitstream conformance check process in the HRD may become complicated. Some video coding systems use layer-specific HRD parameters 833 for each layer / sublayer. The HRD reads the layer-specific HRD parameters 833 from the bitstream 800 and then performs a bitstream conformance test for each layer based on the HRD parameters 833. In some cases, some of the various layers / sublayers use the same HRD parameters 833. This results in coding redundant HRD parameters 833 into the bitstream 800, which reduces coding efficiency. Furthermore, this approach wastes memory and / or processor resources of the encoder by forcing the HRD to repeatedly retrieve redundant information from the bitstream 800. Thus, redundant HRD parameters 833 may waste processor, memory, and / or network resources of the encoder and / or decoder.
[0125] This disclosure includes mechanisms for reducing redundancy of HRD parameters 833 for videos that use multiple layers. If the HRD parameters 833 are the same for all sublayers in the sublayer representation and / or OLS, the encoder may encode the HRD parameters 833 for the top layer. The encoder may also encode sublayer_cpb_params_present_flag 831. The sublayer_cpb_params_present_flag 831 is a syntax element that specifies whether the set of HRD parameters 833 (e.g., for OLS) includes HRD parameters for a specified sublayer / sublayer representation. The sublayer_cpb_params_present_flag 831 may be set to 0 to indicate that all lower layers should use the same HRD parameters as the top layer. The sublayer_cpb_params_present_flag 831 may also be set to 1 to indicate that each layer includes separate (e.g., different) HRD parameters 833. Thus, by setting sublayer_cpb_params_present_flag 831 to 0, it can be inferred that the HRD parameters 833 of the lower layer are equal to the HRD parameters 833 of the highest layer. Thus, the HRD parameters 833 of the lower sublayer can be omitted from the bitstream 800 if they are the same as the HRD parameters 833 of the highest sublayer to avoid redundant signaling. This mechanism reduces the size of the bitstream 800. Thus, this mechanism reduces the utilization of processor, memory, and / or network resources, both at the encoder and decoder. Furthermore, by reducing the number of HRD parameters 833, the resource usage during the HRD process at the encoder can be reduced, since the set of signaled HRD parameters 833 can be read and adopted for the complete set of sublayers.
[0126] The top layer / sublayer is the layer with the highest value of the corresponding layer ID in the OLS and / or sublayer representation. In one example, the VPS 811 can include hrd_max_tid[i] 832. The hrd_max_tid[i] 832 specifies the temporal ID of the highest sublayer representation whose HRD parameters 833 are included in the i-th set of OLS HRD parameters 833. Thus, the HRD can read the sublayer_cpb_params_present_flag 831. The HRD can then determine that the HRD parameters 833 apply to the top layer / sublayer as indicated by the hrd_max_tid[i] 832 in the VPS 811. The HRD can also infer that the same HRD parameters 833 apply to all lower layers / sublayers whose IDs are less than hrd_max_tid[i] 832.
[0127] The above-mentioned technique allows various redundant HRD parameters 833 to be omitted from the lower sublayer bitstream 800. The omission of redundancy can be applied to some HRD parameters 833. In a specific example, the HRD parameters 833 can include fixed_pic_rate_general_flag 835, sublayer_hrd_parameters 837, and general_vcl_hrd_params_present_flag 839, each of which can be inferred to be applied to the highest sublayer and to the lower sublayer in an equivalent manner. fixed_pic_rate_general_flag 835 is a syntax element that specifies whether the temporal distance between the HRD output times of successive pictures in the output order is constrained by other HRD parameters 833. For example, fixed_pic_rate_general_flag 835 can be set to 1 to indicate that such a constraint is applied, or 0 to indicate that such a constraint is not applied. sublayer_hrd_parameters 837 is a syntax structure containing the HRD parameters of the corresponding sublayer indicated by the sublayer ID. general_vcl_hrd_params_present_flag 839 is a flag that specifies whether VCL HRD parameters are present in the general HRD parameters syntax structure. For example, general_vcl_hrd_params_present_flag 839 can be set to 1 to indicate that VCL HRD parameters related to a first type of conformance point are present in the general HRD parameters syntax structure, or 0 to indicate that such VCL HRD parameters are not present (e.g., a second type of conformance point is adopted).
[0128] The aforementioned information will now be described in more detail below in this specification. 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.
[0129] 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 supports 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 a co-located block from a lower layer. Prediction from the co-located block can include texture, motion vectors, and / or coding mode. 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.
[0130] Scalable HEVC (SHVC) is an extension of HEVC that supports spatial and quality scalability. Multiview HEVC (MV-HEVC) is an extension of HEVC that supports multiview scalability. 3D HEVC (3D-HEVC) is an extension of HEVC that supports 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 coded or decoded. The resampling of the reference image can be achieved either at the image level or at the coding block level.
[0131] VVC can also support layered video coding. A VVC bitstream can include multiple layers. The layers may all be independent of each other. For example, each layer may be coded without using inter-layer prediction. In this case, the layers are also referred to as simulcast layers. In some cases, some of the layers are coded using ILP. A flag in the VPS can indicate whether 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. The OLS includes a set of specified layers, and one or more layers in the set of layers are specified to be output layers. The 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. Furthermore, 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.
[0132] 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 employed to check the conformance of a bitstream. The bitstream is called the entire bitstream and is denoted as entireBitstream. The first set of bitstream conformance tests is to test the conformance of the entire bitstream and the corresponding temporal subset. Such tests are employed regardless of whether there is a layer set specified by the active VPS that contains 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 employed 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 employed 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 the OLS of a multi-layer bitstream.
[0133] The above-mentioned 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 are not decoded and output. In a practical application, the decoder may only receive data that is decoded. Therefore, using 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 includes bitstream splitting. Such splitting may relate 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.
[0134] 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 temporal 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 decoding 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.
[0135] In addition, 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 can 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.
[0136] 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.
[0137] 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.
[0138] 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 adopt one set of conformance tests to test the conformance of an OLS specified by a VPS. Furthermore, instead of a bitstream splitting-based design, 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 decoding 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.Thus, such parameters do not need to be specific values for all buffering period and picture timing SEI messages, and the sub-bitstream extraction process can remove SEI NAL units that contain nested SEI messages that do not apply to the target OLS.
[0139] Exemplary implementations of the aforementioned mechanisms are 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 the 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.
[0140] An example video parameter set syntax is as follows: [Table 1]
[0141] The syntax of an exemplary sequence parameter set RBSP is as follows: [Table 2]
[0142] An example DPB parameter syntax is as follows: [Table 3]
[0143] An exemplary general HRD parameter syntax is as follows: [Table 4]
[0144] 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 can 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.
[0145] 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.
[0146] The variable TotalNumOlss, which specifies the total number of OLSs specified by the VPS, is derived as follows:
number
[0147] 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.
[0148] 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
[0149] 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
[0150] 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.
[0151] 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
[0152] 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.
[0153] 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.
[0154] 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.
[0155] An exemplary sub-bitstream extraction process is as follows: The inputs to this process are the bitstream inBitstream, a target OLS index targetOlsIdx, and a target 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 OLSs specified by the VPS and tIdTarget equal to any value in the range 0 to 6, inclusive, and that satisfies the following conditions is a conforming bitstream: The output sub-bitstream 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 coded slice NAL units with TemporalId equal to 0, but need not contain any coded slice NAL units with nuh_layer_id equal to 0.
[0156] 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 (decoding unit information).
[0157] 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 used 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 steps are applied in the order listed:
[0158] 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 lies in the range from 0 to TotalNumOlss-1, inclusive. The value of opTid lies 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.
[0159] 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.
[0160] 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 to derive the layer bitstream with BitstreamToDecode, TargetOlsIdx, and TargetOlsLayerIdx as inputs, and the output is assigned to TargetLayerBitstream.
[0161] 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.
[0162] 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 in the access unit and applied to TargetOlsIdx and TargetOlsLayerIdx is selected.
[0163] Each conformance test includes a combination of one option in each of the steps above. If more than one option exists for a step, then only one option is selected for any particular conformance test. All possible combinations of all steps 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.
[0164] The HRD includes a bitstream demultiplexer (optionally present), a coded picture buffer (CPB) for each layer, an instantaneous decoding process for each layer, a decoded picture buffer (DPB) containing sub-DPBs for each layer, and output cropping.
[0165] In one example, the HRD operates as follows: The HRD is initialized to zero 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 zero. After initialization, the HRD is not initialized again by a subsequent buffering period SEI message. The data associated with the 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.
[0166] In one example, the demultiplexing process for deriving 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 for which nesting_ols_flag is equal to 1 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, such that NestingOlsLayerIdx[i][j] is equal to targetOlsLayerIdx. Remove from outBitstream all SEI NAL units containing scalable nesting SEI messages for which nesting_ols_flag is equal to 1 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, such that NestingOlsLayerIdx[i][j] is less than targetOlsLayerIdx.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].
[0167] An example buffering period SEI message syntax is as follows: [Table 5]
[0168] An example scalable nesting SEI message syntax is as follows: [Table 6]
[0169] 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 (decoding unit information), the non-scalable nested SEI message applies only to the lowest layer in the context of the 0th OLS. For a non-scalable nested SEI message, if payloadType is equal to any value in VclAssociatedSeiList, the non-scalable nested SEI message applies only to layers whose nuh_layer_id of the VCL NAL unit is equal to the nuh_layer_id of the SEI NAL unit containing the SEI message.
[0170] 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. When a buffering period SEI message is present, a picture with TemporalId equal to 0 and that is not a RASL or RADL (random access decodable leading) picture is said to be a notDiscardablePic 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 that is not a RASL or RADL picture.
[0171] 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.
[0172] 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.
[0173] 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.
[0174] 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 decoding unit information SEI message, the scalable nesting SEI message shall not contain other SEI messages whose payloadType is not equal to 0 (buffering period), 1 (picture timing), or 130 (decoding unit information).
[0175] 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.
[0176] 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 (decoding unit information), the value of nesting_ols_flag shall be equal to 1. If the scalable nesting SEI message contains an SEI message with payloadType equal to a value 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
[0177] 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
[0178] The smallest of all values of LayerIdInOls[NestingOlsIdx[i]][NestingOlsLayerIdx[i][0]] for i in the range 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
[0179] 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.
[0180] 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 include 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 input and / or output (I / O) devices 960 for communicating data to and from a user. The I / O devices 960 may include output devices such as a display for displaying video data, speakers for outputting audio data, etc. The I / O devices 960 may also include input devices such as a keyboard, a mouse, a trackball, etc., and / or corresponding interfaces for interacting with such output devices.
[0181] 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 employ the multi-layer video sequence 600, the multi-layer video sequence 700, and / or the bitstream 800. The coding module 914 may also implement any other method / mechanism described herein. 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 employed to implement the HRD. Furthermore, the coding module 914 may be employed to code parameters into the bitstream to support the 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 in encoding 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).
[0182] Memory 932 comprises one or more memory types such as a disk, a tape drive, a solid state drive, read only memory (ROM), random access memory (RAM), flash memory, ternary content addressable memory (TCAM), static random access memory (SRAM), etc. Memory 932 is used as an overflow data storage device, stores programs when such programs are selected for execution, and can store instructions and data read during program execution.
[0183] 10 is a flowchart of an example method 1000 of encoding a video sequence into a bitstream by including inferred HRD parameters to support bitstream conformance testing by HRD. The method 1000 may be employed by an encoder, such as the codec system 200, the encoder 300, and / or the video coding device 900, in performing the method 100. Furthermore, the method 1000 may operate on the HRD 500 and thus perform conformance testing on the multi-layer video sequence 600, the multi-layer video sequence 700, and / or the bitstream 800.
[0184] The method 1000 may start when an encoder receives a video sequence and decides, for example based on user input, to encode the video sequence into a multi-layer bitstream. In step 1001, the encoder encodes multiple sublayer / sublayer representations into the bitstream. The encoder determines HRD parameters for the sublayers. In this example, the HRD parameters are all the same for the multiple sublayer / sublayer representations. The encoder encodes a set of HRD parameters for the highest sublayer / sublayer representation into the bitstream. Additionally, the encoder encodes sublayer_cpb_params_present_flag into the bitstream. The sublayer_cpb_params_present_flag may be set to 0 to indicate that the HRD parameters for the topmost sublayer / sublayer representation apply to all sublayer / sublayer representations. The sublayer_cpb_params_present_flag may be encoded into a VPS in the bitstream.
[0185] In step 1003, the HRD reads the HRD parameters and the sublayer_cpb_params_present_flag. The HRD can then infer that when the sublayer_cpb_params_present_flag is set to 0, the HRD parameters of all lower sublayer / sublayer representations whose TemporalId is less than the maximum TemporalId are equal to the HRD parameters of the maximum sublayer / sublayer representation with the maximum TemporalId. For example, multiple sublayer / sublayer representations may be associated with a Temporal ID (TemporalId), such as Temporal ID 622. The TemporalId of the maximum sublayer representation may be represented as HRD Max TemporalId (hrd_max_tid[i]), where i indicates the i-th HRD parameter syntax structure. Thus, the TemporalId of the lower sublayer / sublayer representation may range from 0 to hrd_max_tid[i]-1. The hrd_max_tid[i] may be coded into the VPS. The inferable HRD parameters may include, for example, a fixed_pic_rate_general_flag[i] syntax element, a sublayer_hrd_parameters(i) syntax structure, and / or a general_vcl_hrd_params_present_flag. The fixed_pic_rate_general_flag[i] is a syntax element indicating whether the temporal distance between the HRD output times of successive images in the output order is constrained. The sublayer_hrd_parameters(i) is a syntax structure containing the HRD parameters of one or more sublayers. The general_vcl_hrd_params_present_flag is a flag indicating whether the VCL HRD parameters related to the conformance point are present in the general HRD parameters syntax structure.
[0186] In step 1005, the HRD may perform a set of bitstream conformance tests on the bitstream by using the HRD parameters. Specifically, the HRD may perform conformance tests on all sublayers / sublayer representations (including lower sublayers / representations) using the HRD parameters from the highest sublayer / sublayer representation.
[0187] In step 1007, the encoder may store the bitstream for communication to a decoder.
[0188] 11 is a flow chart of an example method 1100 of decoding a video sequence from a bitstream including inferred HRD parameters, for use in bitstream conformance testing by an HRD, such as HRD 500. Method 1100 may be employed by a decoder, such as codec system 200, decoder 400, and / or video coding device 900, in performing method 100. Additionally, method 1100 may operate on a bitstream, such as bitstream 800, including multi-layer video sequence 600 and / or multi-layer video sequence 700.
[0189] Method 1100 may begin when a decoder begins receiving a bitstream of coded data representing a multi-layer video sequence, for example as a result of method 1000. In step 1101, the receiver receives a bitstream including multiple sublayer / sublayer representations. The bitstream also includes HRD parameters and sublayer_cpb_params_present_flag. sublayer_cpb_params_present_flag may be set to 0 to indicate that the HRD parameters for the top sublayer / sublayer representation apply to all sublayer / sublayer representations. sublayer_cpb_params_present_flag may be coded into the VPS in the bitstream.
[0190] In step 1103, the decoder infers that when sublayer_cpb_params_present_flag is set to 0, the HRD parameters of all lower sublayer representations whose TemporalId is less than the maximum TemporalId are equal to the HRD parameters of the maximum sublayer representation with the maximum TemporalId. For example, multiple sublayer / sublayer representations may be associated with a TemporalId, such as Temporal ID 622. The TemporalId of the maximum sublayer representation may be represented as HRD Max TemporalId (hrd_max_tid[i]), where i indicates the i-th HRD parameter syntax structure. Thus, the TemporalId of the lower sublayer / sublayer representation may range from 0 to hrd_max_tid[i]-1. hrd_max_tid[i] may be coded into the VPS. The inferable HRD parameters may include, for example, a fixed_pic_rate_general_flag[i] syntax element, a sublayer_hrd_parameters(i) syntax structure, and / or a general_vcl_hrd_params_present_flag. The fixed_pic_rate_general_flag[i] is a syntax element indicating whether the temporal distance between the HRD output times of successive images in the output order is constrained. The sublayer_hrd_parameters(i) is a syntax structure containing the HRD parameters of one or more sublayers. The general_vcl_hrd_params_present_flag is a flag indicating whether the VCL HRD parameters related to the conformance point are present in the general HRD parameters syntax structure.
[0191] In step 1105, the decoder decodes the images from the sub-layer / sub-layer representations. In step 1107, the decoder forwards the decoded images for display as part of the decoded video sequence.
[0192] 12 is a schematic diagram of an example system 1200 for coding a video sequence into a bitstream by including inferred HRD parameters. 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 employ 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 employed in implementing the methods 100, 1000, and / or 1100.
[0193] The system 1200 includes a video encoder 1202. The video encoder 1202 comprises an encoding module 1203 for encoding a plurality of sublayer representations into a bitstream. The encoding module 1203 is further for encoding the HRD parameters and the sublayer_cpb_params_present_flag into the bitstream. The video encoder 1202 further comprises an inference module 1204 for inferring that the HRD parameters of all sublayer representations whose TemporalId is less than the maximum TemporalId are equal to the HRD parameters of the maximum sublayer representation having the maximum TemporalId when the sublayer_cpb_params_present_flag is set to 0. The video encoder 1202 further comprises an HRD module 1205 for performing a set of bitstream conformance tests on the bitstream based on the HRD parameters. The video encoder 1202 further comprises a storage module 1206 for storing the bitstream for communication towards the decoder. The video encoder 1202 further comprises a transmission module 1207 for transmitting the bitstream towards the video decoder 1210. The video encoder 1202 may be further configured to perform any of the steps of the method 1000.
[0194] The system 1200 also includes a video decoder 1210. The video decoder 1210 comprises a receiving module 1211 for receiving a bitstream including a plurality of sublayer representations, HRD parameters, and sublayer_cpb_params_present_flag. The video decoder 1210 further comprises an inference module 1213 for inferring that the HRD parameters of all sublayer representations with a TemporalId less than the maximum TemporalId are equal to the HRD parameters of the maximum sublayer representation with the maximum TemporalId when the sublayer_cpb_params_present_flag is set to 0. The video decoder 1210 further comprises a decoding module 1215 for decoding images from the sublayer representations. The video decoder 1210 further comprises a forwarding module 1217 for forwarding the images for display as part of the decoded video sequence. The video decoder 1210 may be further configured to perform any of the steps of the method 1100.
[0195] 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.
[0196] 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.
[0197] 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.
[0198] 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 a plurality of sub-layer representations, hypothetical reference decoder (HRD) parameters, and a sub-layer coding picture buffer (CPB) parameters present flag (sublayer_cpb_params_present_flag); inferring, by a processor of the decoder, when the sublayer_cpb_params_present_flag is set to 0, that the HRD parameters of all sub-layer representations with a temporal identifier (TemporalId) less than a maximum TemporalId are equal to the HRD parameters of the maximum sub-layer representation with the maximum TemporalId; decoding, by the processor, an image from the plurality of sub-layer representations; A method comprising: [Item 2] 2. The method of claim 1, wherein the sublayer_cpb_params_present_flag is included in a video parameter set (VPS) in the bitstream. [Item 3] 3. The method according to item 1 or 2, wherein the maximum TemporalId of the maximum sub-layer representation is expressed as HRD Max TemporalId(hrd_max_tid[i]), where i indicates the i-th HRD parameter syntax structure. [Item 4] 4. The method according to any one of claims 1 to 3, wherein the TemporalId smaller than the maximum TemporalId is in the range from 0 to hrd_max_tid[i]-1. [Item 5] 5. The method of any one of items 1 to 4, wherein the HRD parameters include a fixed picture rate general flag (fixed_pic_rate_general_flag[i]) indicating whether the temporal distance between the HRD output times of successive images in output order is constrained. [Item 6] 5. A method according to any one of items 1 to 4, wherein the HRD parameters include a sublayer HRD parameters (sublayer_hrd_parameters(i)) syntax structure which includes HRD parameters for one or more sublayers. [Item 7] 5. The method of any one of items 1 to 4, wherein the HRD parameters include a general video coding layer (VCL) HRD parameters present flag (general_vcl_hrd_params_present_flag) indicating whether VCL HRD parameters for the conformance point are present in a general HRD parameters syntax structure. [Item 8] 1. A method implemented by an encoder, comprising: encoding, by a processor of the encoder, the plurality of sub-layer representations into a bitstream; encoding, by the processor, hypothetical reference decoder (HRD) parameters and a sub-layer coding picture buffer (CPB) parameters present flag (sublayer_cpb_params_present_flag) into the bitstream; inferring, by the processor, when the sublayer_cpb_params_present_flag is set to 0, that the HRD parameters of all sublayer representations with a temporal identifier (TemporalId) less than a maximum TemporalId are equal to the HRD parameters of the maximum sublayer representation with the maximum TemporalId; performing, by the processor, a set of bitstream conformance tests on the bitstream based on the HRD parameters; The method includes: [Item 9] 9. The method of claim 8, wherein the sublayer_cpb_params_present_flag is encoded in a video parameter set (VPS) in the bitstream. [Item 10] 10. The method according to item 8 or 9, wherein the maximum TemporalId of the maximum sublayer representation is expressed as HRD Max TemporalId (hrd_max_tid[i]), where i indicates the i-th HRD parameter syntax structure. [Item 11] 11. The method according to any one of items 8 to 10, wherein the TemporalId smaller than the maximum TemporalId is in the range from 0 to hrd_max_tid[i]-1. [Item 12] 12. The method of any one of items 8 to 11, wherein the HRD parameters include a fixed picture rate general flag (fixed_pic_rate_general_flag[i]) indicating whether the temporal distance between the HRD output times of successive images in output order is constrained. [Item 13] 13. A method according to any one of items 8 to 12, wherein the HRD parameters include a sublayer HRD parameters (sublayer_hrd_parameters(i)) syntax structure which includes HRD parameters for one or more sublayers. [Item 14] 14. The method of any one of items 8 to 13, wherein the HRD parameters include a general video coding layer (VCL) HRD parameters present flag (general_vcl_hrd_params_present_flag) indicating whether VCL HRD parameters for the conformance point are present in a general HRD parameters syntax structure. [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 the method according to any one of claims 1 to 14, Video encoding device. [Item 16] 15. A non-transitory computer-readable medium comprising a computer program product for use by a video coding apparatus, 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 apparatus 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 a plurality of sub-layer representations, hypothetical reference decoder (HRD) parameters, and a sub-layer coding picture buffer (CPB) parameters present flag (sublayer_cpb_params_present_flag); inference means for inferring, when the sublayer_cpb_params_present_flag is set to 0, that the HRD parameters of all sublayer representations having a temporal identifier (TemporalId) less than a maximum TemporalId are equal to the HRD parameters of a maximum sublayer representation having the maximum TemporalId; decoding means for decoding an image from said plurality of sub-layer representations; transfer means for transferring said images 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: Encoding the plurality of sub-layer representations into a bitstream; encoding hypothetical reference decoder (HRD) parameters and a sublayer coding picture buffer (CPB) parameters present flag (sublayer_cpb_params_present_flag) into the bitstream; and encoding means for inference means for inferring, when the sublayer_cpb_params_present_flag is set to 0, that the HRD parameters of all sublayer representations having a temporal identifier (TemporalId) less than a maximum TemporalId are equal to the HRD parameters of a maximum sublayer representation having the maximum TemporalId; HRD means for performing a set of bitstream conformance tests on said bitstream based on said 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. 1. A method for decoding a bitstream, the method comprising: receiving a bitstream including a video parameter set (VPS), a plurality of sublayer representations, hypothetical reference decoder (HRD) parameters, and a sublayer coding picture buffer (CPB) parameters present flag (sublayer_cpb_params_present_flag), the VPS including a VPS maximum sublayers-1 (vps_max_sublayers_minus1) syntax element, the vps_max_sublayers_minus1 specifying a maximum number of temporal sublayers that may be present in a layer specified by the VPS, the sublayer representation including one or more sublayers, a sublayer being a temporal scalable layer of a temporal scalable bitstream including video coding layer (VCL) network abstraction layer (NAL) units having a particular temporal identifier value and associated non-VCL NAL units; inferring, when the sublayer_cpb_params_present_flag is set to 0, that the HRD parameters of all sublayer representations having a temporal identifier (TemporalId) in the range from 0 to hrd_max_tid[i]-1, inclusive, are equal to the HRD parameters of a maximum sublayer representation having a TemporalId equal to the hrd_max_tid[i], the value of the hrd_max_tid[i] being in the range from 0 to the vps_max_sublayers_minus1; decoding an image from said sub-layer representation; A method comprising:
2. The method of claim 1 , wherein the sublayer_cpb_params_present_flag is included in a syntax of a general HRD parameter included in a syntax of the VPS.
3. 3. The method of claim 1 or 2, wherein if the sublayer_cpb_params_present_flag is equal to 1, the i-th hrd_parameters() syntax structure includes HRD parameters for the sublayer representation having a TemporalId in the range from 0 to hrd_max_tid[i], inclusive.
4. 4. The method of claim 1, wherein if the sublayer_cpb_params_present_flag is equal to 0, then the i-th hrd_parameters() syntax structure includes HRD parameters for the sublayer representation having TemporalId equal to the hrd_max_tid[i] only.
5. The method of claim 1 , wherein the HRD parameters include a sublayer HRD parameters (sublayer_hrd_parameters(i)) syntax structure that includes HRD parameters for one or more sublayers.
6. 1. A method for encoding a bitstream, the method comprising the steps of: encoding the plurality of sub-layer representations into a bitstream; encoding a video parameter set (VPS), a hypothetical reference decoder (HRD) parameter, and a sublayer coding picture buffer (CPB) parameter present flag (sublayer_cpb_params_present_flag) into the bitstream, the VPS including a VPS maximum sublayers-1 (vps_max_sublayers_minus1) syntax element, the vps_max_sublayers_minus1 specifying a maximum number of temporal sublayers that may be present in a layer specified by the VPS, the sublayer representation including one or more sublayers, a sublayer being a temporal scalable layer of a temporal scalable bitstream including video coding layer (VCL) network abstraction layer (NAL) units having a particular temporal identifier value and associated non-VCL NAL units; inferring, when the sublayer_cpb_params_present_flag is set to 0, that the HRD parameters of all sublayer representations having a temporal identifier (TemporalId) in the range from 0 to hrd_max_tid[i]-1, inclusive, are equal to the HRD parameters of a maximum sublayer representation having a TemporalId equal to the hrd_max_tid[i], the value of the hrd_max_tid[i] being in the range from 0 to the vps_max_sublayers_minus1; performing a set of bitstream conformance tests on the bitstream based on the HRD parameters; The method includes:
7. The method of claim 6 , wherein the sublayer_cpb_params_present_flag is encoded in a syntax of a general HRD parameter included in a syntax of the VPS in the bitstream.
8. 8. The method of claim 6 or 7, wherein, if the sublayer_cpb_params_present_flag is equal to 1, the i-th hrd_parameters() syntax structure includes HRD parameters for the sublayer representation having a TemporalId in the range from 0 to hrd_max_tid[i], inclusive.
9. 9. The method of claim 6, wherein if the sublayer_cpb_params_present_flag is equal to 0, then the i-th hrd_parameters() syntax structure includes HRD parameters for the sublayer representation having TemporalId equal to the hrd_max_tid[i] only.
10. The method of claim 6 , wherein the HRD parameters include a sublayer HRD parameters (sublayer_hrd_parameters(i)) syntax structure that includes HRD parameters for one or more sublayers.
11. 1. A video coding device, comprising: A method for implementing a method according to any one of claims 1 to 10, comprising: a processor; a receiver coupled to the processor; a memory coupled to the processor; and a transmitter coupled to the processor, the processor being configured to execute the method according to any one of claims 1 to 10. Video coding device.
12. A computer program product for causing a video coding device to carry out the method according to any one of claims 1 to 10.
13. A decoder comprising: receiving means for receiving a bitstream including a video parameter set (VPS), a plurality of sublayer representations, hypothetical reference decoder (HRD) parameters, and a sublayer coding picture buffer (CPB) parameters present flag (sublayer_cpb_params_present_flag), wherein the VPS includes a VPS maximum sublayers-1 (vps_max_sublayers_minus1) syntax element, the vps_max_sublayers_minus1 specifying a maximum number of temporal sublayers that may be present in a layer specified by the VPS, the sublayer representation including one or more sublayers, a sublayer being a temporal scalable layer of a temporal scalable bitstream including video coding layer (VCL) network abstraction layer (NAL) units having a particular temporal identifier value and associated non-VCL NAL units; inference means for inferring, when the sublayer_cpb_params_present_flag is set to 0, that the HRD parameters of all sublayer representations having a temporal identifier (TemporalId) in the range from 0 to hrd_max_tid[i]-1, inclusive, are equal to the HRD parameters of a maximum sublayer representation having a TemporalId equal to the hrd_max_tid[i], the value of the hrd_max_tid[i] being in the range from 0 to the vps_max_sublayers_minus1; decoding means for decoding an image from said sub-layer representation; A decoder comprising:
14. A decoder according to claim 13, wherein the decoder is further configured to perform a method according to any one of claims 1 to 5.
15. 1. An encoder comprising: Encoding the plurality of sub-layer representations into a bitstream; encoding a video parameter set (VPS), a hypothetical reference decoder (HRD) parameters, and a sublayer coding picture buffer (CPB) parameters present flag (sublayer_cpb_params_present_flag) into the bitstream; wherein the VPS includes a VPS maximum sublayers-1 (vps_max_sublayers_minus1) syntax element, the vps_max_sublayers_minus1 specifying a maximum number of temporal sublayers that may be present in a layer specified by the VPS, and the sublayer representation includes one or more sublayers, where a sublayer is a temporal scalable layer of a temporal scalable bitstream including video coding layer (VCL) network abstraction layer (NAL) units having a particular temporal identifier value and associated non-VCL NAL units; inference means for inferring, when the sublayer_cpb_params_present_flag is set to 0, that the HRD parameters of all sublayer representations having a temporal identifier (TemporalId) in the range from 0 to hrd_max_tid[i]-1, inclusive, are equal to the HRD parameters of a maximum sublayer representation having a TemporalId equal to the hrd_max_tid[i]; HRD means for performing a set of bitstream conformance tests on said bitstream based on said HRD parameters; An encoder comprising:
16. The encoder of claim 15, wherein the encoder is further configured to perform a method according to any one of claims 6 to 10.
17. A method for generating a bitstream, comprising the steps of: a step of an encoder generating a bitstream comprising: a video parameter set (VPS), a plurality of sublayer representations, hypothetical reference decoder (HRD) parameters, and a sublayer coding picture buffer (CPB) parameters present flag (sublayer_cpb_params_present_flag), the VPS including a VPS maximum sublayers-1 (vps_max_sublayers_minus1) syntax element, the vps_max_sublayers_minus1 specifying a maximum number of temporal sublayers that may be present in a layer specified by the VPS, the sublayer representation including one or more sublayers, a sublayer being a temporal scalable layer of a temporal scalable bitstream including video coding layer (VCL) network abstraction layer (NAL) units having a particular temporal identifier value and associated non-VCL NAL units; A generating method in which, when the sublayer_cpb_params_present_flag is set to 0, the encoder infers that the HRD parameters of all sublayer representations having a temporal identifier (TemporalId) in the range from 0 to hrd_max_tid[i]-1, inclusive, are equal to the HRD parameters of the maximum sublayer representation having a TemporalId equal to the hrd_max_tid[i], and the value of the hrd_max_tid[i] is in the range from 0 to the vps_max_sublayers_minus1.
18. An apparatus for storing a bitstream, comprising: one or more storage media; and a receiver, the receiver configured to receive one or more bitstreams, the one or more bitstreams including a video parameter set (VPS), a plurality of sublayer representations, a hypothetical reference decoder (HRD) parameter, and a sublayer coding picture buffer (CPB) parameter present flag (sublayer_cpb_params_present_flag), the VPS including a VPS maximum sublayers-1 (vps_max_sublayers_minus1) syntax element, the vps_max_sublayers_minus1 specifying a maximum number of temporal sublayers that may be present in a layer specified by the VPS, the sublayer representation including one or more sublayers, the sublayers including a video coding layer (VCL) network abstraction layer (NAL) unit having a particular temporal identifier value and an associated non-VCL a temporal scalable layer of a temporal scalable bitstream comprising: when the sublayer_cpb_params_present_flag is set to 0, the HRD parameters of all sublayer representations having a temporal identifier (TemporalId) in the range from 0 to hrd_max_tid[i]-1, inclusive, are inferred by the device to be equal to the HRD parameters of the maximum sublayer representation having a TemporalId equal to the hrd_max_tid[i], the value of the hrd_max_tid[i] being in the range from 0 to the vps_max_sublayers_minus1; The one or more storage media are configured to store the one or more bitstreams.
19. 20. The apparatus of claim 18, further comprising a processor configured to read the bitstream from the one or more storage media and transmit the bitstream to another device.
20. 1. A method for storing a bitstream, comprising: receiving a bitstream through a receiver; storing the bitstream on one or more storage media, the bitstream including a video parameter set (VPS), a plurality of sublayer representations, hypothetical reference decoder (HRD) parameters, and a sublayer coding picture buffer (CPB) parameters present flag (sublayer_cpb_params_present_flag), the VPS including a VPS maximum sublayers-1 (vps_max_sublayers_minus1) syntax element, the vps_max_sublayers_minus1 specifying a maximum number of temporal sublayers that may be present in a layer specified by the VPS, the sublayer representation including one or more sublayers, a sublayer being a temporal scalable layer of a temporal scalable bitstream including video coding layer (VCL) network abstraction layer (NAL) units having a particular temporal identifier value and associated non-VCL NAL units; A method in which, when the sublayer_cpb_params_present_flag is set to 0, the HRD parameters of all sublayer representations having a temporal identifier (TemporalId) in the range from 0 to hrd_max_tid[i]-1, inclusive, are inferred to be equal to the HRD parameters of the maximum sublayer representation having a TemporalId equal to the hrd_max_tid[i], the value of the hrd_max_tid[i] being in the range from 0 to the vps_max_sublayers_minus1.
21. 1. A device for transmitting a bitstream, comprising: at least one storage medium configured to store at least one bitstream, the bitstream including a video parameter set (VPS), a plurality of sublayer representations, hypothetical reference decoder (HRD) parameters, and a sublayer coding picture buffer (CPB) parameters present flag (sublayer_cpb_params_present_flag), the VPS including a VPS maximum sublayers-1 (vps_max_sublayers_minus1) syntax element, the vps_max_sublayers_minus1 specifying a maximum number of temporal sublayers that may be present in a layer specified by the VPS, the sublayer representation including one or more sublayers, a sublayer being a temporal scalable layer of a temporal scalable bitstream including video coding layer (VCL) network abstraction layer (NAL) units having a particular temporal identifier value and associated non-VCL NAL units; at least one storage medium, wherein when the sublayer_cpb_params_present_flag is set to 0, the HRD parameters of all sublayer representations having a temporal identifier (TemporalId) in the range from 0 to hrd_max_tid[i]-1, inclusive, are inferred by the device to be equal to the HRD parameters of a maximum sublayer representation having a TemporalId equal to the hrd_max_tid[i], the value of the hrd_max_tid[i] being in the range from 0 to the vps_max_sublayers_minus1; at least one processor configured to retrieve one or more bitstreams from one of the at least one storage medium and transmit the one or more bitstreams to another device; A device comprising:
22. 1. A method for transmitting a bitstream, the method comprising: and obtaining one or more bitstreams from at least one storage medium, the at least one storage medium storing at least one bitstream, the bitstream including a video parameter set (VPS), a plurality of sublayer representations, hypothetical reference decoder (HRD) parameters, and a sublayer coding picture buffer (CPB) parameters present flag (sublayer_cpb_params_present_flag), the VPS including a VPS maximum sublayers-1 (vps_max_sublayers_minus1) syntax element, the vps_max_sublayers_minus1 specifying a maximum number of temporal sublayers that may be present in a layer specified by the VPS, the sublayer representation including one or more sublayers, the sublayers being associated with a video coding layer (VCL) network abstraction layer (NAL) unit having a particular temporal identifier value, and a temporal scalable layer of a temporal scalable bitstream comprising: when the sublayer_cpb_params_present_flag is set to 0, the HRD parameters of all sublayer representations having a temporal identifier (TemporalId) in the range from 0 to hrd_max_tid[i]-1, inclusive, are inferred to be equal to the HRD parameters of a maximum sublayer representation having a TemporalId equal to the hrd_max_tid[i], the value of the hrd_max_tid[i] being in the range from 0 to the vps_max_sublayers_minus1; transmitting the one or more bitstreams to another device; A method comprising:
23. 1. A system for processing a bitstream, comprising an encoding device, one or more storage media, and a decoding device, comprising: The encoding device is configured to obtain a video signal and to encode the video signal to obtain one or more bitstreams, the one or more bitstreams including a video parameter set (VPS), a plurality of sublayer representations, a hypothetical reference decoder (HRD) parameter, and a sublayer coding picture buffer (CPB) parameter present flag (sublayer_cpb_params_present_flag), the VPS including a VPS maximum sublayers-1 (vps_max_sublayers_minus1) syntax element, the vps_max_sublayers_minus1 specifying a maximum number of temporal sublayers that may be present in a layer specified by the VPS, the sublayer representation including one or more sublayers, the sublayers including a video coding layer (VCL) network abstraction layer (NAL) unit having a particular temporal identifier value and associated non-VCL network abstraction layer (NAL) units. a temporal scalable layer of a temporal scalable bitstream comprising: when the sublayer_cpb_params_present_flag is set to 0, the HRD parameters of all sublayer representations having a temporal identifier (TemporalId) in the range from 0 to hrd_max_tid[i]-1, inclusive, are inferred to be equal to the HRD parameters of the largest sublayer representation having a TemporalId equal to the hrd_max_tid[i], the value of the hrd_max_tid[i] being in the range from 0 to the vps_max_sublayers_minus1, The decoding device is used to decode the one or more bitstreams.
Citation Information
Patent Citations
Video image delivery system, video image transmission device, video image delivery method, and video image delivery program
WO2011148887A1