Use of video parameter sets in video coding - Patents.com

By signaling maximum chroma format and bit depth in VPS and defining AU-specific DPB control flags, the scalability issues in VVC are addressed, improving DPB management and picture output handling for multi-layer bitstreams.

JP7572447B2Active Publication Date: 2024-10-23BYTEDANCE INC
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
JP2022556149
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-03-17
Filing Date
2021-03-16
Publication Date
2024-10-23
Estimated Expiration
2041-03-16

AI Technical Summary

Technical Problem

Existing scalability designs in VVC (Versatile Video Coding) standards do not adequately signal maximum picture width, height, chroma format, and bit depth for all layers, leading to inefficient memory allocation and incorrect picture output handling in decoded picture buffers (DPB), and lack AU-specific semantics for flags controlling DPB operations.

Method used

Signal maximum chroma format and bit depth values in the Video Parameter Set (VPS) for all layers, define AU-specific semantics for DPB control flags, and modify PictureOutputFlag derivation to ensure correct DPB management and picture output handling across layers.

Benefits of technology

Enhances DPB memory allocation efficiency and corrects picture output handling, ensuring consistent decoding performance across multi-layer bitstreams without layer-specific issues.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007572447000034
    Figure 0007572447000034
  • Figure 0007572447000035
    Figure 0007572447000035
  • Figure 0007572447000036
    Figure 0007572447000036
Patent Text Reader

Abstract

[0006] Methods and apparatuses for video processing, including coding and decoding, are described. One exemplary video processing method includes converting a video to a bitstream of the video according to a format rule, the bitstream including one or more output layer sets (OLSs), each OLS including one or more coded layer video sequences, and the format rule specifying a video parameter set indicating, for each of the one or more OLSs, a maximum allowed value of a chroma format indicator and / or a maximum allowed value of a bit depth used to represent pixels of the video.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS The present application, This is the national phase of International Application No. PCT / US2021 / 022547, filed March 16, 2021. Claims priority to and benefit of U.S. Provisional Patent Application No. 62 / 990,749, filed March 17, 2020 It is something For all legal purposes, the entire disclosure of the above application is incorporated by reference as part of the disclosure of this specification.

[0002] This patent specification relates to image and video coding and decoding. [Background technology]

[0003] Digital video accounts for the largest bandwidth usage on the Internet and other digital communications networks, and the bandwidth demands for digital video use are expected to continue to grow as the number of connected user devices capable of receiving and displaying video increases. Summary of the Invention

[0004] This application discloses techniques that may be used by video encoders and decoders to process coded representations of video using control information useful for decoding the coded representations.

[0005] In one exemplary aspect, a video processing method is disclosed that includes converting between a video having one or more video layers including one or more video pictures and a coded representation of the video, the coded representation including a video parameter set indicating a maximum value of a chroma format indicator and / or a maximum value of a bit depth used to represent pixels of the video.

[0006] In another exemplary aspect, another video processing method is disclosed that includes converting between video having one or more video layers and a coded representation of the video, where the coded representation complies with a format rule that specifies that a maximum picture width and / or a maximum picture height for video pictures of all video layers controls a value of a variable indicating whether to output a picture in a decoder buffer before removing it from the decoder buffer.

[0007] In another exemplary aspect, another video processing method is disclosed that includes converting between video having one or more video layers and a coded representation of the video that complies with a format rule that specifies that a maximum value of a chroma format indicator and / or a maximum value of a bit depth used to represent pixels of the video controls a value of a variable that indicates whether to output a picture in a decoder buffer before removing it from the decoder buffer.

[0008] In another exemplary aspect, another video processing method is disclosed that includes converting between video having one or more video layers and a coded representation of the video, where the coded representation complies with a format rule that specifies that a value of a variable indicating whether a picture in a decoder buffer is to be output before being removed from the decoder buffer is independent of whether separate color planes are used to encode the video.

[0009] In another exemplary aspect, another video processing method is disclosed that includes converting between video having one or more video layers and a coded representation of the video that complies with a format rule that specifies that a value of a variable indicating whether to output a picture in a decoder buffer before removing it from the decoder buffer is included in the coded representation at an access unit (AU) level.

[0010] In another exemplary aspect, another video processing method is disclosed that includes converting between video having one or more video layers and a coded representation of the video that complies with a format rule that specifies determining picture output flags for a video picture in the access unit based on a pic_output_flag variable of another video picture in the access unit.

[0011] In another exemplary aspect, another video processing method is disclosed that includes converting between a video having one or more video layers and a coded representation of the video, the coded representation conforming to a format rule that specifies values ​​of picture output flags for video pictures that do not belong to an output layer.

[0012] In another exemplary aspect, another video processing method is disclosed, the method including converting between a video and a bitstream of the video according to a format rule, the bitstream including one or more output layer sets (OLS), each OLS including one or more coded layer video sequences, the format rule specifying that a video parameter set indicates, for each of the one or more OLS, a maximum allowed value of a chroma format indicator and / or a maximum allowed value of a bit depth used to represent a pixel of the video.

[0013] In another exemplary aspect, another video processing method is disclosed that includes converting between a video having one or more video layers and a bitstream of the video according to a format rule that specifies that a maximum picture width and / or a maximum picture height for video pictures of all video layers controls a value of a variable that indicates whether to output a picture in a decoded picture buffer that is before a current picture in decoding order in the bitstream before removing the picture from the decoded picture buffer.

[0014] In another exemplary aspect, another video processing method is disclosed that includes converting between a video having one or more video layers and a video bitstream according to a format rule that specifies that a maximum allowed value of a chroma format indicator and / or a maximum allowed value of a bit depth used to represent pixels of the video controls a value of a variable that indicates whether a picture in a decoded picture buffer preceding a current picture in decoding order in the bitstream is output before removing the picture from the decoded picture buffer.

[0015] In another exemplary aspect, another video processing method is disclosed that includes converting between a video having one or more video layers and a bitstream of the video according to rules that specify that a value of a variable indicating whether to output a picture in a decoded picture buffer that is before a current picture in decoding order in the bitstream before removing the picture from the decoded picture buffer is independent of whether separate color planes are used to encode the video.

[0016] In another exemplary aspect, another video processing method is disclosed that includes converting a video having one or more video layers to a bitstream of the video according to a format rule that specifies that the bitstream includes a flag value indicating whether to remove a picture previously decoded and stored in a decoded picture buffer from the decoded picture buffer when decoding an access unit of a particular type.

[0017] In another exemplary aspect, another video processing method is disclosed that includes converting between a video having one or more video layers and a bitstream of the video according to a format rule, the format rule specifying that a value of a first flag indicating whether a picture previously decoded and stored in a decoded picture buffer is to be removed from a decoded picture buffer when decoding an access unit of a particular type is not indicated in a picture header.

[0018] In another exemplary aspect, another video processing method is disclosed that includes converting between video having one or more video layers and a bitstream of the video according to a format rule that specifies that a value of a flag associated with an access unit indicating whether a picture previously decoded and stored in a decoded picture buffer is to be removed from the decoded picture buffer depends on a value of a flag for each picture of the access unit.

[0019] In another exemplary aspect, another video processing method is disclosed, which includes converting between a video having one or more video layers and a bitstream of the video according to a format rule, the format rule specifying determining a value of a variable indicating whether to output a picture in an access unit based on a flag indicating whether to output another picture in the access unit.

[0020] In another exemplary aspect, another video processing method is disclosed, which includes converting between a video having one or more video layers and a bitstream of the video according to a format rule, the format rule specifying setting a value of a variable indicating whether to output a picture in an access unit equal to a specific value if the picture does not belong to an output layer.

[0021] In another exemplary aspect, another video processing method is disclosed that includes converting between a video having one or more video layers and a bitstream of the video according to a format rule that specifies that if a video has only one output layer, an access unit that does not include an output layer is coded by setting a variable indicating whether to output a picture in the access unit to a first value for a picture having a top layer ID (identification) value and to a second value for all other pictures.

[0022] In yet another exemplary aspect, a video encoder apparatus is disclosed, the video encoder comprising a processor configured to implement the above-described method.

[0023] In yet another exemplary aspect, a video decoder apparatus is disclosed, the video decoder comprising a processor configured to implement the above-described method.

[0024] In yet another exemplary aspect, a computer readable medium is disclosed having code stored thereon, the code performing one of the methods described herein in the form of processor executable code.

[0025] These and other features are described throughout this document. [Brief description of the drawings]

[0026] [Figure 1] FIG. 1 is a block diagram illustrating an example of a video processing system. [Diagram 2] FIG. 1 is a block diagram of a video processing device. [Diagram 3] 1 is a flowchart illustrating an example of a video processing method. [Figure 4] 1 is a block diagram illustrating a video coding system according to some embodiments of the present disclosure. [Diagram 5] FIG. 2 is a block diagram illustrating an encoder according to some embodiments of the present invention. [Figure 6] FIG. 2 is a block diagram illustrating a decoder according to some embodiments of the present invention. [Figure 7A] 1 shows a flowchart of an exemplary method of video processing according to some implementations of the disclosed technology. [Figure 7B] 1 shows a flowchart of an exemplary method of video processing according to some implementations of the disclosed technology. [Figure 7C] 1 shows a flowchart of an exemplary method of video processing according to some implementations of the disclosed technology. [Figure 7D] 1 shows a flowchart of an exemplary method of video processing according to some implementations of the disclosed technology. [Figure 8A] 1 shows a flowchart of an exemplary method of video processing according to some implementations of the disclosed technology. [Figure 8B] 1 shows a flowchart of an exemplary method of video processing according to some implementations of the disclosed technology. [Figure 8C] 1 shows a flowchart of an exemplary method of video processing according to some implementations of the disclosed technology. [Figure 9A] 1 shows a flowchart of an exemplary method of video processing according to some implementations of the disclosed technology. [Figure 9B] 1 shows a flowchart of an exemplary method of video processing according to some implementations of the disclosed technology. [Figure 9C] 1 shows a flowchart of an exemplary method of video processing according to some implementations of the disclosed technology. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0027] Section headings are used herein for ease of understanding and are not intended to limit the applicability of the technology and embodiments described in each section to that section alone. Additionally, the term H.266 is used in certain descriptions for ease of understanding only and is not intended to limit the scope of the disclosed technology. Thus, the technology described herein is applicable to other video codec protocols and designs.

[0028] 1. Initial consultations This specification relates to video coding techniques. Specifically, it is about signaling parameters of a decoded picture buffer (DPB) for DPB memory allocation and specifying the output of a coded picture buffer in scalable video coding, where a video bitstream includes multiple layers. The ideas may be applied individually or in various combinations to any video coding standard or non-standard video codec that supports multi-layer video coding, for example the currently developed Versatile Video Coding (VVC).

[0029] 2. Abbreviation APS Adaptation Parameter Set AU Access Unit AUD Access Unit Delimiter AVC Advanced Video Coding CLVS Coded Layer Video Sequence CPB Coded Picture Buffer CRA Clean Random Access CTU Coding Tree Unit CVS Coded Video Sequence DCI Decoding Capability Information DPB Decoded Picture Buffer EOB End Of Bitstream EOS End Of Sequence GDR Gradual Decoding Refresh HEVC High Efficiency Video Coding HRD Hypothetical Reference Decoder IDR Instantaneous Decoding Refresh JEM Joint Exploration Model MCTS Motion-Constrained Tile Sets NAL Network Abstraction Layer OLS Output Layer Set PH Picture Header PPS Picture Parameter Set PTL Profile, Tier and Level PU Picture Unit RAP Random Access Point RBSP Raw Byte Sequence Payload SEI Supplemental Enhancement Information SPS Sequence Parameter Set SVC Scalable Video Coding VCL Video Coding Layer VPS Video Parameter Set VTM VVC Test Model VUI Video Usability Information VVC Versatile Video Coding

[0030] 3. Introduction of video coding Video coding standards have evolved primarily through the development of well-known ITU-T (International Telecommunication Union - Telecommunication Standardization Sector) and ISO (International Organization for Standardization) / IEC (International Electrotechnical Commission) standards. ITU-T created H.261 and H.263, while ISO / IEC created MPEG (Moving Picture Experts Group)-1 and MPEG-4 Visual, which jointly developed H.262 / MPEG-2 Video, H.264 / MPEG-4 AVC (Advanced Video Coding), and H.265 / HEVC (High Efficiency Video Coding) standards. Since H.262, video coding standards have been based on a hybrid video coding structure where temporal prediction and transform coding are utilized. To explore future video coding technologies beyond HEVC, in 2015, the Video Coding Experts Group (VCEG) and MPEG jointly established the Joint Video Exploration Team (JVET). Since then, many new methods have been adopted by JVET and incorporated into the reference software called JEM (Joint Exploration Model). JVET meets once a quarter, and the new coding standard aims to achieve a 50% bitrate reduction compared to HEVC. At the April 2018 JVET meeting, the new video coding standard was officially named "VVC (Versatile Video Coding)" and the first version of the VVC Test Model (VTM) was released at that time. As efforts to contribute to the standardization of VVC continue, new coding techniques are adopted in the VVC standard at every JVET meeting. After each meeting, the VVC working draft and test model VTM are updated.The VVC project is currently aiming for technical completion (FDIS (Video Coding Experts Group)) at its meeting in July 2020.

[0031] 3.1. Scalable Video Coding (SVC) in General and in VVC Scalable video coding (SVC, sometimes also referred to as scalability in video coding) refers to video coding in which a base layer (BL) (sometimes called a reference layer (RL)) and one or more scalable enhancement layers (ELs) are used. In SVC, the base layer can carry video data at a basic quality level. One or more enhancement layers can carry additional video data, e.g., to support higher spatial, temporal, and / or signal-to-noise (SNR) levels. Enhancement layers may be defined relative to previously encoded layers. For example, a lower layer may function as a BL and an upper layer may function as an EL. An intermediate layer can function as either an EL or an RL, or both. For example, an intermediate layer (e.g., a layer that is neither the lowest nor the top layer) may be an EL for a layer below the intermediate layer, e.g., the base layer or any intervening enhancement layer, and may simultaneously function as a RL for one or more enhancement layers above the intermediate layer. Similarly, in multiview or 3D (three dimensional) extensions of the HEVC standard, multiple views may exist and information from one view may be used to code (e.g., encode or decode) information from another view (e.g., motion estimation, motion vector prediction, and / or other redundancy).

[0032] In SVC, parameters used in an encoder or decoder are grouped into parameter sets based on the coding level at which they can be utilized (e.g., video level, sequence level, picture level, slice level, etc.). For example, parameters that can be utilized by one or more coded video sequences in different layers in the bitstream may be included in a video parameter set (VPS), and parameters utilized by one or more pictures in a coded video sequence may be included in a sequence parameter set (SPS). Similarly, parameters utilized by one or more slices of a picture may be included in a picture parameter set (PPS), and other parameters specific to a slice may be included in a slice header. Similarly, an indication of which parameter set a particular layer is using at a given time may be provided at various coding levels.

