DPB size-based reference picture entry constraints

By constraining reference entries in the reference picture list structure based on layer-specific buffer sizes, the method addresses inefficient memory usage in video coding, improving coding efficiency and resource utilization.

JP7765583B2Active Publication Date: 2025-11-06HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024181953
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-10-07
Filing Date
2024-10-17
Publication Date
2025-11-06
Estimated Expiration
2040-10-06

AI Technical Summary

Technical Problem

Existing video coding systems statically define the maximum number of reference entries for pictures, which can be overly restrictive for reference layers or wasteful for output layers, leading to inefficient memory usage and resource utilization.

Method used

Constrain the number of reference entries in the reference picture list structure based on the maximum decoded picture buffer size specific to the layer type, allowing different allocations for reference and output layers.

Benefits of technology

This approach optimizes memory usage in the decoded picture buffer, enhancing coding efficiency and reducing processor, memory, and network signaling resources by aligning reference entries with layer-specific buffer requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007765583000010
    Figure 0007765583000010
  • Figure 0007765583000011
    Figure 0007765583000011
  • Figure 0007765583000012
    Figure 0007765583000012
Patent Text Reader

Abstract

To provide a video coding mechanism.SOLUTION: A mechanism includes receiving a bitstream including a reference picture list syntax structure (ref_pic_list_struct()) containing a current picture and the number of reference entries (num_ref_entries) constrained to a range from 0 to maximum decoded picture buffer size+offset. The current picture is decoded on the basis of the ref_pic_list_struct() to generate a decoded picture. The decoded picture is transferred for display as a part of a decoded video sequence.SELECTED DRAWING: Figure 8
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This patent application claims priority to U.S. Provisional Patent Application No. 62 / 911,808, entitled "Scalability in Video Coding," filed October 7, 2019, by Ye-Kui Wang, which is incorporated herein by reference.

[0002] FIELD This disclosure relates generally to video coding, and more particularly to mechanisms for preventing errors when sub-bitstream extraction is performed on multi-layer bitstreams. [Background technology]

[0003] The amount of video data required to render even a relatively short video can be substantially large, resulting in complications when the data is streamed or otherwise transmitted over communication networks with limited bandwidth capacity. Therefore, in today's telecommunications networks, video data is typically compressed before transmission. Video size can also become an issue when the video is stored on a storage device, which may have limited memory resources. Video compression devices often use software and / or hardware at the source to code video data before transmission or storage, thereby reducing the amount of data required to represent a digital video image. The compressed data is then received at the destination by a video decompression device, which decodes the video data. Given limited network resources and ever-increasing demands for video quality, improvements in compression and decompression techniques that improve compression ratios with little or no sacrifice in image quality are desirable. Summary of the Invention [Means for solving the problem]

[0004] In one embodiment, the present disclosure includes a method implemented by a decoder, the method including receiving, by the decoder, a bitstream including a reference picture list syntax structure (ref_pic_list_struct()) including a current picture and a number of reference entries (num_ref_entries) constrained to a range from 0 to a maximum decoded picture buffer size plus an offset, and decoding, by the decoder, the current picture based on the ref_pic_list_struct() to generate a decoded picture.

[0005] A picture may be coded according to intra prediction, inter prediction, and / or inter-layer prediction. In intra prediction, blocks in a picture are coded by referencing other blocks in the same picture. In inter prediction, blocks in the current picture are coded by referencing blocks in one or more other pictures. In inter-layer prediction, pictures are coded within layers, and blocks of a picture in an output layer are coded by referencing blocks of a picture in a reference layer. ref_pic_list_struct() may be employed to track inter-picture references, thereby supporting reconstruction of inter-predicted pictures. In some video coding systems, ref_pic_list_struct() contains the maximum number of reference entries that can be employed for the current picture. In such systems, the maximum number of reference entries for the current picture is a statically defined value that is global to all layers. A problem with this approach is that reference layers use a different amount of space in the decoded picture buffer than output layers. For example, reference layers use space for picture reconstruction, and output layers use space for both picture reconstruction and storage pending output. Thus, a statically defined maximum number of reference entries selected to support a smaller amount of space used for the reference layer may be overly restrictive when applied to pictures in the output layer. Alternatively, a statically defined maximum number of reference entries selected for the output layer may provide more space than necessary for decoding pictures in the reference layer, thus wasting memory resources. Examples of the present invention include a mechanism for constraining ref_pic_list_struct() to support different picture buffer usage for different types of layers. For example, a num_ref_entries syntax element may be included in ref_pic_list_struct(). num_ref_entries indicates the number of entries used for each picture.num_ref_entries may be constrained to maintain a range selected based on the maximum decoded picture buffer size. The maximum decoded picture buffer size differs depending on whether the layer is a reference layer or an output layer. Thus, constraining num_ref_entries based on the maximum decoded picture buffer size allows different numbers of reference pictures to be employed for output layers and reference layers. Furthermore, the set of reference pictures for each picture (setofRefPics) may be constrained by different maximum decoded picture buffer sizes based on the layer instead of a static value that is global for all layers. Employing such constraints supports more efficient allocation of memory in the decoded picture buffer, thus supporting high coding efficiency because more optimal memory usage encourages more efficient encoding. This results in improved encoder and decoder functionality. Furthermore, coding efficiency is increased, thereby reducing the use of processor, memory, and / or network signaling resources in both the encoder and decoder.

[0006] Optionally, in any of the aforementioned aspects, another implementation form of the aspect provides that ref_pic_list_struct() is referenced according to a list index (listIdx) and a reference picture list structure index (rplsIdx) and is denoted as ref_pic_list_struct(listIdx, rplsIdx), and that num_ref_entries is denoted as num_ref_entries[listIdx][rplsIdx], and that num_ref_entries[listIdx][rplsIdx] specifies the number of entries in ref_pic_list_struct(listIdx, rplsIdx).

[0007] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides that the number of pictures in the setOfRefPics referenced in the ref_pic_list_struct is constrained to be less than or equal to the maximum decoded picture buffer size minus 1.

[0008] Optionally, in any of the aforementioned aspects, another implementation of the aspect specifies that ref_pic_list_struct() includes reference picture list 0 (RefPicList[0]) and reference picture list 1 (RefPicList[1]), and that setOfRefPics is a set-specific picture referenced by all entries in RefPicList[0] that have the same Network Abstraction Layer (NAL) unit header layer identifier (nuh_layer_id) as the current picture and all entries in RefPicList[1] that have the same nuh_layer_id as the current picture.

[0009] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides that setOfRefPics is the same set for all slices of each picture.

[0010] Optionally, in any of the aforementioned aspects, another implementation form of the aspect specifies that the bitstream includes a decoded picture buffer parameters syntax structure (dpb_parameters()), that the dpb_parameters() includes a maximum decoded picture buffer minus 1 (max_dec_pic_buffering_minus1), and that the maximum decoded picture buffer size corresponds to max_dec_pic_buffering_minus1.

[0011] Optionally, in any of the aforementioned aspects, another implementation form of the aspect provides that dpb_parameters() is included in a video parameter set (VPS) or a sequence parameter set (SPS).

[0012] In one embodiment, the present disclosure includes a method implemented by an encoder, the method including: encoding, by the encoder, a current picture based on a reference picture into a bitstream; encoding, by the encoder, a ref_pic_list_struct() into the bitstream, the ref_pic_list_struct() including num_ref_entries indicating the reference pictures and constrained to range from 0 to the maximum decoded picture buffer size plus an offset; and storing, by the encoder, the bitstream for communication to a decoder.

[0013] A picture may be coded according to intra prediction, inter prediction, and / or inter-layer prediction. In intra prediction, blocks in a picture are coded by referencing other blocks in the same picture. In inter prediction, blocks in the current picture are coded by referencing blocks in one or more other pictures. In inter-layer prediction, pictures are coded within layers, and blocks of a picture in an output layer are coded by referencing blocks of pictures in reference layers. ref_pic_list_struct() may be employed to track inter-picture references, thereby supporting reconstruction of inter-predicted pictures. In some video coding systems, ref_pic_list_struct() includes the maximum number of reference entries that can be employed for the current picture. In such systems, the maximum number of reference entries for the current picture is a statically defined value that is global to all layers. A problem with this approach is that reference layers use a different amount of space in the decoded picture buffer than output layers. For example, reference layers use space for picture reconstruction, and output layers use space for both picture reconstruction and storage pending output. Thus, a statically defined maximum number of reference entries selected to support a smaller amount of space used for the reference layer may be overly restrictive when applied to pictures in the output layer. Alternatively, a statically defined maximum number of reference entries selected for the output layer may provide more space than necessary for decoding pictures in the reference layer, thus wasting memory resources. Examples of the present invention include a mechanism for constraining ref_pic_list_struct() to support different picture buffer usage for different types of layers. For example, a num_ref_entries syntax element may be included in ref_pic_list_struct(). num_ref_entries indicates the number of entries used for each picture.num_ref_entries may be constrained to maintain a range selected based on the maximum decoded picture buffer size. The maximum decoded picture buffer size differs depending on whether the layer is a reference layer or an output layer. Thus, constraining num_ref_entries based on the maximum decoded picture buffer size allows different numbers of reference pictures to be employed for output layers and reference layers. Furthermore, setofRefPics for each picture may be constrained by different maximum decoded picture buffer sizes based on the layer instead of a static value that is global for all layers. Employing such constraints supports more efficient allocation of memory in the decoded picture buffer, thus supporting high coding efficiency because more optimal memory usage encourages more efficient encoding. This results in improved encoder and decoder functionality. Furthermore, coding efficiency is increased, thereby reducing the use of processor, memory, and / or network signaling resources in both the encoder and decoder.

[0014] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides that ref_pic_list_struct() is referenced according to listIdx and rplsIdx and is denoted as ref_pic_list_struct(listIdx, rplsIdx), and that num_ref_entries is denoted as num_ref_entries[listIdx][rplsIdx], and that num_ref_entries[listIdx][rplsIdx] specifies the number of entries in ref_pic_list_struct(listIdx, rplsIdx).

[0015] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides that the number of pictures in the setOfRefPics referenced in the ref_pic_list_struct is constrained to be less than or equal to the maximum decoded picture buffer size minus 1.

[0016] Optionally, in any of the aforementioned aspects, another implementation of the aspect specifies that ref_pic_list_struct() includes RefPicList[0] and RefPicList[1], and that setOfRefPics is a set-specific picture referenced by all entries in RefPicList[0] that have the same nuh_layer_id as the current picture and all entries in RefPicList[1] that have the same nuh_layer_id as the current picture.

[0017] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides that setOfRefPics is the same set for all slices of each picture.

[0018] Optionally, in any of the aforementioned aspects, another implementation form of the aspect specifies that the bitstream includes dpb_parameters(), that the dpb_parameters() includes max_dec_pic_buffering_minus1, and that the maximum decoded picture buffer size corresponds to max_dec_pic_buffering_minus1.

[0019] Optionally, in any of the aforementioned aspects, another implementation form of the aspect provides that dpb_parameters() is included in the VPS or SPS.

[0020] In one embodiment, the present disclosure includes a video coding device comprising a processor, a receiver coupled to the processor, a memory coupled to the processor, and a transmitter coupled to the processor, wherein the processor, receiver, memory, and transmitter are configured to perform the method of any of the aforementioned aspects.

[0021] In one embodiment, the present disclosure includes a non-transitory computer-readable medium including a computer program product for use by a video coding device, the computer program product including computer-executable instructions stored on the non-transitory computer-readable medium that, when executed by a processor, cause the video coding device to perform the method of any of the foregoing aspects.

[0022] In one embodiment, the present disclosure includes a decoder comprising: receiving means for receiving a bitstream including a ref_pic_list_struct() including a current picture and num_ref_entries constrained to a range from 0 to a maximum decoded picture buffer size plus an offset; decoding means for decoding the current picture based on the ref_pic_list_struct() to generate a decoded picture; and forwarding means for forwarding the decoded picture for display as part of a decoded video sequence.

[0023] A picture may be coded according to intra prediction, inter prediction, and / or inter-layer prediction. In intra prediction, blocks in a picture are coded by referencing other blocks in the same picture. In inter prediction, blocks in the current picture are coded by referencing blocks in one or more other pictures. In inter-layer prediction, pictures are coded within layers, and blocks of a picture in an output layer are coded by referencing blocks of a picture in a reference layer. ref_pic_list_struct() may be employed to track inter-picture references, thereby supporting reconstruction of inter-predicted pictures. In some video coding systems, ref_pic_list_struct() contains the maximum number of reference entries that can be employed for the current picture. In such systems, the maximum number of reference entries for the current picture is a statically defined value that is global to all layers. A problem with this approach is that reference layers use a different amount of space in the decoded picture buffer than output layers. For example, reference layers use space for picture reconstruction, and output layers use space for both picture reconstruction and storage pending output. Thus, a statically defined maximum number of reference entries selected to support a smaller amount of space used for the reference layer may be overly restrictive when applied to pictures in the output layer. Alternatively, a statically defined maximum number of reference entries selected for the output layer may provide more space than necessary for decoding pictures in the reference layer, thus wasting memory resources. Examples of the present invention include a mechanism for constraining ref_pic_list_struct() to support different picture buffer usage for different types of layers. For example, a num_ref_entries syntax element may be included in ref_pic_list_struct(). num_ref_entries indicates the number of entries used for each picture.num_ref_entries may be constrained to maintain a range selected based on the maximum decoded picture buffer size. The maximum decoded picture buffer size differs depending on whether the layer is a reference layer or an output layer. Thus, constraining num_ref_entries based on the maximum decoded picture buffer size allows different numbers of reference pictures to be employed for output layers and reference layers. Furthermore, setofRefPics for each picture may be constrained by different maximum decoded picture buffer sizes based on the layer instead of a static value that is global for all layers. Employing such constraints supports more efficient allocation of memory in the decoded picture buffer, thus supporting high coding efficiency because more optimal memory usage encourages more efficient encoding. This results in improved encoder and decoder functionality. Furthermore, coding efficiency is increased, thereby reducing the use of processor, memory, and / or network signaling resources in both the encoder and decoder.

[0024] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides that the decoder is further configured to perform the method of any of the aforementioned aspects.

[0025] In one embodiment, the present disclosure includes an encoder comprising: encoding means for encoding a ref_pic_list_struct() into a bitstream that encodes a current picture based on a reference picture and that includes num_ref_entries, which indicate the reference picture and are constrained to range from 0 to a maximum decoded picture buffer size plus an offset, into a bitstream; and storage means for storing the bitstream for communication to a decoder.

[0026] A picture may be coded according to intra prediction, inter prediction, and / or inter-layer prediction. In intra prediction, blocks in a picture are coded by referencing other blocks in the same picture. In inter prediction, blocks in the current picture are coded by referencing blocks in one or more other pictures. In inter-layer prediction, pictures are coded within layers, and blocks of a picture in an output layer are coded by referencing blocks of a picture in a reference layer. ref_pic_list_struct() may be employed to track inter-picture references, thereby supporting reconstruction of inter-predicted pictures. In some video coding systems, ref_pic_list_struct() contains the maximum number of reference entries that can be employed for the current picture. In such systems, the maximum number of reference entries for the current picture is a statically defined value that is global to all layers. A problem with this approach is that reference layers use a different amount of space in the decoded picture buffer than output layers. For example, reference layers use space for picture reconstruction, and output layers use space for both picture reconstruction and storage pending output. Thus, a statically defined maximum number of reference entries selected to support a smaller amount of space used for the reference layer may be overly restrictive when applied to pictures in the output layer. Alternatively, a statically defined maximum number of reference entries selected for the output layer may provide more space than necessary for decoding pictures in the reference layer, thus wasting memory resources. Examples of the present invention include a mechanism for constraining ref_pic_list_struct() to support different picture buffer usage for different types of layers. For example, a num_ref_entries syntax element may be included in ref_pic_list_struct(). num_ref_entries indicates the number of entries used for each picture.num_ref_entries may be constrained to maintain a range selected based on the maximum decoded picture buffer size. The maximum decoded picture buffer size differs depending on whether the layer is a reference layer or an output layer. Thus, constraining num_ref_entries based on the maximum decoded picture buffer size allows different numbers of reference pictures to be employed for output layers and reference layers. Furthermore, setofRefPics for each picture may be constrained by different maximum decoded picture buffer sizes based on the layer instead of a static value that is global for all layers. Employing such constraints supports more efficient allocation of memory in the decoded picture buffer, thus supporting high coding efficiency because more optimal memory usage encourages more efficient encoding. This results in improved encoder and decoder functionality. Furthermore, coding efficiency is increased, thereby reducing the use of processor, memory, and / or network signaling resources in both the encoder and decoder.

[0027] Optionally, in any of the aforementioned aspects, another implementation of the aspect provides that the encoder is further configured to perform the method of any of the aforementioned aspects.

[0028] For clarity, any one of the above-described embodiments may be combined with any one or more of the other above-described embodiments to form new embodiments within the scope of the present disclosure.

[0029] These and other features will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings and claims.

[0030] For a more complete understanding of the present disclosure, reference is now made to the following brief description taken in conjunction with the accompanying drawings and detailed description, in which like numerals represent like parts. [Brief explanation of the drawings]

[0031] [Figure 1] 1 is a flowchart of an exemplary method for coding a video signal. [Figure 2] 1 is a schematic diagram of an example coding and decoding (codec) system for video coding. [Figure 3] FIG. 1 is a schematic diagram illustrating an example video encoder. [Figure 4] FIG. 1 is a schematic diagram illustrating an exemplary video decoder. [Figure 5] 1 is a schematic diagram illustrating an exemplary hypothetical reference decoder (HRD). [Figure 6] 1 is a schematic diagram illustrating an example multi-layer video sequence configured for inter-layer prediction. [Figure 7] FIG. 1 is a schematic diagram illustrating an exemplary reference picture list structure. [Figure 8] FIG. 2 is a schematic diagram illustrating an exemplary bitstream. [Figure 9] 1 is a schematic diagram of an exemplary video coding device. [Figure 10] 1 is a flowchart of an example method for encoding a video sequence into a bitstream based on a reference picture list structure in which the number of reference entries is constrained according to a maximum decoded picture buffer size. [Figure 11] 1 is a flowchart of an example method for decoding a video sequence from a bitstream based on a reference picture list structure in which the number of reference entries is constrained according to a maximum decoded picture buffer size. [Figure 12] 1 is a schematic diagram of an example system for coding a video sequence into a bitstream based on a reference picture list structure in which the number of reference entries is constrained according to a maximum decoded picture buffer size. DETAILED DESCRIPTION OF THE INVENTION

[0032] Initially, while exemplary implementations of one or more embodiments are presented below, it should be understood that the disclosed systems and / or methods may be implemented using any number of currently known or existing technologies. The present disclosure should in no way be limited to the exemplary implementations, drawings, and technologies illustrated below, including the exemplary designs and implementations illustrated and described herein, but may be modified within the scope of the appended claims along with the full range of equivalents.

[0033] The following terms are defined as follows, unless used herein in a contrary context. Specifically, the following definitions are intended to further clarify the present disclosure. However, terms may be explained differently in different contexts. Therefore, the following definitions should be considered supplementary and not limiting of any other definitions of the explanations provided for such terms herein.

[0034] A bitstream is a sequence of bits containing video data compressed for transmission between an encoder and a decoder. An encoder is a device configured to compress video data into a bitstream using an encoding process. A decoder is a device configured to reconstruct video data into a bitstream for display using a decoding process. A picture is an array of luma samples and / or chroma samples that make up a frame or its fields. A picture being encoded or decoded may be referred to as the current picture for clarity. A coded picture is a coded representation of a picture that includes a video coding layer (VCL) network abstraction layer (NAL) unit with a particular value of NAL unit header layer identifier (nuh_layer_id) within an access unit (AU) and includes all coding tree units (CTUs) of the picture. A decoded picture is a picture generated by applying a decoding process to a coded picture. A slice is an integer number of complete tiles of a picture or an integer number of consecutive complete coding tree unit (CTU) rows (e.g., within a tile) contained exclusively in a single NAL unit (VCL NAL unit). A NAL unit is a syntax structure containing data in the form of a raw byte sequence payload (RBSP), an indication of the type of data, interspersed with emulation prevention bytes where desired. 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 containing non-video data, such as syntax and / or parameters that support decoding video data, performing conformance checks, or other operations. 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.) as indicated by a layer Id (identifier).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.

[0035] A hypothetical reference decoder (HRD) is a decoder model that runs on an encoder and checks the variability of the bitstream generated by the encoding process to verify compliance with specified constraints. Bitstream conformance testing is a test to determine whether the encoded bitstream conforms to a standard such as Versatile Video Coding (VVC). A video parameter set (VPS) is a syntax structure that contains parameters related to the entire video. A sequence parameter set (SPS) is a syntax structure that contains syntax elements that apply to zero or more entire coded layer video sequences (CLVS). A CLVS is a sequence of coded pictures that have the same nuh_layer_id value. A reference picture may be defined as a picture that is a short-term reference picture, a long-term reference picture, or an inter-layer reference picture. For example, a reference picture may be any picture that contains blocks and / or samples used to code blocks and / or samples of another picture by reference according to inter-prediction. Reference picture list 0 (RefPicList[0]) is a reference picture list (e.g., containing a list of corresponding reference pictures) used for inter-prediction of a unidirectionally predicted (P) slice, or the first of two reference picture lists used for inter-prediction of a bidirectionally predicted (B) slice. Reference picture list 1 (RefPicList[1]) is a second reference picture list (e.g., used in conjunction with RefPicList[0]) used for inter-prediction of a B slice. The reference picture list syntax structure (ref_pic_list_struct()) is a syntax structure that includes RefPicList[0] and RefPicList[1]. A reference entry is an entry in a reference picture list that indicates a corresponding reference picture based on a reference index. A list index (listIdx) is an index that indicates a corresponding reference picture list, such as RefPicList[0] and / or RefPicList[1].The reference picture list structure index (rplsIdx) is an index indicating a reference entry in the corresponding reference picture list. The number of reference entries (num_ref_entries) is a syntax element indicating the number of reference entries in ref_pic_list_struct(). The set of reference pictures (setOfRefPics) is a set of unique pictures referenced by all entries in RefPicList[0] and / or RefPicList[1] that have the same nuh_layer_id value as the current picture. The decoded picture buffer (DPB) is a buffer configured to hold decoded pictures for reference, output reordering, or output delay, for example, in a decoder and / or HRD. The decoded picture buffer parameters syntax structure (dpb_parameters()) is a syntax structure that provides information about the DPB size, maximum picture reordering number, and maximum delay for one or more output layer sets (OLS). Maximum decoded picture buffer size is a derived variable that specifies the maximum required size of the DPB in units of picture storage buffer. Maximum decoded picture buffer-1 (max_dec_pic_buffering_minus1) is a syntax element that specifies the maximum required size of the DPB in units of picture storage buffer. An access unit (AU) is a set of coded pictures in different layers that are all associated with the same output time. A coded video sequence is a set of one or more coded pictures. A decoded video sequence is a set of one or more decoded pictures.

[0036] Acronyms used in this specification are: 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 Transfer Unit (MTU), Network Abstraction Layer (NAL), Output Layer Set (OLS), Operation Point (OP), Picture Order Count (POC), Random Access Point (RAP), Raw Byte Sequence Payload (RBSP), Sequence Parameter Set (SPS), Video Parameter Set (VPS), Versatile Video Coding (VVC).

[0037] Many video compression techniques may be employed to reduce the size of video files with minimal data loss. 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 within a video sequence. For block-based video coding, a video slice (e.g., a video picture or a portion of a video picture) may be partitioned into video blocks, which may also be referred to as tree blocks, coding tree blocks (CTBs), coding tree units (CTUs), coding units (CUs), and / or coding nodes. Video blocks in an intra-coded (I) slice of a picture are coded using spatial prediction with respect to reference samples in neighboring blocks in the same picture. Video blocks in an inter-coded unidirectionally predicted (P) or bidirectionally predicted (B) slice of a picture may be coded by employing spatial prediction with respect to reference samples in neighboring blocks in the same picture or temporal prediction with respect to reference samples in other reference pictures. A picture may be referred to as a frame and / or an image, and a reference picture may be referred to as a reference frame and / or a reference image. Spatial or temporal prediction results in a prediction block that represents an image block. Residual data represents pixel differences between the original image block and the prediction block. Thus, inter-coded blocks are encoded according to a motion vector that points to a block of reference samples that form the prediction block, and residual data that indicates the difference between the coded block and the prediction block. Intra-coded blocks are encoded according to an intra-coding mode and residual data. For further compression, the residual data may be transformed from the pixel domain to a transform domain, resulting in residual transform coefficients, which may be quantized. The quantized transform coefficients may initially 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 can be applied to achieve even greater compression. Such video compression techniques are described in more detail below.

[0038] 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 International Telecommunication Union (ITU) Standardization Sector (ITU-T) H.261, International Organization for Standardization / International Electrotechnical Commission (ISO / IEC) Motion Picture Experts Group (MPEG)-1 Part 2, Advanced Video Coding (AVC), also known as ITU-T H.262 or ISO / IEC MPEG-2 Part 2, ITU-T H.263, ISO / IEC MPEG-4 Part 2, ITU-T H.264 or ISO / IEC MPEG-4 Part 10, and High Efficiency Video Coding (HEVC), also known as ITU-T H.265 or MPEG-H Part 2. AVC includes extensions such as Scalable Video Coding (SVC), Multiview Video Coding (MVC), Multiview Video Coding plus Depth (MVC+D), and Three-Dimensional (3D) AVC (3D-AVC). HEVC includes extensions such as Scalable HEVC (SHVC), Multiview HEVC (MV-HEVC), and 3D HEVC (3D-HEVC). The Joint Video Experts Team (JVET) of ITU-T and ISO / IEC has begun development of a video coding standard called Versatile Video Coding (VVC). VVC is contained in working drafts (WDs), including JVET-O2001-v14.

[0039] Pictures may be coded according to intra prediction, inter prediction, and / or inter-layer prediction. In intra prediction, blocks in a picture are coded by referencing other blocks in the same picture. In inter prediction, blocks in a current picture are coded by referencing blocks in one or more other pictures. In inter-layer prediction, pictures are coded within layers, and blocks of a picture in an output layer are coded by referencing blocks of pictures in reference layers. A reference picture list syntax structure (ref_pic_list_struct()) may be employed to track references between pictures, thereby supporting the reconstruction of inter-predicted pictures. In some video coding systems, ref_pic_list_struct() includes the maximum number of reference entries that can be employed for the current picture. In such systems, the maximum number of reference entries for the current picture is a statically defined value that is global to all layers. The problem with this approach is that reference layers use a different amount of space in the decoded picture buffer than output layers. For example, a reference layer uses space for picture reconstruction, and an output layer uses space for both picture reconstruction and storage pending output. Thus, a statically defined maximum number of reference entries selected to support a smaller amount of space used for the reference layer may be overly restrictive when applied to pictures in the output layer. Alternatively, a statically defined maximum number of reference entries selected for the output layer may provide more space than necessary to decode pictures in the reference layer, thus wasting memory resources.

[0040] Disclosed herein is a mechanism for constraining ref_pic_list_struct() to support different picture buffer usage for different types of layers. For example, a number of reference entries (num_ref_entries) syntax element may be included in ref_pic_list_struct(). num_ref_entries indicates the number of entries used for each picture. num_ref_entries may be constrained to maintain a selected range based on the maximum decoded picture buffer size. The maximum decoded picture buffer size differs depending on whether the layer is a reference layer or an output layer. Thus, constraining num_ref_entries based on the maximum decoded picture buffer size allows different numbers of reference pictures to be employed for output layers and reference layers. Furthermore, the set of reference pictures for each picture (setofRefPics) may be constrained by different maximum decoded picture buffer sizes based on the layer instead of a static value that is global for all layers. Adopting such constraints supports more efficient allocation of memory in the decoded picture buffer, and therefore supports high coding efficiency as more optimal memory usage encourages more efficient encoding, resulting in improved encoder and decoder functionality. Furthermore, increased coding efficiency reduces the use of processor, memory, and / or network signaling resources in both the encoder and decoder.

[0041] 1 is a flowchart of an exemplary operational method 100 for coding a video signal. Specifically, a video signal is encoded in an encoder. The encoding process compresses the video signal by using various mechanisms to reduce the video file size. The smaller file size allows the compressed video file to be transmitted to a user while reducing the associated bandwidth overhead. A decoder then decodes the compressed video file and reconstructs the original video signal for display to the end user. The decoding process generally mirrors the encoding process to allow the decoder to consistently reconstruct the video signal.

[0042] In step 101, a video signal is input to an encoder. For example, the video signal may be an uncompressed video file stored in memory. As another example, the video file may be captured by a video capture device, such as a video camera, and encoded to support live streaming of the video. The video file may include both an audio component and a video component. The video component includes a series of image frames that, when viewed in sequence, create a visual impression of movement. A frame includes pixels that are 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 frame may also include depth values ​​to support three-dimensional displays.

[0043] In step 103, the video is partitioned into blocks. Partitioning involves subdividing pixels in each frame into square and / or rectangular blocks for compression. For example, in High Efficiency Video Coding (HEVC) (also known as H.265 and MPEG-H Part 2), a frame may first be divided into coding tree units (CTUs), which are blocks of a predefined size (e.g., 64 pixels by 64 pixels). A CTU contains both luma samples and chroma samples. A coding tree may be employed to divide a CTU into blocks and then recursively subdivide the blocks until a configuration that supports further encoding is achieved. For example, the luma component of a frame may be subdivided until each block contains relatively homogeneous illumination values. Furthermore, the chroma component of a frame may be subdivided until each block contains relatively homogeneous color values. Thus, the partitioning mechanism varies depending on the content of the video frame.

[0044] In step 105, various compression mechanisms are employed to compress the image blocks partitioned in step 103. For example, inter-prediction and / or intra-prediction may be employed. Inter-prediction is designed to take advantage of the fact that objects in a common scene tend to appear in consecutive frames. Therefore, a block depicting an object in a reference frame need not be repeatedly described in adjacent frames. Specifically, an object such as a table may remain in a constant position across multiple frames. Thus, once the table is described, adjacent frames can refer back to the reference frame. A pattern matching mechanism may be employed to match objects across multiple frames. Furthermore, objects that move across multiple frames may be represented due to object movement, camera movement, etc. As a specific example, a video may show a car moving across the screen over multiple frames. A motion vector may be used to describe such movement. A motion vector is a two-dimensional vector that provides an offset from the coordinates of an object in a frame to the coordinates of the object in a reference frame. Therefore, inter-prediction may encode an image block in a current frame as a set of motion vectors indicating its offset from a corresponding block in a reference frame.

[0045] Intra prediction encodes blocks within a common frame. It takes advantage of the fact that luma and chroma components tend to cluster within a frame. For example, a green patch in a tree tends to be positioned adjacent to a similar green patch. Intra prediction uses multiple directional prediction modes (e.g., 33 in HEVC), planar mode, and direct current (DC) mode. These directional modes indicate that the current block is similar / identical to samples in neighboring blocks in the corresponding direction. Planar mode indicates that a series of blocks along a row / column (e.g., a plane) can be interpolated based on neighboring blocks at the end of the row. Planar mode effectively indicates a smooth transition of light / color across a row / column by using a relatively constant gradient in the changing values. DC mode is used for boundary smoothing and indicates that the block is similar / identical to the average value associated with samples in all neighboring blocks related to the angular direction of the directional prediction mode. Therefore, intra-predicted blocks can represent image blocks as various related prediction mode values ​​rather than actual values. Furthermore, inter-predicted blocks can represent image blocks as motion vector values ​​rather than actual values. In either case, the prediction block may not exactly represent the image block in some cases. Any differences are contained within the residual block. To further compress the file, a transform may be applied to the residual block.

[0046] Various filtering techniques may be applied in step 107. In HEVC, filters are applied according to an in-loop filtering scheme. The block-based prediction described above may result in blocky images at the decoder. Furthermore, the block-based prediction scheme may encode a block and then reconstruct the encoded block for later use as a reference block. The in-loop filtering scheme iteratively applies a noise suppression filter, a deblocking filter, an adaptive loop filter, and a sample adaptive offset (SAO) filter to a block / frame. These filters reduce such blocking artifacts, allowing the encoded file to be accurately reconstructed. Furthermore, these filters reduce artifacts in the reconstructed reference block, thereby reducing the likelihood that the artifacts will cause further artifacts in subsequent blocks that are encoded based on the reconstructed reference block.

[0047] After the video signal is segmented, compressed, and filtered, the resulting data is encoded 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 send coding instructions to the decoder. The bitstream may be stored in memory for transmission to the decoder upon request. The bitstream may also be broadcast and / or multicast to multiple decoders. Creation of the bitstream is an iterative process. Thus, steps 101, 103, 105, 107, and 109 may be performed sequentially and / or simultaneously across multiple frames and blocks. The order depicted in FIG. 1 is presented for clarity and ease of explanation and is not intended to constrain the video coding process to any particular order.

[0048] The decoder receives the bitstream and begins the decoding process at step 111. Specifically, the decoder uses an entropy decoding scheme to convert the bitstream into corresponding syntax and video data. In step 111, the decoder uses syntax data from the bitstream to determine a partition for the frame. The partition should match the result of the block partitioning in step 103. We now describe entropy encoding / decoding as employed in step 111. The encoder makes many choices in the compression process, such as selecting a block partitioning scheme from several possible options based on the spatial location of values ​​in the input image. Signaling the exact choice can involve the use of multiple bins. As used herein, a bin is a binary value (e.g., a bit value that can change depending on the context) that is treated as a variable. Entropy coding allows the encoder to discard any options that are clearly infeasible for a particular case, leaving a set of acceptable options. Each acceptable option is then assigned a codeword. The length of the codeword is based on the number of allowable options (e.g., one bin for two options, two bins for three to four options, etc.). The encoder then encodes the codeword for the selected option. This scheme reduces the size of the codeword, as it is desirable to uniquely indicate a selection from a small subset of allowable options, as opposed to uniquely indicating a selection from a potentially large set of all possible options. The decoder then decodes the selection by determining the set of allowable options in a manner similar to the encoder. By determining the set of allowable options, the decoder can read the codeword and determine the selection made by the encoder.

[0049] In step 113, the decoder performs block decoding. Specifically, the decoder employs an inverse transform to generate a residual block. The decoder then uses the residual block and a corresponding prediction block to reconstruct an image block according to the partitioning. The prediction block may include both intra-predicted blocks and inter-predicted blocks, such as those generated in the encoder in step 105. The reconstructed image block is then positioned within a frame of the reconstructed video signal according to the partitioning data determined in step 111. The syntax for step 113 may also be signaled in the bitstream via entropy coding, as described above.

[0050] At step 115, filtering is performed on the frames of the reconstructed video signal at the encoder in a manner similar to step 107. 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. After the frames are filtered, the video signal may be output to a display at step 117 for viewing by an end user.

[0051] 2 is a schematic diagram of an exemplary coding and decoding (codec) system 200 for video coding. Specifically, codec system 200 provides functionality to support implementation of operational method 100. Codec system 200 is generalized to depict components employed in both encoders and decoders. Codec system 200 receives and segments a video signal as described with reference to steps 101 and 103 of operational method 100, resulting in a segmented video signal 201. When operating as an encoder, codec system 200 then compresses segmented video signal 201 into a coded bitstream as described with reference to steps 105, 107, and 109 in method 100. When operating as a decoder, codec system 200 generates an output video signal from the bitstream as described with reference to steps 111, 113, 115, and 117 of operational method 100. Codec system 200 includes a general coder control component 211, a transform scaling and quantization component 213, an intra-picture estimation component 215, an intra-picture prediction component 217, a motion compensation component 219, a motion estimation component 221, a scaling and inverse transform component 229, a filter control analysis component 227, an in-loop filter component 225, a decoded picture buffer component 223, and a header formatting and context-adaptive binary arithmetic coding (CABAC) component 231. Such components are coupled as shown. In FIG. 2, black lines indicate the movement of data to be encoded / decoded, and dashed lines indicate the movement of control data that controls the operation of other components. The components of codec system 200 may all reside within an encoder. A decoder may include a subset of the components of codec system 200.For example, the decoder may include an intra-picture prediction component 217, a motion compensation component 219, a scaling and inverse transform component 229, an in-loop filter component 225, and a decoded picture buffer component 223. These components are now described.

[0052] The partitioned video signal 201 is a captured video sequence partitioned into several blocks of pixels by a coding tree. The coding tree employs various partitioning modes to subdivide blocks of pixels into smaller blocks of pixels. These blocks may then be further subdivided into smaller blocks. The blocks may be referred to as nodes of the coding tree. Larger parent nodes are divided into smaller child nodes. The number of times a node is subdivided is referred to as the depth of the node / coding tree. The partitioned blocks may, in some cases, be included in a coding unit (CU). 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. Partitioning modes may include a binary tree (BT), a ternary tree (TT), and a quad tree (QT), which are employed to partition a node into two, three, or four child nodes of various shapes, respectively, depending on the partitioning mode employed. The segmented video signal 201 is forwarded to a general coder control component 211, a transform scaling and quantization component 213, an intra-picture estimation component 215, a filter control analysis component 227, and a motion estimation component 221 for compression.

[0053] The general coder control component 211 is configured to make decisions related to the coding of images of a video sequence into a bitstream according to application constraints. For example, the general coder control component 211 manages the optimization of bitrate / bitstream size versus reconstruction quality. Such decisions may be based on storage space / bandwidth availability and image resolution requirements. The general coder control component 211 also manages buffer utilization in relation to transmission rate to mitigate buffer underrun and overrun issues. To manage these issues, the general coder control component 211 manages segmentation, prediction, and filtering by other components. For example, the general coder control component 211 may dynamically increase compression complexity to increase resolution and bandwidth usage, or decrease compression complexity to decrease resolution and bandwidth usage. Thus, the general coder control component 211 controls other components of the codec system 200 to balance video signal reconstruction quality and bitrate considerations. The general coder control component 211 generates control data that controls the operation of the other components. Control data is also forwarded to the Header Formatting and CABAC component 231 and encoded into the bitstream to signal parameters for decoding at the decoder.

[0054] The partitioned video signal 201 is also sent to a motion estimation component 221 and a motion compensation component 219 for inter-prediction. A frame or slice of the partitioned video signal 201 may be divided into multiple video blocks. The motion estimation component 221 and the motion compensation component 219 perform inter-predictive coding of the received video blocks with respect to one or more blocks in one or more reference frames to perform temporal prediction. The codec system 200 may perform multiple coding passes to, for example, select an appropriate coding mode for each block of video data.

[0055] The motion estimation component 221 and the motion compensation component 219 may be highly integrated but are illustrated separately for conceptual purposes. Motion estimation performed by the motion estimation component 221 is a process of generating motion vectors, which estimate motion relative to a video block. A motion vector may indicate, for example, the displacement of a coded object relative to a predictive block. A predictive block is a block that is known to closely match a block to be coded in terms of pixel differences. A predictive block may also be referred to as a reference block. Such pixel differences may be determined by sum of absolute differences (SAD), sum of squared differences (SSD), or other difference metrics. HEVC employs several coded objects, including CTUs, coding tree blocks (CTBs), and CUs. For example, a CTU may be divided into CTBs, which may then be divided into CBs to be included in a CU. A CU may be encoded as a prediction unit (PU) containing prediction data and / or a transform unit (TU) containing transformed residual data for the CU. The motion estimation component 221 generates motion vectors, PUs, and TUs by using rate-distortion analysis as part of a rate-distortion optimization process. For example, the motion estimation component 221 may determine multiple reference blocks, multiple motion vectors, etc. for a current block / frame and select the reference block, motion vector, etc. with the best rate-distortion performance, which balances both the quality of the video reconstruction (e.g., the amount of data lost due to compression) and the coding efficiency (e.g., the size of the final encoding).

[0056] In some examples, the codec system 200 may calculate values ​​for sub-integer pixel positions of reference pictures stored in the decoded picture buffer component 223. For example, the video codec system 200 may interpolate values ​​for quarter-pixel positions, eighth-pixel positions, or other fractional pixel positions of the reference pictures. Accordingly, the motion estimation component 221 may perform motion search for full-pixel and fractional pixel positions and output motion vectors with fractional pixel accuracy. The motion estimation component 221 calculates motion vectors for PUs of video blocks in inter-coded slices by comparing the positions of the PUs with the positions of predictive blocks in the reference pictures. The motion estimation component 221 outputs the calculated motion vectors as header formatting for encoding and motion to the motion compensation component 219 and as motion data to the CABAC component 231.

[0057] The motion compensation performed by the motion compensation component 219 may involve fetching or generating a predictive block based on a motion vector determined by the motion estimation component 221. Again, the motion estimation component 221 and the motion compensation component 219 may be functionally integrated in some examples. Upon receiving the motion vector for the PU of the current video block, the motion compensation component 219 may locate the predictive block to which the motion vector points. A residual video block is then formed by subtracting pixel values ​​of the predictive block from pixel values ​​of the current video block being coded to form pixel difference values. Generally, the motion estimation component 221 performs motion estimation with respect to 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.

[0058] The partitioned video signal 201 is also sent to an intra-picture estimation component 215 and an intra-picture prediction component 217. Like the motion estimation component 221 and the motion compensation component 219, the intra-picture estimation component 215 and the intra-picture prediction component 217 may be highly integrated but are illustrated separately for conceptual purposes. The intra-picture estimation component 215 and the intra-picture prediction component 217 intra-predict the current block with respect to blocks within the current frame as an alternative to the inter-prediction performed by the motion estimation component 221 and the motion compensation component 219 between frames, as described above. In particular, the intra-picture estimation component 215 determines the intra-prediction mode to use to encode the current block. In some examples, the intra-picture estimation component 215 selects an appropriate intra-prediction mode to encode the current block from multiple tested intra-prediction modes. The selected intra-prediction mode is then forwarded to the header formatting and CABAC component 231 for encoding.

[0059] For example, the intra-picture estimation component 215 may calculate rate-distortion values ​​for various tested intra-prediction modes using a rate-distortion analysis and select an intra-prediction mode with the best rate-distortion characteristics from among the tested modes. The rate-distortion analysis typically determines the amount of distortion (or error) between an encoded block and the original unencoded block encoded to generate the encoded block, as well as the bitrate (e.g., number of bits) used to generate the encoded block. The intra-picture estimation component 215 may calculate a ratio from the distortion and rate for the various encoded blocks to determine which intra-prediction mode exhibits the best rate-distortion value for the block. In addition, the intra-picture estimation component 215 may be configured to code depth blocks of a depth map using a depth modeling mode (DMM) based on rate-distortion optimization (RDO).