[0033] Thanks to the support of reference picture resampling (RPR) in VVC, it can be designed to support bitstreams containing multiple layers, e.g., two layers of standard definition (SD) and high definition (HD) resolution in VVC, without requiring additional signal processing level coding tools, since the upsampling required for spatial scalability support only requires the use of RPR upsampling filters. Nevertheless, a high level of syntax change (compared to not supporting scalability) is required for scalability support. Scalability support is specified in VVC version 1. Unlike scalability support in any previous video coding standard, including the extensions of AVC and HEVC, the design of scalability in VVC has been made as suitable as possible for the design of single-layer decoders. The decoding capabilities of multi-layer bitstreams are specified as if there was only one layer in the bitstream. For example, the decoding capabilities, such as DPB size, are specified to be independent of the number of layers of the bitstream being decoded. Essentially, a decoder designed for a single-layer bitstream does not require many modifications to be able to decode a multi-layer bitstream. Compared to the multi-layer extension designs of AVC and HEVC, the HLS aspects have been significantly simplified at the expense of some flexibility, for example, an IRAP AU needs to contain pictures in each of the layers present in the coded video sequence (CVS).

[0034] 3.2. Random Access and its Support in HEVC and VVC Random access refers to starting access and decoding of a bitstream from a picture that is not the first picture of the bitstream in decoding order. To support tuning and channel switching in broadcast / multicast and multi-party video conferencing, local playback and searching in streaming, and stream adaptation in streaming, the bitstream needs to contain frequent random access points, which are typically intra-coded pictures, but may also be inter-coded pictures (e.g., in the case of gradual decoding update).

[0035] HEVC includes signaling of Intra Random Access Point (IRAP) pictures in the header of NAL units by network abstraction layer (NAL) unit type. Three types of IRAP pictures are supported: Instantaneous Decoder Refresh (IDR), Clean Random Access (CRA), and Broken Link Access (BLA) pictures. IDR pictures constrain the inter-picture prediction structure to not reference any pictures before the current group of pictures (GOP), traditionally called closed GOP random access points. CRA pictures relax the restriction by allowing certain pictures to reference pictures before the current GOP, all of which are discarded in the case of random access. CRA pictures are traditionally called open GOP random access points. BLA pictures are typically generated by splicing two bitstreams or parts of them at CRA pictures, for example at stream switching. To enable better system usage of IRAP pictures, a total of six different NAL units are defined to signal properties of IRAP pictures that can be used to better suit the types of Stream Access Points as defined in the ISO Base Media File Format (ISOBMFF), used for random access support in Dynamic Adaptive Streaming over HTTP (DASH).

[0036] VVC supports three types of IRAP pictures, two types of IDR pictures (one type associated with an RADL picture or the other type not), and one type of CRA picture, which are essentially the same as HEVC. The BLA picture type in HEVC is not included in VVC, mainly for two reasons. i) The basic functionality of a BLA picture can be achieved by adding an end-of-sequence NAL unit to a CRA picture, the presence of which indicates that the following picture starts a new CVS in a single-layer bitstream. ii) In the development of VVC, there was a desire to specify fewer NAL unit types than HEVC, as indicated by the use of 5 bits instead of 6 bits for the NAL unit type field in the NAL unit header.

[0037] Another important difference in random access support between VVC and HEVC is that VVC supports gradual decoding refresh (GDR) in a more prescriptive way. In GDR, bitstream decoding can start with an inter-coded picture, and initially the entire picture area cannot be correctly decoded, but after a number of pictures the entire picture area can be correctly decoded. AVC and HEVC also support GDR using a recovery point supplemental enhancement information (SEI) message for signaling GDR random access points and recovery points. In VVC, a new NAL unit type is defined to indicate a GDR picture, and recovery points are signaled in the picture header syntax structure. CVS and bitstreams can start with a GDR picture. This means that an entire bitstream can contain only inter-coded pictures without one intra-coded picture. The main advantage of defining GDR support in this way is to provide GDR-compatible operation. GDR allows an encoder to smooth the bitrate of the bitstream by distributing intra-coded slices or blocks across multiple pictures rather than intra-coding the entire picture, which allows for a significant reduction in end-to-end delay, which may be more important today than in the past as ultra-low latency applications such as wireless displays, online gaming, and drone-based applications become more common.

[0038] Another GDR-related feature in VVC is virtual boundary signaling. The boundary between an updated region (i.e., a correctly decoded region) and an unupdated region in the pictures between the GDR picture and its recovery point may be signaled as a virtual boundary, and when signaled, in-loop filtering across the boundary will not be applied, and thus no decoding inconsistency will occur for some samples near the boundary. This can be useful if an application decides to display correctly decoded regions during GDR processing.

[0039] IRAP pictures and GDR pictures can be collectively referred to as Random Access Point (RAP) pictures.

[0040] 3.3 Parameter Set AVC, HEVC, and VVC specify parameter sets. Parameter set types include SPS, PPS, APS (adaptation parameter set), and VPS. SPS and PPS are supported by all of AVC, HEVC, and VVC. VPS was introduced by HEVC and is included in both HEVC and VVC. APS was not included in AVC or HEVC, but is included in the text of the recent VVC draft.

[0041] The SPS was designed to carry sequence-level header information, and the PPS was designed to carry picture-level header information that does not change frequently. With the SPS and PPS, redundant signaling of frequently changing information can be avoided because there is no need to repeat this information for every sequence or picture. Furthermore, using the SPS and PPS enables out-of-band transmission of important header information, thereby improving error resilience as well as avoiding the need for redundant transmission.

[0042] VPS was introduced to carry sequence-level header information that is common to all layers of a multi-layer bitstream.

[0043] APS was introduced to convey such picture-level or slice-level information that requires significant bits to code, can be shared by multiple pictures, and can exist in many different variations in a sequence.

[0044] 3.4 Related Definitions in VVC The relevant definition in the recent VVC text JVET-Q2001-vE / v15) is as follows: Associated IRAP picture (of a particular picture): The previous IRAP picture in decoding order (if there is one) has the same value nuh_layer_id as the particular picture. Coded Video Sequence (CVS): A sequence of AUs that consists, in decoding order, of a CVSS AU followed by zero or more AUs that are not CVSS AUs, including all AUs up to (but not including) the subsequent AU that is a CVSS AU. Coded video sequence start (CVSS) AU: An AU where there is a picture unit (PU) in each layer of the CVS, and the coded picture of each PU is a coded layer video sequence start (CLVSS) picture. Gradual Decoding Update (GDR) AU: An AU in which each coded picture of this PU is a GDR picture. Gradual Decoding Refresh (GDR) PU: A PU whose coded picture is a GDR picture. Gradual Decoding Refresh (GDR) picture: A picture whose NAL unit nal_unit_type is GDR_NUT. Intra Random Access Point (IRAP) AU: An AU in which a PU exists in each layer of a CVS, and the coded picture of each PU is an IRAP picture. Intra Random Access Point (IRAP) picture: A coded picture in which all video coding layer (VCL) NAL units have the same value of nal_unit_type, within the range IDR_W_RADL to CRA_NUT. primary picture: A picture that is in the same layer as the associated IRAP picture and that precedes the associated IRAP picture in output order. Last picture: A non-IRAP picture that follows the associated IRAP picture in output order and is not a stepwise temporal sublayer access (STSA) picture. NOTE - Please note that the trailing pictures associated with an IRAP picture also follow the decoding order of the IRAP picture. Pictures that follow the output order of the associated IRAP picture and precede the associated IRAP picture in decoding order are not allowed.

[0045] 3.5 VPS Syntax and Semantics in VVC VVC supports scalability, also known as scalable video coding, where multiple layers can be encoded in one coded video bitstream.

[0046] In the recent VVC text (JVET-Q2001-vE / v15), scalability information is signaled in the VPS, and its syntax and semantics are as follows:

[0047] 7.3.2.2 Video parameter set syntax [Table 1] [Table 2] [Table 3]

[0048] 7.4.3.2 Video Parameter Set RBSP Semantics The VPS raw byte sequence payload (RBSP) is available to the decoding process before it is referenced and is contained in at least one AU whose TemporalId is equal to 0 or is provided by external means. All VPS NAL units with a particular value of vps_video_parameter_set_id in the CVS shall have the same content. vps_video_parameter_set_id provides an identifier for the VPS to which other syntax elements refer. The value of vps_video_parameter_set_id shall be greater than 0. vps_max_layers_minus1 plus 1 specifies the maximum number of layers allowed when each CVS references a VPS. vps_max_sublayers_minus1 plus 1 specifies the maximum number of temporal sublayers that may exist in each CVS layer that references the VPS. The value of vps_max_sublayers_minus1 should be in the range of 0 to 6. vps_all_layers_same_num_sublayers_flag equal to 1 specifies that the number of temporal sublayers is the same in all layers in each CVS that references the VPS. vps_all_layers_same_num_sublayers_flag equal to 0 specifies that layers in each CVS that references the VPS may or may not have the same number of temporal sublayers. If not present, the value of vps_all_layers_same_num_sublayers_flag is 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 layers in the CVS may use inter-layer prediction. If not present, the value of vps_all_independent_layers_flag is inferred to be equal to 1. vps_layer_id[i] specifies the value of nuh_layer_id for the i-th layer. For any two non-negative integer values ​​of m and n, when m is less than n, the value of vps_layer_id[m] shall be less than vps_layer_id[n]. vps_independent_layer_flag[i] equal to 1 specifies that the layer with index i does not use inter-layer prediction. vps_independent_layer_flag[i] equal to 0 specifies that the layer with index i can use inter-layer prediction and is present in the VPS if the syntax element vps_direct_ref_layer_flag[i][j] for j is in the range of 0 to i-1, inclusive. If not present, the value of vps_independent_layer_flag[i] is inferred to be equal to 1. vps_direct_ref_layer_flag[i][j] equal to 0 specifies that the layer with index j is not a direct reference layer of the layer with index i. vps_direct_ref_layer_flag[i][j] equal to 1 specifies that the layer with index j is a direct reference layer of the layer with index i. When i and j are in the range of 0 to vps_max_layer_minus1, if vps_direct_ref_layer_flag[i][j] is not present, it is inferred to be equal to 0. If vps_independent_layer_flag[i] is equal to 0, there shall be at least one value of j in the range of 0 to i-1 such that vps_direct_ref_layer_flag[i][j] has a value of 1. The variables NumDirectRefLayers[i], DirectRefLayerIdx[i][d], NumRefLayers[i], RefLayerIdx[i][r], and LayerUsedAsdRefLayerFlag[i] are derived as follows: for(i=0;i<=vps_max_layers_minus1;i++) { for(j=0;j<=vps_max_layers_minus1;j++) { dependencyFlag[i][j]=vps_direct_ref_layer_flag[i][j] for(k=0;k <i;k++) if(vps_direct_ref_layer_flag[i][k]&&dependencyFlag[k][j]) dependencyFlag[i][j]=1 } LayerUsedAsRefLayerFlag[i]=0 } for(i=0;i<=vps_max_layers_minus1;i++) { for(j=0,d=0,r=0;j<=vps_max_layers_minus1;j++) { (37) if(vps_direct_ref_layer_flag[i][j]) { DirectRefLayerIdx[i][d++]=j LayerUsedAsRefLayerFlag[j]=1 } if(dependencyFlag[i][j]) RefLayerIdx[i][r++]=j } NumDirectRefLayers[i]=d NumRefLayers[i]=r } The variable GeneralLayerIdx[i], which specifies the layer index of the layer with nuh_layer_id that is vps_layer_id[i], is derived as follows: for(i=0;i<=vps_max_layers_minus1;i++) (38) GeneralLayerIdx[vps_layer_id[i]]=i It is a bitstream conformance requirement that for any two distinct values ​​of i and j, both in the range 0 to vps_max_layers_minus1, if dependencyFlag[i][j] is equal to 1, then the chroma_format_idc and bit_depth_minus8 applied to the i-th layer shall be equal to the chroma_format_idc and bit_depth_minus8 applied to the j-th layer, respectively. If max_tid_ref_present_flag[i] is equal to 1, it specifies that the syntax element max_tid_il_ref_pics_plus1[i] is present. If max_tid_ref_present_flag[i] is equal to 0, it specifies that the syntax element max_tid_il_ref_pics_plus1[i] is not present. max_tid_il_ref_pics_plus1[i] equal to 0 specifies that inter-layer prediction is not used for non-IRAP pictures of the i-th layer. max_tid_il_ref_pics_plus1[i]>0 specifies that pictures with TemporalIds greater than max_tid_il_ref_pics_plus1[i]-1 are not used as inter layer reference pictures (ILRPs) for decoding pictures of the i-th layer. If not present, the value of max_tid_il_ref_pics_plus1[i] is inferred to be equal to 7. layer_is_an_ols_flag equal to 1 specifies that each OLS contains only one layer, each layer in the CVS that references the VPS is itself an OLS, and the single contained layer is the only output layer. An OLS may contain more than one layer if each_layer_is_an_ols_flag is equal to 0. 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, if 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. ols_mode_idc equal to 0 specifies that the total number of OLSs specified in the VPS is equal to vps_max_layers_minus1+1, where the i-th OLS includes layers with layer indices from 0 to i, and for each OLS, outputs only the topmost layer in the OLS. ols_mode_idc equal to 1 specifies that the total number of OLSs specified in the VPS is equal to vps_max_layers_minus1+1, where the i-th OLS includes layers with layer indices from 0 to i, and for each OLS, outputs all layers in the OLS. ols_mode_idc equal to 2 specifies that the total number of OLSs specified by the VPS are explicitly signaled, and for each OLS, specifies that the output layer is explicitly signaled and specifies that the other layers are layers that are direct or indirect reference layers of the output layer of the OLS. The value of ols_mode_idc should be in the range from 0 to 2. The value 3 of ols_mode_idc is reserved for future use by ITU-T|ISO / IEC. If vps_all_independent_layers_flag is equal to 1 and each_layer_is_an_ols_flag is equal to 0, the value of ols_mode_idc is inferred to be equal to 2. num_output_layer_sets_minus1 plus 1 specifies the total number of OLSs specified in the VPS when ols_mode_idc is equal to 2. The variable TotalNumOlss, which specifies the total number of OLSs specified in the VPS, is 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 (39) else if(ols_mode_idc==2) TotalNumOlss=num_output_layer_sets_minus1+1 ols_output_layer_flag[i][j] equal to 1 specifies that the layer with nuh_layer_id equal to vps_layer_id[j] is the output layer of the i-th OLS when ols_mode_idc is equal to 2. ols_output_layer_flag[i][j] equal to 0 specifies that the layer with nuh_layer_id equal to vps_layer_id[j] is not the output layer of the i-th OLS when ols_mode_id is equal to 2. The variable NumOutputLayersInOls[i] that specifies the number of output layers in the i-th OLS, the variable NumSubLayersInLayerInOls[i][j] that specifies the number of sublayers of the j-th layer in the i-th OLS, the variable OutputLayerIdInOls[i][j] that specifies the nuh_layer_id value of the j-th output layer in the i-th OLS, and the variable LayerUsedAsOutputLayerFlag[k] that specifies whether the k-th layer is used as an output layer in at least one OLS are derived as follows. NumOutputLayersInOls[0]=1 OutputLayerIdInOls[0][0]=vps_layer_id[0] NumSubLayersInLayerInOLS[0][0]=vps_max_sub_layers_minus1+1 LayerUsedAsOutputLayerFlag[0]=1 for(i=1,i<=vps_max_layers_minus1;i++) { if(each_layer_is_an_ols_flag||ols_mode_idc<2) LayerUsedAsOutputLayerFlag[i]=1 else / *(!each_layer_is_an_ols_flag&&ols_mode_idc==2) * / LayerUsedAsOutputLayerFlag[i]=0 } for(i=1;i<TotalNumOlss;i++) if(each_layer_is_an_ols_flag||ols_mode_idc==0) { NumOutputLayersInOls[i]=1 OutputLayerIdInOls[i][0]=vps_layer_id[i] for(j=0;j<i&&(ols_mode_idc==0);j++) NumSubLayersInLayerInOLS[i][j]=max_tid_il_ref_pics_plus1[i] NumSubLayersInLayerInOLS[i][i]=vps_max_sub_layers_minus1+1 } else if(ols_mode_idc==1) { NumOutputLayersInOls[i]=i+1 for(j=0;j<NumOutputLayersInOls[i];j++) { OutputLayerIdInOls[i][j]=vps_layer_id[j] NumSubLayersInLayerInOLS[i][j]=vps_max_sub_layers_minus1+1 } } else if(ols_mode_idc==2) { for(j=0;j<=vps_max_layers_minus1;j++) { layerIncludedInOlsFlag[i][j]=0 NumSubLayersInLayerInOLS[i][j]=0 } for(k=0,j=0;k<=vps_max_layers_minus1;k++) (40) if(ols_output_layer_flag[i][k]) { layerIncludedInOlsFlag[i][k]=1 LayerUsedAsOutputLayerFlag[k]=1 OutputLayerIdx[i][j]=k OutputLayerIdInOls[i][j++]=vps_layer_id[k] NumSubLayersInLayerInOLS[i][j]=vps_max_sub_layers_minus1+1 } NumOutputLayersInOls[i]=j for(j=0;j <NumOutputLayersInOls[i];j++) { idx=OutputLayerIdx[i][j] for(k=0;k <NumRefLayers[idx];k++) { layerIncludedInOlsFlag[i][RefLayerIdx[idx][k]]=1 if(NumSubLayersInLayerInOLS[i][RefLayerIdx[idx][k]] < max_tid_il_ref_pics_plus1[OutputLayerIdInOls[i][j]]) NumSubLayersInLayerInOLS[i][RefLayerIdx[idx][k]]= max_tid_il_ref_pics_plus1[OutputLayerIdInOls[i][j]] } } } For each value of i in the range 0 to vps_max_layer_minus1, the values ​​of LayerUsedAsRefLayerFlag[i] and LayerUsedAsOutputLayerFlag[i] shall not both be equal to 0. In other words, there shall be no layer that is neither the output layer of at least one OLS nor a direct reference layer of another layer. For each OLS, there shall be at least one layer that is the output layer, i.e., for values ​​of i in the range 0 to TotalNumOlss_1, inclusive, the value of NumOutputLayersInOls[i] shall be greater than or equal to 1. The variable NumLayersInOls[i] that specifies the number of layers in the i-th OLS, and the variable LayerIdInOls[i][j] that specifies the nuh_layer_id value of the j-th layer in the i-th OLS are derived as follows. 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] (41) } 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(layerIncludedInOlsFlag[i][k]) LayerIdInOls[i][j++]=vps_layer_id[k] NumLayersInOls[i] = j } } NOTE 1 - The 0th OLS only includes the lowest layer (i.e. the layer whose nuh_layer_id is vps_layer_id[0]), and for the 0th OLS, only the included layers are output. The variable OlsLayerIdx[i][j] that specifies the OLS layer index of the layer whose nuh_layer_id is LayerIdInOls[i][j] is derived as follows: for(i=0;i <TotalNumOlss;i++) for j=0;j <NumLayersInOls[i];j++) (42) OlsLayerIdx[i][LayerIdInOls[i][j]]=j The lowest layer in each OLS shall be an independent layer, i.e., 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 for which a particular value of nuh_layer_id, nuhLayerId, is equal to one of vps_layer_id[k], for k in the range 0 to vps_max_layers_minus1, there shall be at least one pair of values, i and j, where i is in the range 0 to TotalNumOlss-1 and j is in the range NumLayersInOls[i]-1, such that the value of LayerIdInOls[i][j] is equal to nuhLayerId. vps_num_ptls_minus1 plus 1 specifies the number of profile_tier_level() syntax structures in the VPS. The value of vps_num_ptls_minus1 shall be less than TotalNumOlss. pt_present_flag[i] equal to 1 specifies that the i-th profile_tier_level() syntax structure of the VPS contains profile, tier, and general constraint information, and pt_present_flag[i] equal to 0 specifies that the i-th profile_tier_level() syntax structure of the VPS does not contain profile, tier, and general constraint information. The value of pt_present_flag[0] is inferred to be equal to 1. If pt_present_flag[i] is equal to 0, the profile, tier, and general constraint information of the i-th profile_tier_level() syntax structure in the VPS is inferred to be the same as that of the (i-1)-th profile_tier_level() syntax structure in the VPS. ptl_max_temporal_id[i] specifies the TemporalId of the highest sublayer representation for which level information exists in the i-th profile_tier_level() syntax structure of the VPS. The value of ptl_max_temporal_id[i] shall be in the range of 0 to vps_max_sublayers_minus1. If vps_max_sublayers_minus1 is equal to 0, the value of ptl_max_temporal_id[i] is inferred to be equal to 0. If vps_max_sublayers_minus1 is greater than 0 and vps_all_layers_same_num_sublayers_flag is equal to 1, the value of ptl_max_temporal_id[i] is inferred to be equal to vps_max_sublayers_minus1. vps_ptl_alignment_zero_bit=0. ols_ptl_idx[i] specifies the index into the list of profile_tier_level() syntax structures in the VPS of the profile_tier_level() syntax structure that applies to the i-th OLS. If present, the value of ols_ptl_idx[i] shall be in the range 0 to vps_num_ptls_minus1. If vps_num_ptls_minus1 is equal to 0, the value of ols_ptl_idx[i] is inferred to be equal to 0. If NumLayersInOls[i] is equal to 1, the profile_tier_level() syntax structure that applies to the ith OLS is also present in the SPS referenced by the layer of the ith OLS. It is a bitstream conformance requirement that if NumLayersInOLS[i] is equal to 1, the profile_tier_level() syntax structures signaled in the VPS and the SPS of the ith OLS shall be identical. vps_num_dpb_params specifies the number of dpb_parameters() syntax structures in the VPS. The value of vps_num_dpb_params is in the range of 0 to 16. If not present, the value of vps_num_dpb_params is inferred to be equal to 0. vps_sublayer_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 of the VPS. If not present, vps_sub_dpb_params_info_present_flag is inferred to be equal to 0. dpb_max_temporal_id[i] specifies the TemporalId of the highest sublayer representation for which the i-th dpb_parameters() syntax structure of the VPS may contain DPB parameters. The value of dpb_max_temporal_id[i] shall be in the range of 0 to vps_max_sublayers_minus1. If vps_max_sublayers_minus1 is equal to 0, the value of dpb_max_temporal_id[i] is inferred to be equal to 0. If vps_max_sublayers_minus1 is greater than 0 and vps_all_layers_same_num_sublayers_flag is equal to 1, the value of dpb_max_temporal_id[i] is inferred to be equal to vps_max_sublayers_minus1. ols_dpb_pic_width[i] specifies the width, in units of luma samples, of each picture storage buffer for the i-th OLS. ols_dpb_pic_height[i] specifies the height of each picture storage buffer of the i-th OLS, in units of luma samples. ols_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 i-th OLS, if NumLayersInOls[i] is greater than 1. If present, the value of ols_dpb_params_idx[i] shall be in the range 0 to vps_num_dpb_params-1. If ols_dpb_params_idx[i] is not present, the value of ols_dpb_params_idx[i] is inferred to be equal to 0. If NumLayersInOls[i] is equal to 1, the dpb_parameters() syntax structures that apply to the i-th OLS are present in the SPS referenced by the layer in the i-th OLS. When vps_general_hrd_params_present_flag is equal to 1, it specifies that the VPS includes the general_hrd_parameters() syntax structure and other HRD (hypothetical reference decoder) parameters. vps_general_hrd_params_present_flag equal to 0 specifies that the VPS does not contain a general_hrd_parameters() syntax structure or other HRD parameters. If not present, the value of vps_general_hrd_params_present_flag is inferred to be 0. If NumLayersInOls[i] is equal to 1, the general_hrd_parameters() syntax structure and the ols_hrd_parameters() syntax structure that applies to the i-th OLS are present in the SPS referenced by the layer of the i-th OLS. vps_sublayer_cpb_params_present_flag equal to 1 specifies that the i-th ols_hrd_parameters() syntax structure in the VPS contains HRD parameters for sublayer representations whose TemporalId is in the range of 0 to hrd_max_tid[i]. vps_sublayer_cpb_params_present_flag equal to 0 specifies that the i-th ols_hrd_parameters() syntax structure in the VPS contains only HRD parameters for representations of sublayers whose TemporalId is equal to hrd_max_tid[i]. If vps_max_sublayers_minus1 is equal to 0, the value of vps_sublayer_cpb_params_present_flag is inferred to be equal to 0. If vps_sublayer_cpb_params_present_flag is equal to 0, the HRD parameters of the sublayer representations with TemporalId in the range from 0 to hrd_max_tid[i]-1 are inferred to be equal to the same as the HRD parameters of the sublayer representations with TemporalId equal to hrd_max_tid[i]-1. This includes the HRD parameters starting from the fixed_pic_rate_general_flag[i] syntax element up to the sublayer_hrd_parameters(i) syntax structure immediately below the condition “if(general_vcl_hrd_params_present_flag)” in the ols_hrd_parameters syntax structure. num_ols_hrd_params_minus1 plus 1 specifies the number of ols_hrd_parameters() syntax structures present in the VPS when vps_general_hrd_params_present_flag is equal to 1. The value of num_ols_hrd_params_minus1 must be in the range from 0 to TotalNumOls-1. hrd_max_tid[i] specifies the TemporalId of the highest sublayer representation whose i-th ols_hrd_parameters() syntax structure contains HRD parameters. The value of hrd_max_tid[i] shall be in the range of 0 to vps_max_sublayers_minus1. If vps_max_sublayers_minus1 is equal to 0, the value of hrd_max_tid[i] is inferred to be equal to 0. If vps_max_sublayers_minus1 is greater than 0 and vps_all_layers_same_num_sublayers_flag is equal to 1, the value of hrd_max_tid[i] is inferred to be equal to vps_max_sublayers_minus1. ols_hrd_idx[i] specifies the index into the list of ols_hrd_parameters() syntax structures in the VPS for the ols_hrd_parameters() syntax structure that applies to the i-th OLS, if NumLayersInOls[i] is greater than 1. The value of ols_hrd_idx[[i] shall be in the range from 0 to num_ols_hrd_params_minus1. If NumLayersInOls[i] is equal to 1, the ols_hrd_parameters() syntax structure that applies to the i-th OLS is in the SPS referenced by the layer in the i-th OLS. If the value of num_ols_hrd_param_minus1+1 is equal to TotalNumOLS, then the value of ols_hrd_idx[i] is inferred to be equal to i. Otherwise, if NumLayersInOls[i] is greater than 1 and num_ols_hrd_params_minus1 is equal to 0, the value of ols_hrd_idx[i] is inferred to be equal to 0. When vps_extension_flag is equal to 0, it specifies that the VPS RBSP syntax structure does not include the vps_extension_data_flag syntax element. When vps_extension_flag is equal to 1, it specifies that the vps_extension_data_flag syntax element is present in the VPS RBSP syntax structure. vps_extension_data_flag can have any value. Its presence and value do not affect a decoder's conformance to the features specified in this specification version. Decoders conforming to this specification version MUST ignore all vps_extension_data_flag syntax elements.

[0049] 3.6. SPS Syntax and Semantics in VVC In the recent VVC text (JVET-Q2001-vE / v15), the SPS syntax and semantics most relevant to the present embodiment are as follows:

[0050] 7.3.2.3 Sequence Parameter Set RBSP Syntax [Table 4]

[0051] 7.4.3.3 Sequence Parameter Set RBSP Semantics ... A gdr_enabled_flag equal to 1 specifies that GDR pictures may be present in the CLVS referencing the SPS. A gdr_enabled_flag equal to 0 specifies that no GDR pictures may be present in the CLVS referencing the SPS. chroma_format_idc indicates the chroma sampling relative to luma sampling, as specified in section 6.2. ... bit_depth_minus8 specifies the bit depth of samples of the luma and chroma array BitDepth and the value of the chroma quantization parameter range offset QpBdOffset as follows: BitDepth=8+bit_depth_minus8 (45) QpBdOffset=6*bit_depth_minus8 (46) bit_depth_minus8 is in the range of 0 to 8. ... 3.7. Syntax and Semantics of the Picture Header Structure in VVC

[0052] In the recent VVC text (JVET-Q2001-vE / v15), the syntax and semantics of the picture header structure most relevant to the present embodiment are as follows:

[0053] 7.3.2.7 Picture Header Structure Syntax [Table 5]

[0054] 7.4.3.7 Picture Header Structure Semantics

[0055] The picture header (PH) syntax structure contains information that is common to all slices of the coded picture associated with the PH syntax structure. gdr_or_irap_pic_flag equal to 1 specifies that the current picture is a GDR or IRAP picture. gdr_or_irap_pic_flag equal to 0 specifies that the current picture may or may not be a GDR or IRAP picture. gdr_pic_flag equal to 1 specifies that the picture associated with PH is a GDR picture. gdr_pic_flag equal to 0 specifies that the picture associated with PH is not a GDR picture. If not present, the value of gdr_pic_flag is inferred to be equal to 0. If gdr_enabled_flag is equal to 0, the value of gdr_pic_flag shall be equal to 0. NOTE 1 - If gdr_or_irap_pic_flag is equal to 1 and gdr_pic_flag is equal to 0, the picture associated with the PH is an IRAP picture. ... ph_pic_order_cnt_lsb specifies the picture order count modulo MaxPicOrderCntLsb of the current picture. The length of the ph_pic_order_cnt_lsb syntax element is log2_max_pic_order_cnt_lsb_minus4+4 bits. The value of ph_pic_order_cnt_lsb shall be in the range of 0 to MaxPicOrderCntLsb-1. As specified in Annex C, no_output_of_prior_pics_flag affects the output of the previously decoded picture in the DPB after decoding of a CLVSS picture that is not the first picture in the bitstream. recovery_poc_cnt specifies the recovery point in output order of the decoded picture. If the current picture is a GDR picture associated with PH, and there is a picture following the current GDR picture in decoding order in a CLVS with PicOrderCntVal that is the current GDR picture's PicOrderCntVal plus the value of recovery_poc_cnt, then this picture picA is called the recovery point picture. Otherwise, the first picture in output order with PicOrderCntVal greater than the current picture's PicOrderCntVal plus the value of recovery_poc_cnt is called the recovery point picture. A recovery point picture shall not precede the current GDR picture in decoding order. The value of recovery_poc_cnt shall be in the range of 0 to MaxPicOrderCntLsb-1. If the current picture is a GDR picture, the variable RpPicOrderCntVal is derived as follows: RpPicOrderCntVal=PicOrderCntVal+recovery_poc_cnt (81) NOTE 2 - if gdr_enabled_flag is equal to 1 and the PicOrderCntVal of the current picture is greater than or equal to the RpPicOrderCntVal of the associated GDR picture, then the current and subsequent decoded pictures in output order exactly match the corresponding pictures produced by starting the decoding process from the previous IRAP picture (if there is one) that precedes the associated GDR picture in decoding order. ...

[0056] Setting PictureOutputFlag In the recent VVC text (JVET-Q2001-vE / v15), the specification for setting the value of the variable PictureOutputFlag is as follows (section 8.1.2, as part of the decoding process of a coded picture): 8.1.2 Decoding process for coded pictures The decoding process specified in this section is applied to each coded picture (called the current picture, represented in BitstreamToDecode by the variable CurrPic). Depending on the value of chroma_format_idc, the number of sample arrays for the current picture is: - If chroma_format_idc is equal to 0, the current picture is encoded using one sample array S L It is composed of: - Otherwise (chroma_format_idc is not equal to 0), the current picture is L , S Cb , S Cr It is composed of: The decoding process for the current picture takes as input the syntax elements and uppercase variables from item 7. When interpreting the semantics of each syntax element in each NAL unit, and in the remainder of item 8, the term "bitstream" (or a part thereof, e.g., CVS of bitstream) refers to BitstreamToDecode (or a part thereof). Depending on the value of separate_colour_plane_flag the decoding process is configured as follows: If -separate_colour_plane_flag is equal to 0, the decoding process is called once with the current picture as output. - otherwise (separate_colour_plane_flag is equal to 1), the decoding process is called three times. The input to the decoding process are all NAL units of the coded picture with the same value of colour_plane_id. The decoding process for a NAL unit with a particular value of colour_plane_id is specified as if only CVS with monochrome colour format with a particular value of colour_plane_id is present in the bitstream. The output of each of the three decoding processes is assigned to one of the three sample arrays of the current picture, and NAL units with colour_plane_id equal to 0, 1 and 2 are assigned to S, respectively. L , S Cb , S Cr is assigned to. NOTE - If separate_colour_plane_flag is equal to 1 and chroma_format_idc is equal to 3, the variable ChromaArrayType is derived equal to 0. During the decoding process, the value of this variable is evaluated and the operation is the same as in the monochrome picture case (chroma_format_idc is equal to 0). The decoding process operates as follows for the current picture, CurrPic. 1. NAL unit decoding is specified in Section 8.2. The process in section 2.8.3 specifies the following decoding process using the tile group header layer and higher syntax elements. - Picture order count related variables and functions are derived as specified in section 8.3.1. It needs to be called only for the first slice of a picture. At the beginning of the decoding process for each slice of a non-IDR picture, the decoding process for reference picture list construction specified in Section 8.3.2 is invoked to derive reference picture list 0 (RefPicList[0]) and reference picture list 1 (RefPicList[1]). - The decoding process for reference picture marking in clause 8.3.3 is invoked and reference pictures may be marked as "not used for reference" or "used for long-term reference". This only needs to be invoked for the first slice of a picture. - If the current picture is a CRA picture with NoOutputBeforeRecoveryFlag equal to 1 or a GDR picture with NoOutputBeforeRecoveryFlag equal to 1, the decoding process for generating unavailable reference pictures as specified in subclause 8.3.4 shall be invoked, but only for the first slice of the picture. -PictureOutputFlag is set as follows: - Set PictureOutputFlag equal to 0 if one of the following conditions is true: - The current picture is a random access skipped leading (RASL) picture and the NoOutputBeforeRecoveryFlag of the associated IRAP picture is equal to 1. -gdr_enabled_flag is equal to 1 and the current picture is a GDR picture with NoOutputBeforeRecoveryFlag equal to 1. - gdr_enabled_flag is equal to 1, the current picture is associated with a GDR picture with NoOutputBeforeRecoveryFlag equal to 1, and the current picture's PicOrderCntVal is less than the associated GDR picture's RpPicOrderCntVal. - sps_video_parameter_set_id is greater than 0, ols_mode_idc is equal to 0, and the current AU contains a picture picA that satisfies all of the following conditions: - PicA has PictureOutputFlag equal to 1. -PicA has a nuh_layer_id nuhLid that is greater than the one of the current picture. -PicA belongs to the output layer of OLS (i.e., OutputLayerIdInOls[TargetOlsIdx][0] is equal to nuhLid). -sps_video_parameter_set_id is greater than 0, ols_mode_idc is equal to 2, and ols_output_layer_flag[TargetOlsIdx][GeneralLayerIdx[nuh_layer_id]] is equal to 0. - Otherwise, PictureOutputFlag is set equal to pic_output_flag. 3. The processes in clauses 8.4, 8.5, 8.6, 8.7 and 8.8 specify the decoding process using syntax elements at all syntax structure layers. It is a bitstream conformance requirement that a coded slice of a picture contains slice data for all coding tree units (CTUs) of the picture, such that a picture is divided into slices and the slices are divided into coding tree units (CTUs), each of which forms a partition of the picture. 4. After decoding all slices of the current picture, mark the current decoded picture as “used for short-term reference” and mark each ILRP entry in RefPicList[0] or RefPicList[1] as “used for short-term reference”.

[0057] 3.9. Setting DPB parameters for HRD operations In the recent VVC text (JVET-Q2001-vE / v15), the specification for setting DPB parameters for HRD operation is as follows (as part of section C.1): C.1 General ... For each bitstream conformance test, the size (in bits) of the coded picture buffer (CPB) is CpbSize[Htid][ScIdx] as specified in Section 7.4.6.3, where ScIdx and the HRD parameters are specified above in this section, and the DPB parameters max_dec_pic_buffering_minus1[Htid], max_num_reorder_pics[Htid] and MaxLatncyPictures[Htid] are found in or derived from the dpb_parameters() syntax structure that applies to the target OLS as follows: - If the target OLS contains only one layer, the dpb_parameters() syntax structure is found in the SPS that refers to the layer of the target OLS. - Otherwise (the target OLS contains multiple strata), dpb_parameters() is identified by ols_dpb_params_idx[TargetOlsIdx] found in the VPS. ...

[0058] 3.10. Setting NoOutputOfPriorPicsFlag In the recent VVC text (JVET-Q2001-vE / v15), the specification for setting the value of the variable NoOutputOfPriorPicFlag (as part of the specification for removing pictures from the DPB) is as follows: C.3.2 Removal of pictures from the DPB before decoding of the current picture Before decoding of the current picture (but after parsing the slice header of the first slice of the current picture), removal of the picture from the DPB is done instantaneously at the CPB removal time of the first DU (decoding unit) of AU n (containing the current picture) and proceeds as follows: The decoding process for reference picture list construction as specified in subclause 8.3.2 is invoked and the decoding process for reference pictures marked as specified in subclause 8.3.3 is invoked. - If the current AU is a CVSS AU that is not AU 0, the following ordered steps are applied: 1. The variable NoOutputOfPriorPicsFlag for the decoder under test is derived 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_minus8, max_dec_pic_buffering_minus1[Htid] derived for any picture in the current AU are different from the respective values ​​of pic_width_max_in_luma_samples, pic_height_max_in_luma_samples, chroma_format_idc, separate_colour_plane_flag, bit_depth_minus8, or max_dec_pic_buffering_minus1[Htid] derived for a previous picture of the same CLVS, NoOutputOfPriorPicsFlag may (but should not) be set to 1 by the decoder under test, regardless of the value of no_output_of_prior_pics_flag. NOTE - Under such conditions, it is preferred to set NoOutputOfPriorPicsFlag equal to no_output_of_pics_flag, but in this case the decoder under test may set NoOutputOfPriorPicsFlag to 1. - Otherwise, NoOutputOfPriorPicsFlag is set equal to no_output_of_prior_pics_flag. 2. Apply the derived NoOutputOfPriorPicsFlag value for the decoder under test to the HRD, and if the value of NoOutputOfPriorPicsFlag is equal to 1, all picture storage buffers in the DPB are emptied without output of the pictures they contain and DPB fullness is set equal to 0. - For any picture k in the DPB, if both of the following conditions are true, then remove from the DPB all such pictures k in the DPB: Picture k is marked as "unused for reference". The PictureOutputFlag of picture k is equal to 0 or its DPB output time is less than or equal to the CPB removal time of the first DU (denoted as DU m) of the current picture n, i.e., DpbOutputTime[k] is less than or equal to DuCpbRemovalTime[m]. -For each picture removed from the DPB, reduce the DPB fullness by 1. C.5.2.2 Outputting and Removing Pictures from the DPB Before decoding the current picture (but after parsing the slice header of the first slice of the current picture), output and removal of the picture from the DPB is done instantly when the first DU of the AU containing the current picture is removed from the CPB, and proceeds as follows: The decoding process for reference picture list construction specified in subclause 8.3.2 and the decoding process for reference picture marking specified in subclause 8.3.3 are invoked. - If the current picture is a CLVSS picture that is not picture 0, the following ordered steps apply: 1. The variable NoOutputOfPriorPicsFlag for the decoder under test is derived 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_minus8, or max_dec_pic_buffering_minus1[Htid] derived for any picture in the current AU are different from the values ​​of pic_width_max_in_luma_samples, pic_height_max_in_luma_samples, chroma_format_idc, separate_colour_plane_flag, bit_depth_minus8, or max_dec_pic_buffering_minus1[Htid], respectively, for the previous picture in the same CLVS, then NoOutputOfPriorPicsFlag may (but should not) be set to 1 by the decoder under test, regardless of the value of no_output_of_prior_pics_flag. NOTE - Under such conditions, it is preferred to set NoOutputOfPriorPicsFlag equal to no_output_of_pics_flag, but in this case the decoder under test may set NoOutputOfPriorPicsFlag to 1. - Otherwise, NoOutputOfPriorPicsFlag is set equal to no_output_of_prior_pics_flag. 2. The value of NoOutputOfPriorPicsFlag derived for the decoder under test is applied to the HRD as follows: - If NoOutputOfPriorPicsFlag is equal to 1, all picture storage buffers in the DPB are emptied without outputting the pictures they contain and 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 "not used for reference" are emptied (not output), and all non-empty picture storage buffers in the DPB are emptied by repeatedly invoking the "bumping" process specified in section C.5.2.4, and DPB fullness is set equal to 0. - Otherwise (if the current picture is not a CLVSS picture or the CLVSS picture is picture 0), empty (do not output) all picture storage buffers that contain pictures marked as "not needed for output" and "not used for reference". For each picture storage buffer that is emptied, reduce the DPB fullness by 1. If one or more of the following conditions are true, the "bumping" process specified in C.5.2.4 is invoked repeatedly, further reducing the DPB occupancy by 1 for each additional picture storage buffer that is emptied, until none of the following conditions are true: - In the DPB, the number of pictures marked as "needed for output" is more 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 marked as "needed for output" for which the 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.

[0059] 4. Technical problem solved by the disclosed technical solution The existing scalability design in the recent VVC text (JVET-Q2001-vE / v15) has the following problems: 1) Currently, the maximum picture width and picture height values ​​for all pictures of all layers are signaled in the VPS, allowing the decoder to allocate memory in the DPB appropriately. Similar to picture width and height, the chroma format and bit depth currently specified in the SPS syntax elements chroma_format_idc and bit_depth_minus8, respectively, also affect the size of the picture storage buffer in the DPB. However, the maximum values ​​of chroma_format_idc and bit_depth_minus8 are not signaled for all pictures of all layers. 2) Currently, setting the value of the variable NoOutputOfPriorPicsFlag involves changing the value of pic_width_max_in_luma_samples or pic_height_max_in_luma_samples, but instead should use the maximum value of picture width and picture height for all pictures in all layers. 3) Currently, setting NoOutputOfPriorPicsFlag involves changing the value of chroma_format_idc or bit_depth_minus8, but instead should use the maximum value of chroma format and bit depth for all pictures in all layers. 4) Currently, setting NoOutputOfPriorPicSFlag involves changing the value of separate_colour_plane_flag. However, separate_colour_plane_flag is present and used only if chroma_format_idc is equal to 3, which specifies a 4:4:4 chroma format, while for 4:4:4 chroma format, separate_colour_plane_flag with a value equal to 0 or 1 does not affect the buffer size required to store the decoded picture. Therefore, setting NoOutputOfPriorPicsFlag should not involve changing the value of separate_colour_plane_flag. 5) Currently, in PH for IRAP and GDR pictures, no_output_of_priorPics_flag is signaled, and both the semantics of this flag and the setting process of NoOutputOfPriorPicsFlag are specified in a manner where no_output_of_prior_pics_flag is layer-specific or PU-specific. However, since DPB operations are OLS-specific or AU-specific, both the semantics of no_output_of_pics_flag and the use of this flag in setting NoOutputOfPriorPicsFlag should be specified in an AU-specific manner. 6) The current text for setting the value of the variable PictureOutputFlag for the current picture includes using the PictureOutputFlag of a picture in the same AU as the current picture and in a higher layer than the current picture. However, when deriving the PictureOutputFlag of the current picture for a picture picA whose nuh_layer_id is greater than that of the current picture, the PictureOutputFlag of picA has not yet been derived. 7) The current text for setting the value of the variable PictureOutputFlag has the following problem: The bitstream of OLS has two layers, only the upper layer is the output layer, and in a certain AU auA, the picture of the upper layer has pic_output_flag equal to 0. At the decoder side, the upper layer picture of auA does not exist (e.g., due to loss or layer down switching), while the lower layer picture of auA exists and has pic_output_flag equal to 1. Then, set the value of PictureOutputFlag of the lower layer picture of auA equal to 1. However, if the OLS has only one output layer and the picture of the output layer has pic_output_flag equal to 0, it should be interpreted that the encoder (or content provider) did not want to output the picture for the AU containing that picture. 8) The current text for setting the value of the variable PictureOutputFlag has the following problem: The bitstream of OLS has more than two layers, and only the top layer is the output layer. On the decoder side, if there is no top layer picture for the current AU (e.g., due to loss or layer down switching), while there are two or more pictures of lower layers for the current AU, and these pictures have pict_output_flag equal to 1, then multiple pictures will be output for this AU. However, this is problematic because OLS has only one output layer, so the encoder or content provider expected to output only one picture. 9) The current text for setting the value of the variable PictureOutputFlag has the following problem: OLS mode 2 (when ols_mode_idc is equal to 2) can also specify only one output layer like mode 0, but the output behavior of lower layer pictures for an AU when there is no output layer picture (which is also the top layer picture) is specified only for mode 0. 10) For an OLS with only one output layer, if a picture of the output layer (which is also a picture of the top layer) is not available to the decoder (e.g., due to loss or layer down switching), the decoder cannot know whether pic_output_flag of that picture is equal to 1 or 0. If it is equal to 1, it is reasonable to output a picture of the lower layer, but if it is equal to 0, there should not be a picture output for this AU for this particular OLS, etc., so it may be even worse from the user experience point of view to output a picture of the lower layer so that the encoder (content provider) sets the value to 0.