[0060] The intra picture prediction component 217, when implemented in an encoder, may generate a residual block from the prediction block based on a selected intra prediction mode determined by the intra picture estimation component 215, or, when implemented in a decoder, may read the residual block from the bitstream. The residual block contains value differences between the prediction block and the original block, represented as a matrix. The residual block is then forwarded to the transform scaling and quantization component 213. The intra picture estimation component 215 and the intra picture prediction component 217 may operate on both the luma and chroma components.

[0061] 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 could also be used. This transform may convert the residual information from the pixel value domain to a transform domain, such as the frequency domain. The transform scaling and quantization component 213 is also configured to scale the transformed residual information, for example, based on frequency. Such scaling involves applying a scale factor to the residual information so that different frequency information is quantized with different granularity, which may affect the final visual quality of the reconstructed video. The transform scaling and quantization component 213 is also configured to quantize the transform coefficients to further reduce the bit rate. The quantization process may reduce the bit depth associated with some or all of the coefficients. The degree of quantization may be changed by adjusting a quantization parameter. In some examples, the transform scaling and quantization component 213 may then perform a scan of a matrix containing the quantized transform coefficients, which are forwarded to the header formatting and CABAC component 231 and encoded into the bitstream.

[0062] 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, for example, inverse scaling, transform, and / or quantization to reconstruct a residual block in the pixel domain for later use as a reference block that can become a predictive block for another current block. The motion estimation component 221 and / or motion compensation component 219 may calculate a reference block by adding the residual block back to the corresponding predictive block for use in motion estimation of a later block / frame. A filter is applied to the reconstructed reference block, thereby mitigating artifacts created during scaling, quantization, and transform. Such artifacts could otherwise cause inaccurate predictions (and create additional artifacts) when subsequent blocks are predicted.

[0063] The filter control analysis component 227 and the in-loop filter component 225 apply filters to residual blocks and / or reconstructed image blocks. For example, a transformed residual block from the scaling and inverse transform component 229 may be combined with a corresponding prediction block from the intra-picture prediction component 217 and / or the motion compensation component 219 to reconstruct the original image block. A filter may then be applied to the reconstructed image block. In some examples, a filter may be applied to the residual block instead. Like the other components in FIG. 2, the filter control analysis component 227 and the in-loop filter component 225 are highly integrated and may be implemented together, but are depicted separately for conceptual purposes. The filters applied to the reconstructed reference block are applied to specific spatial regions and include multiple parameters for adjusting how such filters are applied. The filter control analysis component 227 analyzes the reconstructed reference block to determine where such filters should be applied and set the corresponding parameters. Such data is forwarded to the header formatting and CABAC component 231 as filter control data for encoding. The in-loop filter component 225 applies such filters based on the filter control data. The filters may include deblocking filters, noise suppression filters, SAO filters, and adaptive loop filters. Such filters may be applied in the spatial / pixel domain (e.g., on reconstructed pixel blocks) or in the frequency domain, depending on the example.

[0064] When operating as an encoder, the filtered reconstructed image blocks, residual blocks, and / or prediction blocks are stored in the decoded picture buffer component 223 for later use in motion estimation as described above. When operating as a decoder, the decoded picture buffer component 223 stores the reconstructed and filtered blocks and forwards them to a display as part of the output video signal. The decoded picture buffer component 223 may be any memory device capable of storing prediction blocks, residual blocks, and / or reconstructed image blocks.

[0065] The header formatting and CABAC component 231 receives data from various components of the codec system 200 and encodes such data into a coded bitstream for transmission to a decoder. Specifically, the header formatting and CABAC component 231 generates various headers to encode control data, such as general control data and filter control data. Furthermore, prediction data, including intra-prediction data and motion data, as well as residual data in the form of quantized transform coefficient data, are all encoded into the bitstream. The final bitstream contains all information desired for a decoder to reconstruct the original partitioned video signal 201. Such information may also include an intra-prediction mode index table (also referred to as a codeword mapping table), definitions of encoding contexts for various blocks, indications of the most likely intra-prediction modes, indications of partition information, and so on. Such data may be encoded by employing entropy coding. For example, the information may be encoded by employing context-adaptive variable length coding (CAVLC), CABAC, syntax-based context-adaptive binary arithmetic coding (SBAC), probability interval partitioning entropy (PIPE) coding, or another entropy coding technique. Following entropy coding, the coded bitstream may be transmitted to another device (e.g., a video decoder) or archived for later transmission or removal.

[0066] 3 is a block diagram illustrating an exemplary video encoder 300. Video encoder 300 may be employed to implement the encoding functionality of codec system 200 and / or to implement steps 101, 103, 105, 107, and / or 109 of operating method 100. Encoder 300 segments an input video signal, resulting in a segmented video signal 301, which is substantially similar to segmented video signal 201. Segmented video signal 301 is then compressed and encoded into a bitstream by components of encoder 300.

[0067] Specifically, the partitioned video signal 301 is forwarded to an intra-picture prediction component 317 for intra-prediction. The intra-picture prediction component 317 may be substantially similar to the intra-picture estimation component 215 and the intra-picture prediction component 217. The partitioned video signal 301 is also forwarded to a motion compensation component 321 for inter-prediction based on reference blocks in a decoded picture buffer component 323. The motion compensation component 321 may be substantially similar to the motion estimation component 221 and the motion compensation component 219. The prediction block and residual block from the intra-picture prediction component 317 and the motion compensation component 321 are forwarded to a transform and quantization component 313 for transforming and quantizing the residual block. The transform and quantization component 313 may be substantially similar to the transform scaling and quantization component 213. The transformed and quantized residual blocks and the corresponding prediction blocks (along with associated control data) are forwarded to an entropy coding component 331 for coding into the bitstream. The entropy coding component 331 may be substantially similar to the header formatting and CABAC component 231.

[0068] The transformed and quantized residual block and / or the corresponding prediction block are transferred from the transform and quantization component 313 to the inverse transform and quantization component 329 for reconstructing into a reference block for use by the motion compensation component 321. The inverse transform and quantization component 329 may be substantially similar to the scaling and inverse transform component 229. An in-loop filter in the in-loop filter component 325 is also applied to the residual block and / or the reconstructed reference block, depending on the example. 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 comprise 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.

[0069] 4 is a block diagram illustrating an example video decoder 400. Video decoder 400 may be employed to implement the decoding functionality of codec system 200 and / or to implement steps 111, 113, 115, and / or 117 of operating method 100. Decoder 400 receives a bitstream, for example, from encoder 300, and generates a reconstructed output video signal based on the bitstream for display to an end user.

[0070] The bitstream is received by the entropy decoding component 433. The entropy decoding component 433 is configured to implement an entropy decoding scheme such as CAVLC, CABAC, SBAC, PIPE coding, or other entropy coding techniques. For example, the entropy decoding component 433 may employ header information to provide context for interpreting additional data encoded as codewords in the bitstream. The decoded information includes any desired information for decoding the video signal, such as general control data, filter control data, partition information, motion data, prediction data, and quantized transform coefficients from 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.

[0071] The reconstructed residual block and / or predictive block are forwarded to the intra-picture prediction component 417 for reconstructing into an image block based on an intra-prediction operation. The intra-picture prediction component 417 may be similar to the intra-picture estimation component 215 and the intra-picture prediction component 217. Specifically, the intra-picture prediction component 417 employs a prediction mode to locate a reference block within a frame and applies the residual block to the result to reconstruct an intra-predicted image block. The reconstructed intra-predicted image block and / or residual block and corresponding inter-prediction data are forwarded to the decoded picture buffer component 423 via an in-loop filter component 425, which may be substantially similar to the decoded picture buffer component 223 and the in-loop filter component 225, respectively. The in-loop filter component 425 filters the reconstructed image block, residual block, and / or predictive block, and such information is stored in the decoded picture buffer component 423. The reconstructed image blocks from the decoded picture buffer component 423 are forwarded to the motion compensation component 421 for inter-prediction. The motion compensation component 421 may be substantially similar to the motion estimation component 221 and / or the motion compensation component 219. Specifically, the motion compensation component 421 employs motion vectors from reference blocks to generate prediction blocks and applies a residual block to the result to reconstruct an image block. The resulting reconstructed blocks may also be forwarded to the decoded picture buffer component 423 via an in-loop filter component 425. The decoded picture buffer component 423 continues to store additional reconstructed image blocks, which may be reconstructed into frames via the partition information. Such frames may be arranged in a sequence. The sequence is output to a display as a reconstructed output video signal.

[0072] 5 is a schematic diagram illustrating an exemplary HRD 500. The HRD 500 may be employed in codec system 200 and / or an encoder, such as encoder 300. The HRD 500 may check the bitstream created in step 109 of method 100 before the bitstream is forwarded to a decoder, such as decoder 400. In some examples, the bitstream may be continuously forwarded through the HRD 500 as the bitstream is encoded. If a portion of the bitstream fails to conform to an associated constraint, the HRD 500 may signal such failure to the encoder, causing the encoder to re-encode the corresponding section of the bitstream using a different mechanism.

[0073] The HRD 500 includes a virtual stream scheduler (HSS) 541. The HSS 541 is a component configured to implement a virtual distribution mechanism. The virtual distribution mechanism is used to check the conformance of a bitstream or decoder with respect to the timing and data flow of a bitstream 551 input to the HRD 500. For example, the HSS 541 may receive the bitstream 551 output from an encoder and manage a conformance testing process on the bitstream 551. In a particular example, the HSS 541 may control the rate at which coded pictures move through the HRD 500 and verify that the bitstream 551 does not contain non-conforming data.

[0074] The HSS 541 can transfer the bitstream 551 to the CPB 543 at a predefined rate. The HRD 500 can manage data in decoding units (DUs) 553. A DU 553 is an access unit (AU) or a subset of AUs and associated non-video coding layer (VCL) network abstraction layer (NAL) units. Specifically, an AU includes one or more pictures associated with an output time. For example, an AU may include a single picture in a single-layer bitstream or a picture for each layer in a multi-layer bitstream. Each picture in an AU may be divided into slices, each of which is included in a corresponding VCL NAL unit. Thus, a DU 553 may include one or more pictures, one or more slices of a picture, or a combination thereof. Additionally, parameters used to decode an AU / DU, picture, and / or slice may be included in the non-VCL NAL units. Therefore, a DU 553 includes non-VCL NAL units that include data necessary to support decoding VCL NAL units within the DU 553. The CPB 543 is a first-in, first-out buffer within the HRD 500. The CPB 543 contains the DUs 553, which contain video data in decoding order. The CPB 543 stores video data for use during bitstream conformance verification.

[0075] The CPB 543 forwards the DU 553 to a decoding process component 545. The decoding process component 545 is a component that conforms to the VVC standard. For example, the decoding process component 545 may emulate the decoder 400 employed by an end user. The decoding process component 545 decodes the DU 553 at a rate that can be achieved by an exemplary end user's decoder. If the decoding process component 545 cannot decode the DU 553 fast enough to prevent the CPB 543 from overflowing (or preventing a buffer underrun), the bitstream 551 does not conform to the standard and should be re-encoded.

[0076] The decoding process component 545 decodes the DU 553 to create a decoded DU 555. The decoded DU 555 contains a decoded picture. The decoded DU 555 is forwarded to the DPB 547. The DPB 547 may be substantially similar to the decoded picture buffer components 223, 323, and / or 423. To support inter-prediction, pictures marked for use as reference pictures 556 obtained from the decoded DU 555 are returned to the decoding process component 545 to support further decoding. The DPB 547 outputs the decoded video sequence as a series of pictures 557. The pictures 557 are reconstructed pictures that generally mirror the pictures encoded into the bitstream 551 by the encoder.

[0077] Picture 557 is forwarded to output cropping component 549, which is configured to apply an adaptive cropping window to picture 557. This results in output cropped picture 559. Output cropped picture 559 is a fully reconstructed picture. Therefore, output cropped picture 559 mimics what an end user would see after decoding bitstream 551. Therefore, at the encoder side, output cropped picture 559 can be reviewed to ensure the encoding is satisfactory.

[0078] The HRD 500 is initialized based on HRD parameters in the bitstream 551. For example, the HRD 500 may read the HRD parameters from a VPS, SPS, and / or SEI message. The HRD 500 may then perform conformance testing operations on the bitstream 551 based on the information in such HRD parameters. As a specific example, the HRD 500 may determine one or more CPB delivery schedules from the HRD parameters. The delivery schedules specify the timing for delivery of video data to and / or from memory locations, such as the CPB and / or DPB. Thus, the CPB delivery schedules specify the timing for delivery of AUs, DUs 553, and / or pictures to / from the CPB 543. It should be noted that the HRD 500 may employ a DPB delivery schedule for the DPB 547, which is similar to the CPB delivery schedule.

[0079] Video may be coded into different layers and / or OLSs for use by decoders with varying levels of hardware capabilities, and even for varying network conditions. A CPB delivery schedule is selected to reflect these considerations. Thus, upper layer sub-bitstreams are specified for optimal hardware and network conditions, and therefore the upper layers may receive one or more CPB delivery schedules that employ large amounts of memory in the CPB 543 and short delays for the transfer of DUs 553 toward the DPB 547. Similarly, lower layer sub-bitstreams are specified for limited decoder hardware capabilities and / or poor network conditions. Thus, the lower layers may receive one or more CPB delivery schedules that employ small amounts of memory in the CPB 543 and longer delays for the transfer of DUs 553 toward the DPB 547. The OLSs, layers, sub-layers, or combinations thereof may then be tested according to the corresponding delivery schedules to ensure that the resulting sub-bitstreams can be correctly decoded under the conditions expected for the sub-bitstreams. Thus, the HRD parameters in bitstream 551 may indicate the CPB delivery schedule and may further include sufficient data to enable HRD 500 to determine the CPB delivery schedule and correlate the CPB delivery schedule to the corresponding OLS, layer, and / or sublayer.

[0080] 6 is a schematic diagram illustrating an example multi-layer video sequence 600 configured to perform 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, for example, according to method 100. Furthermore, the multi-layer video sequence 600 may be checked for standards conformance by an HRD, such as HRD 500. The multi-layer video sequence 600 is included to illustrate an example application for layers in a coded video sequence. The multi-layer video sequence 600 is any video sequence employing multiple layers, such as layer N 631 and layer N+1 632.

[0081] In one example, multi-layer video sequence 600 may employ inter-layer prediction 621. Inter-layer prediction 621 is applied between pictures 611, 612, 613, and 614 and pictures 615, 616, 617, and 618 in different layers. In the illustrated example, pictures 611, 612, 613, and 614 are part of layer N+1 632, and pictures 615, 616, 617, and 618 are part of layer N 631. A layer, such as layer N 631 and / or layer N+1 632, is a group of pictures that are all associated with similar values ​​of characteristics such as similar size, quality, resolution, signal-to-noise ratio, capacity, etc. A layer may be formally defined as a set of VCL NAL units and associated non-VCL NAL units. A VCL NAL unit is a NAL unit coded to contain video data, such as a coded slice of a picture. A non-VCL NAL unit is a NAL unit that contains non-video data, such as syntax and / or parameters that support decoding video data, performing conformance checks, or other operations.

[0082] In the illustrated example, layer N+1 632 is associated with a larger image size than layer N 631. Thus, pictures 611, 612, 613, and 614 in layer N+1 632 have a larger picture size (e.g., larger height and width, and therefore more samples) than pictures 615, 616, 617, and 618 in layer N 631 in this example. However, such pictures may be separated between layer N+1 632 and layer N 631 by other characteristics. Although only two layers, layer N+1 632 and layer N 631, are illustrated, a set of pictures may be separated into any number of layers based on associated characteristics. Layer N+1 632 and layer N 631 may also be indicated by a layer Id. A layer Id is an item of data associated with a picture and indicates that the picture is part of the indicated layer. Thus, each picture 611-618 may be associated with a corresponding layer Id, thereby indicating which layer N+1 632 or layer N 631 contains the corresponding picture. For example, the layer Id may include a NAL unit header layer identifier (nuh_layer_id), which is a syntax element that specifies the identifier of the layer that contains the NAL unit (e.g., containing slices and / or parameters of a picture within a layer). A layer associated with a lower quality / bitstream size, such as layer N 631, is generally assigned a lower layer Id and is referred to as a lower layer. Furthermore, a layer associated with a higher quality / bitstream size, such as layer N+1 632, is generally assigned a higher layer Id and is referred to as an upper layer.

[0083] Pictures 611-618 in different layers 631-632 are configured to be displayed in alternative ways. As a specific example, a decoder may decode and display picture 615 at the current display time if a smaller picture is desired, or the decoder may decode and display picture 611 at the current display time if a larger picture is desired. Thus, pictures 611-614 in higher layer N+1 632 contain substantially the same image data as corresponding pictures 615-618 in lower layer N 631 (regardless of picture size differences). Specifically, picture 611 contains substantially the same image data as picture 615, picture 612 contains substantially the same image data as picture 616, and so on.

[0084] Pictures 611-618 may be coded with reference to other pictures 611-618 in the same layer N 631 or N+1 632. Coding a picture with reference to another picture in the same layer results in inter prediction 623. Inter prediction 623 is indicated by a solid arrow. For example, picture 613 may be coded by employing inter prediction 623 using one or two of pictures 611, 612, and / or 614 in layer N+1 632 as references, where one picture is referenced for unidirectional inter prediction and / or two pictures are referenced for bidirectional inter prediction. For example, picture 617 may be coded by employing inter prediction 623 using one or two of pictures 615, 616, and / or 618 in layer N 631 as references, where one picture is referenced for unidirectional inter prediction and / or two pictures are referenced for bidirectional inter prediction. When a picture is used as a reference for another picture in the same layer when performing inter prediction 623, the picture may be referred to as a reference picture. 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. Therefore, inter prediction 623 is a mechanism for coding samples of a current picture by referencing indicated samples in a reference picture different from the current picture when the reference picture and the current picture are in the same layer.

[0085] Pictures 611-618 may also be coded by referencing other pictures 611-618 in different layers. This process is known as inter-layer prediction 621 and is indicated by the dashed arrows. Inter-layer prediction 621 is a mechanism for coding samples of a current picture by referencing indicated samples in reference pictures where the current picture and the reference picture are in different layers and therefore have different layer IDs. For example, a picture in lower layer N 631 may be used as a reference picture for coding a corresponding picture in upper layer N+1 632. As a specific example, picture 611 may be coded by referencing picture 615 according to inter-layer prediction 621. In such a case, picture 615 is used as the 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 included in the same AU and are in a lower layer, such as picture 615. When multiple layers (e.g., more than two) are available, inter-layer prediction 621 can encode / decode the current picture based on multiple inter-layer reference pictures at a lower level than the current picture.

[0086] A video encoder may employ the multi-layer video sequence 600 to encode pictures 611-618 via many different combinations and / or permutations of inter-prediction 623 and inter-layer prediction 621. For example, picture 615 may be coded according to intra-prediction. Pictures 616-618 may then be coded according to inter-prediction 623 by using picture 615 as a reference picture. Furthermore, picture 611 may be coded according to inter-layer prediction 621 by using picture 615 as an inter-layer reference picture. Pictures 612-614 may then be coded according to inter-prediction 623 by using picture 611 as a reference picture. Hence, a reference picture may serve as both a single layer reference picture and an inter-layer reference picture for different coding mechanisms. By coding the upper layer N+1 632 picture based on the lower layer N 631 picture, the upper layer N+1 632 can avoid employing intra prediction, which has significantly lower coding efficiency than inter prediction 623 and inter-layer prediction 621. Hence, the coding inefficiency of intra prediction can be limited to the smallest / lowest quality pictures and, therefore, can be limited to coding a minimum amount of video data. Pictures used as reference pictures and / or inter-layer reference pictures may be indicated in entries of a reference picture list included in a reference picture list structure.

[0087] Note that layers, such as layer N+1 632 and layer N 631, may be included in an output layer set (OLS). An OLS is a set of one or more layers, with at least one layer being an output layer. For example, layer N 631 may be included in a first OLS, and layer N 631 and layer N−1 632 may both be included in a second OLS. This allows different OLSs to be sent to different decoders depending on decoder-side requirements. For example, a sub-bitstream extraction process can remove data unrelated to a target OLS from the multi-layer video sequence 600 before the target OLS is sent to the decoder. Therefore, an encoded copy of the multi-layer video sequence 600 can be stored in the encoder (or corresponding content server), and various OLSs can be extracted and sent to different decoders upon request.

[0088] Also, note that different layers, such as layer N+1 632 and layer N 631, may be associated with different memory requirements in the HRD and / or decoder. Specifically, decoded pictures in the DPB may be marked as used for long-term reference, used for short-term reference, or unused for reference. The reference picture marking process may be invoked each time a new picture is decoded (e.g., when a new picture becomes the current picture). Specifically, the reference picture marking process may be applied to each picture in the DPB each time the decoding process is applied to a new picture. Pictures marked as unused for reference are stored until the picture can be output or are immediately removed from the DPB if the picture is not scheduled for output. Thus, layers that are output layers, such as layer N+1 632 and / or layer N 631, use DPB space to hold reference pictures and hold pictures until such pictures can be output. However, layers such as layer N+1 632 and / or layer N 631 that are used only as reference layers for inter-layer prediction 621 (and are not output layers) only hold pictures used for reference. Layers that are not output layers do not need to hold pictures marked as unused for reference because pictures from non-output layers are never output. Therefore, output layers employ larger DPB space than layers that are used only for reference (e.g., non-output layers). For example, output layers may employ approximately twice the memory space in the DPB than reference layers that are not output layers.