[0060] 5. List of embodiments and techniques In order to solve the above problems, the following methods are disclosed. These items are examples for explaining a general concept, and should not be interpreted in a narrow sense. Furthermore, these items may be applied individually or may be combined in any manner. Solutions 1-5 to resolve the issue 1) To solve problem 1, in the VPS, one or both of the maximum values ​​of chroma_format_idc and bit_depth_minus8 may be signaled for all pictures in all layers. 2) To solve problem 2, the setting of the value of the variable NoOutputOfPriorPicsFlag may be specified to be signaled in the VPS based at least on one or both of the maximum picture width and height of all pictures in all layers. 3) To address issue 3, the setting of the value of the variable NoOutputOfPriorPicsFlag may be specified to be signaled in the VPS based at least on one or both of the maximum values ​​of chroma_format_idc and bit_depth_minus8 for all pictures in all layers. 4) In order to solve problem 4, the setting of the value of the variable NoOutputOfPriorPicFlag may be specified so as to be independent of the value of separate_colour_plane_flag. 5) To address issue 5, the semantics of no_output_of_pics_flag and the use of this flag in both setting NoOutputOfPriorPicsFlag may be specified in an AU-specific manner. a. In one example, if present, the value of no_output_of_prior_pics_flag should be the same for all pictures in the AU, and the value of no_output_of_prior_pics_flag for the AU is considered to be the value of no_output_of_prior_pics_flag of the AU's pictures. b. Alternatively, in one example, if irap_or_gdr_au_flag is equal to 1, then no_output_of_prior_pics_flag may be removed from the PH syntax and signaled to the AUD (access unit delimiter) syntax. i. For single layer bitstreams, since AUD is optional, if AUD is not present in an IRAP or GDR AU, it may be inferred that the value of no_output_of_pics_flag for the AUD is equal to 1 (i.e., if an encoder wants to signal a value of 0 for no_output_of_pics_flag for an IRAP or GDR AU in a single layer bitstream, it MUST signal AUD for that AU in the bitstream. c. Alternatively, in one example, the value of no_output_of_prior_pics_flag of each picture in the AU may be considered to be equal to 0 only if the no_output_of_prior_pics_flag for each picture in the AU is equal to 0, otherwise the value of no_output_of_prior_pics_flag for the AU may be considered to be equal to 1. i. The drawback of this approach is that we need to wait for all pictures in the AU to arrive before we can set the NoOutputOfPriorPicsFlag and output pictures for the CVSS AU. Solutions 6-10 to resolve the issues 6) To solve problem 6, the setting of PictureOutputFlag for the current picture may be specified to be based at least on pic_output_flag (not PictureOutputFlag) of a picture in the same AU as the current picture and in a higher layer than the current picture. 7) In order to solve the above problems 7 to 9, if the current picture does not belong to an output layer, the value of PictureOutputFlag of the current picture is always set to 0. a. Alternatively, to solve problems 7 and 8, if there is only one output layer and there is no output layer for one AU (which should be the top layer if there is only one output layer), set PictureOutputFlag equal to 1 for all pictures in the AU available to the decoder that have the highest value of nuh_layer_id and pict_output_flag equal to 1, and set it equal to 0 for all other pictures in the AU available to the decoder. 8) To solve problem 10, the value of pic_output_flag of an output layer picture in an AU may be signaled in an AUD or SEI message in the AU, or may be signaled in the PH of one or more other pictures in the AU.