[0089] 7 is a schematic diagram illustrating an example reference picture list (RPL) structure 700. The RPL structure 700 may be employed to store indications of reference pictures and / or inter-layer reference pictures used in inter-prediction 623 and / or inter-layer prediction 621 when coding a video sequence such as multi-layer video sequence 600. Thus, the RPL structure 700 may be employed by codec system 200, encoder 300, and / or decoder 400 when performing method 100. Furthermore, the RPL structure 700 may be employed by an HRD, such as HRD 500, when performing a conformance test on a bitstream including the encoded video sequence.

[0090] The RPL structure 700 is an addressable syntax structure that includes multiple reference picture lists, such as reference picture list 0 (RefPicList[0]) 711 and reference picture list 1 (RefPicList[1]) 712. The RPL structure 700 may be stored in a bitstream's sequence parameter set (SPS), picture parameter set (PPS), and / or slice header, depending on the example. The reference picture lists, such as RefPicList[0] 711 and RefPicList[1] 712, are lists of reference pictures used for inter-prediction and / or inter-layer prediction. RefPicList[0] 711 and RefPicList[1] 712 may each include multiple entries 715. The reference picture list structure entries 715 are addressable locations within the RPL structure 700 that indicate the reference pictures associated with a reference picture list, such as RefPicList[0] 711 and / or RefPicList[1] 712. Each entry 715 may include a picture order count (POC) value (or other pointer value) that references a picture used for inter prediction. Specifically, references to pictures used by unidirectional inter prediction are stored in RefPicList[0] 711, and references to pictures used by bidirectional inter prediction are stored in both RefPicList[0] 711 and RefPicList[1] 712. For example, unidirectional inter prediction may code blocks of the current picture by referencing blocks in one reference picture indicated by RefPicList[0] 711 and one reference picture indicated by RefPicList[0] 711 and RefPicList[1] 712. Note that slices coded according to unidirectional prediction are referred to as P slices, and slices coded according to bidirectional prediction are referred to as B slices.Therefore, RefPicList[0] 711 is a reference picture list (e.g., containing a list of corresponding reference pictures) used for inter-prediction of a unidirectionally predicted (P) slice, or the first of two reference picture lists used for inter-prediction of a bidirectionally predicted (B) slice. Furthermore, RefPicList[1] 712 is a second reference picture list (e.g., used in conjunction with RefPicList[0]) used for inter-prediction of a B slice.

[0091] In a specific example, the RPL structure 700 may be represented as ref_pic_list_struct(listIdx, rplsIdx), where listIdx 721 is an index that identifies a corresponding reference picture list, such as RefPicList[0] 711 and / or RefPicList[1] 712, and rplsIdx 725 is an index that indicates a reference entry 715 within the corresponding reference picture list. Thus, ref_pic_list_struct() is a syntax structure that returns the reference entry 715 based on listIdx 721 and rplsIdx 725. ref_pic_list_struct() may be defined as a syntax structure that includes RefPicList[0] and RefPicList[1]. An encoder may encode a portion of the RPL structure 700 for each non-intra-coded slice in a video sequence. A decoder may then resolve the corresponding portion of the RPL structure 700 before decoding each non-intra-coded slice in a coded video sequence. For example, portions of the RPL structure 700 that relate to many pictures in a sequence may be stored in the SPS, portions of the RPL structure 700 that apply to a small number of pictures may be stored in the PPS, and portions of the RPL structure 700 that apply to a particular slice may be stored in the slice header.

[0092] The set of reference pictures (setOfRefPics) 733 is a unique set of pictures referenced by all entries in RefPicList[0] 711 with the same nuh_layer_id as the current picture and all entries in RefPicList[1] 712 with the same nuh_layer_id as the current picture. RefPicList[0] 711 and RefPicList[1] 712 may be slice-specific. Thus, setOfRefPics 733 may contain a unique set of reference pictures for the current slice in the current picture, where the unique set of reference pictures is contained in the same layer as the current picture. In some systems, the number of reference pictures in setOfRefPics 733 may be constrained by a static value that is global for all layers. However, as pointed out above, the amount of DPB space used may vary depending on whether a layer is an output layer or not. Therefore, applying the same static maximum number of pictures to setOfRefPics 733 regardless of layer may result in inefficient memory allocation. For example, a static maximum value may overly restrict the number of pictures that may be present in setOfRefPics733 for output layers and / or may not be restrictive enough for reference layers (non-output layers). Examples of the present invention address this issue by constraining setOfRefPics733 based on the maximum decoded picture buffer size, which differs depending on whether a layer is a reference layer or an output layer. Therefore, setOfRefPics733 is instead constrained based on the amount of available memory space in the DPB for each layer, and not based on any static value. Thus, setOfRefPics733 may be dynamically constrained to different sizes depending on whether the corresponding layer is an output layer or a reference layer.

[0093] In some examples, an encoder may also signal the number of reference entries (num_ref_entries) 732 in the RPL structure 700. num_ref_entries 732 is a syntax element that indicates the number of reference entries in the RPL structure 700. num_ref_entries 732 may be expressed as num_ref_entries[listIdx][rplsIdx]. Similar to setOfRefPics 733, some video coding systems limit num_ref_entries 732 based on a static value that may be overly restrictive or overly permissive depending on whether the layer is an output layer or a reference layer only. This disclosure may also constrain num_ref_entries 732 based on the maximum decoded picture buffer size. Therefore, num_ref_entries 732 is instead constrained based on the amount of available memory space in the DPB for the corresponding layer, and not based on any static value that is global for all layers. Thus, num_ref_entries 732 may be dynamically limited to different sizes depending on whether the corresponding layer is an output layer or a reference layer.

[0094] 8 is a schematic diagram illustrating an example 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 encoded multi-layer video sequence 600, which may be coded by employing the RPL structure 700. In addition, 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 500 can check the bitstream 800 for conformance to the standard before transmitting it to the decoder for decoding.

[0095] The bitstream 800 includes a VPS 811, one or more SPSs 813, multiple picture parameter sets (PPSs) 815, multiple picture headers 816, multiple slice headers 817, and image data 820. 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. Parameters in the SPS 813 may include picture sizing, bit depth, coding tool parameters, bit rate limits, etc. Note that while each sequence references an SPS 813, in some examples, a single SPS 813 can include data for multiple sequences. The PPS 815 includes parameters that apply to the entire picture. Thus, each picture in a video sequence may reference a PPS 815. Note that while each sequence references a PPS 815, in some instances a single PPS 815 may contain data for multiple pictures. For example, multiple similar pictures may be coded according to similar parameters. In such cases, a single PPS 815 may contain data for such similar pictures. The PPS 815 may indicate available coding tools for the slices, quantization parameters, offsets, etc., in the corresponding picture.

[0096] A slice header 817 contains parameters specific to a corresponding slice 827 in a picture 825. Thus, there may be one slice header 817 for each slice 827 in a video sequence. The slice header 817 may include slice type information, a picture order count (POC), a reference picture list, prediction weights, tile entry points, deblocking parameters, or the like. Note that in some examples, the bitstream 800 may also include a picture header 816, which is a syntax structure that contains parameters that apply to all slices 827 in a single picture 825. For this reason, the picture header 816 and the slice header 817 may be used interchangeably in some contexts. For example, some parameters may be moved between the slice header 817 and the picture header 816 depending on whether such parameters apply to a particular slice 827 or are common to all slices 827 in the picture 825.

[0097] The image data 820 includes video data encoded according to inter-prediction, inter-layer prediction, and / or intra-prediction, as well as corresponding transformed and quantized residual data. For example, the image data 820 may include a layer 823, a picture 825, and / or a slice 827. A layer 823 is a set of VCL NAL units 841 and associated non-VCL NAL units 842 that share specified characteristics (e.g., a common resolution, frame rate, picture size, etc.) as indicated by a layer ID such as nuh_layer_id 835. For example, a layer 823 may include a set of pictures 825 that share the same nuh_layer_id 835 along with any parameter set used to decode the pictures 825 in the layer 823. For example, a layer 823 is substantially similar to layer N 631 and / or layer N+1 632, respectively, from FIG. 6.

[0098] nuh_layer_id 835 is a syntax element that specifies an identifier of a layer 823 that contains at least one NAL unit. For example, the lowest quality layer, known as the base layer, may include the lowest value of nuh_layer_id 835, with higher values ​​of nuh_layer_id 835 for higher quality layers. Thus, lower layers are layers 823 with lower values ​​of nuh_layer_id 835, and higher layers are layers 823 with higher values ​​of nuh_layer_id 835. Data for a layer 823 is correlated based on nuh_layer_id 835. For example, parameter sets and video data may be associated with a value of nuh_layer_id 835 that corresponds to the lowest layer 823 that contains such parameter sets / video data. Thus, a set of VCL NAL units 841 is part of a layer 823 when the set of VCL NAL units 841 all have a particular value of nuh_layer_id 835.

[0099] A picture 825 is an array of luma samples and / or chroma samples that make up a frame or a field thereof. For example, a picture 825 is a coded image that can be output for display or used to support coding of other pictures for output. A picture 825 includes one or more slices 827. A slice 827 may be defined as an integer number of complete tiles of a picture 825 or an integer number of contiguous complete coding tree unit (CTU) rows (e.g., within a tile) that are exclusively contained in a single NAL unit, such as a VCL NAL unit 841. A slice 827 is further divided into CTUs and / or coding tree blocks (CTBs). A CTU is a group of samples of a predefined size that can be partitioned by a coding tree. A CTB is a subset of a CTU and contains the luma or chroma component of the CTU. The CTUs / CTBs are further divided into coding blocks based on the coding tree. The coding blocks can then be encoded / decoded according to a prediction mechanism.

[0100] The bitstream 800 may be coded as a sequence of NAL units. NAL units are containers for video data and / or supporting syntax. The NAL units can be VCL NAL units 841 or non-VCL NAL units 842. A VCL NAL unit 841 is a NAL unit coded to contain video data, such as image data 820 and associated slice headers 817. As a specific example, each slice 827 and associated slice header 817 may be encoded into a single VCL NAL unit 841. A non-VCL NAL unit 842 is a NAL unit containing non-video data, such as syntax and / or parameters that support decoding video data, performing conformance checks, or other operations. For example, a non-VCL NAL unit 842 may include a VPS 811, an SPS 813, a PPS 815, a picture header 816, or other supporting syntax. Therefore, the bitstream 800 is a series of VCL NAL units 841 and non-VCL NAL units 842. Each NAL unit contains a nuh_layer_id 835, which allows an encoder or decoder to determine which layer 823 contains the corresponding NAL unit.

[0101] A bitstream 800 including multiple layers 823 may be encoded and stored until requested by a decoder. For example, a decoder may request a layer 823 including multiple layers 823, and / or an OLS. In a particular example, the layers 823 may include a base layer and one or more enhancement layers. The encoder and / or content server should send to the decoder only those layers 823 necessary to decode the requested output layers.

[0102] The bitstream may include a ref_pic_list_struct 831, which may be substantially similar to the RPL structure 700 of Figure 7. The ref_pic_list_struct 831 may include RefPicList[0] and RefPicList[1], which reference the setofRefPics used to code blocks in the slice 827 according to inter prediction and / or inter-layer prediction. The ref_pic_list_struct 831 may also include a num_ref_entries 832, which is substantially similar to the num_ref_entries 732 of Figure 7. Thus, the num_ref_entries 832 indicates the number of reference entries in the ref_pic_list_struct 831. The ref_pic_list_struct 831 may be stored in the SPS 813, the picture header 816, and / or the slice header 817, depending on the scope of the ref_pic_list_struct 831. For example, a ref_pic_list_struct 831 referencing reference pictures for the entire sequence is included in the SPS 813, a ref_pic_list_struct 831 referencing reference pictures for the entire picture 825 is included in the picture header 816, and a ref_pic_list_struct 831 referencing reference pictures for the slice 827 is included in the slice header 817.

[0103] The bitstream 800 may also include decoded picture buffer parameters (dpb_parameters) 837. dpb_parameters 837 is a syntax structure that provides information on the DPB size, maximum picture reordering, and maximum latency for one or more OLSs. Thus, dpb_parameters 837 specifies the functionality of the DPB during the decoding process. As a specific example, dpb_parameters 837 may include maximum decoded picture buffer-1 (max_dec_pic_buffering_minus1) 838, which is a syntax element that specifies the maximum required size of the DPB in units of picture storage buffer. dpb_parameters 837 may be stored in the VPS 811 and / or SPS 813, depending on the scope. For example, dpb_parameters 837 that apply to the entire video may be stored in the VPS 811, while dpb_parameters 837 that apply to a particular video sequence and / or a particular layer 823 may be stored in the SPS 813.

[0104] As noted above, ref_pic_list_struct 831, also denoted as ref_pic_list_struct(listIdx, rplsIdx), may be employed to track references between pictures, thereby supporting the reconstruction of inter-predicted pictures. In some video coding systems, ref_pic_list_struct 831 includes the maximum number of reference entries that can be employed for the current picture. Specifically, in some video coding systems, the maximum number of reference entries for the current picture is a statically defined value that is global to all layers. This results in limiting num_ref_entries 832, also denoted as num_ref_entries[listIdx][rplsIdx], based on a statically defined value regardless of layer. This also results in limiting setOfRefPics 733 in FIG. 7, which is referenced by ref_pic_list_struct 831, based on a statically defined value regardless of layer. The problem with this approach is that reference layers use a different amount of space in the decoded picture buffer than output layers. For example, a reference layer uses space for picture reconstruction, and an output layer uses space for both picture reconstruction and storage pending output. Thus, a statically defined maximum number of reference entries selected to support a smaller amount of space used for the reference layer may be overly restrictive when applied to pictures in the output layer. Alternatively, a statically defined maximum number of reference entries selected for the output layer may provide more space than necessary to decode pictures in the reference layer, thus wasting memory resources.

[0105] To address the above-mentioned issues, the bitstream 800 constrains the ref_pic_list_struct 831 to support different picture buffer usage for different types of layers 823. For example, num_ref_entries 832, which indicates the number of reference entries in the ref_pic_list_struct 831 used for each picture, is constrained to maintain a range selected based on the maximum decoded picture buffer size. The maximum decoded picture buffer size differs depending on whether the layer is a reference layer or an output layer. Therefore, constraining num_ref_entries 832 based on the maximum decoded picture buffer size allows different numbers of reference pictures to be employed for output layers and reference layers. In a specific example, max_dec_pic_buffering_minus1 838 in dpb_parameters 837 specifies the maximum required size of the DPB for the corresponding layer. Thus, the encoder and / or HRD can derive the maximum decoded picture buffer size based on max_dec_pic_buffering_minus1 838 and constrain num_ref_entries 832 based on the maximum decoded picture buffer size. The decoder can also receive ref_pic_list_struct 831 with num_ref_entries 832 constrained based on the maximum decoded picture buffer size. Despite this example, num_ref_entries 832 is constrained based on the maximum decoded picture buffer size, which is layer-specific and not a statically defined value that is global for all layers. In a further example, setOfRefPics 733 of Figure 7 can be constrained in a similar manner. For example, the encoder and / or HRD can derive the maximum decoded picture buffer size based on max_dec_pic_buffering_minus1 838 and constrain setOfRefPics 733 based on the maximum decoded picture buffer size.The decoder can also receive ref_pic_list_struct 831 with setOfRefPics 733 that is constrained based on the maximum decoded picture buffer size. Despite this example, setOfRefPics 733 is constrained based on the maximum decoded picture buffer size, which is layer-specific and not a statically defined value that is global for all layers. Adopting such a constraint supports more efficient allocation of memory in the decoded picture buffer, and thus supports high coding efficiency, as more optimal memory usage encourages more efficient encoding. This results in improved encoder and decoder functionality. Furthermore, coding efficiency is increased, thereby reducing the use of processor, memory, and / or network signaling resources in both the encoder and decoder.

[0106] The aforementioned information will now be described in more detail below. Layered video coding is also referred to as scalable video coding or scalable video coding. Scalability in video coding can be supported by using multi-layer coding techniques. A multi-layer bitstream includes a base layer (BL) and one or more enhancement layers (EL). Examples of scalability include spatial scalability, quality / signal-to-noise ratio (SNR) scalability, multiview scalability, frame rate scalability, etc. When multi-layer coding techniques are used, a picture or a portion thereof can be coded without using a reference picture (intra prediction), coded by referencing a reference picture within the same layer (inter prediction), and / or coded by referencing a reference picture within another layer (inter-layer prediction). A reference picture used for inter-layer prediction of a current picture is referred to as an inter-layer reference picture (ILRP). FIG. 6 illustrates an example of multi-layer coding for spatial scalability where pictures in different layers have different resolutions.

[0107] Some video coding families provide support for scalability in profiles separated from profiles for single-layer coding. Scalable Video Coding (SVC) is a scalable extension of Advanced Video Coding (AVC) that provides support for spatial, temporal, and quality scalability. For SVC, a flag is signaled in each macroblock (MB) in an EL picture to indicate whether the EL MB is predicted using co-located blocks from lower layers. Prediction from co-located blocks may include texture, motion vectors, and / or coding modes. SVC implementations cannot directly reuse unmodified AVC implementations in their design. The SVC EL macroblock syntax and decoding process differ from the AVC syntax and decoding process.

[0108] Scalable HEVC (SHVC) is an extension of HEVC that provides support for spatial and quality scalability. Multiview HEVC (MV-HEVC) is an extension of HEVC that provides support for multiview scalability. 3D HEVC (3D-HEVC) is an extension of HEVC that provides support for 3D video coding that is more advanced and efficient than MV-HEVC. Temporal scalability can 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 come only from the same AU and are treated as long-term reference pictures (LTRPs). Such pictures are assigned reference indices in a reference picture list along with other temporal reference pictures in the current layer. Inter-layer prediction (ILP) is achieved at the prediction unit (PU) level by setting the value of a reference index to refer to an inter-layer reference picture in a reference picture list. Spatial scalability resamples a reference picture or part of it when the ILRP has a different spatial resolution than the current picture being encoded or decoded. Reference picture resampling can be achieved either at the picture level or at the coding block level.

[0109] VVC may also support layered video coding. A VVC bitstream can contain multiple layers. The layers may all be independent of each other. For example, each layer may be coded without using inter-layer prediction. In this case, the layers are also referred to as simulcast layers. In some cases, some of the layers are coded using ILP. A flag in the VPS can indicate whether a layer is a simulcast layer or whether some layers use ILP. When some layers use ILP, layer dependencies between layers are also signaled in the VPS. Unlike SHVC and MV-HEVC, VVC cannot specify an OLS. An OLS contains a specified set of layers, and one or more layers in the set of layers are designated to be output layers. An output layer is a layer of the OLS that is output. In some implementations of VVC, when a layer is a simulcast layer, only one layer may be selected for decoding and output. In some implementations of VVC, when any layer uses ILP, the entire bitstream, including all layers, is designated to be decoded. Additionally, certain of the layers are designated as output layers, which may be indicated as the top layer only, all layers, or the top layer plus a set of designated lower layers.

[0110] The aforementioned aspects involve several scalability-related issues. Scalability designs in such systems include layer-specific Profile, Tier, and Level (PTL) and even layer-specific Coded Picture Buffer (CPB) operations. PTL signaling efficiency should be improved. Signaling efficiency of sequence-level HRD parameters for sublayers should be improved. DPB parameter signaling should be improved. Some designs cause single-layer bitstreams to reference VPS. The value range of num_ref_entries[][] in such designs is invalid, causing unexpected errors for decoders. The decoding process in such designs involves sub-bitstream extraction, which increases the burden on decoder implementations. The general decoding process in such designs cannot work for scalable bitstreams containing multiple layers with inter-layer prediction. The derivation of the value of the variable NoOutputOfPriorPicsFlag in such designs is picture-based and cannot be AU-based in such designs. Scalable nesting SEI messages in such designs should be simplified to apply directly to the OLS rather than to a layer of OLS when nesting_ols_flag is equal to 1. Non-scalable nesting SEI messages may be specified to apply only to the 0th OLS when payloadType is equal to 0 (buffering duration), 1 (picture timing), or 130 (decoding unit information).

[0111] In general, this disclosure describes various approaches for scalability in video coding. The techniques described are based on VVC. However, these techniques also apply to layered video coding based on other video codec specifications. One or more of the above-mentioned problems may be solved as follows. Specifically, this disclosure includes methods for improved scalability support in video coding.

[0112] The following are various example definitions: OP may be a temporal subset of the OLS, identified by the OLS index and the highest value of TemporalId. Output layer may be a layer of the OLS that is output. The OLS may be a set of layers, and one or more layers in the set of layers are designated to be output layers. The OLS layer index may be an index of a layer in the OLS into the list of layers in the OLS. The sub-bitstream extraction process may be a designated process that removes from the bitstream 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, and the output sub-bitstream contains NAL units in the bitstream that belong to the target set.

[0113] An exemplary video parameter set RBSP syntax is as follows:

[0114] [Table 1A]

[0115] [Table 1B]

[0116] An exemplary sequence parameter set RBSP syntax is as follows:

[0117] [Table 2A]

[0118] [Table 2B]

[0119] An exemplary DPB parameter syntax is as follows:

[0120] [Table 3]

[0121] An exemplary general HRD parameter syntax is as follows:

[0122] [Table 4]

[0123] An exemplary OLD HRD parameter syntax is as follows:

[0124] [Table 5]

[0125] An exemplary sublayer HRD parameter syntax is as follows:

[0126] [Table 6]