[0061] 6. Embodiment Below are some example embodiments for some aspects summarized in Chapter 5 above, applicable to the VVC specification. The modified text is based on the latest VVC text in JVET-Q2001-vE / v15. The most relevant parts that have already been added or modified are highlighted in bold italics, and some parts that have been deleted are marked with double brackets (e.g., [[a]] indicates the deletion of the letter "a"). There are some other changes that are not highlighted, as they are editable in nature.

[0062] 6.1. First embodiment This embodiment is for items 1, 2, 3, 4, 5, and 5a.

[0063] 7.3.2.2 Video parameter set syntax [Table 6]

[0064] ... 7.4.3.2 Video Parameter Set RBSP Semantics ... ols_dpb_pic_width[i] specifies the width, in units of luma samples, of each picture storage buffer for the i-th OLS. ols_dpb_pic_height[i] specifies the height of each picture storage buffer of the i-th OLS, in units of luma samples. [ka] [ka] ols_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 i-th OLS, if NumLayersInOls[i] is greater than 1. If present, the value of ols_dpb_params_idx[i] shall be in the range 0 to vps_num_dpb_params-1. If ols_dpb_params_idx[i] is not present, the value of ols_dpb_params_idx[i] is inferred to be equal to 0. If NumLayersInOls[i] is equal to 1, the dpb_parameters() syntax structures that apply to the i-th OLS are present in the SPS referenced by the layer in the i-th OLS. ... 7.4.3.3 Sequence Parameter Set RBSP Semantics ... A gdr_enabled_flag equal to 1 specifies that GDR pictures may be present in the CLVS referencing the SPS. A gdr_enabled_flag equal to 0 specifies that no GDR pictures may be present in the CLVS referencing the SPS. chroma_format_idc indicates the chroma sampling relative to luma sampling, as specified in section 6.2. [ka] ... bit_depth_minus8 specifies the bit depth of samples of the luma and chroma array BitDepth and the value of the chroma quantization parameter range offset QpBdOffset as follows: BitDepth=8+bit_depth_minus8 (45) QpBdOffset=6*bit_depth_minus8 (46) bit_depth_minus8 is in the range of 0 to 8. [ka] ... 7.4.3.7 Picture Header Structure Semantics ... [ka] [ka] ... C.1 General ... For each bitstream conformance test, the size of the CPB (in bits) is CpbSize[Htid][ScIdx] as specified in Section 7.4.6.3, where ScIdx and the HRD parameters are specified above in this section, and the DPB parameters max_dec_pic_buffering_minus1[Htid], max_num_reorder_pics[Htid] and MaxLatncyPictures[Htid] are found in or derived from the dpb_parameters() syntax structure that applies to the target OLS as follows: [ka] [ka] ... C.3.2 Removal of pictures from the DPB before decoding of the current picture Before decoding of the current picture (but after parsing the slice header of the first slice of the current picture), removal of the picture from the DPB is done instantaneously at the CPB removal time of the first DU of AU n (containing the current picture) and proceeds as follows: The decoding process for reference picture list construction as specified in subclause 8.3.2 is invoked and the decoding process for reference pictures marked as specified in subclause 8.3.3 is invoked. - If the current AU is a CVSS AU that is not AU 0, the following ordered steps are applied: 1. The variable NoOutputOfPriorPicsFlag for the decoder under test is derived as follows: [ka] [ka] - Otherwise, NoOutputOfPriorPicsFlag is set equal to no_output_of_prior_pics_flag of the current AU. 2. Apply the derived NoOutputOfPriorPicsFlag value for the decoder under test to the HRD, and if the value of NoOutputOfPriorPicsFlag is equal to 1, all picture storage buffers in the DPB are emptied without output of the pictures they contain and DPB fullness is set equal to 0. - For any picture k in the DPB, if both of the following conditions are true, then remove from the DPB all such pictures k in the DPB: Picture k is marked as "unused for reference". The PictureOutputFlag of picture k is equal to 0 or its DPB output time is less than or equal to the CPB removal time of the first DU (denoted as DU m) of the current picture n, i.e., DpbOutputTime[k] is less than or equal to DuCpbRemovalTime[m]. -For each picture removed from the DPB, reduce the DPB fullness by 1. C.5.2.2 Outputting and Removing Pictures from the DPB Before decoding the current picture (but after parsing the slice header of the first slice of the current picture), output and removal of the picture from the DPB is done instantly when the first DU of the AU containing the current picture is removed from the CPB, and proceeds as follows: The decoding process for reference picture list construction specified in subclause 8.3.2 and the decoding process for reference picture marking specified in subclause 8.3.3 are invoked. [ka] 1. The variable NoOutputOfPriorPicsFlag for the decoder under test is derived as follows: [ka] [ka] [ka] 2. The value of NoOutputOfPriorPicsFlag derived for the decoder under test is applied to the HRD as follows: - If NoOutputOfPriorPicsFlag is equal to 1, all picture storage buffers in the DPB are emptied without outputting the pictures they contain and 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 "not used for reference" are emptied (not output), and all non-empty picture storage buffers in the DPB are emptied by repeatedly invoking the "bumping" process specified in section C.5.2.4, and DPB fullness is set equal to 0. - Otherwise (if the current picture is not a CLVSS picture or the CLVSS picture is picture 0), empty (do not output) all picture storage buffers that contain pictures marked as "not needed for output" and "not used for reference". For each picture storage buffer that is emptied, reduce the DPB fullness by 1. If one or more of the following conditions are true, the "bumping" process specified in C.5.2.4 is invoked repeatedly, further reducing the DPB occupancy by 1 for each additional picture storage buffer that is emptied, until none of the following conditions are true: - In the DPB, the number of pictures marked as "needed for output" is more 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 marked as "needed for output" for which the 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.

[0065] 6.2. Second embodiment This embodiment is for items 1, 2, 3, 4, 5, 5c, and the text and context of the first embodiment are modified. 7.4.3.7 Picture Header Structure Semantics ... As specified in Annex C, no_output_of_prior_pics_flag affects the output of previously decoded pictures in the DPB after decoding of a CVSS AU picture that is not the first AU of the bitstream. It is a bitstream conformance requirement that the value of no_of_prior_pics_flag (if present) be the same for all pictures in an AU. If no_output_of_prior_pics_flag is present in the PH of a picture in the AU, the value of no_output_of_prior_pics_flag of the AU is the value of no_output_of_prior_pics_flag of the picture in the AU. ... C.3.2 Removal of pictures from the DPB before decoding of the current picture Before decoding of the current picture (but after parsing the slice header of the first slice of the current picture), removal of the picture from the DPB is done instantaneously at the CPB removal time of the first DU of AU n (containing the current picture) and proceeds as follows: The decoding process for reference picture list construction as specified in subclause 8.3.2 is invoked and the decoding process for reference pictures marked as specified in subclause 8.3.3 is invoked. - If the current AU is a CVSS AU that is not AU 0, the following ordered steps are applied: 1. The variable NoOutputOfPriorPicsFlag for the decoder under test is derived as follows: [ka] [ka] [ka] [ka] 2. Apply the derived NoOutputOfPriorPicsFlag value for the decoder under test to the HRD, and if the value of NoOutputOfPriorPicsFlag is equal to 1, all picture storage buffers in the DPB are emptied without output of the pictures they contain and DPB fullness is set equal to 0. - For any picture k in the DPB, if both of the following conditions are true, then remove from the DPB all such pictures k in the DPB: Picture k is marked as "unused for reference". The PictureOutputFlag of picture k is equal to 0 or its DPB output time is less than or equal to the CPB removal time of the first DU (denoted as DU m) of the current picture n, i.e., DpbOutputTime[k] is less than or equal to DuCpbRemovalTime[m]. -For each picture removed from the DPB, reduce the DPB fullness by 1. C.5.2.2 Outputting and Removing Pictures from the DPB Before decoding the current picture (but after parsing the slice header of the first slice of the current picture), output and removal of the picture from the DPB is done instantly when the first DU of the AU containing the current picture is removed from the CPB, and proceeds as follows: The decoding process for reference picture list construction specified in subclause 8.3.2 and the decoding process for reference picture marking specified in subclause 8.3.3 are invoked. - If the current AU is a CVSS AU that is not AU 0, the following ordered steps are applied: 1. The variable NoOutputOfPriorPicsFlag for the decoder under test is derived as follows: [ka] [ka] [ka] [ka] 2. The value of NoOutputOfPriorPicsFlag derived for the decoder under test is applied to the HRD as follows: - If NoOutputOfPriorPicsFlag is equal to 1, all picture storage buffers in the DPB are emptied without outputting the pictures they contain and 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 "not used for reference" are emptied (not output), and all non-empty picture storage buffers in the DPB are emptied by repeatedly invoking the "bumping" process specified in section C.5.2.4, and DPB fullness is set equal to 0. - Otherwise (if the current picture is not a CLVSS picture or the CLVSS picture is picture 0), empty (do not output) all picture storage buffers that contain pictures marked as "not needed for output" and "not used for reference". For each picture storage buffer that is emptied, reduce the DPB fullness by 1. If one or more of the following conditions are true, the "bumping" process specified in C.5.2.4 is invoked repeatedly, further reducing the DPB occupancy by 1 for each additional picture storage buffer that is emptied, until none of the following conditions are true: - In the DPB, the number of pictures marked as "needed for output" is more 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 marked as "needed for output" for which the 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.

[0066] 6.3. Third embodiment This embodiment relates to clauses 6, 7 (the revised text excludes the note added to clause 8.1.2) and clause 7a (the note added to clause 8.1.2). 7.4.3.7 Picture Header Structure Semantics ... recovery_poc_cnt specifies the recovery point in output order of a decoded picture. [ka] [ka] [[If the current picture is a GDR picture, the variable RpPicOrderCntVal is derived as follows: RpPicOrderCntVal=PicOrderCntVal+recovery_poc_cnt (81)]] [ka] ... 8.1.2 Decoding process for coded pictures ... [ka] -[[PictureOutputFlag] is set as follows: - Set PictureOutputFlag equal to 0 if one of the following conditions is true: - the current picture is a RASL picture and the associated IRAP picture's NoOutputBeforeRecoveryFlag is equal to 1. -gdr_enabled_flag is equal to 1 and the current picture is a GDR picture with NoOutputBeforeRecoveryFlag equal to 1. - gdr_enabled_flag is equal to 1, the current picture is associated with a GDR picture with NoOutputBeforeRecoveryFlag equal to 1, and the current picture's PicOrderCntVal is less than the associated GDR picture's RpPicOrderCntVal. - sps_video_parameter_set_id is greater than 0, ols_mode_idc is equal to 0, and the current AU contains a picture picA that satisfies all of the following conditions: - PicA has PictureOutputFlag equal to 1. -PicA has a nuh_layer_id nuhLid that is greater than the one of the current picture. -PicA belongs to the output layer of OLS (i.e., OutputLayerIdInOls[TargetOlsIdx][0] is equal to nuhLid). -sps_video_parameter_set_id is greater than 0, ols_mode_idc is equal to 2, and ols_output_layer_flag[TargetOlsIdx][GeneralLayerIdx[nuh_layer_id]] is equal to 0. - Otherwise, PictureOutputFlag is set equal to pic_output_flag. ...

[0067] 6.4. Fourth embodiment This embodiment is for items 6 and 7a. 8.1.2 Decoding process for coded pictures ... -PictureOutputFlag is set as follows: - Set PictureOutputFlag equal to 0 if one of the following conditions is true: - the current picture is a RASL picture and the associated IRAP picture's NoOutputBeforeRecoveryFlag is equal to 1. -gdr_enabled_flag is equal to 1 and the current picture is a GDR picture with NoOutputBeforeRecoveryFlag equal to 1. - gdr_enabled_flag is equal to 1, the current picture is associated with a GDR picture with NoOutputBeforeRecoveryFlag equal to 1, and the current picture's PicOrderCntVal is less than the associated GDR picture's RpPicOrderCntVal. [ka] -[[sps_video_parameter_set_id is greater than 0, ols_mode_idc is equal to 0, and the current AU contains a picture picA that satisfies all of the following conditions: - PicA has PictureOutputFlag equal to 1. -PicA has a nuh_layer_id nuhLid that is greater than the one of the current picture. -PicA belongs to the output layer of OLS (i.e., OutputLayerIdInOls[TargetOlsIdx][0] is equal to nuhLid). -sps_video_parameter_set_id is greater than 0, ols_mode_idc is equal to 2, and ols_output_layer_flag[TargetOlsIdx][GeneralLayerIdx[nuh_layer_id]] is equal to 0. - Otherwise, PictureOutputFlag is set equal to pic_output_flag. ...

[0068] 6.5. Fifth embodiment This embodiment is for item 6 only. 8.1.2 Decoding process for coded pictures ... -PictureOutputFlag is set as follows: - Set PictureOutputFlag equal to 0 if one of the following conditions is true: - the current picture is a RASL picture and the associated IRAP picture's NoOutputBeforeRecoveryFlag is equal to 1. -gdr_enabled_flag is equal to 1 and the current picture is a GDR picture with NoOutputBeforeRecoveryFlag equal to 1. - gdr_enabled_flag is equal to 1, the current picture is associated with a GDR picture with NoOutputBeforeRecoveryFlag equal to 1, and the current picture's PicOrderCntVal is less than the associated GDR picture's RpPicOrderCntVal. - sps_video_parameter_set_id is greater than 0, ols_mode_idc is equal to 0, and the current AU contains a picture picA that satisfies all of the following conditions: - PicA has pic_output_flag[[PictureOutputFlag]] equal to 1. -PicA has a nuh_layer_id nuhLid that is greater than the one of the current picture. -PicA belongs to the output layer of OLS (i.e., OutputLayerIdInOls[TargetOlsIdx][0] is equal to nuhLid). -sps_video_parameter_set_id is greater than 0, ols_mode_idc is equal to 2, and ols_output_layer_flag[TargetOlsIdx][GeneralLayerIdx[nuh_layer_id]] is equal to 0. - Otherwise, PictureOutputFlag is set equal to pic_output_flag. .

[0069] FIG. 1 is a block diagram illustrating an example video processing system 1900 in which various techniques disclosed herein may be implemented. Various implementations may include some or all of the components of the system 1900. The system 1900 may include an input unit 1902 for receiving video content. The video content may be received in a raw or uncompressed format, e.g., 8 or 10-bit multi-component pixel values, or in a compressed or encoded format. The input unit 1902 may represent a network interface, a peripheral bus interface, or a storage interface. Examples of network interfaces include wired interfaces such as Ethernet, PON (Passive Optical Network), and wireless interfaces such as Wi-Fi (wireless fidelity) or cellular interfaces.

[0070] The system 1900 may include a coding component 1904 that may implement various coding or encoding methods described herein. The coding component 1904 may reduce the average bit rate of the video from the input 1902 to the output of the coding component 1904, generating a coded representation of the video. Thus, this coding technique may be referred to as a video compression or video transcoding technique. The output of the coding component 1904 may be stored or transmitted via a connected communication, as represented by component 1906. The bitstream (or coded) representation of the video received at the input 1902, stored or communicated, may be used by component 1908 to generate pixel values ​​or displayable video that are sent to a display interface 1910. The process of generating a user-viewable video from the bitstream representation may be referred to as video unfolding. Additionally, although certain video processing operations are referred to as "coding" operations or tools, it will be understood that the coding tools or operations are performed by an encoder and corresponding decoding tools or operations that reverse the results of the coding are performed by a decoder.

[0071] Examples of peripheral bus interfaces or display interfaces may include Universal Serial Bus (USB) or High Definition Multimedia Interface (HDMI) or DisplayPort, etc. Examples of storage interfaces include Serial Advanced Technology Attachment (SATA), peripheral component interconnect (PCI), integrated drive electronics (IDE) interfaces, etc. The techniques described herein may be implemented in various electronic devices such as mobile phones, laptops, smartphones, or other devices capable of digital data processing and / or video display.

[0072] 2 is a block diagram of a video processing device 3600. The device 3600 may be used to implement one or more of the methods described herein. The device 3600 may be implemented in a smartphone, a tablet, a computer, an Internet of Things (IoT) receiver, etc. The device 3600 may include one or more processors 3602, one or more memories 3604, and video processing hardware 3606. The one or more processors 3602 may be configured to implement one or more methods described herein. The memory(s) 3604 may be used to store data and codes used to implement the methods and techniques described herein. The video processing hardware 3606 may be used to implement the techniques described herein in a hardware circuit.

[0073] FIG. 4 is a block diagram illustrating an example video coding system 100 that may utilize techniques of this disclosure.

[0074] 4, video coding system 100 may include source device 110 and destination device 120. Source device 110 generates encoded video data, which may also be referred to as a video encoding device. Destination device 120 may decode the encoded video data generated by source device 110, which may also be referred to as a video decoding device.

[0075] Source device 110 may include a video source 112, a video encoder 114, and an input / output (I / O) interface 116.

[0076] The video source 112 may include a source such as a video capture device, an interface for receiving video data from a video content provider, and / or a computer graphics system for generating video data, or a combination of these sources. The video data may include one or more pictures. The video encoder 114 encodes the video data from the video source 112 and generates a bitstream. The bitstream may include a sequence of bits that form a coded representation of the video data. The bitstream may include a coded picture and associated data. A coded picture is a coded representation of a picture. The associated data may include a sequence parameter set, a picture parameter set, and other syntax structures. The I / O interface 116 may include a modulator / demodulator (modem) and / or a transmitter. The encoded video data may be transmitted directly to the destination device 120 via the I / O interface 116 over the network 130a. The encoded video data may be stored on a recording medium / server 130b for access by the destination device 120.

[0077] Destination device 120 may include an I / O interface 126 , a video decoder 124 , and a display device 122 .

[0078] The I / O interface 126 may include a receiver and / or a modem. The I / O interface 126 may obtain the encoded video data from the source device 110 or the storage medium / server 130b. The video decoder 124 may decode the encoded video data. The display device 122 may display the decoded video data to a user. The display device 122 may be integrated with the destination device 120 or may be external to the destination device 120 configured to interface with an external display device.

[0079] Video encoder 114 and video decoder 124 may operate in accordance with a video compression standard, such as the High Efficiency Video Coding (HEVC) standard, the Versatile Video Coding (VVC) standard, and other current and / or future standards.

[0080] FIG. 5 is a block diagram of an example video encoder 200, which may be video encoder 114 in system 100 shown in FIG.

[0081] Video encoder 200 may be configured to perform any or all of the techniques of this disclosure. In the example of FIG. 5, video encoder 200 includes multiple functional modules. Techniques described in this disclosure may be shared among various modules of video encoder 200. In some examples, a processor may be configured to perform any or all of the techniques described in this disclosure.

[0082] The functional components of the video encoder 200 may include a partitioning unit 201, a prediction unit 202, which may include a mode selection unit 203, a motion estimation unit 204, a motion compensation unit 205, and an intra prediction unit 206, a residual generation unit 207, a transform unit 208, a quantization unit 209, an inverse quantization unit 210, an inverse transform unit 211, a reconstruction unit 212, a buffer 213, and an entropy encoding unit 214.

[0083] In other examples, video encoder 200 may include more, fewer, or different functional components. In one example, prediction unit 202 may include an intra block copy (IBC) unit. The IBC unit can perform prediction in an IBC mode where at least one reference picture is the picture in which the current video block is located.

[0084] Furthermore, some modules, such as the motion estimation unit 204 and the motion compensation unit 205, may be highly integrated, but are depicted separately in the example of FIG. 5 for illustrative purposes.

[0085] Division unit 201 may divide a picture into one or more video blocks. Video encoder 200 and video decoder 300 may support a variety of video block sizes.

[0086] The mode selection unit 203 may, for example, select one of intra or inter coded modes based on the error result, provide the resulting intra or inter coded block to the residual generation unit 207, generate and provide residual block data to the reconstruction unit 212, and reconstruct the encoded block for use as a reference picture. In some examples, the mode selection unit 203 may select a Combination of Intra and Inter Prediction (CIIP) mode that performs prediction based on an inter prediction signal and an intra prediction signal. The mode selection unit 203 may also select a resolution (e.g., sub-pixel or integer pixel accuracy) of the motion vector of the block in the case of inter prediction.

[0087] To perform inter prediction on the current video block, motion estimation unit 204 may generate motion information for the current video block by comparing the current video block to one or more reference frames from buffer 213. Motion compensation unit 205 may determine a prediction video block for the current video block based on the motion information and decoded samples of pictures from buffer 213 other than the picture associated with the current video block.

[0088] Motion estimation unit 204 and motion compensation unit 205 may, for example, perform different operations on the current video block depending on whether the current video block is an I slice, a P slice, or a B slice.

[0089] In some examples, motion estimation unit 204 may perform unidirectional prediction on the current video block, and motion estimation unit 204 may search reference pictures in list 0 or list 1 for a reference video block for the current video block. Motion estimation unit 204 may then generate a reference index indicating a reference picture in list 0 or list 1 including the reference video block and a motion vector indicating a spatial displacement between the current video block and the reference video block. Motion estimation unit 204 may output the reference index, prediction direction indicator, and motion vector as motion information for the current video block. Motion compensation unit 205 may generate a prediction video block for the current block based on the reference video block indicated by the motion information of the current video block.

[0090] In another example, motion estimation unit 204 may bidirectionally predict the current video block, and motion estimation unit 204 may search for a reference video block among the reference pictures in list 0 for the current video block, and may search for another reference video block among the reference pictures in list 1 for the current video block. Motion estimation unit 204 may then generate a reference index indicating the reference pictures in list 0 and list 1 that contain the reference video block, and a motion vector indicating a spatial displacement between the reference video block and the current video block. Motion estimation unit 204 may output the reference index and the motion vector of the current video block as motion information of the current video block. Motion compensation unit 205 may generate a prediction video block for the current video block based on the reference video block indicated by the motion information of the current video block.

[0091] In some examples, the motion estimation unit 204 may output a full set of motion information for the decoding process of the decoder.

[0092] In some examples, motion estimation unit 204 may not output a full set of motion information for the current picture. Rather, motion estimation unit 204 may signal motion information of the current video block by reference to motion information of another video block. For example, motion estimation unit 204 may determine that the motion information of the current video block is sufficiently similar to the motion information of a neighboring video block.

[0093] In one example, motion estimation unit 204 may indicate, in a syntax structure associated with the current video block, a value that indicates to video decoder 300 that the current video block has the same motion information as another video block.

[0094] In another example, motion estimation unit 204 may identify another video block and a motion vector difference (MVD) in a syntax structure associated with the current video block. The motion vector difference indicates the difference between the motion vector of the current video block and the motion vector of the indicated video block. Video decoder 300 may use the motion vector of the indicated video block and the motion vector difference to determine the motion vector of the current video block.

[0095] As mentioned above, video encoder 200 may predictively signal motion vectors. Two examples of predictive signaling techniques that may be implemented by video encoder 200 include Advanced Motion Vector Prediction (AMVP) and merge mode signaling.

[0096] Intra prediction unit 206 may perform intra prediction on the current video block. If intra prediction unit 206 intra predicts the current video block, intra prediction unit 206 may generate predictive data for the current video block based on decoded samples of other video blocks in the same picture. The predictive data for the current video block may include a predicted video block and various syntax elements.

[0097] Residual generation unit 207 may generate residual data for the current video block by subtracting (e.g., as indicated by a minus sign) the predicted video block of the current video block from the current video block. The residual data for the current video block may include residual video blocks that correspond to different sample components of the samples in the current video block.

[0098] In other examples, such as in skip mode, there may be no residual data for the current video block, and residual generation unit 207 may not perform the subtraction operation.

[0099] Transform processing unit 208 may generate one or more transform coefficient image blocks for the current video block by applying one or more transforms to a residual video block associated with the current video block.

[0100] After transform processing unit 208 generates a transform coefficient image block associated with the current video block, quantization unit 209 may quantize the transform coefficient image block associated with the current video block based on one or more quantization parameter (QP) values ​​associated with the current video block.

[0101] Inverse quantization unit 210 and inverse transform unit 211 may apply inverse quantization and inverse transform, respectively, to the transform coefficient image block to reconstruct a residual video block from the transform coefficient image block. Reconstruction unit 212 may add the reconstructed residual video block to corresponding samples from one or more prediction video blocks generated by prediction unit 202 to generate a reconstructed video block associated with the current block, which is stored in buffer 213.

[0102] After reconstruction unit 212 reconstructs the video block, a loop filtering operation may be performed to reduce video blocking artifacts in the video block.

[0103] Entropy encoding unit 214 may receive data from other functional components of video encoder 200. Once entropy encoding unit 214 receives the data, entropy encoding unit 214 may perform one or more entropy encoding operations to generate entropy encoded data, and output a bitstream including the entropy encoded data.

[0104] FIG. 6 is a block diagram of an example video decoder 300, which may be video decoder 124 in system 100 shown in FIG.

[0105] The video decoder 300 may be configured to perform any or all of the techniques of this disclosure. In the example of FIG. 6, the video decoder 300 includes multiple functional components. The techniques described in this disclosure may be shared among various components of the video decoder 300. In some examples, a processor may be configured to perform any or all of the techniques described in this disclosure.

[0106] 6, video decoder 300 includes an entropy decoding unit 301, a motion compensation unit 302, an intra prediction unit 303, an inverse quantization unit 304, an inverse transform unit 305, and a reconstruction unit 306, as well as a buffer 307. Video decoder 300 may, in some examples, perform a decoding path that is generally the reverse of the encoding path described with respect to video encoder 200 (FIG. 5).

[0107] The entropy decoding unit 301 retrieves an encoded bitstream. The encoded bitstream may include entropy coded video data (e.g., encoded blocks of video data). The entropy decoding unit 301 decodes the entropy coded video data, and from the entropy decoded video data, the motion compensation unit 302 may determine motion information including motion vectors, motion vector precision, reference picture list index, and other motion information. The motion compensation unit 302 may determine such information by, for example, implementing AMVP and merge mode.

[0108] The motion compensation unit 302 may generate motion compensated blocks and, in some cases, perform interpolation based on an interpolation filter. An identifier for the interpolation filter used with sub-pixel precision may be included in the syntax element.

[0109] Motion compensation unit 302 may calculate interpolated values ​​for sub-integer pixels of the reference block using an interpolation filter as used by video encoder 200 during encoding of the video block. Motion compensation unit 302 may determine the interpolation filter used by video encoder 200 based on received syntax information and generate a predictive block using the interpolation filter.

[0110] The motion compensation unit 302 may use the syntax information to determine the size of blocks used to encode frames and / or slices of the encoded video sequence, partitioning information describing how each macroblock of a picture of the encoded video sequence is partitioned, a mode indicating how each partition is encoded, one or more reference frames (and reference frame lists) for each inter-encoded block, and some of the other information to decode the encoded video sequence.

[0111] The intra prediction unit 303 may form a prediction block from spatially neighboring blocks, for example, using an intra prediction mode received in the bitstream. The inverse quantization unit 304 inverse quantizes (i.e., reverse quantizes) the quantized video block coefficients provided in the bitstream and decoded by the entropy decoding unit 301. The inverse transform unit 305 applies an inverse transform.

[0112] Reconstruction unit 306 may sum the residual blocks with corresponding prediction blocks generated by motion compensation unit 302 or intra prediction unit 303 to form decoded blocks. If desired, a deblocking filter may be applied to filter the decoded blocks to remove blocking artifacts. The decoded video blocks are stored in buffer 307, which provides reference blocks for subsequent motion compensation / intra prediction and also generates decoded video for display on a display device.

[0113] Next, preferred examples in some embodiments will be listed.

[0114] The following items illustrate example embodiments of the techniques described in the previous section: The following items illustrate example embodiments of the techniques described in the previous section (eg, item 1).

[0115] 1. A method of processing video (method 3000 shown in FIG. 3 ), comprising converting (3002) between video having one or more video layers including one or more video pictures and a coded representation of the video, the coded representation including a video parameter set indicating a maximum value of a chroma format indicator and / or a maximum value of a bit depth used to represent a pixel of the video.

[0116] The following items provide example embodiments of the techniques described in the previous section (eg, item 2).

[0117] 2. A method of processing video, comprising: converting between video having one or more video layers and a coded representation of the video, the coded representation conforming to a format rule specifying that a maximum picture width and / or a maximum picture height for video pictures of all video layers controls a value of a variable indicating whether to output a picture in a decoder buffer before removing it from the decoder buffer.

[0118] 3. The method according to claim 2, wherein the variable is signaled in a video parameter set.

[0119] The following items provide example embodiments of the techniques described in the previous section (eg, item 3).

[0120] 4. A method of processing video, comprising converting between video having one or more video layers and a coded representation of the video, the coded representation conforming to a format rule specifying that a maximum value of a chroma format indicator and / or a maximum value of a bit depth used to represent pixels of the video controls a value of a variable indicating whether a picture in a decoder buffer is to be output before being removed from the decoder buffer.

[0121] 5. The method according to claim 4, wherein the variables are signaled in a video parameter set.

[0122] The following items provide example embodiments of the techniques described in the previous section (eg, item 4).

[0123] 6. A method of processing video, comprising converting between video having one or more video layers and a coded representation of the video, the coded representation conforming to a format rule specifying that a value of a variable indicating whether a picture in a decoder buffer is to be output before being removed from the decoder buffer is independent of whether separate color planes are used to encode the video.

[0124] The following items provide example embodiments of the techniques described in the previous section (eg, item 5).

[0125] 7. A method of processing video, comprising converting between video having one or more video layers and a coded representation of the video, the coded representation conforming to a format rule specifying that the coded representation at the access unit (AU) level includes a value of a variable indicating whether a picture in a decoder buffer is to be output before being removed from the decoder buffer.

[0126] 8. The method of claim 7, wherein the formatting rules specify that the value is the same for all AUs in the coded representation.

[0127] 9. A method according to any one of items 7 to 8, wherein the variable is indicated in a picture header.

[0128] 10. The method according to any one of items 7 to 8, wherein the variables are indicated by access unit delimiters.

[0129] The following items provide example embodiments of the techniques described in the previous section (eg, item 6).

[0130] 11. A method of processing video, comprising converting between video having one or more video layers and a coded representation of the video, the coded representation conforming to a format rule that specifies that picture output flags for a video picture in an access unit are determined based on a pic_output_flag variable of another video picture in the access unit.

[0131] The following items present exemplary embodiments of the techniques described in the previous section (eg, item 7).

[0132] 12. A method of processing video, comprising converting between video having one or more video layers and a coded representation of the video, the coded representation conforming to a format rule that specifies values ​​of picture output flags for video pictures that do not belong to an output layer.

[0133] 13. The method according to claim 12, wherein the format rule specifies that the value of a picture output flag for a video picture is set to zero.

[0134] 14. The method of claim 12, wherein the video includes only one output layer, and access units that do not include the output layer are coded by setting the picture output flag value to logical 1 for a picture having a top layer id value and to logical 0 for all other pictures.

[0135] The following items present exemplary embodiments of the techniques described in the previous section (eg, item 8).

[0136] 15. A method according to any one of items 1 to 14, wherein the picture output flag is included in an access unit delimiter.

[0137] 16. A method according to any one of items 1 to 14, wherein the picture output flag is included in a supplemental enhancement information field.

[0138] 17. A method according to any one of items 1 to 14, wherein the picture output flag is included in a picture header of one or more pictures.

[0139] 18. A method according to any one of items 1 to 17, wherein the converting comprises encoding the video into the coded representation.

[0140] 19. A method according to any of items 1 to 17, wherein the conversion comprises decoding the coded representation to generate pixel values ​​of the image.

[0141] 20. A video decoding device comprising a processor configured to implement a method according to one or more of items 1 to 19.

[0142] 21. A video encoding device comprising a processor configured to implement the methods described in one or more of items 1 to 19.

[0143] 22. A computer program product having computer code stored therein, the code being executed by a processor, causing the processor to implement the method according to any one of items 1 to 19.

[0144] 23. Any method, apparatus or system described herein.

[0145] The second section presents illustrative examples of the techniques discussed in the previous section (eg, items 1-4).

[0146] 1. A video processing method (e.g., method 710 shown in FIG. 7A ), comprising: converting 712 a video to a bitstream of the video in accordance with a format rule, the bitstream including one or more output layer sets (OLS), each OLS including one or more coded layer video sequences, the format rule specifying that a video parameter set indicates, for each of the one or more OLS, a maximum allowed value of a chroma format indicator and / or a maximum allowed value of a bit depth used to represent a pixel of the video.

[0147] 2. The method according to item 1, wherein the maximum allowed value of the chroma format indicator for the OLS is applicable to all sequence parameter sets referenced by one or more coded layer video sequences in the OLS.

[0148] 3. The method of any one of items 1 to 2, wherein the maximum allowed bit depth for the OLS is applicable to all sequence parameter sets referenced by one or more coded layer video sequences in the OLS.

[0149] 4. The method according to any one of items 1 to 3, further comprising: a plurality of coded layer video sequences; and for performing a transformation for an OLS having an OLS index i, the rule includes at least one of syntax elements including ols_dpb_pic_width[i] indicating a width of each picture storage buffer for the i-th OLS, and ols_dpb_pic_height[i] indicating a height of each picture storage buffer for the i-th OLS; a syntax element indicating the maximum allowable value of the chroma format indicator for the i-th OLS, and A method that provides for allocating memory for a decoded picture buffer according to a value of a syntax element that indicates a maximum allowed value of bit depth for an i-th OLS.

[0150] 5. A method according to any one of items 1 to 4, wherein the video parameter set is included in the bitstream.

[0151] 6. A method according to any one of items 1 to 4, wherein the video parameter set is indicated separately from the bitstream.

[0152] 7. A video processing method (e.g., method 720 shown in FIG. 7B ), including converting 722 a video having one or more video layers to a bitstream of the video in accordance with a format rule that specifies that a maximum picture width and / or a maximum picture height for video pictures of all video layers controls a value of a variable indicating whether a picture in a decoded picture buffer that is before a current picture in decoding order in the bitstream is output before removing the picture from the decoded picture buffer.

[0153] 8. The method of claim 7, wherein the variables are derived based at least on one or more syntax elements included in a video parameter set.

[0154] 9. The method of item 7, wherein if the value of the maximum width of each picture, the maximum height of each picture, the maximum allowed value of a chroma format indicator, or the maximum allowed value of a bit depth derived for a current access unit is different from the value of the maximum width of each picture, the maximum height of each picture, the maximum allowed value of a chroma format indicator, or the maximum allowed value of a bit depth derived for a previous access unit in decoding order, the value of the variable is set to 1.

[0155] 10. The method according to item 9, wherein if the value of the variable is equal to 1, it indicates that a picture in the decoded picture buffer preceding the current picture in decoding order is not output before removing the picture from the decoded picture buffer.

[0156] 11. A method according to any one of items 7 to 10, wherein the value of the variable is further based on a maximum allowed value of a chroma format indicator and / or a maximum allowed value of a bit depth used to represent a pixel of the image.

[0157] 12. A method according to any one of items 7 to 11, wherein the video parameter set is included in the bitstream.

[0158] 13. A method according to any one of items 7 to 11, wherein the video parameter set is indicated separately from the bitstream.

[0159] 14. A video processing method (e.g., 730 shown in FIG. 7C ) including converting 732 video having one or more video layers to and from a video bitstream in accordance with format rules specifying that a maximum allowed value of a chroma format indicator and / or a maximum allowed value of a bit depth used to represent pixels of the video controls a value of a variable indicating whether a picture in a decoded picture buffer prior to a current picture in decoding order in the bitstream is output before removing the picture from the decoded picture buffer.

[0160] 15. The method of claim 14, wherein the variables are derived based at least on one or more syntax elements signaled in a video parameter set.

[0161] 16. The method of item 14, wherein if the value of the maximum width of each picture, the maximum height of each picture, the maximum allowed value of a chroma format indicator, or the maximum allowed value of a bit depth derived for a current access unit is different from the value of the maximum width of each picture, the maximum height of each picture, the maximum allowed value of a chroma format indicator, or the maximum allowed value of a bit depth derived for a previous access unit in decoding order, the value of the variable is set to 1.

[0162] 17. The method according to item 16, wherein if the value of the variable is equal to 1, it indicates that a picture in the decoded picture buffer preceding the current picture in decoding order is not to be output before removing the picture from the decoded picture buffer.

[0163] 18. The method of any of items 14 to 17, wherein the value of the variable is further based on a maximum picture width and / or a maximum picture height for video pictures of all video layers.

[0164] 19. A method according to any one of items 14 to 18, wherein the video parameter set is included in the bitstream.

[0165] 20. A method according to any one of items 14 to 18, wherein the video parameter set is indicated separately from the bitstream.

[0166] 21. A method of processing a video (e.g., method 740 shown in FIG. 7D ), comprising converting 742 a video having one or more video layers to a bitstream for the video in accordance with rules that specify that a value of a variable indicating whether a picture in a picture buffer that is decoded before a current picture in decoding order in the bitstream is output before removal from the decoded picture buffer is independent of whether separate color planes are used in encoding the video.

[0167] 22. The method of claim 21, wherein if separate color planes are not used to encode the video, the rules specify performing decoding only once for a video picture, or if separate color planes are used to encode the video, the rules specify calling picture decoding three times.

[0168] 23. The method according to any one of claims 22, wherein the converting includes encoding the video into the bitstream.

[0169] 24. The method according to any one of items 1 to 22, wherein the conversion includes decoding the video from the bitstream.

[0170] 25. A method according to any one of items 1 to 22, wherein the conversion includes generating the bitstream from the video, and the method further includes storing the bitstream in a non-transitory computer-readable recording medium.

[0171] 26. A video processing device comprising a processor configured to implement a method according to any one or more of items 1 to 25.

[0172] 27. A method for storing a video bitstream, comprising the method of any one of Solutions 1 to 25, and further comprising storing the bitstream on a non-transitory computer-readable recording medium.

[0173] 28. A computer-readable medium storing program code that, when executed, causes a processor to implement the method described in any one or more of items 1 to 25.

[0174] 29. A computer readable medium storing a bitstream generated according to any of the methods described above.

[0175] 30. A video processing device for storing a bitstream representation, configured to implement the method according to any one or more of items 1 to 25.

[0176] The third section presents exemplary implementations of the techniques described in the previous chapter (eg, item 5).

[0177] 1. A video processing method (e.g., method 810 shown in FIG. 8A ), comprising: converting 812 a video having one or more video layers to a bitstream of the video in accordance with a format rule, the format rule specifying that a flag value is included in the bitstream indicating whether or not a picture previously decoded and stored in a decoded picture buffer is to be removed from the decoded picture buffer when decoding an access unit of a particular type.

[0178] 2. The method of claim 1, wherein the format rule specifies that the value is the same for all pictures within an access unit.

[0179] 3. The method of claim 1 or 2, wherein the format rules specify that the value of a variable indicating whether to output a picture in the decoded picture buffer before the current picture in decoding order in the bitstream before removing the picture from the decoded picture buffer is based on the value of the flag.

[0180] 4. A method according to any one of items 1 to 3, wherein the flag is indicated in a picture header.

[0181] 5. A method according to any one of items 1 to 3, wherein the flag is indicated in a slice header.

[0182] 6. A video processing method (e.g., method 820 shown in FIG. 8B), comprising converting 822 a video having one or more video layers to a bitstream of the video in accordance with a format rule, the format rule specifying that when decoding an access unit of a particular type, the value of a first flag indicating whether a picture previously decoded and stored in the decoded picture buffer is to be removed from the decoded picture buffer is not indicated in the picture header.

[0183] 7. The method according to item 6, wherein the first flag is indicated by an access unit delimiter.

[0184] 8. The method according to item 6, wherein the second flag indicating an IRAP (Random Access Point) or GDR (Gradual Decoding Update) access unit has a specific value.

[0185] 9. The method according to item 6, wherein if an access unit delimiter is not present for an IRAP (Random Access Point) or GDR (Gradual Decoding Update) access unit, the value of the first flag is inferred to be equal to 1.

[0186] 10. A video processing method (e.g., method 830 shown in FIG. 8C ), comprising converting 832 video having one or more video layers to a bitstream of the video in accordance with a format rule, the format rule specifying that a value of a flag associated with an access unit indicating whether a picture previously decoded and stored in the decoded picture buffer is to be removed from the decoded picture buffer depends on a value of a flag for each picture of the access unit.

[0187] 11. The method according to item 10, wherein the format rule specifies that if the per-picture flag of the access unit is equal to 0, then the value of the flag of the access unit is considered to be equal to 0, and otherwise, the value of the flag of the access unit is considered to be equal to 1.

[0188] 12. The method according to any one of items 1 to 11, wherein the conversion includes encoding the video into the bitstream.

[0189] 13. The method according to any one of items 1 to 11, wherein the conversion includes decoding the video from the bitstream.

[0190] 14. A method according to any one of items 1 to 11, wherein the conversion includes generating the bitstream from the video, and the method further includes storing the bitstream in a non-transitory computer-readable recording medium.

[0191] 15. A video processing device comprising a processor configured to implement the method according to any one or more of items 1 to 14.

[0192] 16. A method for storing a video bitstream, comprising the method according to any one of items 1 to 14, and further comprising storing the bitstream in a non-transitory computer-readable recording medium.

[0193] 17. A computer-readable medium storing program code that, when executed, causes a processor to implement the method according to any one or more of items 1 to 14.

[0194] 18. A computer readable medium storing a bitstream generated according to any of the methods described above.

[0195] 19. A video processing device for storing a bitstream representation, configured to implement the method according to any one or more of items 1 to 14.

[0196] The fourth set of sections presents exemplary embodiments of the techniques discussed in the previous section (eg, items 6-8).

[0197] 1. A video processing method (e.g., method 910 shown in FIG. 9A ) includes: performing conversion 912 between a video having one or more video layers and a bitstream of the video according to a format rule, the format rule specifying that a value of a variable indicating whether to output a picture in an access unit is determined based on a flag indicating whether to output another picture in the access unit.

[0198] 2. The method according to item 1, wherein the other picture is in a higher layer than the picture.

[0199] 3. The method according to item 1 or 2, wherein the flag controls output and removal processing of the decoded picture.

[0200] 4. The method according to item 1 or 2, wherein the flag is a syntax element included in a sequence parameter set (SPS), a video parameter set (VPS), a picture parameter set (PPS), a picture header, a slice header, or a tile group header.

[0201] 5. A method according to any one of items 1 to 4, wherein the value of the variable is further based on at least one of: i) a flag specifying an identifier value for a video parameter set (VPS); ii) whether the current video layer is an output layer; ii) whether the current picture is a random access skipped first picture, a gradual decoding update picture, a restored picture of a gradual decoding update picture; or iii) whether a picture in the decoded picture buffer before the current picture in decoding order is output before the picture is restored.