[0127] Exemplary video parameter set RBSP semantics are as follows: vps_max_layers_minus1+1 specifies the maximum allowed number of layers in each CVS that references the VPS. vps_max_sub_layers_minus1+1 specifies the maximum number of temporal sub-layers that may be present in each CVS that references the VPS. The value of vps_max_sub_layers_minus1 may be in the range of 0 to 6. vps_all_layers_same_num_sub_layers_flag equal to 1 specifies that the number of temporal sub-layers is the same for all layers in each CVS that references the VPS. vps_all_layers_same_num_sub_layers_flag equal to 0 specifies that layers in each CVS that references the VPS may or may not have the same number of temporal sub-layers. When not present, the value of vps_all_layers_same_num_sub_layers_flag may be inferred to be equal to 1. vps_all_independent_layers_flag equal to 1 specifies that all layers in the CVS are coded independently, without using inter-layer prediction. vps_all_independent_layers_flag equal to 0 specifies that one or more of the layers in the CVS may use inter-layer prediction. When not present, the value of vps_all_independent_layers_flag may be inferred to be equal to 1. When vps_all_independent_layers_flag is equal to 1, the value of vps_independent_layer_flag[i] is inferred to be equal to 1. When vps_all_independent_layers_flag is equal to 0, the value of vps_independent_layer_flag[0] is inferred to be equal to 1.

[0128] vps_direct_dependency_flag[i][j] equal to 0 specifies that the layer with index j is not a direct reference layer for the layer with index i. vps_direct_dependency_flag[i][j] equal to 1 specifies that the layer with index j is a direct reference layer for the layer with index i. When vps_direct_dependency_flag[i][j] is not present for i and j in the range from 0 to vps_max_layers_minus1, the flag is inferred to be equal to 0. The variables DirectDependentLayerIdx[i][j], which specifies the jth directly dependent layer of the ith layer, and LayerUsedAsRefLayerFlag[j], which specifies whether the layer with layer index j is used as a reference layer by any other layer, may be derived as follows: for(i=0; i<=vps_max_layers_minus1; i++) LayerUsedAsRefLayerFlag[j]=0 for(i=1; i <vps_max_layers_minus1; i++) if(!vps_independent_layer_flag[i]) for(j=i-1, k=0; j>=0; j--) if(vps_direct_dependency_flag[i][j]) { DirectDependentLayerIdx[i][k++]=j LayerUsedAsRefLayerFlag[j]=1 }

[0129] The variable GeneralLayerIdx[i], which specifies the layer index of the layer whose nuh_layer_id is equal to vps_layer_id[i], may be derived as follows: for(i=0; i<=vps_max_layers_minus1; i++) GeneralLayerIdx[vps_layer_id[i]]=i

[0130] each_layer_is_an_ols_flag equal to 1 specifies that each output layer set contains only one layer, and each layer in the bitstream is itself an output layer set where the single contained layer is the only output layer. each_layer_is_an_ols_flag equal to 0 specifies that the output layer set may contain multiple layers. If vps_max_layers_minus1 is equal to 0, the value of each_layer_is_an_ols_flag is inferred to be equal to 1. Otherwise, when vps_all_independent_layers_flag is equal to 0, the value of each_layer_is_an_ols_flag is inferred to be equal to 0.

[0131] 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, the i-th OLS contains layers with layer indices from 0 to i, and for each OLS, only the top layer in the OLS is output. 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, the i-th OLS contains layers with layer indices from 0 to i, and for each OLS, all layers in the OLS are output. ols_mode_idc equal to 2 specifies that the total number of OLSs specified by the VPS is explicitly signaled, and for each OLS, an explicitly signaled set of the top and bottom layers in the OLS are output. The value of ols_mode_idc can be in the range from 0 to 2. When vps_all_independent_layers_flag is equal to 1 and each_layer_is_an_ols_flag is equal to 0, the value of ols_mode_idc is inferred to be equal to 2. num_output_layer_sets_minus1+1 specifies the total number of OLSs specified by the VPS when ols_mode_idc is equal to 2.

[0132] The variable TotalNumOlss, which specifies the total number of OLSs specified by the VPS, can be derived as follows: if(vps_max_layers_minus1==0) TotalNumOlss=1 else if(each_layer_is_an_ols_flag || ols_mode_idc==0 || ols_mode_idc==1) TotalNumOlss=vps_max_layers_minus1+1 else if(ols_mode_idc==2) TotalNumOlss=num_output_layer_sets_minus1+1

[0133] layer_included_flag[i][j] specifies that the jth layer (e.g., the layer with nuh_layer_id equal to vps_layer_id[j]) is included in the ith OLS when ols_mode_idc is equal to 2. layer_included_flag[i][j] equal to 1 specifies that the jth layer is included in the ith OLS. layer_included_flag[i][j] equal to 0 specifies that the jth layer is not included in the ith OLS. The variables NumLayersInOls[i], which specifies the number of layers in the ith OLS, and LayerIdInOls[i][j], which specifies the nuh_layer_id value of the jth layer in the ith OLS, may be derived as follows: NumLayersInOls[0]=1 LayerIdInOls[0][0]=vps_layer_id[0] for(i=1, i <TotalNumOlss; i++) { if(each_layer_is_an_ols_flag) { NumLayersInOls[i]=1 LayerIdInOls[i][0]=vps_layer_id[i] } else if(ols_mode_idc==0 | | ols_mode_idc==1) { NumLayersInOls[i]=i+1 for(j=0; j <NumLayersInOls[i]; j++) LayerIdInOls[i][j]=vps_layer_id[j] } else if(ols_mode_idc==2) { for(k=0, j=0; k<=vps_max_layers_minus1; k++) if(layer_included_flag[i][k]) LayerIdInOls[i][j++]=vps_layer_id[k] NumLayersInOls[i]=j } }

[0134] The variable OlsLayeIdx[i][j], which specifies the OLS layer index of the layer whose nuh_layer_id is equal to LayerIdInOls[i][j], may be derived as follows: for(i=0, i <TotalNumOlss; i++) for j=0; j <NumLayersInOls[i]; j++) OlsLayeIdx[i][LayerIdInOls[i][j]]=j

[0135] The bottom layer in each OLS shall be an independent layer. In other words, for each i in the range 0 to TotalNumOlss-1, the value of vps_independent_layer_flag[GeneralLayerIdx[LayerIdInOls[i][0]]] shall be equal to 1. Each layer shall be included in at least one OLS specified by the VPS. In other words, for each layer with a particular value of nuh_layer_id nuhLayerId equal to one of vps_layer_id[k] for k in the range 0 to vps_max_layers_minus1, there shall be at least one pair of values ​​of i and j, where i is in the range 0 to TotalNumOlss-1, j is in the range NumLayersInOls[i]-1, and the value of LayerIdInOls[i][j] is equal to nuhLayerId. Any layer in the OLS may be an output layer of the OLS or a reference layer (direct or indirect) of an output layer of the OLS.

[0136] vps_output_layer_flag[i][j] specifies whether the jth layer in the i-th OLS is output when ols_mode_idc is equal to 2. vps_output_layer_flag[i] equal to 1 specifies that the jth layer in the i-th OLS is output. vps_output_layer_flag[i] equal to 0 specifies that the jth layer in the i-th OLS is not output. When vps_all_independent_layers_flag is equal to 1 and each_layer_is_an_ols_flag is equal to 0, the value of vps_output_layer_flag[i] is inferred to be equal to 1. The variable OutputLayerFlag[i][j], where a value of 1 specifies that the jth layer in the i-th OLS is output and a value of 0 specifies that the jth layer in the i-th OLS is not output, can be derived as follows: for(i=0, i <TotalNumOlss; i++) { OutputLayerFlag[i][NumLayersInOls[i]-1]=1 for(j=0; j <NumLayersInOls[i]-1; j++) if(ols_mode_idc[i]==0) OutputLayerFlag[i][j]=0 else if(ols_mode_idc[i]==1) OutputLayerFlag[i][j]=1 else if(ols_mode_idc[i]==2) OutputLayerFlag[i][j]=vps_output_layer_flag[i][j] }

[0137] Note that the 0th OLS includes only the lowest layer (e.g., the layer with nuh_layer_id equal to vps_layer_id[0]), and for the 0th OLS, only the included layers are output. vps_num_ptls specifies the number of profile_tier_level() syntax structures in the VPS. pt_present_flag[i] equal to 1 specifies that profile, tier, and general constraint information is present in the i-th profile_tier_level() syntax structure in the VPS. pt_present_flag[i] equal to 0 specifies that profile, tier, and general constraint information is not present in the i-th profile_tier_level() syntax structure in the VPS. The value of pt_present_flag[0] is inferred to be equal to 0. When pt_present_flag[i] is equal to 0, the profile, tier, and general constraint information for the i-th profile_tier_level() syntax structure in the VPS is inferred to be identical to that of the (i-1)-th profile_tier_level() syntax structure in the VPS.

[0138] ptl_max_temporal_id[i] specifies the TemporalId of the highest sublayer representation whose level information is present in the i-th profile_tier_level() syntax structure in the VPS. The value of ptl_max_temporal_id[i] shall be in the range from 0 to vps_max_sub_layers_minus1. When vps_max_sub_layers_minus1 is equal to 0, the value of ptl_max_temporal_id[i] is inferred to be equal to 0. When vps_max_sub_layers_minus1 is greater than 0 and vps_all_layers_same_num_sub_layers_flag is equal to 1, the value of ptl_max_temporal_id[i] is inferred to be equal to vps_max_sub_layers_minus1. vps_ptl_byte_alignment_zero_bit shall be equal to 0.

[0139] ols_ptl_idx[i] specifies an index into the list of profile_tier_level() syntax structures in the VPS for the profile_tier_level() syntax structure that applies to the i-th OLS. When present, the value of ols_ptl_idx[i] should be in the range from 0 to vps_num_ptls-1. When NumLayersInOls[i] is equal to 1, the profile_tier_level() syntax structure that applies to the i-th OLS is present in the SPS referenced by the layer in the i-th OLS. vps_num_dpb_params specifies the number of dpb_parameters() syntax structures in the VPS. The value of vps_num_dpb_params shall be in the range from 0 to 16. When not present, the value of vps_num_dpb_params can be inferred to be equal to 0. same_dpb_size_output_or_nonoutput_flag equal to 1 specifies that the layer_nonoutput_dpb_params_idx[i] syntax element is not present in the VPS. same_dpb_size_output_or_nonoutput_flag equal to 0 specifies that the layer_nonoutput_dpb_params_idx[i] syntax element may or may not be present in the VPS. vps_sub_layer_dpb_params_present_flag is used to control the presence of the max_dec_pic_buffering_minus1[ ], max_num_reorder_pics[ ], and max_latency_increase_plus1[ ] syntax elements in the dpb_parameters() syntax structure in the VPS. When not present, vps_sub_dpb_params_info_present_flag is inferred to be equal to 0.

[0140] dpb_size_only_flag[i] equal to 1 specifies that the max_num_reorder_pics[ ] and max_latency_increase_plus1[ ] syntax elements are not present in that VPS of the i-th dpb_parameters() syntax structure. dpb_size_only_flag[i] equal to 1 specifies that the max_num_reorder_pics[ ] and max_latency_increase_plus1[ ] syntax elements may be present in that VPS of the i-th dpb_parameters() syntax structure. dpb_max_temporal_id[i] specifies the TemporalId of the highest sublayer representation for which DPB parameters may be present in the i-th dpb_parameters() syntax structure within a VPS. The value of dpb_max_temporal_id[i] shall be in the range from 0 to vps_max_sub_layers_minus1. When vps_max_sub_layers_minus1 is equal to 0, the value of dpb_max_temporal_id[i] may be inferred to be equal to 0. When vps_max_sub_layers_minus1 is greater than 0 and vps_all_layers_same_num_sub_layers_flag is equal to 1, the value of dpb_max_temporal_id[i] is inferred to be equal to vps_max_sub_layers_minus1. layer_output_dpb_params_idx[i] specifies the index into the list of dpb_parameters() syntax structures in the VPS of the dpb_parameters() syntax structure that applies to the i-th layer when it is an output layer in OLS. When present, the value of layer_output_dpb_params_idx[i] shall be in the range from 0 to vps_num_dpb_params-1.

[0141] If vps_independent_layer_flag[i] is equal to 1, the dpb_parameters() syntax structure that applies to the ith layer, when it is an output layer, is the dpb_parameters() syntax structure that exists in the SPS referenced by the layer. Otherwise (vps_independent_layer_flag[i] is equal to 1), the following applies: When vps_num_dpb_params is equal to 1, the value of layer_output_dpb_params_idx[i] is inferred to be equal to 0. A bitstream conformance requirement may be that the value of layer_output_dpb_params_idx[i] is such that dpb_size_only_flag[layer_output_dpb_params_idx[i]] is equal to 0.

[0142] layer_nonoutput_dpb_params_idx[i] specifies an index into the list of dpb_parameters() syntax structures in the VPS for the dpb_parameters() syntax structure that applies to the ith layer when the ith layer is a non-output layer in OLS. When present, the value of layer_nonoutput_dpb_params_idx[i] should be in the range from 0 to vps_num_dpb_params-1. If same_dpb_size_output_or_nonoutput_flag is equal to 1, the following applies: If vps_independent_layer_flag[i] is equal to 1, when the ith layer is a non-output layer, the dpb_parameters() syntax structure that applies to the ith layer is the dpb_parameters() syntax structure that exists in the SPS referenced by the layer. Otherwise (when vps_independent_layer_flag[i] is equal to 1), the value of layer_nonoutput_dpb_params_idx[i] is inferred to be equal to layer_output_dpb_params_idx[i]. Otherwise (when same_dpb_size_output_or_nonoutput_flag is equal to 0), when vps_num_dpb_params is equal to 1, the value of layer_output_dpb_params_idx[i] is inferred to be equal to 0.

[0143] general_hrd_params_present_flag equal to 1 specifies that the syntax elements num_units_in_tick and time_scale and the syntax structure general_hrd_parameters() are present in the SPS RBSP syntax structure. general_hrd_params_present_flag equal to 0 specifies that the syntax elements num_units_in_tick and time_scale and the syntax structure general_hrd_parameters() are not present in the SPS RBSP syntax structure. num_units_in_tick is the number of time units of a clock running at a frequency time_scale hertz (Hz) that corresponds to one increment (called a clock tick) of the clock tick counter. num_units_in_tick shall be greater than 0. A clock tick is in seconds and is equal to the quotient of num_units_in_tick divided by time_scale. For example, when the picture rate of a video signal is 25 Hz, time_scale may be equal to 27,000,000, and num_units_in_tick may be equal to 1,080,000, so that a clock tick is equal to 0.04 seconds. time_scale is the number of time units that pass in one second. For example, a time coordinate system that measures time using a 27 MHz clock has a time_scale of 27,000,000. The value of time_scale shall be greater than 0.

[0144] vps_extension_flag equal to 0 specifies that the vps_extension_data_flag syntax element is not present in the VPS RBSP syntax structure. 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 may not affect decoder conformance to the profile. Conforming decoders may ignore all vps_extension_data_flag syntax elements.

[0145] Exemplary sequence parameter set RBSP semantics are as follows: An SPS RBSP shall be included in at least one access unit with TemporalId equal to 0 or provided through external means and be available to the decoding process before being referenced, and an SPS NAL unit containing an SPS RBSP shall have nuh_layer_id equal to the lowest nuh_layer_id value of the PPS NAL units that reference the SPS NAL unit. All SPS NAL units with a particular value of sps_seq_parameter_set_id within a CVS shall have the same content. When sps_decoding_parameter_set_id is greater than 0, it specifies the value of dps_decoding_parameter_set_id for the DPS referenced by the SPS. When sps_decoding_parameter_set_id is equal to 0, the SPS does not reference a DPS, and the DPS is not referenced when decoding each CVS that references the SPS. The value of sps_decoding_parameter_set_id shall be the same in all SPSs referenced by coded pictures in the bitstream.

[0146] When sps_video_parameter_set_id is greater than 0, it specifies the value of vps_video_parameter_set_id for the VPS referenced by the SPS. When sps_video_parameter_set_id is equal to 0, the SPS may not reference a VPS, and when decoding each CLVS that references the SPS, the VPS is not referenced, the value of GeneralLayerIdx[nuh_layer_id] should be inferred to be equal to 0, and the value of vps_independent_layer_flag[GeneralLayerIdx[nuh_layer_id]] may be inferred to be equal to 1. When vps_independent_layer_flag[GeneralLayerIdx[nuh_layer_id]] is equal to 1, the SPS referenced by a CLVS with a particular nuh_layer_id value nuhLayerId shall have nuh_layer_id equal to nuhLayerId.

[0147] sps_max_sub_layers_minus1+1 specifies the maximum number of temporal sub-layers that may be present in each CLVS that references an SPS. The value of sps_max_sub_layers_minus1 should be in the range from 0 to vps_max_sub_layers_minus1. sps_reserved_zero_4bits should be equal to 0 in conforming bitstreams. Other values ​​for sps_reserved_zero_4bits may be reserved.

[0148] sps_ptl_dpb_present_flag equal to 1 specifies that the profile_tier_level() and dpb_parameters() syntax structures are present in the SPS. sps_ptl_dpb_present_flag equal to 0 specifies that neither the profile_tier_level() nor the dpb_parameters() syntax structures are present in the SPS. The value of sps_ptl_dpb_present_flag shall be equal to vps_independent_layer_flag[nuh_layer_id]. If vps_independent_layer_flag[GeneralLayerIdx[nuh_layer_id]] is equal to 1, the variable MaxDecPicBuffMinus1 is set equal to max_dec_pic_buffering_minus1[sps_max_sub_layers_minus1] in the dpb_parameters() syntax structure in the SPS. Otherwise, MaxDecPicBuffMinus1 is set equal to max_dec_pic_buffering_minus1[sps_max_sub_layers_minus1] of the layer_nonoutput_dpb_params_idx[GeneralLayerIdx[nuh_layer_id]]th dpb_parameters() syntax structure in the VPS. gdr_enabled_flag equal to 1 specifies that GDR pictures may be present in the CLVS that references the SPS. gdr_enabled_flag equal to 0 specifies that GDR pictures are not present in the CLVS that references the SPS.

[0149] sps_sub_layer_dpb_params_flag is used to control the presence of the max_dec_pic_buffering_minus1[i], max_num_reorder_pics[i], and max_latency_increase_plus1[i] syntax elements in the dpb_parameters() syntax in the SPS. When not present, sps_sub_dpb_params_info_present_flag is inferred to be equal to 0. long_term_ref_pics_flag equal to 0 specifies that LTRP is not used for inter prediction of any coded pictures in the CLVS. long_term_ref_pics_flag equal to 1 specifies that LTRP may be used for inter prediction of one or more coded pictures in the CLVS.

[0150] Exemplary general profile, tier, and level semantics are as follows: The profile_tier_level() syntax structure provides level information, and optionally profile, tier, subprofile, and general constraint information (denoted as PT information). When the profile_tier_level() syntax structure is included in a DPS, OlsInScope is an OLS that includes all layers in the entire bitstream that references the DPS. When the profile_tier_level() syntax structure is included in a VPS, OlsInScope is one or more OLSs specified by the VPS. When the profile_tier_level() syntax structure is included in an SPS, OlsInScope is an OLS that includes only the lowest layer of the layers that reference the SPS, which should be independent layers.

[0151] general_profile_idc indicates the profile to which OlsInScope conforms. general_tier_flag specifies the tier context for the interpretation of general_level_idc. num_sub_profiles specifies the number of general_sub_profile_idc[i] syntax elements. general_sub_profile_idc[i] indicates the ith interoperability metadata being registered. general_level_idc indicates the level to which OlsInScope conforms. Note that higher values ​​of general_level_idc indicate higher levels. The maximum level signaled in a DPS for OlsInScope may be higher than the level signaled in an SPS for a CVS contained within the OlsInScope. Note also that when OlsInScope conforms to multiple profiles, general_profile_idc should indicate the profile that provides the preferred decoded result or preferred bitstream identification, as determined by the encoder. Please also note that when the profile_tier_level() syntax structure is included in the DPS and the CVS of OlsInScope conforms to different profiles, the general_profile_idc and level_idc should indicate the profile and level to the decoder that can decode the OlsInScope.

[0152] sub_layer_level_present_flag[i] equal to 1 specifies that the level information is present in the profile_tier_level() syntax structure for the sub-layer representation with TemporalId equal to i. sub_layer_level_present_flag[i] equal to 0 specifies that the level information is not present in the profile_tier_level() syntax structure for the sub-layer representation with TemporalId equal to i. ptl_alignment_zero_bits shall be equal to 0. The semantics of the syntax element sub_layer_level_idc[i], apart from specifying the inference of absent values, are the same as the syntax element general_level_idc, but it applies to sub-layer representations with TemporalId equal to i.

[0153] Exemplary DPB parameter semantics are as follows: The dpb_parameters(maxSubLayersMinus1, subLayerInfoFlag) syntax structure provides information on the DPB size, the maximum number of picture reordering, and the maximum latency for each CVS in the CVS. When the dpb_parameters() syntax structure is included in a VPS, the OLS to which the dpb_parameters() syntax structure applies is specified by the VPS. When the dpb_parameters() syntax structure is included in an SPS, the dpb_parameters() syntax structure applies to OLSs that include only layers that are the lowest layer among the layers that reference the SPS, which shall be independent layers.