[0202] 6. The method described in item 5, wherein i) a flag specifying the value of the identifier for the VPS is greater than 0 and the current layer is not an output layer, or ii) the value of the variable is set equal to 0 if one of the following conditions is true:

[0203] The current picture is a random access skipped first picture, and the associated intra-random access point picture in the decoded picture buffer before the current picture in decoding order is not output before restoring the intra-random access point picture.

[0204] The current picture is a gradual decoding update picture with a picture in the decoded picture buffer preceding the current picture in decoding order that does not output before restoring the picture, or The picture is a reconstructed picture of the gradual decoding update picture by a picture in the decoded picture buffer that is before the current picture in decoding order without outputting before the picture is reconstructed.

[0205] 7. The method according to item 6, wherein if both i) and ii) are not satisfied, the value of the variable is set equal to the value of the flag.

[0206] 8. The method according to item 6, wherein the value of the variable equal to 0 indicates that no picture is to be output in the access unit.

[0207] 9. The method according to item 1, wherein the variable is PictureOutputFlag and the flag is pic_output_flag.

[0208] 10. The method according to any one of items 1 to 9, wherein the flag is included in an access unit delimiter.

[0209] 11. A method according to any one of items 1 to 9, wherein the flag is included in a supplemental enhancement information field.

[0210] 12. A method according to any one of items 1 to 9, wherein the flag is included in a picture header of one or more pictures.

[0211] 13. A video processing method (e.g., method 920 shown in FIG. 9B ) including converting 922 a video having one or more video layers to a bitstream of the video according to a format rule, the format rule specifying setting a value of a variable indicating whether to output a picture in an access unit equal to a particular value if the picture does not belong to an output layer.

[0212] 14. The method of claim 13, wherein the particular value is zero.

[0213] 15. A video processing method (e.g., method 930 of FIG. 9C ), comprising converting 932 video having one or more video layers to a bitstream of the video in accordance with a format rule, the format rule specifying that if the video has only one output layer, an access unit that does not include an output layer is coded by setting a variable indicating whether to output a picture in the access unit to a first value for a picture having a top layer ID (identification) value and to a second value for all other pictures.

[0214] 16. The method according to item 15, wherein the first value is equal to 1 and the second value is equal to 0.

[0215] 17. The method according to any one of items 1 to 16, wherein the conversion includes encoding the video into the bitstream.

[0216] 18. The method according to any one of items 1 to 16, wherein the conversion includes decoding the video from the bitstream.

[0217] 19. A method according to any one of items 1 to 16, wherein the conversion includes generating the bitstream from the video, and the method further includes storing the bitstream in a non-transitory computer-readable recording medium.

[0218] 20. A video processing device comprising a processor configured to implement the method according to any one or more of items 1 to 19.

[0219] 21. A method for storing a video bitstream, comprising the method according to any one of items 1 to 19, and further comprising storing the bitstream in a non-transitory computer-readable recording medium.

[0220] 22. A computer-readable medium storing program code that, when executed, causes a processor to implement the method described in any one or more of items 1-19.

[0221] 23. A computer readable medium storing a bitstream generated according to any of the methods described above.

[0222] 24. A video processing device for storing a bitstream representation, configured to implement the method according to any one or more of items 1 to 19.

[0223] In this specification, the term "video processing" may refer to video encoding, video decoding, video compression, or video decompression. For example, a video compression algorithm may be applied during conversion from a pixel representation of a video to a corresponding bitstream representation, or vice versa. The bitstream representation of a current video block may correspond to bits spread to the same or different locations in the bitstream, for example, as specified by a syntax. For example, one macroblock may be encoded in terms of transformed and coded error residual values, and using bits in a header and other fields in the bitstream. Furthermore, during conversion, the decoder may parse the bitstream with the knowledge that some fields may or may not be present based on a decision, as described in the above solution. Similarly, the encoder may determine whether a particular syntax field should or should not be included, and generate the coded representation accordingly by including or excluding the syntax field in the coded representation.

[0224] Implementations of the disclosed and other solutions, examples, embodiments, modules, and functional operations described herein, including the structures disclosed herein and their structural equivalents, may be implemented in digital electronic circuitry, or computer software, firmware, or hardware, or in one or more combinations thereof. The disclosed and other embodiments may be implemented as one or more computer program products, i.e., one or more modules of computer program instructions encoded on a computer-readable medium for implementation by or for controlling the operation of a data processing apparatus. The computer-readable medium may be a machine-readable storage device, a machine-readable storage substrate, a memory device, a composition of matter that provides a machine-readable propagated signal, or one or more combinations thereof. The term "data processing apparatus" includes all apparatus, devices, and machines for processing data, including, for example, a programmable processor, a computer, or multiple processors, or computers. In addition to hardware, the apparatus may include code that creates an environment for the execution of the computer program, such as code that constitutes a processor firmware, a protocol stack, a database management system, an operating system, or one or more combinations thereof. A propagated signal is an artificially generated signal, for example a machine-generated electrical, optical, or electromagnetic signal, that is generated to encode information for transmission to an appropriate receiving device.

[0225] A computer program (also called a program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program does not necessarily correspond to a file in a file system. A program may be recorded as part of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), may be stored in a single file dedicated to the program, or may be stored in multiple coordinating files (e.g., a file that stores one or more modules, subprograms, or code portions). A computer program can be deployed to run on one computer located at one site, or on multiple computers distributed across multiple sites and interconnected by a communication network.

[0226] The processing and logic flows described herein may be performed by one or more programmable processors executing one or more computer programs to perform functions by operating on input data and generating output. The processing and logic flows may also be performed by, and an apparatus may be implemented as, special purpose logic circuitry, such as a Field Programmable Gate Array (FPGA) or an Application Specific Integrated Circuit (ASIC).

[0227] Processors suitable for executing a computer program include, for example, both general purpose and special purpose microprocessors, as well as any one or more processors of any kind of digital computer. Typically, a processor receives instructions and data from a read-only memory or a random access memory or both. The essential elements of a computer are a processor for executing instructions and one or more memory devices for storing instructions and data. Typically, a computer may include one or more mass storage devices, such as magnetic, magneto-optical, or optical disks, for storing data, or may be operatively coupled to receive data from or transfer data to these mass storage devices. However, a computer need not have such devices. Computer readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media, and memory devices, including, for example, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash storage devices, magnetic disks, e.g. internal hard disks or removable disks, magneto-optical disks, and semiconductor storage devices such as compact disc, read-only memory (CD-ROM) and digital versatile disc read-only memory (DVD-ROM) disks. The processor and the memory may be supplemented by, or incorporated in, special purpose logic circuitry.

[0228] Although this patent specification contains many details, these should not be construed as limiting the scope of any subject matter or the scope of the claims, but rather as descriptions of features that may be specific to particular embodiments of a particular technology. Certain features described in this patent document in the context of separate embodiments may be implemented in combination in one example. Conversely, various features described in the context of one example may be implemented in multiple embodiments separately or in any suitable subcombination. Furthermore, although features may be described above as acting in a particular combination and initially claimed as such, one or more features from a claimed combination may, in some cases, be extracted from the combination, and the claimed combination may be directed to a subcombination or a variation of the subcombination.

[0229] Similarly, although operations are shown in a particular order in the figures, this should not be understood as requiring that such operations be performed in the particular order or sequential order shown, or that all of the operations shown be performed, to achieve desired results, nor should the separation of various system components in the examples described in this patent specification be understood as requiring such separation in all embodiments.

[0230] Only certain implementations and examples have been described; other embodiments, extensions and variations are possible based on the content described and illustrated in this patent document.

Claims

1. 1. A method for processing video, comprising: converting between a video having one or more video layers and a bitstream of the video in accordance with a format rule, the method comprising: the format rules specify that a maximum picture width and / or a maximum picture height for video pictures of at least one layer controls a value of a variable indicating whether a picture in a decoded picture buffer that is before a current picture in decoding order in the bitstream is output before removing said picture from the decoded picture buffer, and that a maximum allowed value of a chroma format indicator and / or a maximum allowed value of a bit depth minus 8 further controls the value of the variable. Image processing method.

2. The method of claim 1 , wherein the maximum picture width and / or the maximum picture height is included in a video parameter set.

3. setting the value of the variable to one if the value of the maximum width of each picture, the maximum height of each picture, the maximum allowed value of the chroma format indicator, or the maximum allowed value of the bit depth minus 8 derived for a current access unit is different from the value of the maximum width of each picture, the maximum height of each picture, the maximum allowed value of the chroma format indicator, or the maximum allowed value of the bit depth minus 8 derived for a previous access unit in decoding order; 2. The method of claim 1, wherein the value of the variable, when equal to 1, indicates not to output a picture in the decoded picture buffer that is before the current picture in decoding order before removing the picture from the decoded picture buffer.

4. The method of claim 1 , wherein the maximum allowed value of the chroma format indicator and / or the maximum allowed value of the bit depth minus 8 are included in a video parameter set.

5. The method of claim 1 , wherein the maximum allowed value of the chroma format indicator for a layer is applicable to all sequence parameter sets referenced by one or more layer video sequences in the layer.

6. 2. The method of claim 1 , comprising a plurality of coded layered video sequences, wherein for performing the conversion for a layer having layer index i, the format rules specify allocating memory for a decoded picture buffer in accordance with at least one value of ols_dpb_pic_width[i], indicating a width of each picture storage buffer for the i-th layer, ols_dpb_pic_height[i], indicating a height of each picture storage buffer for the i-th layer, syntax elements ols_dpb_chroma_format[i], indicating the maximum allowed value of the chroma format indicator for the i-th layer, and syntax elements ols_dpb_bitdepth_minus8[i], indicating the maximum allowed value of the bit depth minus 8 for the i-th layer.

7. The method of claim 1 , wherein the converting comprises encoding the video into the bitstream.

8. The method of claim 1 , wherein the converting comprises decoding the video from the bitstream.

9. 1. A video data processing apparatus including a processor and a non-transitory memory comprising instructions that, when executed by the processor, cause the processor to: causing conversion between a video having one or more video layers and a bitstream of said video in accordance with a format rule; A video data processing apparatus, wherein the format rules specify that a maximum picture width and / or a maximum picture height for video pictures of at least one layer controls a value of a variable indicating whether a picture in a decoded picture buffer before a current picture in decoding order in the bitstream is output before removing the picture from the decoded picture buffer, and that a maximum allowed value of a chroma format indicator and / or a maximum allowed value of bit depth minus 8 further controls the value of the variable.

10. A non-transitory computer-readable storage medium storing instructions, the instructions causing a processor to: causing conversion between a video having one or more video layers and a bitstream of said video in accordance with a format rule; The non-transitory computer-readable storage medium specifies that a maximum picture width and / or a maximum picture height for video pictures of at least one layer controls a value of a variable indicating whether to output a picture in a decoded picture buffer that is before a current picture in decoding order in the bitstream before removing the picture from the decoded picture buffer, and that a maximum allowed value of a chroma format indicator and / or a maximum allowed value of a bit depth minus 8 further controls the value of the variable.

11. 1. A method of storing a video bitstream, the method comprising: generating the bitstream for the video having one or more video layers according to a format rule; storing the bitstream on a non-transitory computer-readable recording medium; The method specifies that the format rules control the value of a variable indicating whether a picture in a decoded picture buffer that is before a current picture in decoding order in the bitstream is output before removing the picture from the decoded picture buffer, and that a maximum allowed value of a chroma format indicator and / or a maximum allowed value of bit depth minus 8 further control the value of the variable.

Citation Information

Cited By

  • Use of video parameter sets in video coding

    JP2024138288A

  • Decoded picture buffer memory allocation and picture output in scalable video coding

    US12574556B2