[0154] max_dec_pic_buffering_minus1[i]+1 specifies, for each CLVS in the CVS, the maximum required size of the decoded picture buffer in units of the picture storage buffer when Htid is equal to i. The value of max_dec_pic_buffering_minus1[i] should be in the range from 0 to MaxDpbSize-1. When i is greater than 0, max_dec_pic_buffering_minus1[i] should be greater than or equal to max_dec_pic_buffering_minus1[i-1]. When max_dec_pic_buffering_minus1[i] is not present for i in the range from 0 to maxSubLayersMinus1-1 due to subLayerInfoFlag equal to 0, max_dec_pic_buffering_minus1[i] is inferred to be equal to max_dec_pic_buffering_minus1[maxSubLayersMinus1].

[0155] max_num_reorder_pics[i] specifies, for each CLVS in the CVS, the maximum allowable number of CLVS pictures that can precede any picture in the CLVS in decoding order and follow it in output order when Htid is equal to i. The value of max_num_reorder_pics[i] should be in the range from 0 to max_dec_pic_buffering_minus1[i]. When i is greater than 0, max_num_reorder_pics[i] should be greater than or equal to max_num_reorder_pics[i-1]. When max_num_reorder_pics[i] is not present for i in the range from 0 to maxSubLayersMinus1-1 due to subLayerInfoFlag equal to 0, max_num_reorder_pics[i] is inferred to be equal to max_num_reorder_pics[maxSubLayersMinus1].

[0156] A max_latency_increase_plus1[i] not equal to 0 is used to calculate the value of MaxLatencyPictures[i], which specifies, for each CLVS in a CVS, the maximum number of pictures in the CLVS that can precede any picture in the CLVS in output order and follow it in decoding order when Htid is equal to i. When max_latency_increase_plus1[i] is not equal to 0, the value of MaxLatencyPictures[i] may be specified as follows: MaxLatencyPictures[i]=max_num_reorder_pics[i]+max_latency_increase_plus1[i]-1 When max_latency_increase_plus1[i] is equal to 0, the corresponding limit is not expressed.

[0157] The value of max_latency_increase_plus1[i] shall be in the range of 0 to 2-2. When max_latency_increase_plus1[i] is not present for i in the range of 0 to maxSubLayersMinus1-1 due to subLayerInfoFlag equal to 0, max_latency_increase_plus1[i] is inferred to be equal to max_latency_increase_plus1[maxSubLayersMinus1].

[0158] Exemplary general HDR parameter semantics are as follows: The general_hrd_parameters() syntax structure specifies the HRD parameters used in HRD operations. num_ols_hrd_params_minus1+1 specifies the number of ols_hrd_parameters() syntax structures present in the general_hrd_parameters() syntax structure. The value of num_ols_hrd_params_minus1 should be in the range of 0 to 63. When TotalNumOlss is greater than 1, the value of num_ols_hrd_params_minus1 is inferred to be equal to 0. hrd_cpb_cnt_minus1+1 specifies the number of alternative CPB specifications in the CVS bitstream. The value of hrd_cpb_cnt_minus1 should be in the range of 0 to 31. 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] should be in the range from 0 to vps_max_sub_layers_minus1. When vps_max_sub_layers_minus1 is equal to 0, the value of hrd_max_temporal_id[i] is inferred to be equal to 0. ols_hrd_idx[i] specifies the index of the ols_hrd_parameters() syntax structure that applies to the i-th OLS. The value of ols_hrd_idx[[i] should be in the range from 0 to num_ols_hrd_params_minus1. When not present, the value of ols_hrd_idx[[i] is inferred to be equal to 0.

[0159] Exemplary reference picture list structure semantics are as follows: The ref_pic_list_struct(listIdx, rplsIdx) syntax structure may be present in an SPS or in a slice header. Depending on whether the syntax structure is included in a slice header or an SPS, the following applies: When present in a slice header, the ref_pic_list_struct(listIdx, rplsIdx) syntax structure specifies the reference picture list listIdx of the current picture (the picture that contains the slice). Otherwise (if present in the SPS), the ref_pic_list_struct(listIdx, rplsIdx) syntax structure specifies candidates for the reference picture list listIdx, and the term current picture in the semantics specified in the remainder of this section refers to each picture in the CVS that has one or more slices with ref_pic_list_idx[listIdx] equal to an index into the list of ref_pic_list_struct(listIdx, rplsIdx) syntax structures contained in the SPS and that references the SPS. num_ref_entries[listIdx][rplsIdx] specifies the number of entries in the ref_pic_list_struct(listIdx, rplsIdx) syntax structure. The value of num_ref_entries[listIdx][rplsIdx] should be in the range from 0 to MaxDecPicBuffMinus1+14.

[0160] An exemplary general decoding process is as follows: The input to this process is a bitstream BitstreamToDecode. The output of this process is a list of decoded pictures. The decoding process is specified such that all decoders that conform to a specified profile and level will produce numerically identical cropped decoded output pictures when they invoke the decoding process associated with that profile on a bitstream that conforms to that profile and level. Any decoding process that produces cropped decoded output pictures identical to those produced by the process described herein (in the correct output order or output timing, as specified) conforms to the decoding process requirements.

[0161] For each IRAP AU in the bitstream, the following applies: If the AU is the first AU in decoding order in the bitstream, or the respective picture is an Instantaneous Decoding Refresh (IDR) picture, or the respective picture is the first picture of the layer following the end of the sequence NAL unit in decoding order, then the variable NoIncorrectPicOutputFlag is set equal to 1. Otherwise, if the variable HandleCraAsCvsStartFlag is set to a value for the AU, then HandleCraAsCvsStartFlag is set equal to the value provided by the external mechanism and NoIncorrectPicOutputFlag is set equal to HandleCraAsCvsStartFlag. Otherwise, HandleCraAsCvsStartFlag and NoIncorrectPicOutputFlag are both set equal to 0.

[0162] For each Gradual Decoding Refresh (GDR) AU in the bitstream, the following applies: The variable NoIncorrectPicOutputFlag is set equal to 1 if the AU is the first AU in decoding order in the bitstream, or if the respective picture is the first picture of the layer following the end of the sequence NAL unit in decoding order. Otherwise, if some external mechanism is available to set the variable HandleGdrAsCvsStartFlag to a value for the AU, HandleGdrAsCvsStartFlag is set equal to the value provided by the external mechanism, and NoIncorrectPicOutputFlag is set equal to HandleGdrAsCvsStartFlag. Otherwise, HandleGdrAsCvsStartFlag and NoIncorrectPicOutputFlag are both set equal to 0. For both IRAP and GDR pictures, the above operations are used to identify the CVS in the bitstream. Decoding is repeatedly called for each coded picture in BitstreamToDecode in decoding order.

[0163] An exemplary decoding process for reference picture list construction is as follows: This process is invoked at the beginning of the decoding process for each slice of a non-IDR picture. Reference pictures are addressed through a reference index. The reference index is an index into the reference picture list. When decoding an I slice, the reference picture list is not used in decoding the slice data. When decoding a P slice, only reference picture list 0 (e.g., RefPicList[0]) is used in decoding the slice data. When decoding a B slice, reference picture list 0 and reference picture list 1 (e.g., RefPicList[1]) are used in decoding the slice data.

[0164] The following constraints apply to bitstream conformance: For each i equal to 0 or 1, num_ref_entries[i][RplsIdx[i]] should not be less than NumRefIdxActive[i]. The picture referenced by each active entry in RefPicList[0] or RefPicList[1] should be present in the DPB and should have a TemporalId less than or equal to the TemporalId of the current picture. The picture referenced by each entry in RefPicList[0] or RefPicList[1] should not be the current picture and should have a non_reference_picture_flag equal to 0. A short-term reference picture (STRP) entry in RefPicList[0] or RefPicList[1] of a slice of a picture and a long-term reference picture (LTRP) entry in RefPicList[0] or RefPicList[1] of the same slice or a different slice of the same picture should not reference the same picture. There should be no LTRP entries in RefPicList[0] or RefPicList[1] where the difference between the PicOrderCntVal of the current picture and the PicOrderCntVal of the picture referenced by that entry is 224 or more.

[0165] Let setOfRefPics be the set of unique pictures referenced by all entries in RefPicList[0] with the same nuh_layer_id as the current picture and all entries in RefPicList[1] with the same nuh_layer_id as the current picture. The number of pictures in setOfRefPics should be less than or equal to MaxDecPicBuffMinus1, and setOfRefPics should be the same for all slices of a picture. When the current picture is a Progressive Temporal Sub-Layer Access (STSA) picture, there should be no active entry in RefPicList[0] or RefPicList[1] with TemporalId equal to the TemporalId of the current picture. When the current picture is the picture that follows, in decoding order, an STSA picture with a TemporalId equal to the TemporalId of the current picture, there shall be no picture with a TemporalId equal to the TemporalId of the current picture included as an active entry in RefPicList[0] or RefPicList[1] that precedes the STSA picture in decoding order.

[0166] The picture referenced by each Inter-Layer Reference Picture (ILRP) entry in RefPicList[0] or RefPicList[1] of a slice of the current picture shall be in the same access unit as the current picture. The picture referenced by each ILRP entry in RefPicList[0] or RefPicList[1] of a slice of the current picture shall be present in the DPB and shall have a nuh_layer_id smaller than the nuh_layer_id of the current picture. Each ILRP entry in RefPicList[0] or RefPicList[1] of a slice shall be the active entry.

[0167] An example HRD specification is as follows: The HRD is used to check the conformance of the bitstream and decoder. A set of bitstream conformance tests is used to check the conformance of the entire bitstream, referred to as the entire bitstream, denoted as entireBitstream. A set of bitstream conformance tests is for testing the conformance of each OP of each OLS specified by the VPS.

[0168] _max_sub_layers_minus1。 For each test, the following ordered steps are applied in the order listed, followed by the process described after these steps in this section: An operation point to be tested, denoted targetOp, is selected by selecting the target OLS with OLS index opOlsIdx and highest TemporalId value opTid. The value of opOlsIdx is in the range from 0 to TotalNumOlss-1. The value of opTid is in the range from 0 to vps_max_sub_layers_minus1. For each selected pair of values ​​of opOlsIdx and opTid, it shall be such that the sub-bitstream output by invoking the sub-bitstream extraction process with entireBitstream, opOlsIdx, and opTid as inputs satisfies the following condition: There is at least one VCL NAL unit with a nuh_layer_id value equal to the nuh_layer_id of LayerIdInOls[opOlsIdx] in BitstreamToDecode. There is at least one VCL NAL unit in BitstreamToDecode whose TemporalId is equal to opTid.

[0169] If the layers in targetOp include all layers in the entireBitstream and opTid is greater than or equal to the highest TemporalId value among all NAL units in the entireBitstream, then BitstreamToDecode is set to be identical to the entireBitstream. Otherwise, BitstreamToDecode is set to be the output by invoking a sub-bitstream extraction process with entireBitstream, opOlsIdx, and opTid as input. 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. The access unit in BitstreamToDecode associated with the buffering period SEI message applicable to TargetOlsIdx (present in TargetLayerBitstream or available through an external mechanism) is selected as the HRD initialization point and is referred to as access unit 0 for each layer of the target OLS.

[0170] The subsequent steps are applied to each layer with OLS layer index TargetOlsLayerIdx in the target OLS. The ols_hrd_parameters() syntax structure and sub_layer_hrd_parameters() syntax structure applicable to BitstreamToDecode are selected as follows: The ols_hrd_idx[TargetOlsIdx]th ols_hrd_parameters() syntax structure in the VPS (or provided through an external mechanism) is selected. Within the selected ols_hrd_parameters() syntax structure, if BitstreamToDecode is a Type I bitstream, the sub_layer_hrd_parameters(Htid) syntax structure that immediately follows 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 comes immediately after either the condition if(general_vcl_hrd_params_present_flag) (in this case, the variable NalHrdModeFlag is set equal to 0) or the condition if(general_nal_hrd_params_present_flag) (in this case, the variable NalHrdModeFlag is set equal to 1) is selected. When BitstreamToDecode is a Type II bitstream and NalHrdModeFlag is equal to 0, all non-VCL NAL units except filler data NAL units, as well as all leading_zero_8bits, zero_byte, start_code_prefix_one_3bytes, and trailing_zero_8bits syntax elements that form the byte stream from the NAL unit stream, when present, are discarded from BitstreamToDecode, and the remaining bitstream is assigned to BitstreamToDecode.

[0171] When 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.

[0172] For each access unit in BitstreamToDecode starting from access unit 0, a buffering period SEI message (present in BitstreamToDecode or available through an external mechanism) associated with the access unit and applied to TargetOlsIdx is selected, a picture timing period SEI message (present in BitstreamToDecode or available through an external mechanism) associated with the access unit and applied to TargetOlsIdx is selected, and when 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 BitstreamToDecode or available through an external mechanism) associated with a decoding unit in the access unit and applied to TargetOlsIdx is selected.

[0173] Each conformance test includes a combination of one option in each of the steps above. When there are multiple options for a step, only one option is selected for any particular conformance test. All possible combinations of all steps constitute the complete set of conformance tests. For each operation point being tested, the number of bitstream conformance tests to be performed is equal to n0 * n1 * n2 * n3, where the values ​​of n0, n1, n2, and n3 are specified as follows: n1 is equal to hrd_cpb_cnt_minus1 + 1. n1 is the number of access units in BitstreamToDecode associated with the buffering period SEI message. n2 is derived as follows: If BitstreamToDecode is a Type I bitstream, then n0 is equal to 1. Otherwise (BitstreamToDecode is a Type II bitstream), then n0 is equal to 2. 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.

[0174] The HRD includes a bitstream extractor (optionally present), a coded picture buffer (CPB), an instantaneous decoding process, a decoded picture buffer (DPB) that conceptually contains sub-DPBs for each layer, and output cropping. For each bitstream conformance test, the CPB size (in bits) is CpbSize[Htid][ScIdx], and the DPB parameters max_dec_pic_buffering_minus1[Htid], max_num_reorder_pics[Htid], and MaxLatencyPictures[Htid] for each layer are found in or derived from the dpb_parameters() syntax structure that applies to that layer depending on whether the layer is an independent layer and whether the layer is an output layer of the target OLS.

[0175] The HRD may operate as follows: The HDR is initialized with decoding unit 0, and both the CPB and each sub-DPB of the DPB are set to empty (the sub-DPB fullness for each sub-DPB is set to 0). After initialization, the HRD cannot be reinitialized by a subsequent buffering period SEI message. Data associated with each decoding unit that flows into each CPB according to a specified arrival schedule is delivered by a virtual stream scheduler (HSS). Data associated with each decoding unit is removed and instantly decoded by an instantaneous decoding process at the CPB removal time of the decoding unit. Each decoded picture is placed in a DPB. A decoded picture is removed from the DPB when the decoded picture is no longer needed for inter-prediction reference and no longer needed for output.

[0176] Exemplary operations of the decoded picture buffer are as follows: These specifications may be applied independently to each set of selected decoded picture buffer (DPB) parameters. The decoded picture buffer conceptually includes sub-DPBs, each of which includes a picture storage buffer for storing decoded pictures of one layer. Each of the picture storage buffers may contain decoded pictures marked for reference use or retained for later output. The processes described herein are applied sequentially, and are applied independently for each layer, starting with the lowest layer in the OLS, in order of increasing nuh_layer_id values ​​of the layers in the OLS. When these processes are applied to a particular layer, only the sub-DPB for that particular layer is affected. In the description of these processes, DPB refers to the sub-DPB for that particular layer, and that particular layer is referred to as the current layer.

[0177] In output timing DPB operation, decoded pictures in the same access unit with PicOutputFlag equal to 1 are output consecutively in ascending order of the decoded pictures' nuh_layer_id values. Let picture n and the current picture be the coded or decoded pictures of access unit n for a particular value of nuh_layer_id, where n is a non-negative integer value. Removal of pictures from the DPB before decoding of the current picture occurs as follows: Removal of pictures from the DPB before decoding of the current picture (but after parsing the slice header of the first slice of the current picture) occurs virtually instantaneously at the CPB removal time of the first decoding unit of access unit n (including the current picture) and proceeds as follows:

[0178] The decoding process for reference picture list construction is invoked, and the decoding process for reference picture marking is invoked. When the current AU is a Coded Video Sequence Start (CVSS) AU that is not AU0, the following ordered steps are applied: The variable NoOutputOfPriorPicsFlag is derived for the decoder under test as follows: If the values ​​of pic_width_max_in_luma_samples, pic_height_max_in_luma_samples, chroma_format_idc, separate_colour_plane_flag, bit_depth_luma_minus8, bit_depth_chroma_minus8 or max_dec_pic_buffering_minus1[Htid] derived for any picture in the current AU differ from the values ​​of pic_width_in_luma_samples, pic_height_in_luma_samples, chroma_format_idc, separate_colour_plane_flag, bit_depth_luma_minus8, bit_depth_chroma_minus8 or max_dec_pic_buffering_minus1[Htid] respectively derived for the preceding picture in the same CLVS, NoOutputOfPriorPicsFlag may be set to 1 by the decoder under test, regardless of the value of no_output_of_prior_pics_flag. Although setting NoOutputOfPriorPicsFlag equal to no_output_of_prior_pics_flag may be preferable under these conditions, the decoder under test is allowed to set NoOutputOfPriorPicsFlag to 1 in this case. Otherwise, NoOutputOfPriorPicsFlag is set equal to no_output_of_prior_pics_flag.

[0179] The derived value of NoOutputOfPriorPicsFlag for the decoder under test is applied to the HRD, so that when the value of NoOutputOfPriorPicsFlag is equal to 1, all picture storage buffers in the DPB are emptied without outputting the pictures they contain, and the DPB fullness is set to 0. When both of the following conditions are true for any picture k in the DPB, all such pictures k in the DPB are removed from the DPB: Picture k may be marked as unused for reference, or picture k may have PictureOutputFlag equal to 0, or the DPB output time is less than or equal to the CPB removal time of the first decoding unit (denoted as decoding unit m) of the current picture n, and DpbOutputTime[k] is less than or equal to DuCpbRemovalTime[m]. For each picture removed from the DPB, the DPB fullness is decremented by 1.

[0180] The operation of the output-order DPB may be as follows: These processes may be applied independently to each set of selected decoded picture buffer (DPB) parameters. The decoded picture buffer conceptually contains sub-DPBs, each of which contains a picture storage buffer for storing decoded pictures of one layer. Each of the picture storage buffers contains decoded pictures that are marked for reference use or retained for future output. A process for outputting and removing pictures from the DPB is invoked before decoding the current picture, followed by a process for marking and storing the current decoded picture, and finally by a process for additional bumping. These processes are applied independently for each layer, starting with the lowest layer in the OLS and in order of increasing nuh_layer_id values ​​of the layers in the OLS. When these processes are applied to a particular layer, only the sub-DPB for that particular layer is affected.

[0181] In the operation of the Output Order DPB, similar to the operation of the Output Timing DPB, decoded pictures with PicOutputFlag equal to 1 within the same access unit are also output consecutively in ascending order of the nuh_layer_id values ​​of the decoded pictures. Let picture n and current picture be the coded or decoded pictures of access unit n for a particular value of nuh_layer_id, where n is a non-negative integer value. The output and removal of pictures from the DPB are described as follows:

[0182] The output and removal of a picture from the DPB before decoding the current picture (but after parsing the slice header of the first slice of the current picture) occurs substantially instantaneously when the first decoding unit of the access unit containing the current picture is removed from the CPB, and proceeds as follows: The decoding process for reference picture list construction is invoked, and the decoding process for reference picture marking is invoked. If the current AU is a CVSS AU that is not AU0, then the following ordered steps are applied: The variable NoOutputOfPriorPicsFlag is derived for the decoder under test as follows: If the values ​​of pic_width_max_in_luma_samples, pic_height_max_in_luma_samples, chroma_format_idc, separate_colour_plane_flag, bit_depth_luma_minus8, bit_depth_chroma_minus8 or max_dec_pic_buffering_minus1[Htid] derived for any picture in the current AU differ from the values ​​of pic_width_in_luma_samples, pic_height_in_luma_samples, chroma_format_idc, separate_colour_plane_flag, bit_depth_luma_minus8, bit_depth_chroma_minus8 or max_dec_pic_buffering_minus1[Htid] respectively derived for a previous picture in the same CLVS, NoOutputOfPriorPicsFlag may be set to 1 by the decoder under test, regardless of the value of no_output_of_prior_pics_flag.

[0183] Although setting NoOutputOfPriorPicsFlag equal to no_output_of_prior_pics_flag may be preferable under these conditions, the decoder under test is allowed to set NoOutputOfPriorPicsFlag to 1 in this case. Otherwise, NoOutputOfPriorPicsFlag is set equal to no_output_of_prior_pics_flag. The value of the variable NoOutputOfPriorPicsFlag derived for the decoder under test is applied for the HRD as follows: If NoOutputOfPriorPicsFlag is equal to 1, all picture storage buffers in the DPB are emptied without output of the pictures they contain, and the DPB fullness is set equal to 0. Otherwise (NoOutputOfPriorPicsFlag is equal to 0), all picture storage buffers containing pictures marked as not needed for output and unused for reference are emptied (without output), all non-empty picture storage buffers in the DPB are emptied by repeatedly calling bumping, and the DPB fullness is set equal to 0.

[0184] Otherwise (if the current picture is not a CLVSS picture), all picture storage buffers containing pictures marked as not needed for output and unused for reference are emptied (without output). For each picture storage buffer emptied, the DPB fullness is decremented by 1. If one or more of the following conditions are true, the bumping process is invoked repeatedly, further decrementing the DPB fullness by 1 for each additional picture storage buffer emptied, until none of the following conditions are true: The number of pictures in the DPB that are marked as needed for output is greater than max_num_reorder_pics[Htid]. max_latency_increase_plus1[Htid] is not equal to 0 and there is at least one picture in the DPB that is marked as needed for output whose associated variable PicLatencyCount is greater than or equal to MaxLatencyPictures[Htid]. The number of pictures in the DPB is greater than or equal to max_dec_pic_buffering_minus1[Htid] + 1.

[0185] In one example, the additional bumping may occur as follows: The specified process may occur substantially instantaneously when the last decoding unit of access unit n, which contains the current picture, is removed from the CPB. When the current picture has PictureOutputFlag equal to 1, it is marked as needed for output, and for each picture in the DPB that follows the current picture in output order, the associated variable PicLatencyCount is set equal to PicLatencyCount+1. The following also applies: If the current decoded picture has PictureOutputFlag equal to 1, then the current decoded picture is marked as needed for output, and the associated variable PicLatencyCount is set equal to 0. Otherwise (the current decoded picture has PictureOutputFlag equal to 0), the current decoded picture is marked as not needed for output.

[0186] When one or more of the following conditions are true, the bumping process is called repeatedly until none of the following conditions are true: The number of pictures in the DPB that are marked as needed for output is greater than max_num_reorder_pics[Htid] max_latency_increase_plus1[Htid] is not equal to 0 and there is at least one picture in the DPB that is marked as needed for output whose associated variable PicLatencyCount is greater than or equal to MaxLatencyPictures[Htid].

[0187] The bumping process includes the following ordered steps: The picture or pictures that are first for output are selected as those with the smallest PicOrderCntVal value of all pictures in the DPB marked as needed for output. Each of these pictures is cropped using the adaptive cropping window for the pictures, in ascending nuh_layer_id order, and the cropped picture is output, marking the picture as not needed for output. Each picture storage buffer, including pictures marked as unused for reference, that was one of the cropped and output pictures is emptied, and the fullness of the associated sub-DPB is decremented by one. For any two pictures, picA and picB, that belong to the same CVS and are output by the bumping process, when picA is output earlier than picB, the value of PicOrderCntVal of picA is less than the value of PicOrderCntVal of picB.

[0188] 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. A bitstream conformance requirement may be that, for any input bitstream, the output from this process that takes as input the bitstream, targetOlsIdx equal to an index into the list of OLSs specified by the VPS, and tIdTarget equal to any value in the range from 0 to 6, and that satisfies the following conditions, shall be a conforming output sub-bitstream: The output sub-bitstream contains at least one VCL NAL unit with nuh_layer_id equal to each of the nuh_layer_id values ​​in LayerIdInOls[targetOlsIdx]. The output sub-bitstream contains at least one VCL NAL unit with TemporalId equal to tIdTarget. A conforming bitstream contains one or more coded slice NAL units with TemporalId equal to 0, but may have no coded slice NAL units with nuh_layer_id equal to 0.

[0189] The output sub-bitstream OutBitstream is derived as follows: The bitstream outBitstream is set to be identical to the bitstream inBitstream. All NAL units with TemporalId greater than tIdTarget are removed from outBitstream. All NAL units with nuh_layer_id not included in the list LayerIdInOls[targetOlsIdx] are removed from outBitstream. All SEI NAL units containing a scalable nesting SEI message with nesting_ols_flag equal to 1, no value of i in the range from 0 to nesting_num_olss_minus1, and NestingOlsIdx[i] equal to targetOlsIdx are removed from outBitstream. When targetOlsIdx is greater than 0, all SEI NAL units, including non-scalable nested SEI messages with payloadType equal to 0 (buffering duration), 1 (picture timing), or 130 (decoding unit information), are removed from outBitstream.

[0190] An exemplary scalable nesting SEI message syntax is as follows:

[0191] [Table 7]

[0192] Exemplary general SEI payload semantics are as follows: On the applicable layer or OLS of a non-scalable nested SEI message, the following applies: For a non-scalable nested SEI message, when 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 0th OLS. For a non-scalable nested SEI message, when payloadType is equal to any value in VclAssociatedSeiList, the non-scalable nested SEI message applies only to the layer with nuh_layer_id equal to the nuh_layer_id of the SEI NAL unit up to which the VCL NAL unit containing the SEI message belongs.

[0193] A bitstream conformance requirement may be that the following restrictions apply to the value of nuh_layer_id of an SEI NAL unit: When a non-scalable nested SEI message has payloadType equal to 0 (buffering duration), 1 (picture timing), or 130 (decoding unit information), the SEI NAL unit that contains the non-scalable nested SEI message should have nuh_layer_id equal to vps_layer_id[0]. When a non-scalable nested SEI message has payloadType equal to any value in VclAssociatedSeiList, the SEI NAL unit that contains the non-scalable nested SEI message should have nuh_layer_id equal to the value of nuh_layer_id of the VCL NAL unit that is associated with the SEI NAL unit. An SEI NAL unit containing a scalable nesting SEI message shall have a nuh_layer_id equal to the lowest value of nuh_layer_id of all layers to which the scalable nesting SEI message applies (when nesting_ols_flag of the scalable nesting SEI message is equal to 0) or the lowest value of nuh_layer_id of all layers in the OLS to which the scalable nesting SEI message applies (when nesting_ols_flag of the scalable nesting SEI message is equal to 1).

[0194] Exemplary scalable nesting SEI message semantics are as follows: The scalable nesting SEI message provides a mechanism to associate an SEI message with a particular OLS or with a particular layer. The scalable nesting SEI message contains one or more SEI messages. An SEI message contained in a scalable nesting SEI message is also referred to as a scalable nest SEI message. A bitstream conformance requirement may be that the following restrictions apply to the inclusion of an SEI message within a scalable nesting SEI message:

[0195] An SEI message with payloadType equal to 132 (decoded picture hash) or 133 (scalable nesting) may not be included in a scalable nesting SEI message. When a scalable nesting SEI message includes a buffering period, picture timing, or decoding unit information SEI message, the scalable nesting SEI message should not also include any other SEI messages with payloadType not equal to 0 (buffering period), 1 (picture timing), or 130 (decoding unit information).

[0196] A bitstream conformance requirement may be that the following restrictions apply to the value of nal_unit_type of SEI NAL units that contain scalable nesting SEI messages: When a scalable nesting SEI message contains an SEI message with payloadType equal to 0 (buffering duration), 1 (picture timing), 130 (decoding unit information), 145 (dependent RAP indication), or 168 (frame field information), the SEI NAL unit that contains the scalable nesting SEI message should have nal_unit_type equal to PREFIX_SEI_NUT.

[0197] nesting_ols_flag equal to 1 specifies that the scalable nesting SEI message applies to a specific OLS. nesting_ols_flag equal to 0 specifies that the scalable nesting SEI message applies to a specific layer. Bitstream conformance requirements may be that the following restrictions apply to the value of nesting_ols_flag: When a 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. When a scalable nesting SEI message contains an SEI message with payloadType equal to a value in VclAssociatedSeiList, the value of nesting_ols_flag shall be equal to 0. nesting_num_olss_minus1+1 specifies the number of OLSs to which the scalable nesting SEI message applies. The value of nesting_num_olss_minus1 should be in the range 0 to TotalNumOlss-1.

[0198] nesting_ols_idx_delta_minus1[i] is used to derive the variable NestingOlsIdx[i], which specifies the OLS index of the ith OLS to which the scalable nesting SEI message applies when nesting_ols_flag is equal to 1. The value of nesting_ols_idx_delta_minus1[i] should be in the range from 0 to TotalNumOlss-2. The variable NestingOlsIdx[i] may be derived as follows: if(i==0) NestingOlsIdx[i]=nesting_ols_idx_delta_minus1[i] else NestingOlsIdx[i]=NestingOlsIdx[i-1]+nesting_ols_idx_delta_minus1[i]+1

[0199] nesting_all_layers_flag equal to 1 specifies that the scalable nested SEI message applies to all layers with nuh_layer_id greater than or equal to the nuh_layer_id of the current SEI NAL unit. nesting_all_layers_flag equal to 0 specifies that the scalable nested SEI message may or may not apply to all layers with nuh_layer_id greater than or equal to the nuh_layer_id of the current SEI NAL unit. nesting_num_layers_minus1 + 1 specifies the number of layers to which the scalable nested SEI message applies. The value of nesting_num_layers_minus1 should be in the range from 0 to vps_max_layers_minus1 - GeneralLayerIdx[nuh_layer_id], 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 when nesting_all_layers_flag is equal to 0. The value of nesting_layer_id[i] should be greater than nuh_layer_id, where nuh_layer_id is the nuh_layer_id of the current SEI NAL unit.

[0200] When nesting_ols_flag is equal to 0, the variable NestingNumLayers, which specifies the number of layers to which the scalable nested SEI message applies, and the list NestingLayerId[i], for i in the range from 0 to NestingNumLayers-1, which specifies the list of layer nuh_layer_id values ​​to which the scalable nested SEI message applies, may be derived as follows, where nuh_layer_id is the nuh_layer_id of the current SEI NAL unit: if(nesting_all_layers_flag) { NestingNumLayers=vps_max_layers_minus1+1-GeneralLayerIdx[nuh_layer_id] for(i=0; i <NestingNumLayers; i++) NestingLayerId[i]=vps_layer_id[GeneralLayerIdx[nuh_layer_id]+i] } else { NestingNumLayers=nesting_num_layers_minus1+1 for(i=0; i <NestingNumLayers; i++) NestingLayerId[i]=(i==0) ? nuh_layer_id: nesting_layer_id[i] }

[0201] nesting_num_seis_minus1+1 specifies the number of scalable nested SEI messages. The value of nesting_num_seis_minus1 should be in the range of 0 to 63. nesting_zero_bit shall be equal to 0.

[0202] 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 as described herein. The video coding device 900 includes a downstream port 920, an upstream port 950, and / or a transceiver unit (Tx / Rx) 910 including a transmitter and / or receiver for data communication upstream and / or downstream of a network. The video coding device 900 includes a processor 930 including a logic unit and / or central processing unit (CPU) for processing data and a memory 932 for storing data. The video coding device 900 may also include electrical, optical-electrical (OE) components, electrical-optical (EO) components, and / or wireless communication components coupled to the upstream port 950 and / or downstream port 920 for data communication 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 receiving data from a user. The I / O devices 960 may include output devices such as a display for displaying video data, speakers for outputting audio data, etc. The I / O devices 960 may also include input devices such as a keyboard, mouse, trackball, etc., and / or corresponding interfaces for interactively manipulating such output devices.

[0203] 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 methods 100, 1000, and 1100, and may employ the multi-layer video sequence 600, the RPL structure 700, and / or the bitstream 800. The coding module 914 may also implement any other method / mechanism described herein. Furthermore, the coding module 914 may implement the codec system 200, the encoder 300, the decoder 400, and / or the HRD 500. For example, the coding module 914 may constrain the number of reference entries in the RPL structure based on the maximum decoded picture size. The maximum decoded picture buffer size may vary depending on whether a layer is a reference layer or an output layer. Therefore, by applying this constraint, the coding module 914 may allow different numbers of reference pictures to be employed in the output layer and the reference layer. This allows the coding module 914 to more optimally use memory and increase coding efficiency. Accordingly, the coding module 914 may be configured to implement mechanisms to address one or more of the problems described above. Thus, the coding module 914 causes the video coding device 900 to provide additional functionality and / or coding efficiency when coding video data. Therefore, the coding module 914 improves the functionality of the video coding device 900 and also addresses problems specific to video coding techniques.Additionally, coding module 914 performs transformations to different states of video coding device 900. Alternatively, coding module 914 may be implemented as instructions stored in memory 932 and executed by processor 930 (e.g., as a computer program product stored on a non-transitory medium).

[0204] Memory 932 includes one or more memory types such as a disk, a tape drive, a solid state drive, a read-only memory (ROM), a random access memory (RAM), a flash memory, a ternary content addressable memory (TCAM), a static random access memory (SRAM), etc. Memory 932 stores programs when such programs are selected for execution and may be used as an overflow data storage device to store instructions and data read during the execution of the programs.

[0205] 10 is a flowchart of an example method 1000 of encoding a video sequence into a bitstream, such as bitstream 800, based on a reference picture list structure, such as RPL structure 700, in which the number of reference entries is constrained according to a maximum decoded picture buffer size. Method 1000 may be employed by an encoder, such as codec system 200, encoder 300, and / or video coding device 900, when performing method 100. Furthermore, method 1000 may operate on HRD 500 and thus may perform conformance tests on multi-layer video sequence 600 and / or its extracted layers.

[0206] Method 1000 may start when an encoder receives a video sequence and decides, for example, based on user input, to encode the video sequence, such as a multi-layer video sequence, into a bitstream. In step 1001, the encoder encodes pictures from the video sequence into a bitstream. For example, the encoder may encode a current picture according to inter-prediction and / or inter-layer prediction. Thus, the encoder encodes the current picture based on reference pictures.

[0207] In step 1003, the encoder may encode ref_pic_list_struct() into the bitstream, for example, in an SPS, a picture header, and / or a slice header. ref_pic_list_struct() indicates reference pictures used when coding the current picture according to inter prediction. Specifically, ref_pic_list_struct() includes RefPicList[0] and RefPicList[1]. RefPicList[0] and RefPicList[1] each include one or more reference entries that reference any reference pictures used in coding the current picture. ref_pic_list_struct() is referenced according to a list index (listIdx) and a reference picture list structure index (rplsIdx) and is denoted as ref_pic_list_struct(listIdx, rplsIdx). ref_pic_list_struct() references setOfRefPics, a set-specific picture referenced by all entries in RefPicList[0] with the same nuh_layer_id as the current picture and all entries in RefPicList[1] with the same nuh_layer_id as the current picture. Thus, setOfRefPics contains all of the reference pictures for the current picture that are in the same layer as the current picture. setOfRefPics may be constrained to be the same set for all slices of each picture. Therefore, setOfRefPics may be constrained to be the same set for all slices of the current picture. Furthermore, ref_pic_list_struct(), and therefore the bitstream, contains num_ref_entries. num_ref_entries may be denoted as num_ref_entries[listIdx][rplsIdx]. num_ref_entries[listIdx][rplsIdx] specifies the number of entries in ref_pic_list_struct(listIdx, rplsIdx).num_ref_entries is constrained to a range based on the maximum decoded picture buffer size, such as a range from 0 to the maximum decoded picture buffer size plus an offset such as 13 or 14 entries. Additionally, setOfRefPics referenced in the ref_pic_list_struct is constrained to be less than or equal to the maximum decoded picture buffer size minus 1. In this way, both num_ref_entries and setOfRefPics are constrained based on available memory in the DPB, which varies based on the layer, and not based on a static value global to all layers. This allows these values ​​to change based on whether the current picture is associated with an output layer, which takes up more memory space, or a reference layer, which takes up less space. Therefore, constraining num_ref_entries and setOfRefPics based on the maximum DPB size supports improved coding efficiency (better compression), thereby reducing the use of processor, memory, and / or network signaling resources.

[0208] The encoder also encodes dpb_parameters() in the bitstream, for example, in the VPS and / or SPS. dpb_parameters() may include max_dec_pic_buffering_minus1, which specifies the maximum required size of the DPB in units of picture storage buffer. Therefore, the maximum decoded picture buffer size used to constrain num_ref_entries and setOfRefPics corresponds to max_dec_pic_buffering_minus1.

[0209] In step 1005, the HRD in the encoder may perform a series of bitstream conformance tests on the bitstream. As a specific example, the HRD may check the bitstream to ensure that num_ref_entries and setOfRefPics are constrained based on the maximum DPB size, e.g., as described by max_dec_pic_buffering_minus1 in dpb_parameters(). The encoder may then store the bitstream in step 1007 for communication to a decoder upon request. For example, the encoder may store the bitstream locally and / or forward the bitstream to a content server for storage. Additionally, the encoder and / or content server may perform sub-bitstream extraction on the bitstream to separate content related to layers and / or OLS for transmission to a decoder upon request.

[0210] 11 is a flowchart of an example method 1100 of decoding a video sequence from a bitstream, such as bitstream 800, based on a reference picture list structure, such as RPL structure 700, in which the number of reference entries is constrained according to a maximum decoded picture buffer size. Method 1100 may be employed by a decoder, such as codec system 200, decoder 400, and / or video coding device 900, when performing method 100. Furthermore, method 1100 may be employed on multi-layer video sequence 600, or an extracted layer thereof, that has been checked for conformance by an HRD, such as HRD 500.

[0211] Method 1100 may start when a decoder begins receiving a bitstream including a coded video sequence, such as a coded layer video sequence, from one or more layers of a multi-layer bitstream, e.g., as a result of method 1000. At step 1101, the decoder receives the bitstream. The bitstream includes a sequence of pictures including a current picture, which may be any specified picture being decoded at a specified time. In this example, the current picture is coded according to inter-prediction and / or inter-layer prediction. Therefore, the encoder encodes the current picture based on reference pictures.

[0212] The bitstream also includes a ref_pic_list_struct(), e.g., in the SPS, picture header, and / or slice header. The ref_pic_list_struct() indicates the reference pictures used when coding the current picture according to inter prediction. Specifically, the ref_pic_list_struct() includes RefPicList[0] and RefPicList[1]. RefPicList[0] and RefPicList[1] each contain one or more reference entries that reference any reference pictures used in coding the current picture. The ref_pic_list_struct() is referenced according to a list index (listIdx) and a reference picture list structure index (rplsIdx), and is denoted as ref_pic_list_struct(listIdx, rplsIdx). ref_pic_list_struct() references setOfRefPics, a set-specific picture referenced by all entries in RefPicList[0] with the same nuh_layer_id as the current picture and all entries in RefPicList[1] with the same nuh_layer_id as the current picture. Thus, setOfRefPics contains all of the reference pictures for the current picture that are in the same layer as the current picture. setOfRefPics may be constrained to be the same set for all slices of each picture. Therefore, setOfRefPics may be constrained to be the same set for all slices of the current picture. Furthermore, ref_pic_list_struct(), and therefore the bitstream, contains num_ref_entries. num_ref_entries may be denoted as num_ref_entries[listIdx][rplsIdx]. num_ref_entries[listIdx][rplsIdx] specifies the number of entries in ref_pic_list_struct(listIdx, rplsIdx).num_ref_entries is constrained to a range based on the maximum decoded picture buffer size, such as a range from 0 to the maximum decoded picture buffer size plus an offset such as 13 or 14 entries. Additionally, setOfRefPics referenced in the ref_pic_list_struct is constrained to be less than or equal to the maximum decoded picture buffer size minus 1. In this way, both num_ref_entries and setOfRefPics are constrained based on the available memory in the DPB for the corresponding layer, rather than a static value applicable to all layers. This allows these values ​​to change based on whether the current picture is associated with an output layer, which takes up more memory space, or a reference layer, which takes up less space. Therefore, constraining num_ref_entries and setOfRefPics based on the maximum DPB size supports improved coding efficiency (better compression), thereby reducing the use of processor, memory, and / or network signaling resources.

[0213] The bitstream further includes dpb_parameters(), for example in the VPS and / or SPS. dpb_parameters() may include max_dec_pic_buffering_minus1, which specifies the maximum required size of the DPB in units of picture storage buffer. Therefore, the maximum decoded picture buffer size used to constrain num_ref_entries and setOfRefPics corresponds to max_dec_pic_buffering_minus1.

[0214] In step 1103, the decoder may decode the current picture based on ref_pic_list_struct() and / or dpb_parameters() to generate a decoded picture. For example, the decoder may employ dpb_parameters() and / or max_dec_pic_buffering_minus1 to allocate memory space in the DPB. The decoder may also analyze ref_pic_list_struct() for the current picture to determine reference entries in RefPicList[0] and / or RefPicList[1] that indicate the reference pictures used to code the current picture. The decoder may determine the relevant reference entries based on num_ref_entries and may determine setOfRefPics based on the reference entries. The decoder may also employ a reference picture marking process to mark all of the pictures in setOfRefPics for long-term reference use or for short-term reference use based on ref_pic_list_struct(). The reference picture marking process may mark one or more of the pictures not included in setOfRefPics for reference use. Such pictures may be evicted from the DPB when they are no longer needed for output. After the reference pictures are marked, the decoder can decode the current picture based on the setOfRefPics. The decoder can also manage the DPB based on the marking of various pictures after the reference picture marking process.

[0215] The decoder may then forward the decoded pictures for display as part of the decoded video sequence in step 1105. For example, the decoder may forward the decoded pictures and / or the decoded video sequence to a screen, head-mounted display, or other display device for viewing by an end user.

[0216] 12 is a schematic diagram of an example system 1200 for coding a video sequence into a bitstream 800 based on a reference picture list structure, such as RPL structure 700, in which the number of reference entries is constrained according to a maximum decoded picture buffer size. System 1200 may be implemented by an encoder and a decoder, such as codec system 200, encoder 300, decoder 400, and / or video coding device 900. Furthermore, system 1200 may employ HRD 500 to perform conformance testing on multi-layer video sequence 600 and / or bitstream 800. In addition, system 1200 may be employed when implementing methods 100, 1000, and / or 1100.

[0217] The system 1200 comprises a video encoder 1202. The video encoder 1202 comprises an encoding module 1205 for encoding a current picture into a bitstream based on a reference picture. The encoding module 1205 is further for encoding a ref_pic_list_struct() into the bitstream, the ref_pic_list_struct() indicating the reference picture and including a number of reference entries (num_ref_entries) constrained to a range based on a maximum decoded picture buffer size. The video encoder 1202 further comprises a storage module 1206 for storing the bitstream for communication towards a decoder. The video encoder 1202 further comprises a transmission module 1207 for transmitting the bitstream towards a video decoder 1210. The video encoder 1202 may be further configured to perform any of the steps of the method 1000.

[0218] System 1200 also includes a video decoder 1210. The video decoder 1210 includes a receiving module 1211 for receiving a bitstream including a current picture and a ref_pic_list_struct() including num_ref_entries that is range-constrained based on the maximum decoded picture buffer size. The video decoder 1210 further includes a decoding module 1213 for decoding the current picture based on the ref_pic_list_struct() to generate a decoded picture. The video decoder 1210 further includes a transport module 1215 that transports the decoded picture for display as part of the decoded video sequence. The video decoder 1210 may be further configured to perform any of the steps of method 1100.

[0219] A first component is directly coupled to a second component when there are no intervening components other than wires, traces, or another medium between the first and second components. A first component is indirectly coupled to a second component when there are intervening components other than wires, traces, or another medium between the first and second components. The term "coupled" and variations thereof include both directly coupled and indirectly coupled. Additionally, the term "about" refers to a range that includes ±10% of the subsequent numerical value, unless otherwise specified.

[0220] 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 the 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.

[0221] While several embodiments are provided in this disclosure, it will be understood that the disclosed systems and methods may be embodied in many other specific forms without departing from the spirit or scope of the disclosure. The examples should be considered illustrative and not restrictive, and the invention should not be limited to the details set forth in the specification. For example, various elements or components may be combined or integrated in another system, or certain features may be omitted or not implemented.

[0222] Additionally, techniques, systems, subsystems, and methods described and illustrated in various embodiments as being discrete or separate may be combined or integrated with other systems, components, techniques, or methods without departing from the scope of the present disclosure. Other examples of changes, substitutions, and alterations may be ascertainable by one skilled in the art and could be made without departing from the spirit and scope of what is disclosed herein. [Explanation of symbols]

[0223] 100 How it works, how it works 200 Coding and Decoding (Codec) System, Codec System 201 Segmented Video Signal 211 General Coder Control Component 213 Transform Scaling and Quantization Components 215 In-Picture Estimation Component 217 Intra-Picture Prediction Component 219 Motion Compensation Component 221 Motion Estimation Component 223 Decoded Picture Buffer Component 225 In-Loop Filter Components 227 Filter Control Analysis Component 229 Scaling and Inverse Transformation Components 231 Header Formatting and Context-Adaptive Binary Arithmetic Coding (CABAC) Components 300 Video Encoder, Encoder 301 Segmented Video Signal 313 Transform and Quantize Components 317 Intra-Picture Prediction Component 321 Motion Compensation Component 323 Decoded Picture Buffer Component 325 In-Loop Filter Components 329 Inverse Transform and Quantization Components 331 Entropy Coding Component 400 Video Decoder, Decoder 417 Intra-Picture Prediction Component 421 Motion Compensation Component 423 Decoded Picture Buffer Component 425 In-Loop Filter Components 429 Inverse Transform and Quantization Components 433 Entropy Decoding Component 500 HRD 541 Virtual Stream Scheduler (HSS) 543 CPB 545 Decoding Process Components 547 DPB 549 Output Cropping Component 551 bitstream 553 Decoding Unit (DU) 555 Decoded DUs 556 Reference Pictures 557 Pictures 559 Output Cropped Picture 600 multi-layer video sequences 611, 612, 613, 614 Pictures 615, 616, 617, 618 Pictures 621 Inter-layer Prediction 623 Inter Prediction 631 Lower Layer N 632 Upper Layer N+1 700 Reference Picture List (RPL) Structure 711 Reference Picture List 0 (RefPicList[0]) 712 Reference Picture List 1 (RefPicList[1]) 715 Reference Picture List Structure Entry 721 listIdx 725 rplsIdx 732 Number of reference entries (num_ref_entries) 733 Set of Reference Pictures (setOfRefPics) 800 bitstream 811 VPS 813 SPS 815 Picture Parameter Set (PPS) 816 Picture Header 817 slice header 820 image data 823 Layer 825 Pictures 827 slices 831 ref_pic_list_struct 832 num_ref_entries 835 nuh_layer_id 837 Decoded Picture Buffer Parameters (dpb_parameters) 838 max_dec_pic_buffering_minus1 841 VCL NAL units 842 non-VCL NAL units 900 Video Coding Device 910 Transceiver Unit (Tx / Rx) 914 Coding Module 920 Downstream Port 930 processor 932 memory 950 Upstream Port 960 Input and / or Output (I / O) Devices 1000, 1100 ways 1200 System 1202 Video Encoder 1205 Encoding Module 1206 Memory Module 1207 Transmission Module 1210 Video Decoder 1211 Receiver Module 1213 Decoding Module 1215 Transfer Module

Claims

1. A method implemented by a decoder (400, 1210), comprising: The decoder (400, 1210) data representing the current picture; A reference picture list syntax structure (ref_pic_list_struct()) containing the number of reference entries (num_ref_entries), constrained to range from 0 to the maximum decoded picture buffer size + offset; a sequence parameter set (SPS) including a flag long_term_ref_pics_flag that, when long_term_ref_pics_flag is equal to 0, specifies that no long-term reference pictures (LTRPs) are used for inter-prediction of any coded pictures in a coded layer video sequence (CLVS), and, when long_term_ref_pics_flag is equal to 1, specifies that LTRPs may be used for inter-prediction of one or more coded pictures in the CLVS; receiving 1101 a bitstream including: the bitstream further includes a decoded picture buffer parameters syntax structure (dpb_parameters()), the dpb_parameters() including a maximum decoded picture buffer minus 1 (max_dec_pic_buffering_minus1), where max_dec_pic_buffering_minus1+1 specifies the maximum required size of the decoded picture buffer, the value of max_dec_pic_buffering_minus1 being in the range of 0 to the maximum decoded picture buffer size minus 1, when the dpb_parameters() is included in a video parameter set (VPS), an output layer set (OLS) to which the dpb_parameters() is applied is specified by the VPS, when the dpb_parameters() is included in the SPS, the dpb_parameters() is applied to an OLS that includes only layers that are the lowest layer among layers that reference the SPS, and the lowest layer is an independent layer; and decoding (1103) the current picture based on the ref_pic_list_struct(), the dpb_parameters(), and the SPS by the decoder (400, 1210) to generate a decoded picture.

2. 2. The method of claim 1, wherein the ref_pic_list_struct() is referenced according to a list index (listIdx) and a reference picture list structure index (rplsIdx), denoted as ref_pic_list_struct(listIdx, rplsIdx), and the num_ref_entries is denoted as num_ref_entries[listIdx][rplsIdx], where num_ref_entries[listIdx][rplsIdx] specifies the number of entries in the ref_pic_list_struct(listIdx, rplsIdx).

3. 3. The method of claim 1, wherein the number of pictures in the set of reference pictures (setOfRefPics) referenced in the ref_pic_list_struct is constrained to be less than or equal to the value of (maximum decoded picture buffer size - 1).

4. 4. The method of claim 3, wherein the ref_pic_list_struct() includes a reference picture list 0 (RefPicList[0]) and a reference picture list 1 (RefPicList[1]), and the setOfRefPics is a set-specific picture referenced by all entries in RefPicList[0] that have the same Network Abstraction Layer (NAL) unit header layer identifier (nuh_layer_id) as the current picture and all entries in RefPicList[1] that have the same nuh_layer_id as the current picture.

5. The method of claim 3 , wherein the setOfRefPics is the same set for all slices of each picture.

6. A method implemented by an encoder (300, 1202), comprising: encoding (1001) a current picture based on a reference picture by said encoder (300, 1202) into a bitstream; encoding (1003) by the encoder (300, 1202) into the bitstream a reference picture list syntax structure (ref_pic_list_struct()) that indicates the reference picture and includes a number of reference entries (num_ref_entries) constrained to the range from 0 to a maximum decoded picture buffer size plus an offset; encoding (1003) a sequence parameter set (SPS) in the bitstream by the encoder (300, 1202) that includes a flag long_term_ref_pics_flag that specifies, when long_term_ref_pics_flag is equal to 0, that long-term reference pictures (LTRPs) are not used for inter-prediction of any coded pictures in a coded layer video sequence (CLVS), and, when long_term_ref_pics_flag is equal to 1, that LTRPs may be used for inter-prediction of one or more coded pictures in the CLVS; encoding (1003) a decoded picture buffer parameters syntax structure (dpb_parameters()) by the encoder (300, 1202) into the bitstream, wherein the dpb_parameters() includes a maximum decoded picture buffer minus 1 (max_dec_pic_buffering_minus1), max_dec_pic_buffering_minus1+1 specifies the maximum required size of the decoded picture buffer, and max_dec_pic_buffering_minus1+1 specifies the maximum required size of the decoded picture buffer. the value of minus1 is in the range from 0 to maximum decoded picture buffer size minus 1, and when the dpb_parameters() is included in a video parameter set (VPS), an output layer set (OLS) to which the dpb_parameters() is applied is specified by the VPS, and when the dpb_parameters() is included in the SPS, the dpb_parameters() is applied to an OLS that includes only layers that are the lowest layer among layers that reference the SPS, and the lowest layer is an independent layer; storing (1007) the bitstream by the encoder (300, 1202) for communication to a decoder (400, 1210).

7. 7. The method of claim 6, wherein the ref_pic_list_struct() is referenced according to a list index (listIdx) and a reference picture list structure index (rplsIdx), and is denoted as ref_pic_list_struct(listIdx, rplsIdx), and the num_ref_entries is denoted as num_ref_entries[listIdx][rplsIdx], and the num_ref_entries[listIdx][rplsIdx] specifies the number of entries in the ref_pic_list_struct(listIdx, rplsIdx).

8. 8. The method of claim 6 or 7, wherein the number of pictures in the set of reference pictures (setOfRefPics) referenced in the ref_pic_list_struct is constrained to be less than or equal to the value of (maximum decoded picture buffer size - 1).

9. 9. The method of claim 8, wherein the ref_pic_list_struct() includes a reference picture list 0 (RefPicList[0]) and a reference picture list 1 (RefPicList[1]), and the setOfRefPics is a set-specific picture referenced by all entries in RefPicList[0] that have the same Network Abstraction Layer (NAL) unit header layer identifier (nuh_layer_id) as the current picture and all entries in RefPicList[1] that have the same nuh_layer_id as the current picture.

10. The method of claim 8 , wherein the setOfRefPics is the same set for all slices of each picture.

11. A video coding device (900), comprising: A video coding device (900) comprising a processor (930), a receiver (910) coupled to the processor (930), a memory (932) coupled to the processor (930), and a transmitter (910) coupled to the processor (930), wherein the processor (930), the receiver (910), the memory (932), and the transmitter (910) are configured to perform the method of any one of claims 1 to 10.

12. A decoder (400, 1210), data representing the current picture; A reference picture list syntax structure (ref_pic_list_struct()) containing the number of reference entries (num_ref_entries), constrained to range from 0 to the maximum decoded picture buffer size + offset; a sequence parameter set (SPS) including a flag long_term_ref_pics_flag that, when long_term_ref_pics_flag is equal to 0, specifies that no long-term reference pictures (LTRPs) are used for inter-prediction of any coded pictures in a coded layer video sequence (CLVS), and, when long_term_ref_pics_flag is equal to 1, specifies that LTRPs may be used for inter-prediction of one or more coded pictures in the CLVS; A receiving means (1211) configured to receive a bitstream including: receiving means (1211); the bitstream further includes a decoded picture buffer parameters syntax structure (dpb_parameters()), the dpb_parameters() including a maximum decoded picture buffer minus 1 (max_dec_pic_buffering_minus1), where max_dec_pic_buffering_minus1+1 specifies the maximum required size of the decoded picture buffer, the value of max_dec_pic_buffering_minus1 being in the range of 0 to the maximum decoded picture buffer size minus 1; when the dpb_parameters() is included in a video parameter set (VPS), an output layer set (OLS) to which the dpb_parameters() is applied is specified by the VPS; when the dpb_parameters() is included in the SPS, the dpb_parameters() is applied to an OLS that includes only a layer that is the lowest layer among layers that reference the SPS, and the lowest layer is an independent layer; and decoding means (1213) configured to decode the current picture based on the ref_pic_list_struct() and the dpb_parameters() to generate a decoded picture.

13. The decoder (400, 1210) according to claim 12, wherein said decoder (400, 1210) is configured to perform the method according to any one of claims 2 to 5.

14. An encoder (300, 1202), Encoding the current picture based on the reference picture into the bitstream; encoding within the bitstream a reference picture list syntax structure (ref_pic_list_struct()) that indicates the reference picture and includes a number of reference entries (num_ref_entries) constrained to range from 0 to a maximum decoded picture buffer size plus an offset; The encoder (300, 1202) encodes (1003) into the bitstream a sequence parameter set (SPS) including a flag long_term_ref_pics_flag that specifies, when long_term_ref_pics_flag is equal to 0, that long-term reference pictures (LTRPs) are not used for inter-prediction of any coded pictures in a coded layer video sequence (CLVS), and, when long_term_ref_pics_flag is equal to 1, that LTRPs may be used for inter-prediction of one or more coded pictures in the CLVS; encoding means (1205) for encoding (1003) a decoded picture buffer parameters syntax structure (dpb_parameters()) into the bitstream, wherein the dpb_parameters() includes a maximum decoded picture buffer minus 1 (max_dec_pic_buffering_minus1), where max_dec_pic_buffering_minus1+1 specifies the maximum required size of the decoded picture buffer, and max_dec_pic_buffering_minus1 specifies the maximum required size of the decoded picture buffer. an encoding means, the value of which is in the range from 0 to a maximum decoded picture buffer size minus 1, and when the dpb_parameters() is included in a video parameter set (VPS), an output layer set (OLS) to which the dpb_parameters() is applied is specified by the VPS, and when the dpb_parameters() is included in the SPS, the dpb_parameters() is applied to an OLS that includes only layers that are the lowest layer among layers that reference the SPS, and the lowest layer is an independent layer; and a storage means (1206) for storing said bitstream for communication to a decoder (400, 1210).

15. An encoder (300, 1202) according to claim 14, wherein the encoder (300, 1202) is configured to perform the method according to any one of claims 7 to 10.

16. 1. A method for storing a bitstream, comprising: receiving or transmitting a bitstream over a communications interface and storing said bitstream on one or more storage media, said bitstream comprising: data representing the current picture; A reference picture list syntax structure (ref_pic_list_struct()) containing the number of reference entries (num_ref_entries), constrained to range from 0 to the maximum decoded picture buffer size + offset; a sequence parameter set (SPS) including a flag long_term_ref_pics_flag that, when long_term_ref_pics_flag is equal to 0, specifies that no long-term reference picture (LTRP) is used for inter prediction of any coded picture in a coded layer video sequence (CLVS), and, when long_term_ref_pics_flag is equal to 1, specifies that an LTRP may be used for inter prediction of one or more coded pictures in the CLVS; The bitstream further includes a decoded picture buffer parameters syntax structure (dpb_parameters()), wherein the dpb_parameters() includes a maximum decoded picture buffer minus 1 (max_dec_pic_buffering_minus1), where max_dec_pic_buffering_minus1+1 specifies the maximum required size of the decoded picture buffer, the value of max_dec_pic_buffering_minus1 being in the range of 0 to the maximum decoded picture buffer size minus 1, and when the dpb_parameters() is included in a video parameter set (VPS), an output layer set (OLS) to which the dpb_parameters() is applied is specified by the VPS, and when the dpb_parameters() is included in the SPS, the dpb_parameters() is applied to an OLS that includes only layers that are the lowest layer among the layers that reference the SPS, and the lowest layer is an independent layer.

17. A device for storing a bitstream, said device comprising at least one storage medium and at least one communication interface; the at least one communication interface is configured to receive or transmit the bitstream; the at least one storage medium is configured to store the bitstream; The bitstream comprises: data representing the current picture; A reference picture list syntax structure (ref_pic_list_struct()) containing the number of reference entries (num_ref_entries), constrained to range from 0 to the maximum decoded picture buffer size + offset; a sequence parameter set (SPS) including a flag long_term_ref_pics_flag that, when long_term_ref_pics_flag is equal to 0, specifies that no long-term reference picture (LTRP) is used for inter prediction of any coded picture in a coded layer video sequence (CLVS), and, when long_term_ref_pics_flag is equal to 1, specifies that an LTRP may be used for inter prediction of one or more coded pictures in the CLVS; The device further includes a decoded picture buffer parameters syntax structure (dpb_parameters()), wherein the dpb_parameters() includes a maximum decoded picture buffer minus 1 (max_dec_pic_buffering_minus1), where max_dec_pic_buffering_minus1+1 specifies the maximum required size of the decoded picture buffer, the value of max_dec_pic_buffering_minus1 being in the range of 0 to the maximum decoded picture buffer size minus 1, and when the dpb_parameters() is included in a video parameter set (VPS), an output layer set (OLS) to which the dpb_parameters() is applied is specified by the VPS, and when the dpb_parameters() is included in the SPS, the dpb_parameters() is applied to an OLS that includes only layers that are the lowest layer among the layers that reference the SPS, and the lowest layer is an independent layer.

18. A device for transmitting a bitstream, said device comprising at least one storage medium configured to store at least one bitstream; The bitstream comprises: data representing the current picture; A reference picture list syntax structure (ref_pic_list_struct()) containing the number of reference entries (num_ref_entries), constrained to range from 0 to the maximum decoded picture buffer size + offset; a sequence parameter set (SPS) including a flag long_term_ref_pics_flag that, when long_term_ref_pics_flag is equal to 0, specifies that no long-term reference picture (LTRP) is used for inter prediction of any coded picture in a coded layer video sequence (CLVS), and, when long_term_ref_pics_flag is equal to 1, specifies that an LTRP may be used for inter prediction of one or more coded pictures in the CLVS; The device further includes a decoded picture buffer parameters syntax structure (dpb_parameters()), wherein the dpb_parameters() includes a maximum decoded picture buffer minus 1 (max_dec_pic_buffering_minus1), where max_dec_pic_buffering_minus1+1 specifies the maximum required size of the decoded picture buffer, the value of max_dec_pic_buffering_minus1 being in the range of 0 to the maximum decoded picture buffer size minus 1, and when the dpb_parameters() is included in a video parameter set (VPS), an output layer set (OLS) to which the dpb_parameters() is applied is specified by the VPS, and when the dpb_parameters() is included in the SPS, the dpb_parameters() is applied to an OLS that includes only layers that are the lowest layer among the layers that reference the SPS, and the lowest layer is an independent layer.

19. 1. A method for transmitting a bitstream, comprising: Storing at least one bitstream on at least one storage medium, said bitstream comprising: data representing the current picture; A reference picture list syntax structure (ref_pic_list_struct()) containing the number of reference entries (num_ref_entries), constrained to range from 0 to the maximum decoded picture buffer size + offset; a sequence parameter set (SPS) including a flag long_term_ref_pics_flag that, when long_term_ref_pics_flag is equal to 0, specifies that no long-term reference picture (LTRP) is used for inter prediction of any coded picture in a coded layer video sequence (CLVS), and, when long_term_ref_pics_flag is equal to 1, specifies that an LTRP may be used for inter prediction of one or more coded pictures in the CLVS; The bitstream further includes a decoded picture buffer parameters syntax structure (dpb_parameters()), wherein the dpb_parameters() includes a maximum decoded picture buffer minus 1 (max_dec_pic_buffering_minus1), where max_dec_pic_buffering_minus1+1 specifies the maximum required size of the decoded picture buffer, the value of max_dec_pic_buffering_minus1 being in the range of 0 to the maximum decoded picture buffer size minus 1, and when the dpb_parameters() is included in a video parameter set (VPS), an output layer set (OLS) to which the dpb_parameters() is applied is specified by the VPS, and when the dpb_parameters() is included in the SPS, the dpb_parameters() is applied to an OLS that includes only layers that are the lowest layer among the layers that reference the SPS, and the lowest layer is an independent layer.

20. 1. A system for processing a bitstream, comprising: a source device, an encoding device, one or more storage media, and a destination device; the source device is configured to provide video data; the encoding device is configured to obtain the video data of the source device through an interface, and encode the video data to obtain one or more bitstreams; The bitstream comprises: data representing the current picture; A reference picture list syntax structure (ref_pic_list_struct()) containing the number of reference entries (num_ref_entries), constrained to range from 0 to the maximum decoded picture buffer size + offset; a sequence parameter set (SPS) including a flag long_term_ref_pics_flag that, when long_term_ref_pics_flag is equal to 0, specifies that no long-term reference picture (LTRP) is used for inter prediction of any coded picture in a coded layer video sequence (CLVS), and, when long_term_ref_pics_flag is equal to 1, specifies that an LTRP may be used for inter prediction of one or more coded pictures in the CLVS; The bitstream further includes a decoded picture buffer parameters syntax structure (dpb_parameters()), wherein the dpb_parameters() includes a maximum decoded picture buffer minus 1 (max_dec_pic_buffering_minus1), where max_dec_pic_buffering_minus1+1 specifies the maximum required size of the decoded picture buffer, the value of max_dec_pic_buffering_minus1 being in the range of 0 to the maximum decoded picture buffer size minus 1, and when the dpb_parameters() is included in a video parameter set (VPS), an output layer set (OLS) to which the dpb_parameters() is applied is specified by the VPS, and when the dpb_parameters() is included in the SPS, the dpb_parameters() is applied to an OLS that includes only layers that are the lowest layer among the layers that reference the SPS, and the lowest layer is an independent layer.